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
d6d3c22f
Commit
d6d3c22f
authored
Oct 24, 2022
by
Marcus
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
5f36b447
b62d56ea
Changes
17
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
320 additions
and
188 deletions
+320
-188
index.vue
src/components/CustomerFollow/index.vue
+1
-0
index.vue
src/components/Selector/index.vue
+8
-1
index.vue
src/views/ecw/customerComplaint/index.vue
+26
-12
creatCollection.vue
src/views/ecw/financial/creatCollection.vue
+21
-18
printVoucher.vue
src/views/ecw/financial/printVoucher.vue
+38
-30
receiptDetail.vue
src/views/ecw/financial/receiptDetail.vue
+51
-46
MergeDetail.vue
src/views/ecw/order/components/MergeDetail.vue
+2
-2
PrepayExceptionDetail.vue
src/views/ecw/order/components/PrepayExceptionDetail.vue
+5
-0
detail.vue
src/views/ecw/order/detail.vue
+1
-1
edit.vue
src/views/ecw/order/edit.vue
+1
-1
pending.vue
src/views/ecw/order/pending.vue
+34
-4
prepayDeal.vue
src/views/ecw/order/prepayDeal.vue
+32
-4
index.vue
src/views/ecw/order/special/index.vue
+3
-3
weightDeal.vue
src/views/ecw/order/weightDeal.vue
+3
-3
index.vue
src/views/ecw/product/index.vue
+5
-3
edit.vue
src/views/ecw/productPrice/edit.vue
+75
-59
index.vue
src/views/system/user/index.vue
+14
-1
No files found.
src/components/CustomerFollow/index.vue
View file @
d6d3c22f
...
...
@@ -162,6 +162,7 @@ export default {
if
(
!!
this
.
customerId
)
getCustomerContactsListByCustomer
({
customerId
:
this
.
customerId
}).
then
(
r
=>
{
this
.
customerContactsList
=
r
.
data
this
.
customerFollow
.
form
.
customerId
=
this
.
customerId
this
.
customerFollow
.
form
.
bizId
=
this
.
id
})
listServiceUser
().
then
(
r
=>
{
this
.
serviceUserList
=
r
.
data
...
...
src/components/Selector/index.vue
View file @
d6d3c22f
...
...
@@ -29,7 +29,8 @@ export default {
multiple
:
Boolean
,
clearable
:
Boolean
,
defaultable
:
Boolean
,
// 没有值的时候是否选择第一项
disabled
:
Boolean
disabled
:
Boolean
,
test
:
String
},
computed
:{
optionsFormated
(){
...
...
@@ -53,9 +54,15 @@ export default {
},
optionsFormated
(){
this
.
setDefault
()
},
test
(
val
,
old
){
console
.
warn
(
'
test变化
'
,
val
,
old
)
}
},
created
(){
if
(
this
.
test
==
'
allPriceUnit
'
){
console
.
log
(
'
allPriceUnit selector
'
,
this
.
value
,
this
.
defaultable
)
}
this
.
valueSync
=
this
.
value
this
.
setDefault
()
},
...
...
src/views/ecw/customerComplaint/index.vue
View file @
d6d3c22f
...
...
@@ -52,27 +52,43 @@
<!-- 列表 -->
<el-table
v-loading=
"loading"
:data=
"list"
>
<el-table-column
:label=
"$t('客货投诉')"
align=
"center"
prop=
"code"
>
</el-table-column>
<el-table-column
:label=
"$t('投诉类型')"
align=
"center"
prop=
"type"
>
<template
slot-scope=
"scope"
>
<dict-tag
:type=
"DICT_TYPE.CUSTOMER_COMPLAINT_TYPE"
:value=
"scope.row.type"
/>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('客户名称')"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<div>
{{
formatCustomerName
(
scope
.
row
.
customerId
)
}}
</div>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('投诉
类型')"
align=
"center"
prop=
"type
"
>
<el-table-column
:label=
"$t('投诉
日期')"
align=
"center"
width=
"180
"
>
<
template
slot-scope=
"scope"
>
<
dict-tag
:type=
"DICT_TYPE.CUSTOMER_COMPLAINT_TYPE"
:value=
"scope.row.type"
/
>
<
span>
{{
parseTime
(
scope
.
row
.
createTime
)
}}
</span
>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('订单号')"
align=
"center"
prop=
"orderId"
/>
<el-table-column
:label=
"$t('提单号')"
align=
"center"
prop=
"ladingbillId"
/>
<el-table-column
:label=
"$t('投诉内容')"
align=
"center"
prop=
"content"
/>
<el-table-column
:label=
"$t('处理状态')"
align=
"center"
prop=
"status"
>
<el-table-column
:label=
"$t('登记客服')"
align=
"center"
prop=
"adminNickname"
>
</el-table-column>
<el-table-column
:label=
"$t('状态')"
align=
"center"
prop=
"status"
>
<
template
slot-scope=
"scope"
>
<dict-tag
:type=
"DICT_TYPE.CUSTOMER_COMPLAINT_STATUS"
:value=
"scope.row.status"
/>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('创建时间')"
align=
"center"
prop=
"createTime"
width=
"180"
>
<el-table-column
:label=
"$t('提单号')"
align=
"center"
prop=
"ladingbillId"
/>
<el-table-column
:label=
"$t('订单号')"
align=
"center"
prop=
"orderId"
/>
<el-table-column
:label=
"$t('处理时间')"
align=
"center"
prop=
"handleAt"
width=
"180"
>
<
template
slot-scope=
"scope"
>
<span>
{{
parseTime
(
scope
.
row
.
createTime
)
}}
</span>
<span>
{{
parseTime
(
scope
.
row
.
handleAt
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('赔付金额')"
align=
"center"
prop=
"handleAt"
width=
"180"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
indemnity
||
'
0.00
'
}}
<dict-tag
:value=
"scope.row.currencyUnit"
:type=
"DICT_TYPE.COMMISSION_CURRENCY_TYPE"
></dict-tag>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('操作')"
align=
"center"
class-name=
"small-padding fixed-width"
>
...
...
@@ -194,8 +210,7 @@
<el-dialog
:title=
"title"
:visible.sync=
"openCustomer"
width=
"900px"
append-to-body
>
<el-form
ref=
"form"
:model=
"form"
label-width=
"80px"
>
<div
class=
"formShow"
>
<el-form
ref=
"form"
:inline=
"true"
:model=
"form"
label-width=
"80px"
>
<el-form-item
:label=
"$t('客户名称')+':'"
>
<div>
{{ formatCustomerName(form.customerId) }}
</div>
</el-form-item>
...
...
@@ -216,7 +231,6 @@
<dict-tag
:type=
"DICT_TYPE.CUSTOMER_COMPLAINT_STATUS"
:value=
"form.status"
/>
</el-form-item>
</div>
</div>
<el-form-item
:label=
"$t('投诉内容')+':'"
>
<div>
{{form.content|| $t('无')}}
</div>
</el-form-item>
...
...
@@ -536,7 +550,7 @@ export default {
this
.
exportLoading
=
true
;
return
exportCustomerComplaintExcel
(
params
);
}).
then
(
response
=>
{
this
.
$download
.
excel
(
response
,
'
${table.classComment}
.xls
'
);
this
.
$download
.
excel
(
response
,
'
客户投诉列表
.xls
'
);
this
.
exportLoading
=
false
;
}).
catch
(()
=>
{});
},
...
...
src/views/ecw/financial/creatCollection.vue
View file @
d6d3c22f
...
...
@@ -88,7 +88,7 @@
<!--
</el-descriptions>
-->
</el-card>
<el-card
class=
"card amountCard"
>
<div
slot=
"header"
class=
"card-title"
>
{{
$t
(
'
订单信息
'
)
}}
</div>
<div
slot=
"header"
class=
"card-title"
>
{{
$t
(
'
应收明细
'
)
}}
</div>
<el-col
:span=
"1.5"
>
<el-button
type=
"primary"
...
...
@@ -1139,21 +1139,22 @@ export default {
}
// params.receiptAccountList.length = params.receiptAccountList.length - 1
params
.
receiptAccountList
.
splice
(
params
.
receiptAccountList
.
length
-
1
,
1
)
var
saveStatus
=
true
params
.
receiptAccountList
.
map
(
v
=>
{
if
(
!
v
.
platformAccountId
){
saveStatus
=
false
}
var
bankname
=
this
.
bankData
.
filter
(
item
=>
item
.
id
==
v
.
platformAccountId
)
if
(
bankname
.
length
>
0
){
v
.
platformAccountName
=
bankname
[
0
].
baAccountName
v
.
platformAccountNo
=
bankname
[
0
].
baAccountNum
v
.
platformAccountBlankName
=
bankname
[
0
].
baBankName
params
.
receiptAccountList
.
forEach
(
v
=>
{
if
(
v
.
type
!=
'
total
'
){
if
(
!
v
.
platformAccountId
){
saveStatus
=
false
}
var
bankname
=
this
.
bankData
.
filter
(
item
=>
item
.
id
==
v
.
platformAccountId
)
if
(
bankname
.
length
>
0
){
v
.
platformAccountName
=
bankname
[
0
].
baAccountName
v
.
platformAccountNo
=
bankname
[
0
].
baAccountNum
v
.
platformAccountBlankName
=
bankname
[
0
].
baBankName
}
delete
v
.
discountTotal
v
.
writeOffRate
=
Number
(
v
.
writeOffRate
)
}
delete
v
.
discountTotal
v
.
writeOffRate
=
Number
(
v
.
writeOffRate
)
return
v
}
)
if
(
!
saveStatus
){
this
.
$modal
.
msgError
(
this
.
$t
(
'
请添加收款账户
'
));
...
...
@@ -1178,10 +1179,11 @@ export default {
}
);
if
(
valid
)
{
this
.
saveBtnLoading
=
true
params
.
receiptAccountList
.
splice
(
params
.
receiptAccountList
.
length
-
1
,
1
)
if
(
this
.
id
&&
this
.
id
!=
0
)
{
updateReceipt
(
params
).
then
(
res
=>
{
this
.
$modal
.
msgSuccess
(
this
.
$t
(
'
修改成功
'
));
this
.
$
router
.
back
();
this
.
$
store
.
dispatch
(
'
tagsView/delCurrentView
'
)
}
).
finally
(()
=>
{
this
.
saveBtnLoading
=
false
}
)
...
...
@@ -1189,7 +1191,7 @@ export default {
params
.
currencyId
=
this
.
showCurrencyId
createReceipt
(
params
).
then
(
res
=>
{
this
.
$modal
.
msgSuccess
(
this
.
$t
(
'
保存成功
'
));
this
.
$
router
.
back
();
this
.
$
store
.
dispatch
(
'
tagsView/delCurrentView
'
)
}
).
finally
(()
=>
{
this
.
saveBtnLoading
=
false
}
)
...
...
@@ -1201,11 +1203,12 @@ export default {
this
.
$refs
.
form
.
validate
((
valid
)
=>
{
if
(
valid
)
{
this
.
saveBtnLoading
=
true
params
.
receiptAccountList
.
splice
(
params
.
receiptAccountList
.
length
-
1
,
1
)
if
(
this
.
id
&&
this
.
id
!=
0
)
{
if
(
params
.
state
==
0
)
params
.
state
=
1
updateReceipt
(
params
).
then
(
res
=>
{
this
.
$modal
.
msgSuccess
(
this
.
$t
(
'
修改成功
'
));
this
.
$
router
.
back
();
this
.
$
store
.
dispatch
(
'
tagsView/delCurrentView
'
)
}
).
finally
(()
=>
{
this
.
saveBtnLoading
=
false
}
)
...
...
@@ -1213,7 +1216,7 @@ export default {
params
.
currencyId
=
this
.
showCurrencyId
createReceipt
(
params
).
then
(
res
=>
{
this
.
$modal
.
msgSuccess
(
this
.
$t
(
'
新增成功
'
));
this
.
$router
.
back
();
this
.
$store
.
dispatch
(
'
tagsView/delCurrentView
'
)
}
).
finally
(()
=>
{
this
.
saveBtnLoading
=
false
}
)
...
...
src/views/ecw/financial/printVoucher.vue
View file @
d6d3c22f
...
...
@@ -5,18 +5,18 @@
<div
style=
"text-align: center;font-weight: bold;font-size: 26px;padding: 22px 0;border-top: 1px solid #666;border-left:1px solid #666;border-right: 1px solid #666;"
>
捷道货运收款单
</div>
<table
border=
"1"
style=
"width: 100%;text-align: center;border-collapse: collapse; "
>
<tr>
<td
style=
"font-weight: bold;width:12.5%"
>
部门
</td>
<td
style=
"width:12.5%"
>
{{
form
?
form
.
departmentName
:
'
无
'
}}
</td>
<td
style=
"font-weight: bold;width:12.5%"
>
客户名称
</td>
<td
colspan=
"2"
style=
"width: 25%;"
>
{{
form
?
form
.
customerName
:
'
无
'
}}
</td>
<td
style=
"font-weight: bold;width:12.5%"
>
收款日期
</td>
<td
colspan=
"2"
style=
"width: 25%;"
>
{{
form
?
form
.
payedAt
:
'
无
'
}}
</td>
<td
style=
"font-weight: bold;width:12.5%"
>
{{
$t
(
'
部门
'
)
}}
</td>
<td
style=
"width:12.5%"
>
{{
form
?
form
.
departmentName
:
$t
(
'
无
'
)
}}
</td>
<td
style=
"font-weight: bold;width:12.5%"
>
{{
$t
(
'
客户名称
'
)
}}
</td>
<td
colspan=
"2"
style=
"width: 25%;"
>
{{
form
?
form
.
customerName
:
$t
(
'
无
'
)
}}
</td>
<td
style=
"font-weight: bold;width:12.5%"
>
{{
$t
(
'
收款日期
'
)
}}
</td>
<td
colspan=
"2"
style=
"width: 25%;"
>
{{
parseTime
(
date
)
||
$t
(
'
无
'
)
}}
</td>
</tr>
<tr>
<td
style=
"font-weight: bold;width:12.5%"
>
收款单号
</td>
<td
style=
"width:12.5%"
>
{{
form
?
form
.
receiptNo
:
'
无
'
}}
</td>
<td
style=
"font-weight: bold;width:12.5%"
>
备注
</td>
<td
colspan=
"4"
style=
"width: 50%;"
>
{{
form
?
form
.
remark
:
'
无
'
}}
</td>
<td
style=
"font-weight: bold;width:12.5%"
>
{{
$t
(
'
收款单号
'
)
}}
</td>
<td
style=
"width:12.5%"
>
{{
form
?
form
.
receiptNo
:
$t
(
'
无
'
)
}}
</td>
<td
style=
"font-weight: bold;width:12.5%"
>
{{
$t
(
'
备注
'
)
}}
</td>
<td
colspan=
"4"
style=
"width: 50%;"
>
{{
form
?
form
.
remark
:
$t
(
'
无
'
)
}}
</td>
</tr>
<tr>
<td
colspan=
"8"
>
Form/To:
{{
orderData
.
logisticsInfoDto
?
orderData
.
logisticsInfoDto
.
startTitleZh
:
''
}}
>
{{
orderData
.
logisticsInfoDto
?
orderData
.
logisticsInfoDto
.
destAddressZh
:
''
}}
</td>
...
...
@@ -24,14 +24,14 @@
</table>
<table
border=
"1"
style=
"width: 100%;text-align: center;border-collapse: collapse; border-top: 0;"
>
<tr>
<th
style=
"width: 12.5%;"
>
序号
</th>
<th
style=
"width: 12.5%;"
>
提单号
</th>
<th
style=
"width: 12.5%;"
>
订单号
</th>
<th
style=
"width: 12.5%;"
>
品名
</th>
<th
style=
"width: 12.5%;"
>
收入类型
</th>
<th
style=
"width: 12.5%;"
>
金额
</th>
<th
style=
"width: 12.5%;"
>
币种
</th>
<th
style=
"width: 12.5%;"
>
优惠金额
</th>
<th
style=
"width: 12.5%;"
>
{{
$t
(
'
序号
'
)
}}
</th>
<th
style=
"width: 12.5%;"
>
{{
$t
(
'
提单号
'
)
}}
</th>
<th
style=
"width: 12.5%;"
>
{{
$t
(
'
订单号
'
)
}}
</th>
<th
style=
"width: 12.5%;"
>
{{
$t
(
'
品名
'
)
}}
</th>
<th
style=
"width: 12.5%;"
>
{{
$t
(
'
收入类型
'
)
}}
</th>
<th
style=
"width: 12.5%;"
>
{{
$t
(
'
金额
'
)
}}
</th>
<th
style=
"width: 12.5%;"
>
{{
$t
(
'
币种
'
)
}}
</th>
<th
style=
"width: 12.5%;"
>
{{
$t
(
'
优惠金额
'
)
}}
</th>
</tr>
<tr
v-for=
"(item, index) in list"
:key=
"index"
>
<td>
{{
index
+
1
}}
</td>
...
...
@@ -44,38 +44,38 @@
<td>
{{
item
.
discountTotal
||
0
}}
</td>
</tr>
<tr
v-for=
"(items, indexs) in receiptAccountList"
:key=
"indexs"
>
<td><dict-tag
:type=
"DICT_TYPE.BOX_SHIPPING_PRICE_UNIT"
:value=
"items.currencyId"
/>
应收合计
</td>
<td><dict-tag
:type=
"DICT_TYPE.BOX_SHIPPING_PRICE_UNIT"
:value=
"items.currencyId"
/>
{{
$t
(
'
应收合计
'
)
}}
</td>
<td
><span
v-if=
"items.discountTotal>0"
>
{{
`${items.receivableAmount - items.discountTotal
}
(${items.receivableAmount
}
- ${items.discountTotal
}
)`
}}
<
/span
>
<
span
v
-
else
>
{{
`${items.receivableAmount - items.discountTotal
}
`
}}
<
/span
>
<
/td
>
<
td
>
汇率
<
/td
>
<
td
>
{{
$t
(
'
汇率
'
)
}}
<
/td
>
<
td
>
{{
items
.
collectionRate
}}
<
/td
>
<
td
>
收款金额
(
<
dict
-
tag
:
type
=
"
DICT_TYPE.BOX_SHIPPING_PRICE_UNIT
"
:
value
=
"
items.collectionCurrencyId
"
/>
)
<
/td
>
<
td
>
{{
$t
(
'
收款金额
'
)
}}
(
<
dict
-
tag
:
type
=
"
DICT_TYPE.BOX_SHIPPING_PRICE_UNIT
"
:
value
=
"
items.collectionCurrencyId
"
/>
)
<
/td
>
<
td
colspan
=
"
3
"
>
{{
items
.
collectionAmount
}}
<
/td
>
<
/tr
>
<
/table
>
<
div
style
=
"
text-align: center;border-left:1px solid #666;border-right: 1px solid #666;height: 36px;line-height: 36px;
"
>
银行信息
{{
$t
(
'
银行信息
'
)
}}
<
/div
>
<
div
style
=
"
display: flex;align-items: center;border-top: 1px solid #666;border-left:1px solid #666;border-right: 1px solid #666;
"
v
-
for
=
"
(bankTiem,index) in detailed
"
:
key
=
"
index
"
>
<
div
style
=
"
padding:6px 0;width: 12.5%;text-align: center;border-right: 1px solid #666;
"
>
<
p
style
=
"
margin: 0;word-break: break-all;
"
>
户名
:
{{
bankTiem
.
accountName
}}
<
/p
>
<
p
style
=
"
margin: 0;word-break: break-all;
"
>
银行名称
:
{{
bankTiem
.
accountBankName
||
''
}}
<
/p
>
<
p
style
=
"
margin: 0;word-break: break-all;
"
>
{{
$t
(
'
户名
'
)
}}
:
{{
bankTiem
.
accountName
}}
<
/p
>
<
p
style
=
"
margin: 0;word-break: break-all;
"
>
{{
$t
(
'
银行名称
'
)
}}
:
{{
bankTiem
.
accountBankName
||
''
}}
<
/p
>
<
p
style
=
"
margin: 0;word-break: break-all;
"
>
A
/
C
NO
:
{{
bankTiem
.
accountNo
}}
<
/p
>
<
/div
>
<
div
style
=
"
padding:6px 0;width: 87.5%;text-align: center;
"
>
<
p
style
=
"
margin: 0;
"
>
实收
<
dict
-
tag
:
type
=
"
DICT_TYPE.BOX_SHIPPING_PRICE_UNIT
"
:
value
=
"
bankTiem.currencyId
"
/>
:
{{
bankTiem
.
writeOffA
mount
}}
¥
<
/p
>
<
p
style
=
"
margin: 0;
"
>
{{
$t
(
'
实收
'
)
}}
<
dict
-
tag
:
type
=
"
DICT_TYPE.BOX_SHIPPING_PRICE_UNIT
"
:
value
=
"
bankTiem.currencyId
"
/>
:
{{
bankTiem
.
a
mount
}}
¥
<
/p
>
<!--
<
p
style
=
"
margin: 0;
"
>
未收:¥
{{
bankTiem
.
noReceipt
}}
<
/p> --
>
<
/div
>
<
/div
>
<
div
style
=
"
display: flex;align-items: center;border: 1px solid #666;
"
>
<
div
style
=
"
font-weight: bold;width: 12.5%;text-align: center;border-right: 1px solid #666;height: 36px;line-height: 36px;
"
>
主管
<
/div
>
<
div
style
=
"
font-weight: bold;width: 12.5%;text-align: center;border-right: 1px solid #666;height: 36px;line-height: 36px;
"
>
{{
$t
(
'
主管
'
)
}}
<
/div
>
<
div
style
=
"
width: 12.5%;text-align: center;border-right: 1px solid #666;height: 36px;line-height: 36px;
"
><
/div
>
<
div
style
=
"
font-weight: bold;width: 12.5%;text-align: center;border-right: 1px solid #666;height: 36px;line-height: 36px;
"
>
会计
<
/div
>
<
div
style
=
"
font-weight: bold;width: 12.5%;text-align: center;border-right: 1px solid #666;height: 36px;line-height: 36px;
"
>
{{
$t
(
'
会计
'
)
}}
<
/div
>
<
div
style
=
"
width: 12.5%;text-align: center;border-right: 1px solid #666;height: 36px;line-height: 36px;
"
><
/div
>
<
div
style
=
"
font-weight: bold;width: 12.5%;text-align: center;border-right: 1px solid #666;height: 36px;line-height: 36px;
"
>
出纳
<
/div
>
<
div
style
=
"
font-weight: bold;width: 12.5%;text-align: center;border-right: 1px solid #666;height: 36px;line-height: 36px;
"
>
{{
$t
(
'
出纳
'
)
}}
<
/div
>
<
div
style
=
"
width: 12.5%;text-align: center;height: 36px;line-height: 36px;border-right: 1px solid #666;
"
><
/div
>
<
div
style
=
"
font-weight: bold;width: 12.5%;text-align: center;border-right: 1px solid #666;height: 36px;line-height: 36px;
"
>
经手人
<
/div
>
<
div
style
=
"
font-weight: bold;width: 12.5%;text-align: center;border-right: 1px solid #666;height: 36px;line-height: 36px;
"
>
{{
$t
(
'
经手人
'
)
}}
<
/div
>
<
div
style
=
"
width: 12.5%;text-align: center;height: 36px;line-height: 36px;
"
><
/div
>
<
/div
>
<
/div
>
...
...
@@ -120,7 +120,8 @@
deptArr
:[],
id
:
0
,
orderData
:{
}
,
detailed
:[]
detailed
:[],
date
:
''
}
}
,
async
created
()
{
...
...
@@ -206,7 +207,14 @@
getList
()
{
getReceivableItem
({
id
:
this
.
id
}
).
then
(
res
=>
{
this
.
detailed
=
res
.
data
this
.
detailed
.
forEach
(
item
=>
{
if
(
!
this
.
date
){
this
.
date
=
item
.
amountDate
}
else
if
(
this
.
date
<
item
.
amountDate
){
this
.
date
=
item
.
amountDate
}
}
)
}
)
}
,
getCollectionData
(){
let
that
=
this
...
...
src/views/ecw/financial/receiptDetail.vue
View file @
d6d3c22f
...
...
@@ -15,7 +15,7 @@
</el-descriptions>
</el-card>
<el-card
class=
"card"
>
<div
slot=
"header"
class=
"card-title"
>
{{
$t
(
'
订单信息
'
)
}}
</div>
<div
slot=
"header"
class=
"card-title"
>
{{
$t
(
'
应收明细
'
)
}}
</div>
<el-table
:data=
"list"
border
>
<el-table-column
:label=
"$t('订单号')"
align=
"center"
prop=
"orderNo"
/>
<el-table-column
:label=
"$t('唛头')"
align=
"center"
prop=
"marks"
/>
...
...
@@ -108,51 +108,7 @@
<
/el-descriptions-item
>
<
/el-descriptions
>
<
/el-card
>
<
el
-
card
class
=
"
card
"
>
<
div
slot
=
"
header
"
class
=
"
card-title
"
>
{{
$t
(
'
银行收款明细
'
)
}}
<
/div
>
<
div
>
<
el
-
button
type
=
"
primary
"
plain
size
=
"
mini
"
@
click
=
"
batchVerification
"
style
=
"
padding: 10px; margin-bottom: 10px
"
>
{{
$t
(
'
批量核销
'
)
}}
<
/el-button
>
<
el
-
button
type
=
"
primary
"
plain
size
=
"
mini
"
@
click
=
"
handleAddReceiptItem
"
style
=
"
padding: 10px; margin-bottom: 10px
"
>
{{
$t
(
'
添加收款明细
'
)
}}
<
/el-button
>
<
/div
>
<
el
-
table
ref
=
"
multipleTable
"
:
data
=
"
detailed
"
border
row
-
key
=
"
id
"
@
selection
-
change
=
"
handleSelectionChange
"
>
<
el
-
table
-
column
type
=
"
selection
"
width
=
"
50
"
:
reserve
-
selection
=
"
true
"
>
<
/el-table-column
>
<
el
-
table
-
column
:
label
=
"
$t('序号')
"
type
=
"
index
"
align
=
"
center
"
width
=
"
50
"
><
/el-table-column
>
<
el
-
table
-
column
:
label
=
"
$t('收款账户')
"
align
=
"
center
"
prop
=
"
accountName
"
/>
<
el
-
table
-
column
:
label
=
"
$t('实收金额')
"
align
=
"
center
"
prop
=
"
amount
"
/>
<
el
-
table
-
column
:
label
=
"
$t('实收币种')
"
align
=
"
center
"
prop
=
"
marks
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
dict
-
tag
:
type
=
"
DICT_TYPE.BOX_SHIPPING_PRICE_UNIT
"
:
value
=
"
scope.row.currencyId
"
/>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
:
label
=
"
$t('汇率')
"
align
=
"
center
"
prop
=
"
rate
"
/>
<
el
-
table
-
column
:
label
=
"
$t('核销货币金额')
"
align
=
"
center
"
prop
=
"
writeOffAmount
"
/>
<
el
-
table
-
column
:
label
=
"
$t('实收日期')
"
align
=
"
center
"
prop
=
"
amountDate
"
>
<!--
<
template
slot
-
scope
=
"
scope
"
>
<
span
>
{{
parseTime
(
scope
.
row
.
amountDate
,
'
{y
}
-{m
}
-{d
}
'
)
}}
<
/span
>
<
/template> --
>
<
/el-table-column
>
<
el
-
table
-
column
:
label
=
"
$t('水单号')
"
align
=
"
center
"
prop
=
"
billNo
"
/>
<
el
-
table
-
column
:
label
=
"
$t('水单附件')
"
align
=
"
center
"
prop
=
"
attr
"
>
<
template
slot
-
scope
=
"
scope
"
v
-
if
=
"
scope.row.attr
"
>
<
div
v
-
for
=
"
(v, i) in scope.row.attr
"
:
key
=
"
i
"
><
el
-
link
:
href
=
"
v.url
"
type
=
"
primary
"
target
=
"
_blank
"
>
{{
v
.
name
}}
<
/el-link></
div
>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
:
label
=
"
$t('状态')
"
align
=
"
center
"
prop
=
"
status
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
span
>
{{
scope
.
row
.
status
==
0
?
$t
(
'
待核销
'
)
:
$t
(
'
已核销
'
)
}}
<
/span
>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
:
label
=
"
$t('操作')
"
align
=
"
center
"
width
=
"
200
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
el
-
button
v
-
if
=
"
scope.row.status == 0
"
type
=
"
text
"
@
click
=
"
deleteClick(scope.row)
"
>
{{
$t
(
'
删除
'
)
}}
<
/el-button
>
<
el
-
button
type
=
"
text
"
@
click
=
"
detailClick(scope.row)
"
>
{{
$t
(
'
详情
'
)
}}
<
/el-button
>
<
el
-
button
v
-
if
=
"
scope.row.status == 0
"
type
=
"
text
"
@
click
=
"
verificationClick(scope.row)
"
>
{{
$t
(
'
核销
'
)
}}
<
/el-button
>
<
el
-
button
v
-
if
=
"
scope.row.status == 1
"
type
=
"
text
"
@
click
=
"
verificationCancelClick(scope.row)
"
>
{{
$t
(
'
反核销
'
)
}}
<
/el-button
>
<
el
-
button
v
-
if
=
"
scope.row.status == 0
"
type
=
"
text
"
@
click
=
"
editClick(scope.row)
"
>
{{
$t
(
'
编辑
'
)
}}
<
/el-button
>
<
/template
>
<
/el-table-column
>
<
/el-table
>
<
/el-card
>
<
el
-
card
class
=
"
card
"
>
<
div
slot
=
"
header
"
class
=
"
card-title
"
>
{{
$t
(
'
收款信息
'
)
}}
<
/div
>
<
el
-
table
:
data
=
"
form.receiptAccountList
"
border
>
...
...
@@ -241,6 +197,51 @@
<
/el-descriptions-item
>
<
/el-descriptions
>
<
/el-card
>
<
el
-
card
class
=
"
card
"
>
<
div
slot
=
"
header
"
class
=
"
card-title
"
>
{{
$t
(
'
银行收款明细
'
)
}}
<
/div
>
<
div
>
<
el
-
button
type
=
"
primary
"
plain
size
=
"
mini
"
@
click
=
"
batchVerification
"
style
=
"
padding: 10px; margin-bottom: 10px
"
>
{{
$t
(
'
批量核销
'
)
}}
<
/el-button
>
<
el
-
button
type
=
"
primary
"
plain
size
=
"
mini
"
@
click
=
"
handleAddReceiptItem
"
style
=
"
padding: 10px; margin-bottom: 10px
"
>
{{
$t
(
'
添加收款明细
'
)
}}
<
/el-button
>
<
/div
>
<
el
-
table
ref
=
"
multipleTable
"
:
data
=
"
detailed
"
border
row
-
key
=
"
id
"
@
selection
-
change
=
"
handleSelectionChange
"
>
<
el
-
table
-
column
type
=
"
selection
"
width
=
"
50
"
:
reserve
-
selection
=
"
true
"
>
<
/el-table-column
>
<
el
-
table
-
column
:
label
=
"
$t('序号')
"
type
=
"
index
"
align
=
"
center
"
width
=
"
50
"
><
/el-table-column
>
<
el
-
table
-
column
:
label
=
"
$t('收款账户')
"
align
=
"
center
"
prop
=
"
accountName
"
/>
<
el
-
table
-
column
:
label
=
"
$t('实收金额')
"
align
=
"
center
"
prop
=
"
amount
"
/>
<
el
-
table
-
column
:
label
=
"
$t('实收币种')
"
align
=
"
center
"
prop
=
"
marks
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
dict
-
tag
:
type
=
"
DICT_TYPE.BOX_SHIPPING_PRICE_UNIT
"
:
value
=
"
scope.row.currencyId
"
/>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
:
label
=
"
$t('汇率')
"
align
=
"
center
"
prop
=
"
rate
"
/>
<
el
-
table
-
column
:
label
=
"
$t('核销货币金额')
"
align
=
"
center
"
prop
=
"
writeOffAmount
"
/>
<
el
-
table
-
column
:
label
=
"
$t('实收日期')
"
align
=
"
center
"
prop
=
"
amountDate
"
>
<!--
<
template
slot
-
scope
=
"
scope
"
>
<
span
>
{{
parseTime
(
scope
.
row
.
amountDate
,
'
{y
}
-{m
}
-{d
}
'
)
}}
<
/span
>
<
/template> --
>
<
/el-table-column
>
<
el
-
table
-
column
:
label
=
"
$t('水单号')
"
align
=
"
center
"
prop
=
"
billNo
"
/>
<
el
-
table
-
column
:
label
=
"
$t('水单附件')
"
align
=
"
center
"
prop
=
"
attr
"
>
<
template
slot
-
scope
=
"
scope
"
v
-
if
=
"
scope.row.attr
"
>
<
div
v
-
for
=
"
(v, i) in scope.row.attr
"
:
key
=
"
i
"
><
el
-
link
:
href
=
"
v.url
"
type
=
"
primary
"
target
=
"
_blank
"
>
{{
v
.
name
}}
<
/el-link></
div
>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
:
label
=
"
$t('状态')
"
align
=
"
center
"
prop
=
"
status
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
span
>
{{
scope
.
row
.
status
==
0
?
$t
(
'
待核销
'
)
:
$t
(
'
已核销
'
)
}}
<
/span
>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
:
label
=
"
$t('操作')
"
align
=
"
center
"
width
=
"
200
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
el
-
button
v
-
if
=
"
scope.row.status == 0
"
type
=
"
text
"
@
click
=
"
deleteClick(scope.row)
"
>
{{
$t
(
'
删除
'
)
}}
<
/el-button
>
<
el
-
button
type
=
"
text
"
@
click
=
"
detailClick(scope.row)
"
>
{{
$t
(
'
详情
'
)
}}
<
/el-button
>
<
el
-
button
v
-
if
=
"
scope.row.status == 0
"
type
=
"
text
"
@
click
=
"
verificationClick(scope.row)
"
>
{{
$t
(
'
核销
'
)
}}
<
/el-button
>
<
el
-
button
v
-
if
=
"
scope.row.status == 1
"
type
=
"
text
"
@
click
=
"
verificationCancelClick(scope.row)
"
>
{{
$t
(
'
反核销
'
)
}}
<
/el-button
>
<
el
-
button
v
-
if
=
"
scope.row.status == 0
"
type
=
"
text
"
@
click
=
"
editClick(scope.row)
"
>
{{
$t
(
'
编辑
'
)
}}
<
/el-button
>
<
/template
>
<
/el-table-column
>
<
/el-table
>
<
/el-card
>
<
el
-
card
class
=
"
card hexiaoCard
"
>
<
el
-
descriptions
:
column
=
"
3
"
border
>
<
el
-
descriptions
-
item
:
label
=
"
$t('已核销总金额')
"
>
...
...
@@ -801,6 +802,10 @@ export default {
.
catch
(()
=>
{
}
);
}
,
verificationAll
()
{
if
(
!
this
.
detailed
||
this
.
detailed
.
length
==
0
){
this
.
$modal
.
msgError
(
this
.
$t
(
'
当前收款单未添加银行收款明细,无法全部核销,请添加银行收款单明细,并核销所有实收明细后再进行全部核销!
'
));
return
}
this
.
$modal
.
confirm
(
this
.
$t
(
'
您确认要全部核销吗?
'
))
.
then
(()
=>
{
...
...
src/views/ecw/order/components/MergeDetail.vue
View file @
d6d3c22f
...
...
@@ -11,12 +11,12 @@
<!-- <el-table-column label="已到箱数/总箱数">
<template slot-scope="{row}">/{{row.sumNum}}/{{row.sumNum}}</template>
</el-table-column> -->
<el-table-column
:label=
"$t('
下
单统计')"
>
<el-table-column
:label=
"$t('
填
单统计')"
>
<
template
slot-scope=
"{row}"
>
{{
row
.
costVO
.
totalNum
}}{{
$t
(
'
箱
'
)
}}
<br/>
{{
row
.
costVO
.
totalVolume
}}
m³
<br/>
{{
row
.
costVO
.
totalWeight
}}
kg
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('入仓
你
统计')"
>
<el-table-column
:label=
"$t('入仓统计')"
>
<
template
slot-scope=
"{row}"
>
{{
row
.
sumNum
}}{{
$t
(
'
箱
'
)
}}
<br/>
{{
row
.
sumVolume
}}
m³
<br/>
{{
row
.
sumWeight
}}
kg
</
template
>
...
...
src/views/ecw/order/components/PrepayExceptionDetail.vue
View file @
d6d3c22f
...
...
@@ -75,6 +75,11 @@
</el-form-item>
</el-col>
</el-row>
<el-row>
<el-form-item
:label=
"$t('备注')+':'"
>
{{
orderFee
.
notes
}}
</el-form-item>
</el-row>
</el-form>
</div>
</
template
>
...
...
src/views/ecw/order/detail.vue
View file @
d6d3c22f
...
...
@@ -145,7 +145,7 @@
{{
order
.
inWarehouseState
>
1
&&
row
.
warehouseInInfoVO
?
row
.
warehouseInInfoVO
.
weight
:
row
.
weight
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"
quantity
"
:label=
"$t('数量') + '(个)'"
width=
"90px"
/>
<el-table-column
prop=
"
warehouseInInfoVO.quantityAll
"
:label=
"$t('数量') + '(个)'"
width=
"90px"
/>
<el-table-column
prop=
""
:label=
"$t('费用类型')"
>
<
template
slot-scope=
"{row}"
>
<dict-tag
:type=
"DICT_TYPE.ECW_PAY_ADVANCE"
:value=
"row.isPayAdvance"
/>
...
...
src/views/ecw/order/edit.vue
View file @
d6d3c22f
...
...
@@ -270,7 +270,7 @@
</el-form-item>
<!--代收货款,只有非控货订单、并且线路开通了代收货款后,才显示是否代收货款选项-->
<el-form-item
:label=
"$t('代收货款金额')"
v-if=
"collectionProxy && form.isCollection"
prop=
"collectionProxy"
class=
"ml-20"
>
<el-input
v-model=
"form.collectionProxy"
class=
"w-200 mr-10"
:disabled=
"false"
></el-input>
<el-input
type=
"number"
v-model=
"form.collectionProxy"
class=
"w-200 mr-10"
:disabled=
"false"
></el-input>
<selector
v-model=
"form.collectionProxyCurrency"
:options=
"currencyList"
label-field=
"titleZh"
value-field=
"id"
defaultable
class=
"w-100"
:disabled=
"false"
/>
</el-form-item>
</div>
...
...
src/views/ecw/order/pending.vue
View file @
d6d3c22f
...
...
@@ -68,12 +68,18 @@
<span
v-if=
"scope.row.orderExceptionDescVO"
>
{{
$l
(
scope
.
row
.
orderExceptionDescVO
,
'
desc
'
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('金额')"
align=
"center"
scope=
"orderExceptionAmount"
/>
<el-table-column
:label=
"$t('状态')"
align=
"center"
>
<el-table-column
:label=
"$t('金额')"
align=
"center"
scope=
"orderExceptionAmount"
>
<
template
slot-scope=
"{row}"
>
{{
row
.
orderExceptionAmount
}}
{{
currencyMap
[
row
.
orderExceptionAmountCurrencyId
]
}}
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('状态')"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<dict-tag
:type=
"DICT_TYPE.ORDER_EXCEPTION_STATUS"
:value=
"scope.row.orderExceptionStatus"
/>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('附件')"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<div
class=
"filelist"
>
...
...
@@ -81,6 +87,13 @@
</div>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('备注')"
align=
"center"
>
<
template
slot-scope=
"{row}"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"row.orderExceptionNotes"
placement=
"top-start"
>
<div
class=
"clamp3"
>
{{
row
.
orderExceptionNotes
}}
</div>
</el-tooltip>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('处理人')"
align=
"center"
prop=
"userName"
/>
<el-table-column
:label=
"$t('处理时间')"
align=
"center"
>
<
template
slot-scope=
"scope"
>
...
...
@@ -103,7 +116,7 @@
<
script
>
import
{
getExceptionListByOrderId
}
from
"
@/api/ecw/orderException
"
import
{
DICT_TYPE
}
from
'
@/utils/dict
'
import
{
getCurrencyList
}
from
'
@/api/ecw/currency
'
import
{
getOrder
}
from
'
@/api/ecw/order
'
import
FilePreview
from
'
@/components/FilePreview
'
import
{
getProduct
}
from
'
@/api/ecw/product
'
...
...
@@ -125,9 +138,20 @@ export default {
timers
:
""
,
//时间戳
FilePreAll
:[],
// 预览数组
TragetPic
:{},
currencyList
:[]
};
},
computed
:{
currencyMap
(){
let
map
=
{}
this
.
currencyList
.
forEach
(
item
=>
{
map
[
item
.
id
]
=
this
.
$l
(
item
,
'
title
'
)
})
return
map
},
},
created
()
{
getCurrencyList
().
then
(
res
=>
this
.
currencyList
=
res
.
data
)
if
(
this
.
$route
.
query
.
id
){
this
.
orderId
=
this
.
$route
.
query
.
id
this
.
getList
()
...
...
@@ -253,4 +277,10 @@ export default {
.card
{
margin-top
:
20px
;
}
.clamp3
{
overflow
:
hidden
;
display
:
-webkit-box
;
-webkit-box-orient
:
vertical
;
-webkit-line-clamp
:
3
;
}
</
style
>
src/views/ecw/order/prepayDeal.vue
View file @
d6d3c22f
...
...
@@ -32,14 +32,19 @@
<!-- 单证异常,发货人异常,其他异常 不显示这部分内容 -->
<div
v-if=
"['order_doc_exception','order_consignor_exception', 'order_other_exception'].indexOf(orderExceptionData.orderExceptionType) == -1"
>
<!-- 预付异常,提货异常是针对整个订单的 -->
<template
v-if=
"['order_pay_exception','order_pick_up_exception'].indexOf(orderExceptionData.orderExceptionType) > -1"
>
<!-- 预付异常,提货异常
,代收货款
是针对整个订单的 -->
<template
v-if=
"['order_pay_exception','order_pick_up_exception'
, 'order_cod_exception'
].indexOf(orderExceptionData.orderExceptionType) > -1"
>
<el-row>
<el-form-item
:label=
"$t('填单参数')+':'"
>
<template
v-if=
"orderData && orderData.costVO"
>
{{
(
orderData
.
costVO
.
totalNum
||
0
)
+
$t
(
'
箱
'
)
+
(
orderData
.
costVO
.
totalVolume
||
0
)
+
'
m³
'
+
(
orderData
.
costVO
.
totalWeight
||
0
)
+
'
kg
'
+
(
orderData
.
costVO
.
totalQuantity
||
0
)
+
$t
(
'
个
'
)
}}
</
template
>
</el-form-item>
<el-form-item
:label=
"$t('代收金额')+':'"
v-if=
"orderExceptionData.orderExceptionType == 'order_cod_exception'"
>
<
template
v-if=
"orderData && orderData.costVO"
>
{{
orderExceptionData
.
orderExceptionAmount
}}
{{
currencyMap
[
orderExceptionData
.
orderExceptionAmountCurrencyId
]
}}
</
template
>
</el-form-item>
</el-row>
<el-row>
<el-form-item
:label=
"$t('入仓参数')+':'"
>
...
...
@@ -128,8 +133,10 @@
<
/el-table-column
>
<
el
-
table
-
column
:
label
=
"
$t('付款人')
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
span
>
{{
scope
.
row
.
consigneeName
}}
({{
$t
(
'
收货人
'
)
}}
)
<
/span
>
<
template
slot
-
scope
=
"
{row
}
"
>
<
span
>
<
dict
-
tag
:
type
=
"
DICT_TYPE.DRAWEE
"
:
value
=
"
row.paymentUser
"
><
/dict-tag
>
<
/span
>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
:
label
=
"
$t('付款状态')
"
prop
=
"
worth
"
>
...
...
@@ -254,8 +261,22 @@
<
el
-
option
:
disabled
=
"
dict.value=='pending'
"
:
key
=
"
dict.value
"
:
label
=
"
$l(dict, 'label')
"
:
value
=
"
dict.value
"
/>
<
/template
>
<
/el-select
>
<
/el-form-item
>
<
/el-row
>
<!--
代收货款
时需要填写代收金额
-->
<
el
-
row
v
-
if
=
"
handlerParams.orderExceptionHandlerResult == 'cod'
"
>
<
el
-
form
-
item
:
label
=
"
$t('代收金额')+':'
"
size
=
"
medium
"
required
>
<
el
-
input
class
=
"
w-100
"
type
=
"
text
"
v
-
model
=
"
handlerParams.amount
"
/>
<!--
<
el
-
select
v
-
model
=
"
handlerParams.currency
"
clearable
>
<
el
-
option
v
-
for
=
"
dict in getDictDatas('shipping_price_unit')
"
:
key
=
"
dict.value
"
:
label
=
"
dict.label
"
:
value
=
"
dict.value
"
/>
<
/el-select> --
>
<
dict
-
tag
type
=
"
shipping_price_unit
"
v
-
model
=
"
handlerParams.currency
"
class
=
"
w-100 ml-10
"
/>
<
/el-form-item
>
<
/el-row
>
<
el
-
row
:
span
=
"
8
"
v
-
if
=
"
orderExceptionData.orderExceptionType=='order_pick_up_exception'&&handlerParams.orderExceptionHandlerResult=='cost_required'
"
>
<
el
-
form
-
item
:
label
=
"
$t('送货费用')+':'
"
size
=
"
medium
"
>
<
el
-
input
style
=
"
width: 100px;
"
type
=
"
text
"
v
-
model
=
"
handlerParams.amount
"
/>
...
...
@@ -386,6 +407,11 @@
if
(
val
==
'
no_pay
'
){
this
.
showWorkFlow
=
true
}
else
this
.
showWorkFlow
=
false
// 如果是代收货款,则给默认单位
if
(
val
==
'
cod
'
&&
this
.
orderExceptionData
.
orderExceptionAmountCurrencyId
){
this
.
$set
(
this
.
handlerParams
,
'
currency
'
,
this
.
orderExceptionData
.
orderExceptionAmountCurrencyId
)
}
}
}
,
computed
:
{
...
...
@@ -476,7 +502,9 @@
this
.
$modal
.
msgError
(
this
.
$t
(
'
请上传报关资料
'
));
return
}
this
.
handlerParams
.
files
=
Array
.
isArray
(
this
.
handlerParams
.
fileList
)
?
this
.
handlerParams
.
fileList
.
join
(
'
,
'
)
:
this
.
handlerParams
.
fileList
}
handlerExceptionByExceptionId
(
this
.
handlerParams
).
then
(
res
=>
{
this
.
$modal
.
msgSuccess
(
this
.
$t
(
'
提交成功
'
));
this
.
$redirect
(
'
/order/pending?id=
'
+
this
.
orderData
.
orderId
)
...
...
src/views/ecw/order/special/index.vue
View file @
d6d3c22f
...
...
@@ -93,9 +93,9 @@
prop=
"address"
:label=
"$t('操作')"
>
<
template
v-slot=
"{row}"
>
<el-button
size=
"mini"
type=
"text"
v-hasPermi=
"['ecw:order:update']"
@
click=
"showDiscountItem=row"
>
{{
$t
(
'
优惠申请
'
)
}}
</el-button>
<el-button
size=
"mini"
type=
"text"
v-hasPermi=
"['ecw:order:update']"
@
click=
"showCommissionItem=row"
>
{{
$t
(
'
佣金规则
'
)
}}
</el-button>
<el-button
size=
"mini"
type=
"text"
v-hasPermi=
"['ecw:order:update']"
@
click=
"showAllowanceItem=row"
>
{{
$t
(
'
管理折扣
'
)
}}
</el-button>
<el-button
v-if=
"row.originalSeaFreight"
size=
"mini"
type=
"text"
v-hasPermi=
"['ecw:order:update']"
@
click=
"showDiscountItem=row"
>
{{
$t
(
'
优惠申请
'
)
}}
</el-button>
<el-button
v-if=
"row.originalSeaFreight"
size=
"mini"
type=
"text"
v-hasPermi=
"['ecw:order:update']"
@
click=
"showCommissionItem=row"
>
{{
$t
(
'
佣金规则
'
)
}}
</el-button>
<el-button
v-if=
"row.originalSeaFreight"
size=
"mini"
type=
"text"
v-hasPermi=
"['ecw:order:update']"
@
click=
"showAllowanceItem=row"
>
{{
$t
(
'
管理折扣
'
)
}}
</el-button>
</
template
>
</el-table-column>
...
...
src/views/ecw/order/weightDeal.vue
View file @
d6d3c22f
...
...
@@ -20,10 +20,10 @@
<dict-tag
:type=
"DICT_TYPE.ECW_TRANSPORT_TYPE"
:value=
"orderData.transportId"
/>
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('始发地')"
:span=
"2"
>
{{
orderData
.
logisticsInfoDto
?
orderData
.
logisticsInfoDto
.
startAddress
Zh
:
$t
(
'
无
'
)
}}
{{
orderData
.
logisticsInfoDto
?
orderData
.
logisticsInfoDto
.
startTitle
Zh
:
$t
(
'
无
'
)
}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('目的地')"
>
{{
orderData
.
logisticsInfoDto
?
orderData
.
logisticsInfoDto
.
dest
Address
Zh
:
$t
(
'
无
'
)
}}
{{
orderData
.
logisticsInfoDto
?
orderData
.
logisticsInfoDto
.
dest
Title
Zh
:
$t
(
'
无
'
)
}}
</el-descriptions-item>
</el-descriptions>
<el-descriptions
:column=
"4"
>
...
...
@@ -76,7 +76,7 @@
<
template
slot-scope=
"scope"
>
<span>
{{
$t
(
'
箱规
'
)
}}
:
{{
scope
.
row
.
warehouseInInfoVO
?
scope
.
row
.
warehouseInInfoVO
.
boxGauge
:
0
}}
</span>
<p>
<span>
{{
$t
(
'
品牌
'
)
}}
:
{{
getBrand
(
scope
.
row
.
brand
)
}}
</span>
<span>
{{
$t
(
'
品牌
'
)
}}
:
<dict-tag
:type=
"DICT_TYPE.ECW_IS_BRAND"
:value=
"scope.row.brandType"
/>
</span>
<span>
{{
$t
(
'
箱数
'
)
}}
:
{{
scope
.
row
.
warehouseInInfoVO
?
scope
.
row
.
warehouseInInfoVO
.
cartonsNum
:
0
}}
</span>
<span>
{{
$t
(
'
体积
'
)
}}
:
{{
scope
.
row
.
warehouseInInfoVO
?
scope
.
row
.
warehouseInInfoVO
.
volume
:
0
}}
CBM
</span>
<span>
{{
$t
(
'
重量
'
)
}}
:
{{
scope
.
row
.
warehouseInInfoVO
?
scope
.
row
.
warehouseInInfoVO
.
weight
:
0
}}
KG
</span>
...
...
src/views/ecw/product/index.vue
View file @
d6d3c22f
...
...
@@ -439,15 +439,17 @@ export default {
this
.
reset
();
const
id
=
row
.
id
;
getProduct
(
id
).
then
(
response
=>
{
this
.
form
=
response
.
data
;
this
.
form
=
{...
response
.
data
}
;
let
attrArray
=
this
.
form
.
attrId
.
split
(
'
,
'
);
for
(
let
index
in
attrArray
)
{
let
value
=
attrArray
[
index
];
attrArray
[
index
]
=
parseInt
(
value
);
}
this
.
form
.
attrArray
=
attrArray
;
this
.
$nextTick
(()
=>
{
this
.
form
.
attrArray
=
attrArray
})
this
.
open
=
true
;
this
.
title
=
this
.
$t
(
"
修改商品
"
);
this
.
title
=
this
.
$t
(
"
修改商品
1
"
);
});
},
...
...
src/views/ecw/productPrice/edit.vue
View file @
d6d3c22f
This diff is collapsed.
Click to expand it.
src/views/system/user/index.vue
View file @
d6d3c22f
...
...
@@ -156,7 +156,7 @@
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
v-if=
"hasCustomerServicePost"
>
<el-form-item
label=
"跟单客服"
>
<el-select
v-model=
"form.customerServiceId"
placeholder=
"请选择"
>
<el-option
v-for=
"dict in followUpList"
:key=
"parseInt(dict.id)"
:label=
"dict.nickname"
:value=
"parseInt(dict.id)"
/>
...
...
@@ -383,6 +383,18 @@ export default {
}
}
},
computed
:{
hasCustomerServicePost
(){
if
(
!
this
.
form
.
postIds
)
return
false
let
has
=
false
this
.
postOptions
.
forEach
(
item
=>
{
if
(
this
.
form
.
postIds
.
indexOf
(
item
.
id
)
>
-
1
&&
item
.
code
==
'
customer service
'
){
has
=
true
}
})
return
has
}
},
created
()
{
this
.
getList
();
this
.
getTreeselect
();
...
...
@@ -444,6 +456,7 @@ export default {
},
// 节点单击事件
handleNodeClick
(
data
)
{
this
.
queryParams
.
pageNo
=
1
this
.
queryParams
.
deptId
=
data
.
id
;
this
.
getList
();
},
...
...
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