Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-app-operator-master
Commits
afc994ad
Commit
afc994ad
authored
Apr 10, 2023
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
报价单导出,订单等的bug
parent
677e3269
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
30 additions
and
4 deletions
+30
-4
offer.js
src/api/ecw/offer.js
+10
-0
index.vue
src/views/ecw/offer/index.vue
+4
-2
PrintWarehouseReceipt.vue
src/views/ecw/order/components/PrintWarehouseReceipt.vue
+6
-1
TransferCargo.vue
src/views/ecw/order/components/TransferCargo.vue
+10
-1
No files found.
src/api/ecw/offer.js
View file @
afc994ad
...
...
@@ -133,3 +133,13 @@ export function offerDeptPage(params) {
params
})
}
// 导出部分报价单 exportDeptOfferExcel
export
function
exportDeptOfferExcel
(
query
)
{
return
request
({
url
:
'
/ecw/offer/dept/export-excel
'
,
method
:
'
get
'
,
params
:
query
,
responseType
:
'
blob
'
})
}
\ No newline at end of file
src/views/ecw/offer/index.vue
View file @
afc994ad
...
...
@@ -143,7 +143,7 @@
<
/template
>
<
script
>
import
{
deleteOffer
,
getOfferPage
,
exportOfferExcel
,
cancel
,
recovery
,
offerDeptPage
}
from
"
@/api/ecw/offer
"
;
import
{
deleteOffer
,
getOfferPage
,
exportOfferExcel
,
cancel
,
recovery
,
offerDeptPage
,
exportDeptOfferExcel
}
from
"
@/api/ecw/offer
"
;
import
{
getCurrencyList
}
from
'
@/api/ecw/currency
'
;
import
{
getTradeCityList
}
from
'
@/api/ecw/region
'
import
UserSelector
from
'
@/components/UserSelector
'
...
...
@@ -260,7 +260,9 @@ export default {
// 执行导出
this
.
$modal
.
confirm
(
this
.
$t
(
'
是否确认导出所有报价单管理数据项?
'
)).
then
(()
=>
{
this
.
exportLoading
=
true
;
return
exportOfferExcel
(
params
);
if
(
this
.
dept
){
return
exportDeptOfferExcel
(
params
)
}
else
return
exportOfferExcel
(
params
);
}
).
then
(
response
=>
{
this
.
$download
.
excel
(
response
,
'
报价列表.xls
'
);
this
.
exportLoading
=
false
;
...
...
src/views/ecw/order/components/PrintWarehouseReceipt.vue
View file @
afc994ad
...
...
@@ -24,6 +24,7 @@
<th
style=
"text-align:center;padding:0 0px;width:80px;text-align: center;font-size: 14px;border:1px dashed #ccc;"
>
{{
$t
(
'
方数
'
)
}}
</th>
<th
style=
"text-align:center;padding:0 0px;width:80px;text-align: center;font-size: 14px;border:1px dashed #ccc;"
>
{{
$t
(
'
重量
'
)
}}
</th>
<th
style=
"text-align:center;padding:0 0px;width:110px;text-align: center;font-size: 14px;border:1px dashed #ccc;"
>
{{
$t
(
'
入仓时间
'
)
}}
</th>
<th
v-if=
"!preview"
style=
"text-align:center;padding:0 0px;width:110px;text-align: center;font-size: 14px;border:1px dashed #ccc;"
>
{{
$t
(
'
首次入仓时间
'
)
}}
</th>
</tr>
<template
v-for=
"(item, index) in items"
>
<tr
v-if=
"!preview || item.checked"
:key=
"index"
>
...
...
@@ -53,6 +54,9 @@
<td
style=
"text-align:center;padding:0 0px;border:1px dashed #ccc;"
>
{{
item
.
inTime
|
parseTime
}}
</td>
<td
style=
"text-align:center;padding:0 0px;border:1px dashed #ccc;"
v-if=
"!preview"
>
{{
item
.
createTime
|
parseTime
}}
</td>
</tr>
</
template
>
</table>
...
...
@@ -121,7 +125,8 @@ export default {
boxGauge
:
witem
.
boxGauge
,
volume
:
witem
.
volume
,
weight
:
witem
.
weight
,
inTime
:
witem
.
inTime
inTime
:
witem
.
inTime
,
createTime
:
witem
.
createTime
})
})
})
...
...
src/views/ecw/order/components/TransferCargo.vue
View file @
afc994ad
...
...
@@ -152,7 +152,16 @@ export default {
if
(
!
valid
){
return
false
}
console
.
log
(
'
submit
'
)
// 放货箱数不能大于总控货箱数
let
errNos
=
[]
this
.
selectedOrders
.
forEach
(
item
=>
{
if
(
item
.
releaseNum
>
item
.
sumNum
){
errNos
.
push
(
item
.
orderNo
)
}
})
if
(
errNos
.
length
){
return
this
.
$message
.
error
(
this
.
$t
(
"
订单{no}的放货箱数不能大于控货箱数
"
,
{
no
:
errNos
.
join
(
"
,
"
)}))
}
updateApply
(
Object
.
assign
({
cargoControlPickId
:
this
.
cargoControlPickId
,
orderBackPageVOList
:
this
.
selectedOrders
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment