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
f2dd5478
Commit
f2dd5478
authored
Nov 02, 2022
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://gitlab.jdshangmen.com/jiedao-app/jiedao-app-operator
into dev
parents
419de07a
464eaa9f
Changes
18
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
182 additions
and
73 deletions
+182
-73
dict.js
src/utils/dict.js
+1
-0
costForm.vue
src/views/ecw/box/costForm.vue
+8
-1
indexSeaAir.vue
src/views/ecw/box/indexSeaAir.vue
+1
-0
index.vue
src/views/ecw/box/ladingBill/index.vue
+3
-0
makeLadingBill.vue
src/views/ecw/box/ladingBill/makeLadingBill.vue
+2
-1
regError.vue
src/views/ecw/box/regError.vue
+8
-1
creatCollection.vue
src/views/ecw/financial/creatCollection.vue
+30
-28
creatPayment.vue
src/views/ecw/financial/creatPayment.vue
+9
-3
openInvoice.vue
src/views/ecw/financial/openInvoice.vue
+21
-9
payable.vue
src/views/ecw/financial/payable.vue
+1
-1
paymentDetail.vue
src/views/ecw/financial/paymentDetail.vue
+7
-1
paymentExamine.vue
src/views/ecw/financial/paymentExamine.vue
+11
-1
printPaymentVoucher.vue
src/views/ecw/financial/printPaymentVoucher.vue
+11
-3
printVoucher.vue
src/views/ecw/financial/printVoucher.vue
+13
-5
receivable.vue
src/views/ecw/financial/receivable.vue
+16
-4
ApprovalDetail.vue
src/views/ecw/order/components/ApprovalDetail.vue
+6
-6
index.vue
src/views/ecw/order/exception/index.vue
+24
-4
prepayDeal.vue
src/views/ecw/order/prepayDeal.vue
+10
-5
No files found.
src/utils/dict.js
View file @
f2dd5478
...
@@ -198,6 +198,7 @@ export const DICT_TYPE = {
...
@@ -198,6 +198,7 @@ export const DICT_TYPE = {
BOX_SHIPPING_PRICE_UNIT
:
'
shipping_price_unit
'
,
// 金额单位
BOX_SHIPPING_PRICE_UNIT
:
'
shipping_price_unit
'
,
// 金额单位
BOX_SHIPPING_TICKET_EXCEPTION
:
'
shipping_ticket_exception
'
,
// 票异常
BOX_SHIPPING_TICKET_EXCEPTION
:
'
shipping_ticket_exception
'
,
// 票异常
BOX_SHIPPING_PROCESS
:
'
shipping_process
'
,
// 海运出货流程
BOX_SHIPPING_PROCESS
:
'
shipping_process
'
,
// 海运出货流程
BOX_SEA_AIR
:
'
shipping_process_sea_air
'
,
// 海空联运流程流程
BOX_SHIPPING_BRAND_TYPE
:
'
shipping_brand_type
'
,
// 出货品牌类型
BOX_SHIPPING_BRAND_TYPE
:
'
shipping_brand_type
'
,
// 出货品牌类型
BOX_SHIPPING_NOTICE_TYPE
:
'
shipping_notice_type
'
,
// 出货通知类型
BOX_SHIPPING_NOTICE_TYPE
:
'
shipping_notice_type
'
,
// 出货通知类型
BOX_ORDER_SHIPMENT_STATE
:
'
order_shipment_state
'
BOX_ORDER_SHIPMENT_STATE
:
'
order_shipment_state
'
...
...
src/views/ecw/box/costForm.vue
View file @
f2dd5478
...
@@ -3,9 +3,12 @@
...
@@ -3,9 +3,12 @@
<el-form
ref=
"costForm"
:model=
"costObj"
:rules=
"rules"
label-width=
"80px"
>
<el-form
ref=
"costForm"
:model=
"costObj"
:rules=
"rules"
label-width=
"80px"
>
<el-form-item
:label=
"$t('操作步骤')"
prop=
"opStepType"
>
<el-form-item
:label=
"$t('操作步骤')"
prop=
"opStepType"
>
<el-select
v-model=
"costObj.opStepType"
:placeholder=
"$t('请选择操作步骤')"
>
<el-select
v-
if=
"flag=='sea'"
v-
model=
"costObj.opStepType"
:placeholder=
"$t('请选择操作步骤')"
>
<el-option
v-for=
"type in this.getDictDatas(DICT_TYPE.BOX_SHIPPING_PROCESS)"
:key=
"type.value"
:label=
"$l(type, 'label')"
:value=
"type.value"
></el-option>
<el-option
v-for=
"type in this.getDictDatas(DICT_TYPE.BOX_SHIPPING_PROCESS)"
:key=
"type.value"
:label=
"$l(type, 'label')"
:value=
"type.value"
></el-option>
</el-select>
</el-select>
<el-select
v-if=
"flag=='seaAir'"
v-model=
"costObj.opStepType"
:placeholder=
"$t('请选择操作步骤')"
>
<el-option
v-for=
"type in this.getDictDatas(DICT_TYPE.BOX_SEA_AIR)"
:key=
"type.value"
:label=
"$l(type, 'label')"
:value=
"type.value"
></el-option>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('费用类型')"
prop=
"costType"
>
<el-form-item
:label=
"$t('费用类型')"
prop=
"costType"
>
...
@@ -67,6 +70,7 @@ export default {
...
@@ -67,6 +70,7 @@ export default {
price
:
[{
required
:
true
,
message
:
this
.
$t
(
"
金额不能为空
"
),
trigger
:
"
blur
"
}],
price
:
[{
required
:
true
,
message
:
this
.
$t
(
"
金额不能为空
"
),
trigger
:
"
blur
"
}],
priceUnit
:
[{
required
:
true
,
message
:
this
.
$t
(
"
金额单位不能为空
"
),
trigger
:
"
blur
"
}]
priceUnit
:
[{
required
:
true
,
message
:
this
.
$t
(
"
金额单位不能为空
"
),
trigger
:
"
blur
"
}]
},
},
flag
:
'
sea
'
};
};
},
},
created
()
{
created
()
{
...
@@ -80,6 +84,9 @@ export default {
...
@@ -80,6 +84,9 @@ export default {
getCurrencyList
().
then
((
res
)
=>
{
getCurrencyList
().
then
((
res
)
=>
{
this
.
currencyList
=
res
.
data
??
[];
this
.
currencyList
=
res
.
data
??
[];
});
});
if
(
this
.
$attrs
.
shipmentObj
.
bosType
==
'
seaAir
'
){
this
.
flag
=
'
seaAir
'
;
}
},
},
methods
:
{
methods
:
{
submit
()
{
submit
()
{
...
...
src/views/ecw/box/indexSeaAir.vue
View file @
f2dd5478
...
@@ -621,6 +621,7 @@ export default {
...
@@ -621,6 +621,7 @@ export default {
}
}
if
([
"
editLadingBill
"
,
"
cost
"
,
"
error
"
].
includes
(
command
))
{
if
([
"
editLadingBill
"
,
"
cost
"
,
"
error
"
].
includes
(
command
))
{
this
.
currRow
=
row
;
this
.
currRow
=
row
;
this
.
currRow
.
bosType
=
'
seaAir
'
this
.
$set
(
this
.
dialogCfg
,
"
dialogType
"
,
command
);
this
.
$set
(
this
.
dialogCfg
,
"
dialogType
"
,
command
);
this
.
$set
(
this
.
dialogCfg
,
"
width
"
,
"
600px
"
);
this
.
$set
(
this
.
dialogCfg
,
"
width
"
,
"
600px
"
);
this
.
$set
(
this
.
dialogCfg
,
"
open
"
,
true
);
this
.
$set
(
this
.
dialogCfg
,
"
open
"
,
true
);
...
...
src/views/ecw/box/ladingBill/index.vue
View file @
f2dd5478
...
@@ -158,6 +158,9 @@ export default {
...
@@ -158,6 +158,9 @@ export default {
if
(
type
===
"
query
"
)
{
if
(
type
===
"
query
"
)
{
this
.
getBillList
();
this
.
getBillList
();
}
}
if
(
type
===
'
close
'
){
this
.
$emit
(
"
closeDialog
"
);
}
},
},
handleCommand
(
type
,
row
)
{
handleCommand
(
type
,
row
)
{
switch
(
type
)
{
switch
(
type
)
{
...
...
src/views/ecw/box/ladingBill/makeLadingBill.vue
View file @
f2dd5478
...
@@ -201,6 +201,7 @@ export default {
...
@@ -201,6 +201,7 @@ export default {
this
.
$emit
(
"
closeDialog
"
,
type
);
this
.
$emit
(
"
closeDialog
"
,
type
);
},
},
jumpReviewDetail
()
{
jumpReviewDetail
()
{
this
.
close
(
'
close
'
)
const
{
bpmProcessId
}
=
this
.
currData
;
const
{
bpmProcessId
}
=
this
.
currData
;
toReviewDetail
.
apply
(
this
,
[
bpmProcessId
]);
toReviewDetail
.
apply
(
this
,
[
bpmProcessId
]);
},
},
...
@@ -249,6 +250,6 @@ export default {
...
@@ -249,6 +250,6 @@ export default {
::v-deep
.el-dialog__body
{
::v-deep
.el-dialog__body
{
padding-top
:
0
;
padding-top
:
0
;
}
}
}
}
</
style
>
</
style
>
src/views/ecw/box/regError.vue
View file @
f2dd5478
...
@@ -2,9 +2,12 @@
...
@@ -2,9 +2,12 @@
<div
class=
"shippingSea-dialog"
>
<div
class=
"shippingSea-dialog"
>
<el-form
ref=
"errorForm"
:model=
"errorObj"
label-width=
"140px"
>
<el-form
ref=
"errorForm"
:model=
"errorObj"
label-width=
"140px"
>
<el-form-item
:label=
"$t('操作步骤')"
>
<el-form-item
:label=
"$t('操作步骤')"
>
<el-select
v-model=
"errorObj.opStep"
:placeholder=
"$t('请选择操作步骤')"
>
<el-select
v-
if=
"flag=='sea'"
v-
model=
"errorObj.opStep"
:placeholder=
"$t('请选择操作步骤')"
>
<el-option
v-for=
"type in this.getDictDatas(DICT_TYPE.BOX_SHIPPING_PROCESS)"
:key=
"type.value"
:label=
"$l(type, 'label')"
:value=
"type.value"
></el-option>
<el-option
v-for=
"type in this.getDictDatas(DICT_TYPE.BOX_SHIPPING_PROCESS)"
:key=
"type.value"
:label=
"$l(type, 'label')"
:value=
"type.value"
></el-option>
</el-select>
</el-select>
<el-select
v-if=
"flag=='seaAir'"
v-model=
"errorObj.opStep"
:placeholder=
"$t('请选择操作步骤')"
>
<el-option
v-for=
"type in this.getDictDatas(DICT_TYPE.BOX_SEA_AIR)"
:key=
"type.value"
:label=
"$l(type, 'label')"
:value=
"type.value"
></el-option>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('票异常')"
>
<el-form-item
:label=
"$t('票异常')"
>
<el-select
v-model=
"errorObj.billAbnId"
:placeholder=
"$t('请选择票异常')"
>
<el-select
v-model=
"errorObj.billAbnId"
:placeholder=
"$t('请选择票异常')"
>
...
@@ -63,11 +66,15 @@ export default {
...
@@ -63,11 +66,15 @@ export default {
label
:
this
.
$t
(
"
否
"
),
label
:
this
.
$t
(
"
否
"
),
},
},
],
],
flag
:
'
sea
'
};
};
},
},
created
()
{
created
()
{
const
{
currNode
}
=
this
.
$attrs
;
const
{
currNode
}
=
this
.
$attrs
;
this
.
errorObj
=
{
opStep
:
currNode
?.
dataKey
??
undefined
};
this
.
errorObj
=
{
opStep
:
currNode
?.
dataKey
??
undefined
};
if
(
this
.
$attrs
.
shipmentObj
.
bosType
==
'
seaAir
'
){
this
.
flag
=
'
seaAir
'
;
}
},
},
methods
:
{
methods
:
{
/** 提交 */
/** 提交 */
...
...
src/views/ecw/financial/creatCollection.vue
View file @
f2dd5478
...
@@ -124,20 +124,22 @@
...
@@ -124,20 +124,22 @@
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('单价金额')"
align=
"center"
prop=
"unitPrice"
>
<el-table-column
:label=
"$t('单价金额')"
align=
"center"
prop=
"unitPrice"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
unitPrice
}}
</span>
<span>
{{
scope
.
row
.
unitPrice
}}
{{
getCurrencyLabel
(
scope
.
row
.
currencyId
)
}}
</span>
<
dict-tag
:type=
"DICT_TYPE.BOX_SHIPPING_PRICE_UNIT"
:value=
"scope.row.currencyId"
/
>
<
!--
<dict-tag
:type=
"DICT_TYPE.BOX_SHIPPING_PRICE_UNIT"
:value=
"scope.row.currencyId"
/>
--
>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('总金额')"
align=
"center"
prop=
"totalAmount"
>
<el-table-column
:label=
"$t('总金额')"
align=
"center"
prop=
"totalAmount"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
totalAmount
}}
</span>
<span>
{{
scope
.
row
.
totalAmount
}}{{
getCurrencyLabel
(
scope
.
row
.
currencyId
)
}}
</span>
<dict-tag
:type=
"DICT_TYPE.BOX_SHIPPING_PRICE_UNIT"
:value=
"scope.row.currencyId"
/>
<!--
<dict-tag
:type=
"DICT_TYPE.BOX_SHIPPING_PRICE_UNIT"
:value=
"scope.row.currencyId"
/>
-->
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('优惠金额')"
align=
"center"
>
<el-table-column
:label=
"$t('优惠金额')"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
discountTotal
?
`${scope.row.discountTotal
}
`
:
0
}}
<
/span
>
<span>
{{
scope
.
row
.
discountTotal
?
`${scope.row.discountTotal
}
`
:
0
}}
<
/span
>
<
dict
-
tag
:
type
=
"
DICT_TYPE.BOX_SHIPPING_PRICE_UNIT
"
:
value
=
"
scope.row.currencyId
"
/>
{{
getCurrencyLabel
(
scope
.
row
.
currencyId
)
}}
<!--
<
dict
-
tag
:
type
=
"
DICT_TYPE.BOX_SHIPPING_PRICE_UNIT
"
:
value
=
"
scope.row.currencyId
"
/>
-->
<
span
v
-
if
=
"
scope.row.discountTotal
"
>
{{
scope
.
row
.
discountRemark
?(
'
(
'
+
scope
.
row
.
discountRemark
+
'
)
'
):
''
}}
<
/span
>
<
span
v
-
if
=
"
scope.row.discountTotal
"
>
{{
scope
.
row
.
discountRemark
?(
'
(
'
+
scope
.
row
.
discountRemark
+
'
)
'
):
''
}}
<
/span
>
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
...
@@ -169,7 +171,8 @@
...
@@ -169,7 +171,8 @@
:
label
=
"
$t('核销基准币种')+':'
"
:
label
=
"
$t('核销基准币种')+':'
"
style
=
"
margin-bottom: 0;margin-top: 20px;
"
style
=
"
margin-bottom: 0;margin-top: 20px;
"
>
>
<
dict
-
tag
:
type
=
"
DICT_TYPE.BOX_SHIPPING_PRICE_UNIT
"
:
value
=
"
showCurrencyId
"
/>
{{
getCurrencyLabel
(
showCurrencyId
)
}}
<!--
<
dict
-
tag
:
type
=
"
DICT_TYPE.BOX_SHIPPING_PRICE_UNIT
"
:
value
=
"
showCurrencyId
"
/>
-->
<
/el-form-item
>
<
/el-form-item
>
<!--
<
/el-descriptions-item
>
<!--
<
/el-descriptions-item
>
<
el
-
descriptions
-
item
:
label
=
"
$t('核销基准币种')
"
>
<
el
-
descriptions
-
item
:
label
=
"
$t('核销基准币种')
"
>
...
@@ -264,7 +267,7 @@
...
@@ -264,7 +267,7 @@
<
el
-
table
:
data
=
"
form.receiptAccountList
"
border
:
key
=
"
form.receiptAccountList.length
"
>
<
el
-
table
:
data
=
"
form.receiptAccountList
"
border
:
key
=
"
form.receiptAccountList.length
"
>
<
el
-
table
-
column
:
label
=
"
$t('应收币种')
"
align
=
"
center
"
>
<
el
-
table
-
column
:
label
=
"
$t('应收币种')
"
align
=
"
center
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
dict
-
tag
:
type
=
"
DICT_TYPE.BOX_SHIPPING_PRICE_UNIT
"
:
value
=
"
scope.row.currencyId
"
/>
{{
getCurrencyLabel
(
scope
.
row
.
currencyId
)
}}
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
:
label
=
"
$t('应收金额')
"
align
=
"
center
"
prop
=
"
receivableAmount
"
>
<
el
-
table
-
column
:
label
=
"
$t('应收金额')
"
align
=
"
center
"
prop
=
"
receivableAmount
"
>
...
@@ -274,7 +277,7 @@
...
@@ -274,7 +277,7 @@
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
align
=
"
center
"
width
=
"
220
"
>
<
el
-
table
-
column
align
=
"
center
"
width
=
"
220
"
>
<
template
#
header
>
<
template
#
header
>
{{
$t
(
'
核销基准币种
'
)
}}
(
<
dict
-
tag
:
type
=
"
DICT_TYPE.BOX_SHIPPING_PRICE_UNIT
"
:
value
=
"
showCurrencyId
"
/>
)
{{
$t
(
'
汇率
'
)
}}
{{
$t
(
'
核销基准币种
'
)
}}
(
{{
getCurrencyLabel
(
showCurrencyId
)
}}
)
{{
$t
(
'
汇率
'
)
}}
<
/template
>
<
/template
>
<
template
slot
-
scope
=
"
scope
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
template
v
-
if
=
"
scope.row.type !== 'total'
"
>
<
template
v
-
if
=
"
scope.row.type !== 'total'
"
>
...
@@ -290,13 +293,13 @@
...
@@ -290,13 +293,13 @@
<
/el-form-item
>
<
/el-form-item
>
<
/template
>
<
/template
>
<
template
v
-
else
>
<
template
v
-
else
>
{{
$t
(
'
应收总金额
'
)
}}
(
<
dict
-
tag
:
type
=
"
DICT_TYPE.BOX_SHIPPING_PRICE_UNIT
"
:
value
=
"
showCurrencyId
"
/>
)
{{
$t
(
'
应收总金额
'
)
}}
(
{{
getCurrencyLabel
(
showCurrencyId
)
}}
)
<
/template
>
<
/template
>
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
align
=
"
center
"
prop
=
"
writeOffAmount
"
>
<
el
-
table
-
column
align
=
"
center
"
prop
=
"
writeOffAmount
"
>
<
template
#
header
>
<
template
#
header
>
{{
$t
(
'
核销基准金额
'
)
}}
(
<
dict
-
tag
:
type
=
"
DICT_TYPE.BOX_SHIPPING_PRICE_UNIT
"
:
value
=
"
showCurrencyId
"
/>
)
{{
$t
(
'
核销基准金额
'
)
}}
(
{{
getCurrencyLabel
(
showCurrencyId
)
}}
)
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
:
label
=
"
$t('期望收款账户')
"
align
=
"
center
"
>
<
el
-
table
-
column
:
label
=
"
$t('期望收款账户')
"
align
=
"
center
"
>
...
@@ -343,11 +346,6 @@
...
@@ -343,11 +346,6 @@
:
value
=
"
item.id
"
:
value
=
"
item.id
"
/>
/>
<
/el-select
>
<
/el-select
>
<!--
<
dict
-
selector
:
type
=
"
DICT_TYPE.BOX_SHIPPING_PRICE_UNIT
"
v
-
model
=
"
scope.row.collectionCurrencyId
"
@
change
=
"
val => currencyIdChange(val, scope.row, scope.$index)
"
/>
-->
<
/el-form-item
>
<
/el-form-item
>
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
...
@@ -556,14 +554,14 @@
...
@@ -556,14 +554,14 @@
<!--
<
el
-
table
-
column
label
=
"
单价美元
"
align
=
"
center
"
prop
=
"
unitPrice
"
/>
-->
<!--
<
el
-
table
-
column
label
=
"
单价美元
"
align
=
"
center
"
prop
=
"
unitPrice
"
/>
-->
<
el
-
table
-
column
:
label
=
"
$t('单价')
"
align
=
"
center
"
prop
=
"
unitPrice
"
>
<
el
-
table
-
column
:
label
=
"
$t('单价')
"
align
=
"
center
"
prop
=
"
unitPrice
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
span
>
{{
scope
.
row
.
unitPrice
}}
<
/span
>
<
span
>
{{
scope
.
row
.
unitPrice
}}
{{
getCurrencyLabel
(
scope
.
row
.
currencyId
)
}}
<
/span
>
<
dict
-
tag
:
type
=
"
DICT_TYPE.BOX_SHIPPING_PRICE_UNIT
"
:
value
=
"
scope.row.currencyId
"
/
>
<
!--
<
dict
-
tag
:
type
=
"
DICT_TYPE.BOX_SHIPPING_PRICE_UNIT
"
:
value
=
"
scope.row.currencyId
"
/>
--
>
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
:
label
=
"
$t('总金额')
"
align
=
"
center
"
prop
=
"
totalAmount
"
>
<
el
-
table
-
column
:
label
=
"
$t('总金额')
"
align
=
"
center
"
prop
=
"
totalAmount
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
span
>
{{
scope
.
row
.
totalAmount
}}
<
/span
>
<
span
>
{{
scope
.
row
.
totalAmount
}}
{{
getCurrencyLabel
(
scope
.
row
.
currencyId
)
}}
<
/span
>
<
dict
-
tag
:
type
=
"
DICT_TYPE.BOX_SHIPPING_PRICE_UNIT
"
:
value
=
"
scope.row.currencyId
"
/
>
<
!--
<
dict
-
tag
:
type
=
"
DICT_TYPE.BOX_SHIPPING_PRICE_UNIT
"
:
value
=
"
scope.row.currencyId
"
/>
--
>
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
/el-table
>
<
/el-table
>
...
@@ -610,32 +608,31 @@
...
@@ -610,32 +608,31 @@
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
:
label
=
"
$t('单价金额')
"
align
=
"
center
"
prop
=
"
unitPrice
"
>
<
el
-
table
-
column
:
label
=
"
$t('单价金额')
"
align
=
"
center
"
prop
=
"
unitPrice
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
span
>
{{
scope
.
row
.
unitPrice
}}
<
/span
>
<
span
>
{{
scope
.
row
.
unitPrice
}}
{{
getCurrencyLabel
(
scope
.
row
.
currencyId
)
}}
<
/span
>
<
dict
-
tag
:
type
=
"
DICT_TYPE.BOX_SHIPPING_PRICE_UNIT
"
:
value
=
"
scope.row.currencyId
"
/
>
<
!--
<
dict
-
tag
:
type
=
"
DICT_TYPE.BOX_SHIPPING_PRICE_UNIT
"
:
value
=
"
scope.row.currencyId
"
/>
--
>
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
:
label
=
"
$t('总金额')
"
align
=
"
center
"
prop
=
"
totalAmount
"
>
<
el
-
table
-
column
:
label
=
"
$t('总金额')
"
align
=
"
center
"
prop
=
"
totalAmount
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
span
>
{{
scope
.
row
.
totalAmount
}}
<
/span
>
<
span
>
{{
scope
.
row
.
totalAmount
}}
{{
getCurrencyLabel
(
scope
.
row
.
currencyId
)
}}
<
/span
>
<
dict
-
tag
:
type
=
"
DICT_TYPE.BOX_SHIPPING_PRICE_UNIT
"
:
value
=
"
scope.row.currencyId
"
/
>
<
!--
<
dict
-
tag
:
type
=
"
DICT_TYPE.BOX_SHIPPING_PRICE_UNIT
"
:
value
=
"
scope.row.currencyId
"
/>
--
>
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
/el-table
>
<
/el-table
>
<
el
-
form
-
item
:
label
=
"
$t('总金额')
"
>
<
el
-
form
-
item
:
label
=
"
$t('总金额')
"
>
{{
selectListRow
.
totalAmount
}}
{{
selectListRow
.
totalAmount
}}
{{
getCurrencyLabel
(
sselectListRow
.
currencyId
)
}}
<
dict
-
tag
:
type
=
"
DICT_TYPE.BOX_SHIPPING_PRICE_UNIT
"
:
value
=
"
selectListRow.currencyId
"
/>
<
/el-form-item
>
<
/el-form-item
>
<
el
-
form
-
item
:
label
=
"
$t('优惠金额')
"
>
<
el
-
form
-
item
:
label
=
"
$t('优惠金额')
"
>
<
el
-
input
v
-
model
=
"
discountForm.discountTotal
"
type
=
"
number
"
min
=
"
0
"
:
max
=
"
selectListRow.totalAmount
"
@
input
=
"
checkDiscount
"
style
=
"
width: 300px
"
><
/el-input
>
<
el
-
input
v
-
model
=
"
discountForm.discountTotal
"
type
=
"
number
"
min
=
"
0
"
:
max
=
"
selectListRow.totalAmount
"
@
input
=
"
checkDiscount
"
style
=
"
width: 300px
"
><
/el-input
>
&
nbsp
;
&
nbsp
;
&
nbsp
;
&
nbsp
;
{{
getCurrencyLabel
(
sselectListRow
.
currencyId
)
}}
<
dict
-
tag
:
type
=
"
DICT_TYPE.BOX_SHIPPING_PRICE_UNIT
"
:
value
=
"
selectListRow.currencyId
"
/>
<
/el-form-item
>
<
/el-form-item
>
<
el
-
form
-
item
:
label
=
"
$t('优惠原因')
"
>
<
el
-
form
-
item
:
label
=
"
$t('优惠原因')
"
>
<
el
-
input
v
-
model
=
"
discountForm.discountRemark
"
type
=
"
textarea
"
style
=
"
width: 300px
"
><
/el-input
>
<
el
-
input
v
-
model
=
"
discountForm.discountRemark
"
type
=
"
textarea
"
style
=
"
width: 300px
"
><
/el-input
>
<
/el-form-item
>
<
/el-form-item
>
<
el
-
form
-
item
:
label
=
"
$t('优惠后')
"
>
<
el
-
form
-
item
:
label
=
"
$t('优惠后')
"
>
{{
(
selectListRow
.
totalAmount
-
(
discountForm
.
discountTotal
||
0
)).
toFixed
(
2
)
}}
{{
(
selectListRow
.
totalAmount
-
(
discountForm
.
discountTotal
||
0
)).
toFixed
(
2
)
}}
<
dict
-
tag
:
type
=
"
DICT_TYPE.BOX_SHIPPING_PRICE_UNIT
"
:
value
=
"
selectListRow.currencyId
"
/>
{{
getCurrencyLabel
(
sselectListRow
.
currencyId
)
}}
<
/el-form-item
>
<
/el-form-item
>
<
el
-
form
-
item
v
-
if
=
"
opnotice
"
:
label
=
"
$t('操作人')
"
>
<
el
-
form
-
item
v
-
if
=
"
opnotice
"
:
label
=
"
$t('操作人')
"
>
{{
discountForm
.
author
}}
{{
discountForm
.
author
}}
...
@@ -849,6 +846,11 @@ export default {
...
@@ -849,6 +846,11 @@ export default {
}
}
}
,
}
,
methods
:
{
methods
:
{
getCurrencyLabel
(
id
){
var
label
=
this
.
currencyList
.
filter
(
item
=>
item
.
id
==
id
)
if
(
label
.
length
>
0
)
return
label
[
0
].
titleZh
return
''
}
,
checkDiscount
(
e
){
checkDiscount
(
e
){
if
(
e
>
this
.
selectListRow
.
totalAmount
){
if
(
e
>
this
.
selectListRow
.
totalAmount
){
this
.
discountForm
.
discountTotal
=
this
.
selectListRow
.
totalAmount
this
.
discountForm
.
discountTotal
=
this
.
selectListRow
.
totalAmount
...
...
src/views/ecw/financial/creatPayment.vue
View file @
f2dd5478
...
@@ -181,7 +181,8 @@
...
@@ -181,7 +181,8 @@
<el-table-column
:label=
"$t('应付金额')"
align=
"center"
prop=
"totalAmount"
/>
<el-table-column
:label=
"$t('应付金额')"
align=
"center"
prop=
"totalAmount"
/>
<el-table-column
:label=
"$t('币种')"
align=
"center"
prop=
"currencyId"
>
<el-table-column
:label=
"$t('币种')"
align=
"center"
prop=
"currencyId"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<dict-tag
:type=
"DICT_TYPE.BOX_SHIPPING_PRICE_UNIT"
:value=
"scope.row.currencyId"
/>
{{
getCurrencyLabel
(
scope
.
row
.
currencyId
)
}}
<!--
<dict-tag
:type=
"DICT_TYPE.BOX_SHIPPING_PRICE_UNIT"
:value=
"scope.row.currencyId"
/>
-->
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('汇率')"
align=
"center"
prop=
"exchangeRate"
>
<el-table-column
:label=
"$t('汇率')"
align=
"center"
prop=
"exchangeRate"
>
...
@@ -386,8 +387,8 @@
...
@@ -386,8 +387,8 @@
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('金额')"
align=
"center"
prop=
"totalAmount"
>
<el-table-column
:label=
"$t('金额')"
align=
"center"
prop=
"totalAmount"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
totalAmount
}}
</span>
<span>
{{
scope
.
row
.
totalAmount
}}
{{
getCurrencyLabel
(
scope
.
row
.
currencyId
)
}}
</span>
<
dict-tag
:type=
"DICT_TYPE.BOX_SHIPPING_PRICE_UNIT"
:value=
"scope.row.currencyId"
/
>
<
!--
<dict-tag
:type=
"DICT_TYPE.BOX_SHIPPING_PRICE_UNIT"
:value=
"scope.row.currencyId"
/>
--
>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
@@ -523,6 +524,11 @@ export default {
...
@@ -523,6 +524,11 @@ export default {
},
},
},
},
methods
:
{
methods
:
{
getCurrencyLabel
(
id
){
var
label
=
this
.
currencyList
.
filter
(
item
=>
item
.
id
==
id
)
if
(
label
.
length
>
0
)
return
label
[
0
].
titleZh
return
''
},
getList
()
{
getList
()
{
this
.
loading
=
true
;
this
.
loading
=
true
;
// 处理查询参数
// 处理查询参数
...
...
src/views/ecw/financial/openInvoice.vue
View file @
f2dd5478
...
@@ -67,26 +67,26 @@
...
@@ -67,26 +67,26 @@
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('单价金额')"
align=
"center"
prop=
"unitPrice"
>
<el-table-column
:label=
"$t('单价金额')"
align=
"center"
prop=
"unitPrice"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
unitPrice
}}
</span>
<span>
{{
scope
.
row
.
unitPrice
}}
{{
getCurrencyLabel
(
scope
.
row
.
currencyId
)
}}
</span>
<
dict-tag
:type=
"DICT_TYPE.BOX_SHIPPING_PRICE_UNIT"
:value=
"scope.row.currencyId"
/
>
<
!--
<dict-tag
:type=
"DICT_TYPE.BOX_SHIPPING_PRICE_UNIT"
:value=
"scope.row.currencyId"
/>
--
>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('总金额')"
align=
"center"
prop=
"totalAmount"
>
<el-table-column
:label=
"$t('总金额')"
align=
"center"
prop=
"totalAmount"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
totalAmount
}}
</span>
<span>
{{
scope
.
row
.
totalAmount
}}
{{
getCurrencyLabel
(
scope
.
row
.
currencyId
)
}}
</span>
<
dict-tag
:type=
"DICT_TYPE.BOX_SHIPPING_PRICE_UNIT"
:value=
"scope.row.currencyId"
/
>
<
!--
<dict-tag
:type=
"DICT_TYPE.BOX_SHIPPING_PRICE_UNIT"
:value=
"scope.row.currencyId"
/>
--
>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('税额')"
align=
"center"
prop=
"tax"
>
<el-table-column
:label=
"$t('税额')"
align=
"center"
prop=
"tax"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
tax
}}
</span>
<span>
{{
scope
.
row
.
tax
}}
{{
getCurrencyLabel
(
scope
.
row
.
currencyId
)
}}
</span>
<
dict-tag
:type=
"DICT_TYPE.BOX_SHIPPING_PRICE_UNIT"
:value=
"scope.row.currencyId"
/
>
<
!--
<dict-tag
:type=
"DICT_TYPE.BOX_SHIPPING_PRICE_UNIT"
:value=
"scope.row.currencyId"
/>
--
>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('价税合计')"
align=
"center"
prop=
"taxAndTotalAmount"
>
<el-table-column
:label=
"$t('价税合计')"
align=
"center"
prop=
"taxAndTotalAmount"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
taxAndTotalAmount
}}
</span>
<span>
{{
scope
.
row
.
taxAndTotalAmount
}}
{{
getCurrencyLabel
(
scope
.
row
.
currencyId
)
}}
</span>
<
dict-tag
:type=
"DICT_TYPE.BOX_SHIPPING_PRICE_UNIT"
:value=
"scope.row.currencyId"
/
>
<
!--
<dict-tag
:type=
"DICT_TYPE.BOX_SHIPPING_PRICE_UNIT"
:value=
"scope.row.currencyId"
/>
--
>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
@@ -113,6 +113,7 @@ import { DICT_TYPE } from "@/utils/dict";
...
@@ -113,6 +113,7 @@ import { DICT_TYPE } from "@/utils/dict";
import
{
getReceiptInvoicing
,
getInvoicingItem
,
updateReceiptInvoicing
}
from
"
@/api/ecw/financial
"
;
import
{
getReceiptInvoicing
,
getInvoicingItem
,
updateReceiptInvoicing
}
from
"
@/api/ecw/financial
"
;
import
NP
from
'
number-precision
'
import
NP
from
'
number-precision
'
export
default
{
export
default
{
name
:
"
OpenInvoice
"
,
name
:
"
OpenInvoice
"
,
components
:
{},
components
:
{},
...
@@ -121,7 +122,12 @@ export default {
...
@@ -121,7 +122,12 @@ export default {
loading
:
false
,
loading
:
false
,
invoiceData
:
{},
invoiceData
:
{},
id
:
0
,
id
:
0
,
list
:
[]
list
:
[],
params
:{
page
:
1
,
rows
:
20
,
},
currencyList
:[]
};
};
},
},
created
()
{
created
()
{
...
@@ -129,8 +135,14 @@ export default {
...
@@ -129,8 +135,14 @@ export default {
this
.
id
=
this
.
$route
.
query
.
id
;
this
.
id
=
this
.
$route
.
query
.
id
;
this
.
getData
();
this
.
getData
();
}
}
getCurrencyPage
(
this
.
params
).
then
(
res
=>
this
.
currencyList
=
res
.
data
.
list
)
},
},
methods
:
{
methods
:
{
getCurrencyLabel
(
id
){
var
label
=
this
.
currencyList
.
filter
(
item
=>
item
.
id
==
id
)
if
(
label
.
length
>
0
)
return
label
[
0
].
titleZh
return
''
},
async
getData
()
{
async
getData
()
{
this
.
loading
=
true
;
this
.
loading
=
true
;
await
getReceiptInvoicing
(
this
.
id
).
then
((
res
)
=>
{
await
getReceiptInvoicing
(
this
.
id
).
then
((
res
)
=>
{
...
...
src/views/ecw/financial/payable.vue
View file @
f2dd5478
...
@@ -203,7 +203,7 @@
...
@@ -203,7 +203,7 @@
</el-form-item>
</el-form-item>
<el-form-item
label=
""
label-width=
"0px"
>
<el-form-item
label=
""
label-width=
"0px"
>
<el-select
v-model=
"costObj.currencyId"
:placeholder=
"$t('请选择单位')"
>
<el-select
v-model=
"costObj.currencyId"
:placeholder=
"$t('请选择单位')"
>
<el-option
v-for=
"item in
this.getDictDatas(DICT_TYPE.BOX_SHIPPING_PRICE_UNIT)"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value
"
></el-option>
<el-option
v-for=
"item in
currencyList"
:key=
"item.id"
:label=
"item.titleZh"
:value=
"item.id
"
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-row>
</el-row>
...
...
src/views/ecw/financial/paymentDetail.vue
View file @
f2dd5478
...
@@ -154,7 +154,8 @@
...
@@ -154,7 +154,8 @@
<el-table-column
:label=
"$t('应付金额')"
align=
"center"
prop=
"totalAmount"
/>
<el-table-column
:label=
"$t('应付金额')"
align=
"center"
prop=
"totalAmount"
/>
<el-table-column
:label=
"$t('币种')"
align=
"center"
prop=
"currencyId"
>
<el-table-column
:label=
"$t('币种')"
align=
"center"
prop=
"currencyId"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<dict-tag
:type=
"DICT_TYPE.BOX_SHIPPING_PRICE_UNIT"
:value=
"scope.row.currencyId"
/>
{{
getCurrencyLabel
(
scope
.
row
.
currencyId
)
}}
<!--
<dict-tag
:type=
"DICT_TYPE.BOX_SHIPPING_PRICE_UNIT"
:value=
"scope.row.currencyId"
/>
-->
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('汇率')"
align=
"center"
prop=
"exchangeRate"
/>
<el-table-column
:label=
"$t('汇率')"
align=
"center"
prop=
"exchangeRate"
/>
...
@@ -326,6 +327,11 @@ export default {
...
@@ -326,6 +327,11 @@ export default {
},
},
},
},
methods
:
{
methods
:
{
getCurrencyLabel
(
id
){
var
label
=
this
.
currencyList
.
filter
(
item
=>
item
.
id
==
id
)
if
(
label
.
length
>
0
)
return
label
[
0
].
titleZh
return
''
},
getList
()
{
getList
()
{
this
.
loading
=
true
;
this
.
loading
=
true
;
// 处理查询参数
// 处理查询参数
...
...
src/views/ecw/financial/paymentExamine.vue
View file @
f2dd5478
...
@@ -49,7 +49,8 @@
...
@@ -49,7 +49,8 @@
<el-table-column
:label=
"$t('应付金额')"
align=
"center"
prop=
"totalAmount"
/>
<el-table-column
:label=
"$t('应付金额')"
align=
"center"
prop=
"totalAmount"
/>
<el-table-column
:label=
"$t('币种')"
align=
"center"
prop=
"currencyId"
>
<el-table-column
:label=
"$t('币种')"
align=
"center"
prop=
"currencyId"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<dict-tag
:type=
"DICT_TYPE.BOX_SHIPPING_PRICE_UNIT"
:value=
"scope.row.currencyId"
/>
{{
getCurrencyLabel
(
scope
.
row
.
currencyId
)
}}
<!--
<dict-tag
:type=
"DICT_TYPE.BOX_SHIPPING_PRICE_UNIT"
:value=
"scope.row.currencyId"
/>
-->
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('汇率')"
align=
"center"
prop=
"exchangeRate"
>
<el-table-column
:label=
"$t('汇率')"
align=
"center"
prop=
"exchangeRate"
>
...
@@ -88,6 +89,7 @@
...
@@ -88,6 +89,7 @@
<
script
>
<
script
>
import
{
getBankAccountPage
}
from
"
@/api/ecw/bankAccount
"
;
import
{
getBankAccountPage
}
from
"
@/api/ecw/bankAccount
"
;
import
{
listSimpleDepts
}
from
"
@/api/system/dept
"
;
import
{
listSimpleDepts
}
from
"
@/api/system/dept
"
;
import
{
getCurrencyPage
}
from
"
@/api/ecw/currency
"
;
import
{
getPaymentInfoByIds
,
getPaymentItem
,
paymentVerify
}
from
"
@/api/ecw/financial
"
import
{
getPaymentInfoByIds
,
getPaymentItem
,
paymentVerify
}
from
"
@/api/ecw/financial
"
export
default
{
export
default
{
name
:
"
CreatPayment
"
,
name
:
"
CreatPayment
"
,
...
@@ -105,13 +107,16 @@ export default {
...
@@ -105,13 +107,16 @@ export default {
page
:
1
,
page
:
1
,
rows
:
20
,
rows
:
20
,
},
},
currencyList
:[],
deptData
:
[],
deptData
:
[],
deptArr
:
[],
deptArr
:
[],
notes
:
''
notes
:
''
};
};
},
},
created
()
{
created
()
{
getCurrencyPage
(
this
.
params
).
then
(
res
=>
this
.
currencyList
=
res
.
data
.
list
)
let
that
=
this
;
let
that
=
this
;
if
(
that
.
$route
.
query
.
id
&&
that
.
$route
.
query
.
id
!==
'
0
'
)
{
if
(
that
.
$route
.
query
.
id
&&
that
.
$route
.
query
.
id
!==
'
0
'
)
{
this
.
id
=
this
.
$route
.
query
.
id
;
this
.
id
=
this
.
$route
.
query
.
id
;
getPaymentInfoByIds
({
id
:
this
.
id
}).
then
(
res
=>
{
getPaymentInfoByIds
({
id
:
this
.
id
}).
then
(
res
=>
{
...
@@ -146,6 +151,11 @@ export default {
...
@@ -146,6 +151,11 @@ export default {
});
});
},
},
methods
:
{
methods
:
{
getCurrencyLabel
(
id
){
var
label
=
this
.
currencyList
.
filter
(
item
=>
item
.
id
==
id
)
if
(
label
.
length
>
0
)
return
label
[
0
].
titleZh
return
''
},
getSummaries
(
param
)
{
getSummaries
(
param
)
{
const
{
columns
,
data
}
=
param
;
const
{
columns
,
data
}
=
param
;
const
sums
=
new
Array
(
columns
.
length
).
map
(
v
=>
''
);
const
sums
=
new
Array
(
columns
.
length
).
map
(
v
=>
''
);
...
...
src/views/ecw/financial/printPaymentVoucher.vue
View file @
f2dd5478
...
@@ -50,8 +50,8 @@
...
@@ -50,8 +50,8 @@
:value=
"item.feeType"
:value=
"item.feeType"
></dict-tag>
></dict-tag>
</td>
</td>
<td>
<td>
{{
getCurrencyLabel
(
item
.
currencyId
)
}}
<
dict-tag
:type=
"DICT_TYPE.BOX_SHIPPING_PRICE_UNIT"
:value=
"item.currencyId"
/
>
<
!--
<dict-tag
:type=
"DICT_TYPE.BOX_SHIPPING_PRICE_UNIT"
:value=
"item.currencyId"
/>
--
>
</td>
</td>
<td>
{{
item
.
exchangeRate
}}
</td>
<td>
{{
item
.
exchangeRate
}}
</td>
<td>
{{
item
.
invoiceNumber
}}
</td>
<td>
{{
item
.
invoiceNumber
}}
</td>
...
@@ -88,6 +88,7 @@
...
@@ -88,6 +88,7 @@
import
{
listSimpleDepts
}
from
"
@/api/system/dept
"
import
{
listSimpleDepts
}
from
"
@/api/system/dept
"
// import { getReceipt} from "@/api/ecw/receipt";
// import { getReceipt} from "@/api/ecw/receipt";
import
{
getPaymentInfoByIds
,
getPaymentItem
}
from
"
@/api/ecw/financial
"
import
{
getPaymentInfoByIds
,
getPaymentItem
}
from
"
@/api/ecw/financial
"
import
{
getCurrencyPage
}
from
"
@/api/ecw/currency
"
;
import
lodop
from
'
@/utils/lodop
'
import
lodop
from
'
@/utils/lodop
'
export
default
{
export
default
{
...
@@ -110,7 +111,8 @@
...
@@ -110,7 +111,8 @@
},
},
// deptData:[],
// deptData:[],
// deptArr:[],
// deptArr:[],
id
:
0
id
:
0
,
currencyList
:[]
}
}
},
},
created
()
{
created
()
{
...
@@ -119,6 +121,7 @@
...
@@ -119,6 +121,7 @@
that
.
id
=
that
.
$route
.
query
.
id
that
.
id
=
that
.
$route
.
query
.
id
that
.
getCollectionData
()
that
.
getCollectionData
()
}
}
getCurrencyPage
(
this
.
params
).
then
(
res
=>
this
.
currencyList
=
res
.
data
.
list
)
userList
(
'
salesman
'
).
then
(
res
=>
that
.
creatorData
=
res
.
data
)
userList
(
'
salesman
'
).
then
(
res
=>
that
.
creatorData
=
res
.
data
)
getBankAccountPage
(
that
.
params
).
then
(
res
=>
that
.
bankData
=
res
.
data
.
list
)
getBankAccountPage
(
that
.
params
).
then
(
res
=>
that
.
bankData
=
res
.
data
.
list
)
// listSimpleDepts().then(res =>{
// listSimpleDepts().then(res =>{
...
@@ -142,6 +145,11 @@
...
@@ -142,6 +145,11 @@
// })
// })
},
},
methods
:
{
methods
:
{
getCurrencyLabel
(
id
){
var
label
=
this
.
currencyList
.
filter
(
item
=>
item
.
id
==
id
)
if
(
label
.
length
>
0
)
return
label
[
0
].
titleZh
return
''
},
getCollectionData
(){
getCollectionData
(){
let
that
=
this
let
that
=
this
getPaymentInfoByIds
({
id
:
that
.
id
}).
then
(
res
=>
{
getPaymentInfoByIds
({
id
:
that
.
id
}).
then
(
res
=>
{
...
...
src/views/ecw/financial/printVoucher.vue
View file @
f2dd5478
...
@@ -40,17 +40,17 @@
...
@@ -40,17 +40,17 @@
<td>
{{
item
.
titleZh
}}
</td>
<td>
{{
item
.
titleZh
}}
</td>
<td><dict-tag
:value=
"item.feeType"
:type=
"DICT_TYPE.FEE_TYPE"
></dict-tag></td>
<td><dict-tag
:value=
"item.feeType"
:type=
"DICT_TYPE.FEE_TYPE"
></dict-tag></td>
<td>
{{
item
.
totalAmount
}}
</td>
<td>
{{
item
.
totalAmount
}}
</td>
<td>
<dict-tag
:type=
"DICT_TYPE.BOX_SHIPPING_PRICE_UNIT"
:value=
"item.currencyId"
/>
</td>
<td>
{{
getCurrencyLabel
(
item
.
currencyId
)
}}
</td>
<td>
{{
item
.
discountTotal
||
0
}}
</td>
<td>
{{
item
.
discountTotal
||
0
}}
</td>
</tr>
</tr>
<tr
v-for=
"(items, indexs) in receiptAccountList"
:key=
"indexs"
>
<tr
v-for=
"(items, indexs) in receiptAccountList"
:key=
"indexs"
>
<td>
<dict-tag
:type=
"DICT_TYPE.BOX_SHIPPING_PRICE_UNIT"
:value=
"items.currencyId"
/>
{{
$t
(
'
应收合计
'
)
}}
</td>
<td>
{{
getCurrencyLabel
(
items
.
currencyId
)
}}
{{
$t
(
'
应收合计
'
)
}}
</td>
<td
><span
v-if=
"items.discountTotal>0"
>
{{
`${items.receivableAmount - items.discountTotal
}
(${items.receivableAmount
}
- ${items.discountTotal
}
)`
}}
<
/span
>
<td
><span
v-if=
"items.discountTotal>0"
>
{{
`${items.receivableAmount - items.discountTotal
}
(${items.receivableAmount
}
- ${items.discountTotal
}
)`
}}
<
/span
>
<
span
v
-
else
>
{{
`${items.receivableAmount - items.discountTotal
}
`
}}
<
/span
>
<
span
v
-
else
>
{{
`${items.receivableAmount - items.discountTotal
}
`
}}
<
/span
>
<
/td
>
<
/td
>
<
td
>
{{
$t
(
'
汇率
'
)
}}
<
/td
>
<
td
>
{{
$t
(
'
汇率
'
)
}}
<
/td
>
<
td
>
{{
items
.
collectionRate
}}
<
/td
>
<
td
>
{{
items
.
collectionRate
}}
<
/td
>
<
td
>
{{
$t
(
'
收款金额
'
)
}}
(
<
dict
-
tag
:
type
=
"
DICT_TYPE.BOX_SHIPPING_PRICE_UNIT
"
:
value
=
"
items.collectionCurrencyId
"
/>
)
<
/td
>
<
td
>
{{
$t
(
'
收款金额
'
)
}}
(
{{
getCurrencyLabel
(
items
.
collectionCurrencyId
)
}}
)
<
/td
>
<
td
colspan
=
"
3
"
>
{{
items
.
collectionAmount
}}
<
/td
>
<
td
colspan
=
"
3
"
>
{{
items
.
collectionAmount
}}
<
/td
>
<
/tr
>
<
/tr
>
<
/table
>
<
/table
>
...
@@ -64,7 +64,7 @@
...
@@ -64,7 +64,7 @@
<
p
style
=
"
margin: 0;word-break: break-all;
"
>
A
/
C
NO
:
{{
bankTiem
.
accountNo
}}
<
/p
>
<
p
style
=
"
margin: 0;word-break: break-all;
"
>
A
/
C
NO
:
{{
bankTiem
.
accountNo
}}
<
/p
>
<
/div
>
<
/div
>
<
div
style
=
"
padding:6px 0;width: 87.5%;text-align: center;
"
>
<
div
style
=
"
padding:6px 0;width: 87.5%;text-align: center;
"
>
<
p
style
=
"
margin: 0;
"
>
{{
$t
(
'
实收
'
)
}}
<
dict
-
tag
:
type
=
"
DICT_TYPE.BOX_SHIPPING_PRICE_UNIT
"
:
value
=
"
bankTiem.currencyId
"
/>
:
{{
bankTiem
.
amount
}}
¥
<
/p
>
<
p
style
=
"
margin: 0;
"
>
{{
$t
(
'
实收
'
)
}}
{{
getCurrencyLabel
(
bankTiem
.
currencyId
)
}}
:
{{
bankTiem
.
amount
}}
¥
<
/p
>
<!--
<
p
style
=
"
margin: 0;
"
>
未收:¥
{{
bankTiem
.
noReceipt
}}
<
/p> --
>
<!--
<
p
style
=
"
margin: 0;
"
>
未收:¥
{{
bankTiem
.
noReceipt
}}
<
/p> --
>
<
/div
>
<
/div
>
<
/div
>
<
/div
>
...
@@ -95,6 +95,7 @@
...
@@ -95,6 +95,7 @@
import
lodop
from
'
@/utils/lodop
'
import
lodop
from
'
@/utils/lodop
'
import
NP
from
'
number-precision
'
import
NP
from
'
number-precision
'
import
{
getOrder
}
from
'
@/api/ecw/order
'
import
{
getOrder
}
from
'
@/api/ecw/order
'
import
{
getCurrencyPage
}
from
"
@/api/ecw/currency
"
;
import
{
getReceiptInfoByIds
,
getInvoicingItem
,
getReceiptAccountList
,
getReceivableItem
}
from
"
@/api/ecw/financial
"
;
import
{
getReceiptInfoByIds
,
getInvoicingItem
,
getReceiptAccountList
,
getReceivableItem
}
from
"
@/api/ecw/financial
"
;
export
default
{
export
default
{
...
@@ -121,13 +122,15 @@
...
@@ -121,13 +122,15 @@
id
:
0
,
id
:
0
,
orderData
:{
}
,
orderData
:{
}
,
detailed
:[],
detailed
:[],
date
:
''
date
:
''
,
currencyList
:[]
}
}
}
,
}
,
async
created
()
{
async
created
()
{
let
that
=
this
let
that
=
this
// listSimpleUsers().then(res =>that.creatorData = res.data)
// listSimpleUsers().then(res =>that.creatorData = res.data)
// getBankAccountPage(that.params).then(res =>that.bankData = res.data.list)
// getBankAccountPage(that.params).then(res =>that.bankData = res.data.list)
await
getCurrencyPage
(
this
.
params
).
then
(
res
=>
this
.
currencyList
=
res
.
data
.
list
)
await
listSimpleDepts
().
then
(
res
=>
{
await
listSimpleDepts
().
then
(
res
=>
{
res
.
data
.
forEach
((
item
)
=>
{
res
.
data
.
forEach
((
item
)
=>
{
if
(
item
.
parentId
==
0
){
if
(
item
.
parentId
==
0
){
...
@@ -204,6 +207,11 @@
...
@@ -204,6 +207,11 @@
}
,
}
,
methods
:
{
methods
:
{
getCurrencyLabel
(
id
){
var
label
=
this
.
currencyList
.
filter
(
item
=>
item
.
id
==
id
)
if
(
label
.
length
>
0
)
return
label
[
0
].
titleZh
return
''
}
,
getList
()
{
getList
()
{
getReceivableItem
({
id
:
this
.
id
}
).
then
(
res
=>
{
getReceivableItem
({
id
:
this
.
id
}
).
then
(
res
=>
{
this
.
detailed
=
res
.
data
this
.
detailed
=
res
.
data
...
...
src/views/ecw/financial/receivable.vue
View file @
f2dd5478
...
@@ -216,14 +216,14 @@
...
@@ -216,14 +216,14 @@
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('单价')"
align=
"center"
prop=
"unitPrice"
>
<el-table-column
:label=
"$t('单价')"
align=
"center"
prop=
"unitPrice"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
unitPrice
}}
</span>
<span>
{{
scope
.
row
.
unitPrice
}}
{{
getCurrencyLabel
(
scope
.
row
.
currencyId
)
}}
</span>
<
dict-tag
:type=
"DICT_TYPE.BOX_SHIPPING_PRICE_UNIT"
:value=
"scope.row.currencyId"
/
>
<
!--
<dict-tag
:type=
"DICT_TYPE.BOX_SHIPPING_PRICE_UNIT"
:value=
"scope.row.currencyId"
/>
--
>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('总金额')"
align=
"center"
prop=
"totalAmount"
>
<el-table-column
:label=
"$t('总金额')"
align=
"center"
prop=
"totalAmount"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
totalAmount
}}
</span>
<span>
{{
scope
.
row
.
totalAmount
}}
{{
getCurrencyLabel
(
scope
.
row
.
currencyId
)
}}
</span>
<
dict-tag
:type=
"DICT_TYPE.BOX_SHIPPING_PRICE_UNIT"
:value=
"scope.row.currencyId"
/
>
<
!--
<dict-tag
:type=
"DICT_TYPE.BOX_SHIPPING_PRICE_UNIT"
:value=
"scope.row.currencyId"
/>
--
>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
...
@@ -255,6 +255,7 @@ import { DICT_TYPE } from "@/utils/dict";
...
@@ -255,6 +255,7 @@ import { DICT_TYPE } from "@/utils/dict";
import
CustomerSelector
from
"
@/components/CustomerSelector
"
;
import
CustomerSelector
from
"
@/components/CustomerSelector
"
;
import
{
getTradeCityList
}
from
"
@/api/ecw/region
"
;
import
{
getTradeCityList
}
from
"
@/api/ecw/region
"
;
import
{
getReceivableList
}
from
"
@/api/ecw/financial
"
;
import
{
getReceivableList
}
from
"
@/api/ecw/financial
"
;
import
{
getCurrencyPage
}
from
"
@/api/ecw/currency
"
;
export
default
{
export
default
{
name
:
"
Receivable
"
,
name
:
"
Receivable
"
,
...
@@ -280,10 +281,16 @@ export default {
...
@@ -280,10 +281,16 @@ export default {
rows
:
20
,
rows
:
20
,
},
},
tradeCityList
:
[],
tradeCityList
:
[],
params
:
{
page
:
1
,
rows
:
20
,
},
currencyList
:[]
};
};
},
},
created
()
{
created
()
{
let
that
=
this
;
let
that
=
this
;
getCurrencyPage
(
this
.
params
).
then
(
res
=>
this
.
currencyList
=
res
.
data
.
list
)
userList
(
"
salesman
"
).
then
((
res
)
=>
(
that
.
creatorData
=
res
.
data
));
userList
(
"
salesman
"
).
then
((
res
)
=>
(
that
.
creatorData
=
res
.
data
));
getTradeCityList
().
then
((
res
)
=>
(
that
.
tradeCityList
=
res
.
data
));
getTradeCityList
().
then
((
res
)
=>
(
that
.
tradeCityList
=
res
.
data
));
this
.
getList
();
this
.
getList
();
...
@@ -297,6 +304,11 @@ export default {
...
@@ -297,6 +304,11 @@ export default {
},
},
},
},
methods
:
{
methods
:
{
getCurrencyLabel
(
id
){
var
label
=
this
.
currencyList
.
filter
(
item
=>
item
.
id
==
id
)
if
(
label
.
length
>
0
)
return
label
[
0
].
titleZh
return
''
},
/** 查询列表 */
/** 查询列表 */
getList
()
{
getList
()
{
this
.
loading
=
true
;
this
.
loading
=
true
;
...
...
src/views/ecw/order/components/ApprovalDetail.vue
View file @
f2dd5478
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
<el-descriptions-item
:label=
"$t('运输方式')"
>
<el-descriptions-item
:label=
"$t('运输方式')"
>
<dict-tag
class=
"mr-10"
:type=
"DICT_TYPE.ECW_TRANSPORT_TYPE"
:value=
"order.transportId"
/>
<dict-tag
class=
"mr-10"
:type=
"DICT_TYPE.ECW_TRANSPORT_TYPE"
:value=
"order.transportId"
/>
</el-descriptions-item>
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('出货
方式
')"
>
<el-descriptions-item
:label=
"$t('出货
渠道
')"
>
{{
channel
?
channel
.
nameZh
:
'
/
'
}}
{{
channel
?
channel
.
nameZh
:
'
/
'
}}
</el-descriptions-item>
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('订单状态')"
>
<el-descriptions-item
:label=
"$t('订单状态')"
>
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
<el-descriptions-item
:label=
"$t('目的仓')"
:span=
"2"
>
<el-descriptions-item
:label=
"$t('目的仓')"
:span=
"2"
>
{{
order
.
logisticsInfoDto
.
destAddressZh
}}
{{
order
.
logisticsInfoDto
.
destAddressZh
}}
</el-descriptions-item>
</el-descriptions-item>
<!-- 优惠申请 -->
<!-- 优惠申请 -->
<el-descriptions-item
:label=
"$t('申请理由')"
v-if=
"type == 1 || type == 2"
:span=
"4"
>
<el-descriptions-item
:label=
"$t('申请理由')"
v-if=
"type == 1 || type == 2"
:span=
"4"
>
<div
class=
"bold"
>
<div
class=
"bold"
>
...
@@ -62,7 +62,7 @@
...
@@ -62,7 +62,7 @@
newType
:
getDictDataLabel
(
DICT_TYPE
.
COMMISSION_TYPE
,
detail
.
commissionType
),
newType
:
getDictDataLabel
(
DICT_TYPE
.
COMMISSION_TYPE
,
detail
.
commissionType
),
}
)
}}
}
)
}}
<
/div
>
<
/div
>
<
div
>
<
div
>
{{
$t
(
'
原运费
'
)
}}
:
{{
detail
.
orgFreight
}}
{{
currencyMap
[
detail
.
freightCurrency
]
}}
/
{{
unitMap
[
detail
.
freightVolume
]
}}
{{
$t
(
'
原运费
'
)
}}
:
{{
detail
.
orgFreight
}}
{{
currencyMap
[
detail
.
freightCurrency
]
}}
/
{{
unitMap
[
detail
.
freightVolume
]
}}
<
/div
>
<
/div
>
...
@@ -90,7 +90,7 @@ import {getChannel} from '@/api/ecw/channel'
...
@@ -90,7 +90,7 @@ import {getChannel} from '@/api/ecw/channel'
import
{
getUnitList
}
from
"
@/api/ecw/unit
"
import
{
getUnitList
}
from
"
@/api/ecw/unit
"
import
{
getCurrencyList
}
from
'
@/api/ecw/currency
'
import
{
getCurrencyList
}
from
'
@/api/ecw/currency
'
import
Decimal
from
'
decimal.js
'
import
Decimal
from
'
decimal.js
'
/*
/*
type含义
type含义
优惠申请 1
优惠申请 1
管理优惠 2
管理优惠 2
...
@@ -187,7 +187,7 @@ export default {
...
@@ -187,7 +187,7 @@ export default {
getChannel
(
this
.
order
.
channelId
).
then
(
res
=>
{
getChannel
(
this
.
order
.
channelId
).
then
(
res
=>
{
this
.
channel
=
res
.
data
this
.
channel
=
res
.
data
}
)
}
)
}
,
/*
}
,
/*
getBillOfLandingInProcessing(){
getBillOfLandingInProcessing(){
getBillOfLandingInProcessing({orderId: this.detail.orderId
}
).then(res => {
getBillOfLandingInProcessing({orderId: this.detail.orderId
}
).then(res => {
console.log(res)
console.log(res)
...
@@ -207,4 +207,4 @@ export default {
...
@@ -207,4 +207,4 @@ export default {
.
bold
{
.
bold
{
font
-
weight
:
bold
;
font
-
weight
:
bold
;
}
}
<
/style>
<
/style
>
\ No newline at end of file
src/views/ecw/order/exception/index.vue
View file @
f2dd5478
...
@@ -12,7 +12,17 @@
...
@@ -12,7 +12,17 @@
<span
style=
"margin: 0 8px;"
>
{{
$t
(
'
到
'
)
}}
</span>
<span
style=
"margin: 0 8px;"
>
{{
$t
(
'
到
'
)
}}
</span>
<el-date-picker
clearable
v-model=
"queryParams.endCreateTime"
value-format=
"yyyy-MM-dd HH:mm:ss"
format=
"yyyy-MM-dd HH:mm:ss"
type=
"datetime"
:placeholder=
"$t('请选择结束日期')"
/>
<el-date-picker
clearable
v-model=
"queryParams.endCreateTime"
value-format=
"yyyy-MM-dd HH:mm:ss"
format=
"yyyy-MM-dd HH:mm:ss"
type=
"datetime"
:placeholder=
"$t('请选择结束日期')"
/>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('始发地')+':'"
>
<el-form-item
:label=
"$t('始发仓')"
prop=
"startWarehouseId"
>
<el-select
v-model=
"queryParams.startWarehouseId"
:placeholder=
"$t('请选择始发仓')"
clearable
>
<el-option
v-for=
"item in exportWarehouseList"
:label=
"$l(item, 'title')"
:value=
"item.id"
:key=
"item.id"
></el-option>
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('目的仓')"
prop=
"destWarehouseId"
>
<el-select
v-model=
"queryParams.destWarehouseId"
:placeholder=
"$t('请选择目的仓')"
clearable
>
<el-option
v-for=
"item in importWarehouseList"
:label=
"$l(item, 'title')"
:value=
"item.id"
:key=
"item.id"
></el-option>
</el-select>
</el-form-item>
<!--
<el-form-item
:label=
"$t('始发地')+':'"
>
<el-select
v-model=
"queryParams.originId"
:placeholder=
"$t('请选择始发地')"
clearable
>
<el-select
v-model=
"queryParams.originId"
:placeholder=
"$t('请选择始发地')"
clearable
>
<el-option
v-for=
"item in expoerCityList"
:label=
"$l(item, 'title')"
:value=
"item.id"
:key=
"item.id"
></el-option>
<el-option
v-for=
"item in expoerCityList"
:label=
"$l(item, 'title')"
:value=
"item.id"
:key=
"item.id"
></el-option>
</el-select>
</el-select>
...
@@ -21,7 +31,7 @@
...
@@ -21,7 +31,7 @@
<el-select
v-model=
"queryParams.destinationId"
:placeholder=
"$t('请选择目的地')"
clearable
>
<el-select
v-model=
"queryParams.destinationId"
:placeholder=
"$t('请选择目的地')"
clearable
>
<el-option
v-for=
"item in importCityList"
:label=
"$l(item, 'title')"
:value=
"item.id"
:key=
"item.id"
></el-option>
<el-option
v-for=
"item in importCityList"
:label=
"$l(item, 'title')"
:value=
"item.id"
:key=
"item.id"
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
-->
<el-form-item
:label=
"$t('运输方式')+':'"
>
<el-form-item
:label=
"$t('运输方式')+':'"
>
<dict-selector
:type=
"DICT_TYPE.ECW_TRANSPORT_TYPE"
:clearable=
"true"
v-model=
"queryParams.transportId"
/>
<dict-selector
:type=
"DICT_TYPE.ECW_TRANSPORT_TYPE"
:clearable=
"true"
v-model=
"queryParams.transportId"
/>
</el-form-item>
</el-form-item>
...
@@ -155,6 +165,7 @@ import {DICT_TYPE} from '@/utils/dict'
...
@@ -155,6 +165,7 @@ import {DICT_TYPE} from '@/utils/dict'
import
{
listServiceUser
}
from
"
@/api/system/user
"
import
{
listServiceUser
}
from
"
@/api/system/user
"
import
CustomerSelector
from
'
@/components/CustomerSelector
'
import
CustomerSelector
from
'
@/components/CustomerSelector
'
import
ProductSelector
from
'
@/components/ProductSelector
'
import
ProductSelector
from
'
@/components/ProductSelector
'
import
{
getWarehouseList
}
from
'
@/api/ecw/warehouse
'
export
default
{
export
default
{
name
:
"
EcwOrderException
"
,
name
:
"
EcwOrderException
"
,
...
@@ -179,6 +190,7 @@ export default {
...
@@ -179,6 +190,7 @@ export default {
rows
:
10
rows
:
10
},
},
tradeCityList
:[],
tradeCityList
:[],
warehouseList
:[],
};
};
},
},
activated
(){
activated
(){
...
@@ -186,10 +198,12 @@ export default {
...
@@ -186,10 +198,12 @@ export default {
},
},
created
()
{
created
()
{
this
.
getList
();
this
.
getList
();
getTradeCityList
().
then
(
res
=>
this
.
tradeCityList
=
res
.
data
)
// getTradeCityList().then(res => this.tradeCityList = res.data)
listServiceUser
().
then
(
r
=>
{
listServiceUser
().
then
(
r
=>
{
this
.
creatorData
=
r
.
data
this
.
creatorData
=
r
.
data
})
})
getWarehouseList
().
then
(
res
=>
this
.
warehouseList
=
res
.
data
)
// userList('salesman').then(res =>this.creatorData = res.data)
// userList('salesman').then(res =>this.creatorData = res.data)
},
},
computed
:{
computed
:{
...
@@ -199,7 +213,13 @@ export default {
...
@@ -199,7 +213,13 @@ export default {
importCityList
(){
importCityList
(){
return
this
.
tradeCityList
.
filter
(
item
=>
item
.
type
==
1
)
return
this
.
tradeCityList
.
filter
(
item
=>
item
.
type
==
1
)
},
},
exportWarehouseList
(){
/* tradeType 1 进口,2出口,3进出口 */
return
this
.
warehouseList
.
filter
(
item
=>
item
.
tradeType
==
2
||
item
.
tradeType
==
3
)
},
importWarehouseList
(){
return
this
.
warehouseList
.
filter
(
item
=>
item
.
tradeType
==
1
||
item
.
tradeType
==
3
)
},
},
},
methods
:
{
methods
:
{
/** 查询列表 */
/** 查询列表 */
...
...
src/views/ecw/order/prepayDeal.vue
View file @
f2dd5478
...
@@ -272,8 +272,8 @@
...
@@ -272,8 +272,8 @@
<!--
<
el
-
select
v
-
model
=
"
handlerParams.currency
"
clearable
>
<!--
<
el
-
select
v
-
model
=
"
handlerParams.currency
"
clearable
>
<
el
-
option
v
-
for
=
"
dict in getDictDatas('shipping_price_unit')
"
<
el
-
option
v
-
for
=
"
dict in getDictDatas('shipping_price_unit')
"
:
key
=
"
dict.value
"
:
label
=
"
dict.label
"
:
value
=
"
dict.value
"
/>
:
key
=
"
dict.value
"
:
label
=
"
dict.label
"
:
value
=
"
dict.value
"
/>
<
/el-select> --
>
<
/el-select> -->
{{getCurrencyLabel
(
handlerParams.currency
)
}}
<
dict
-
tag
type
=
"
shipping_price_unit
"
v
-
model
=
"
handlerParams.currency
"
class
=
"
w-100 ml-10
"
/
>
<
!--
<
dict
-
tag
type
=
"
shipping_price_unit
"
v
-
model
=
"
handlerParams.currency
"
class
=
"
w-100 ml-10
"
/>
--
>
<
/el-form-item
>
<
/el-form-item
>
<
/el-row
>
<
/el-row
>
...
@@ -281,9 +281,9 @@
...
@@ -281,9 +281,9 @@
<
el
-
form
-
item
:
label
=
"
$t('送货费用')+':'
"
size
=
"
medium
"
>
<
el
-
form
-
item
:
label
=
"
$t('送货费用')+':'
"
size
=
"
medium
"
>
<
el
-
input
style
=
"
width: 100px;
"
type
=
"
text
"
v
-
model
=
"
handlerParams.amount
"
/>
<
el
-
input
style
=
"
width: 100px;
"
type
=
"
text
"
v
-
model
=
"
handlerParams.amount
"
/>
<
el
-
select
v
-
model
=
"
handlerParams.currency
"
style
=
"
width: 100px;margin-left: 10px;
"
clearable
>
<
el
-
select
v
-
model
=
"
handlerParams.currency
"
style
=
"
width: 100px;margin-left: 10px;
"
clearable
>
<
el
-
option
v
-
for
=
"
dict in getDictDatas('shipping_price_unit')
"
<
el
-
option
v
-
for
=
"
dict in currencyList
"
:
key
=
"
dict.
value
"
:
label
=
"
dict.label
"
:
value
=
"
dict.value
"
/>
:
key
=
"
dict.
id
"
:
label
=
"
dict.titleZh
"
:
value
=
"
dict.id
"
/>
<
/el-select
>
<
/el-select
>
<
/el-form-item
>
<
/el-form-item
>
<
/el-row
>
<
/el-row
>
<
el
-
row
:
span
=
"
8
"
v
-
if
=
"
orderExceptionData.orderExceptionType!='order_lack_box_exception'&&orderExceptionData.orderExceptionType!='order_miss_exception'&&orderExceptionData.orderExceptionType!='order_superfluous_goods_exception'&&orderExceptionData.orderExceptionType!='order_in_water_exception'&&orderExceptionData.orderExceptionType!='order_damage_exception'&&orderExceptionData.orderExceptionType!='order_other_exception'&&orderExceptionData.orderExceptionType!='order_lack_box_exception'
"
>
<
el
-
row
:
span
=
"
8
"
v
-
if
=
"
orderExceptionData.orderExceptionType!='order_lack_box_exception'&&orderExceptionData.orderExceptionType!='order_miss_exception'&&orderExceptionData.orderExceptionType!='order_superfluous_goods_exception'&&orderExceptionData.orderExceptionType!='order_in_water_exception'&&orderExceptionData.orderExceptionType!='order_damage_exception'&&orderExceptionData.orderExceptionType!='order_other_exception'&&orderExceptionData.orderExceptionType!='order_lack_box_exception'
"
>
...
@@ -430,6 +430,11 @@
...
@@ -430,6 +430,11 @@
}
,
}
,
methods
:
{
methods
:
{
/** 查询列表 */
/** 查询列表 */
getCurrencyLabel
(
id
){
var
label
=
this
.
currencyList
.
filter
(
item
=>
item
.
id
==
id
)
if
(
label
.
length
>
0
)
return
label
[
0
].
titleZh
return
''
}
,
getList
()
{
getList
()
{
let
that
=
this
let
that
=
this
that
.
loading
=
true
;
that
.
loading
=
true
;
...
...
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