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
ea359513
Commit
ea359513
authored
Feb 28, 2025
by
332784038@qq.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'order_fee_update' into pre-release
parents
d29b4b23
3f5d9139
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
135 additions
and
23 deletions
+135
-23
order.js
src/api/ecw/order.js
+8
-0
batchMarkup.vue
src/views/ecw/box/batchMarkup.vue
+16
-2
BatchFeeApplication.vue
src/views/ecw/order/components/BatchFeeApplication.vue
+3
-1
warehouseDetails.vue
src/views/ecw/order/components/warehouseDetails.vue
+1
-0
feeApplication.vue
src/views/ecw/order/feeApplication.vue
+51
-4
Discount.vue
src/views/ecw/order/special/Discount.vue
+26
-8
Discounts.vue
src/views/ecw/order/special/Discounts.vue
+30
-8
No files found.
src/api/ecw/order.js
View file @
ea359513
...
@@ -45,6 +45,14 @@ export function getOrderDetail(orderId) {
...
@@ -45,6 +45,14 @@ export function getOrderDetail(orderId) {
})
})
}
}
// 获得订单编辑详情
export
function
getFeeDraweeByFeeType
(
feeType
)
{
return
request
({
url
:
"
/ecw/order/fee/drawee/
"
+
feeType
,
method
:
"
get
"
})
}
// 获得订单分页
// 获得订单分页
export
function
getOrderPage
(
query
)
{
export
function
getOrderPage
(
query
)
{
return
request
({
return
request
({
...
...
src/views/ecw/box/batchMarkup.vue
View file @
ea359513
<!--批量加价-->
<!--批量加价-->
<
template
>
<
template
>
<div
class=
"app-container"
>
<div
class=
"app-container"
>
<div
class=
"page-title"
>
{{
$t
(
'
批量加价
'
)
}}
</div>
<div
class=
"page-title"
>
<span>
{{
$t
(
"
批量加价
"
)
}}
</span>
<!-- TODO 这里的批量申请费用需要跳转到和订单列表一致的批量订单费用申请页面 -->
<el-button
type=
"primary"
style=
"margin-left: 5px;"
size=
"small"
@
click=
"batchOrderFeeApply(this.orderIds)"
>
{{
$t
(
'
批量申请费用
'
)
}}
</el-button>
</div>
<div>
<div>
{{
$t
(
'
运费或全包加价
'
)
}}
{{
$t
(
'
运费或全包加价
'
)
}}
<!--货币-->
<!--货币-->
...
@@ -51,6 +56,15 @@
...
@@ -51,6 +56,15 @@
<el-descriptions-item
label=
"SO NO"
>
<el-descriptions-item
label=
"SO NO"
>
{{
shipmentObj
.
bookSeaInfo
?
shipmentObj
.
bookSeaInfo
.
sono
:
''
}}
{{
shipmentObj
.
bookSeaInfo
?
shipmentObj
.
bookSeaInfo
.
sono
:
''
}}
</el-descriptions-item>
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('装柜时间')"
>
{{
shipmentObj
.
zgDate
}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('到港时间')"
>
{{
shipmentObj
.
dgDate
}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('清关时间')"
>
{{
shipmentObj
.
qgDate
}}
</el-descriptions-item>
</el-descriptions>
</el-descriptions>
</el-card>
</el-card>
...
@@ -143,7 +157,7 @@ import {getChannelList} from "@/api/ecw/channel";
...
@@ -143,7 +157,7 @@ import {getChannelList} from "@/api/ecw/channel";
import
{
getCabinetPage
}
from
"
@/api/ecw/cabinet
"
;
import
{
getCabinetPage
}
from
"
@/api/ecw/cabinet
"
;
import
{
getWarehouseList
}
from
"
@/api/ecw/warehouse
"
;
import
{
getWarehouseList
}
from
"
@/api/ecw/warehouse
"
;
import
{
getSupplierPage
}
from
"
@/api/ecw/supplier
"
;
import
{
getSupplierPage
}
from
"
@/api/ecw/supplier
"
;
import
{
approvalCancel
,
boxGoodsDetail
,
createApproval
,
import
{
approvalCancel
,
boxGoodsDetail
,
createApproval
,
getSectionList
,
loadSecGoodsList
}
from
"
@/api/ecw/boxSea
"
;
getSectionList
,
loadSecGoodsList
}
from
"
@/api/ecw/boxSea
"
;
import
{
getAbnormalList
,
getbox
,
getLogList
}
from
"
@/api/ecw/box
"
;
import
{
getAbnormalList
,
getbox
,
getLogList
}
from
"
@/api/ecw/box
"
;
import
{
getTotlContent
}
from
"
@/views/ecw/box/shippingSea/utils
"
;
import
{
getTotlContent
}
from
"
@/views/ecw/box/shippingSea/utils
"
;
...
...
src/views/ecw/order/components/BatchFeeApplication.vue
View file @
ea359513
...
@@ -24,7 +24,8 @@
...
@@ -24,7 +24,8 @@
<div
v-for=
"(item, index) in feeList"
:key=
"item.id"
>
<div
v-for=
"(item, index) in feeList"
:key=
"item.id"
>
{{
index
+
1
}}
、【
<dict-tag
:type=
"DICT_TYPE.FEE_TYPE"
:value=
"item.feeType"
/>
】,
{{
index
+
1
}}
、【
<dict-tag
:type=
"DICT_TYPE.FEE_TYPE"
:value=
"item.feeType"
/>
】,
<dict-tag
:value=
"item.payType"
:type=
"DICT_TYPE.PAYMENT_TYPE"
></dict-tag>
,
<dict-tag
:value=
"item.payType"
:type=
"DICT_TYPE.PAYMENT_TYPE"
></dict-tag>
,
{{
item
.
applicationFee
}}{{
currencyName
(
item
.
applicationFeeCurrency
)
}}
{{
$t
(
'
金额
'
)
}}
:
{{
item
.
applicationFee
}}{{
currencyName
(
item
.
applicationFeeCurrency
)
}}
,
<dict-tag
:value=
"item.payer"
:type=
"DICT_TYPE.DRAWEE"
></dict-tag>
{{
$t
(
'
付款
'
)
}}
,
{{
$t
(
'
备注
'
)
}}
:
{{
item
.
remarks
||
$t
(
'
无
'
)
}}
{{
$t
(
'
备注
'
)
}}
:
{{
item
.
remarks
||
$t
(
'
无
'
)
}}
</div>
</div>
</div>
</div>
...
@@ -61,6 +62,7 @@ export default {
...
@@ -61,6 +62,7 @@ export default {
name
:
"
BatchFeeApplicationDetail
"
,
name
:
"
BatchFeeApplicationDetail
"
,
data
(){
data
(){
return
{
return
{
DICT_TYPE
,
order
:
null
,
order
:
null
,
feeList
:
[],
feeList
:
[],
currencyList
:[]
currencyList
:[]
...
...
src/views/ecw/order/components/warehouseDetails.vue
View file @
ea359513
...
@@ -123,6 +123,7 @@
...
@@ -123,6 +123,7 @@
<!-- <dict-tag :type="DICT_TYPE.COMMISSION_ CURRENCY_TYPE" :value="FeeDetails.applicationFeeCurrency" />, -->
<!-- <dict-tag :type="DICT_TYPE.COMMISSION_ CURRENCY_TYPE" :value="FeeDetails.applicationFeeCurrency" />, -->
{{currencyName(FeeDetails.applicationFeeCurrency)}}
{{currencyName(FeeDetails.applicationFeeCurrency)}}
<dict-tag
:value=
"FeeDetails.payType"
:type=
"DICT_TYPE.PAYMENT_TYPE"
></dict-tag>
,
<dict-tag
:value=
"FeeDetails.payType"
:type=
"DICT_TYPE.PAYMENT_TYPE"
></dict-tag>
,
<dict-tag
:value=
"FeeDetails.payer"
:type=
"DICT_TYPE.DRAWEE"
></dict-tag>
{{ $t('付款') }},
【{{FeeDetails.remarks}}】
【{{FeeDetails.remarks}}】
</div>
</div>
</div>
</div>
...
...
src/views/ecw/order/feeApplication.vue
View file @
ea359513
...
@@ -49,6 +49,7 @@
...
@@ -49,6 +49,7 @@
:disabled=
"!scope.row.editMode && !!scope.row.status"
:disabled=
"!scope.row.editMode && !!scope.row.status"
:type=
"DICT_TYPE.FEE_TYPE"
:type=
"DICT_TYPE.FEE_TYPE"
v-model=
"scope.row.feeType"
v-model=
"scope.row.feeType"
@
change=
"updatePayer(scope.row)"
/>
/>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
@@ -56,7 +57,7 @@
...
@@ -56,7 +57,7 @@
<
template
v-slot:default=
"scope"
>
<
template
v-slot:default=
"scope"
>
<el-input
<el-input
:disabled=
"!scope.row.editMode && !!scope.row.status"
:disabled=
"!scope.row.editMode && !!scope.row.status"
v-model
.number=
"scope.row.applicationFee
"
v-model
=
"scope.row.applicationFee"
type=
"number
"
></el-input>
></el-input>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
@@ -84,6 +85,16 @@
...
@@ -84,6 +85,16 @@
/>
/>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('付款人')"
>
<
template
v-slot=
"{ row }"
>
<dict-selector
:disabled=
"!row.editMode && !!row.status"
:type=
"DICT_TYPE.DRAWEE"
:filter=
"payerDictFilter"
v-model=
"row.payer"
/>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('备注')"
>
<el-table-column
:label=
"$t('备注')"
>
<
template
v-slot:default=
"scope"
>
<
template
v-slot:default=
"scope"
>
<el-input
<el-input
...
@@ -152,8 +163,7 @@
...
@@ -152,8 +163,7 @@
:disabled=
"!feeList.length && !editMode"
:disabled=
"!feeList.length && !editMode"
@
click=
"submit"
@
click=
"submit"
>
{{ $t("提交") }}
>
{{ $t("提交") }}
</el-button
</el-button>
>
<el-button
<el-button
type=
"primary"
type=
"primary"
v-if=
"processInstanceId"
v-if=
"processInstanceId"
...
@@ -190,7 +200,7 @@ import {
...
@@ -190,7 +200,7 @@ import {
getFeeApplicationApproveByOrderId
,
getFeeApplicationApproveByOrderId
,
getBatchFeeByProcessId
,
getBatchFeeByProcessId
,
qetBatchFeeByBusinessId
,
qetBatchFeeByBusinessId
,
getBatchFeeByBusinessId
,
feeApplicationDelete
,
getBatchFeeByBusinessId
,
feeApplicationDelete
,
getFeeDraweeByFeeType
,
}
from
"
@/api/ecw/order
"
;
}
from
"
@/api/ecw/order
"
;
import
{
getDictDatas
,
DICT_TYPE
}
from
"
@/utils/dict
"
;
import
{
getDictDatas
,
DICT_TYPE
}
from
"
@/utils/dict
"
;
import
workFlow
from
"
@/components/WorkFlow
"
;
import
workFlow
from
"
@/components/WorkFlow
"
;
...
@@ -278,16 +288,53 @@ export default {
...
@@ -278,16 +288,53 @@ export default {
this
.
list
.
splice
(
index
,
1
);
this
.
list
.
splice
(
index
,
1
);
});
});
},
},
// 过滤订单状态筛选字典内容
payerDictFilter
(
item
)
{
if
(
item
.
value
&&
item
.
value
==
3
)
{
return
false
}
return
true
},
// 修改
// 修改
modify
(
item
)
{
modify
(
item
)
{
this
.
$set
(
item
,
"
editMode
"
,
true
);
this
.
$set
(
item
,
"
editMode
"
,
true
);
},
},
updatePayer
(
item
)
{
console
.
log
(
"
变动的费用记录:
"
,
item
);
this
.
$nextTick
(()
=>
{
// 根据新费用类型和索引更新payer付款人信息
this
.
orderDetails
.
drawee
?
(
this
.
orderDetails
.
drawee
!=
3
?
this
.
$set
(
item
,
"
payer
"
,
this
.
orderDetails
.
drawee
)
:
this
.
getDraweePayer
(
item
))
:
undefined
;
// 费用申请付款人
console
.
log
(
"
变动的费用记录:
"
,
item
);
})
},
getDraweePayer
(
item
)
{
let
feeType
=
item
.
feeType
if
(
feeType
)
{
getFeeDraweeByFeeType
(
feeType
).
then
(
res
=>
{
console
.
log
(
res
.
data
)
let
drawee
=
res
.
data
console
.
log
(
"
自定义费用枚举值:
"
,
drawee
)
if
(
drawee
)
{
if
(
this
.
orderDetails
.
customDraweeVOList
&&
this
.
orderDetails
.
customDraweeVOList
.
length
>
0
)
{
let
customDrawee
=
this
.
orderDetails
.
customDraweeVOList
.
find
(
item
=>
item
.
name
==
drawee
)
console
.
log
(
"
自定义费用类型值:
"
,
customDrawee
)
if
(
customDrawee
)
{
console
.
log
(
"
返回值:
"
,
customDrawee
.
value
)
this
.
$set
(
item
,
"
payer
"
,
customDrawee
.
value
)
}
}
}
});
}
},
addCost
()
{
addCost
()
{
this
.
list
.
push
({
this
.
list
.
push
({
orderId
:
this
.
orderId
,
orderId
:
this
.
orderId
,
feeType
:
undefined
,
//费用申请类型
feeType
:
undefined
,
//费用申请类型
applicationFee
:
undefined
,
//金额
applicationFee
:
undefined
,
//金额
applicationFeeCurrency
:
undefined
,
// 费用申请货币类型
applicationFeeCurrency
:
undefined
,
// 费用申请货币类型
payer
:
this
.
orderDetails
.
drawee
&&
this
.
orderDetails
.
drawee
!=
3
?
this
.
orderDetails
.
drawee
:
undefined
,
// 费用申请付款人
remarks
:
undefined
,
remarks
:
undefined
,
receiveFlag
:
0
,
receiveFlag
:
0
,
applicationAuthor
:
undefined
,
applicationAuthor
:
undefined
,
...
...
src/views/ecw/order/special/Discount.vue
View file @
ea359513
...
@@ -17,16 +17,24 @@
...
@@ -17,16 +17,24 @@
<
el
-
form
-
item
:
label
=
"
$t('是否预付')
"
>
<
el
-
form
-
item
:
label
=
"
$t('是否预付')
"
>
<
dict
-
tag
:
type
=
"
DICT_TYPE.ECW_YESNO
"
:
value
=
"
orderItem.isPayAdvance
"
/>
<
dict
-
tag
:
type
=
"
DICT_TYPE.ECW_YESNO
"
:
value
=
"
orderItem.isPayAdvance
"
/>
<
/el-form-item
>
<
/el-form-item
>
<
el
-
form
-
item
:
label
=
"
$t('单价模式')
"
>
<
dict
-
selector
:
type
=
"
DICT_TYPE.ECW_PRICE_TYPE
"
v
-
model
=
"
orderItem.charging
"
form
-
type
=
"
radio
"
formatter
=
"
number
"
/>
<
/el-form-item
>
<
el
-
row
v
-
if
=
"
!orderItem.
c
harging
"
>
<
el
-
row
v
-
if
=
"
!orderItem.
orgC
harging
"
>
<
el
-
col
:
span
=
"
12
"
>
<
el
-
col
:
span
=
"
12
"
>
<
el
-
form
-
item
:
label
=
"
$t('旧运费')
"
>
<
el
-
form
-
item
:
label
=
"
$t('旧运费')
"
>
{{
form
.
orgFreight
}}
{{
currentMap
[
form
.
f
reightCurrency
]
}}
/
{{
unitMap
[
form
.
freightVolume
]
}}
{{
form
.
orgFreight
}}
{{
currentMap
[
form
.
orgF
reightCurrency
]
}}
/
{{
unitMap
[
form
.
freightVolume
]
}}
<
/el-form-item
>
<
/el-form-item
>
<
/el-col
>
<
/el-col
>
<
el
-
col
:
span
=
"
12
"
>
<
el
-
col
:
span
=
"
12
"
>
<
el
-
form
-
item
:
label
=
"
$t('旧清关费')
"
>
<
el
-
form
-
item
:
label
=
"
$t('旧清关费')
"
>
{{
form
.
orgClearanceFreight
}}
{{
currentMap
[
form
.
c
learanceFreightCurrency
]
}}
/
{{
unitMap
[
form
.
clearanceFreightVolume
]
}}
{{
form
.
orgClearanceFreight
}}
{{
currentMap
[
form
.
orgC
learanceFreightCurrency
]
}}
/
{{
unitMap
[
form
.
clearanceFreightVolume
]
}}
<
/el-form-item
>
<
/el-form-item
>
<
/el-col
>
<
/el-col
>
<
/el-row
>
<
/el-row
>
...
@@ -34,23 +42,29 @@
...
@@ -34,23 +42,29 @@
<
el
-
col
:
span
=
"
12
"
>
<
el
-
col
:
span
=
"
12
"
>
<
el
-
form
-
item
:
label
=
"
$t('新运费')
"
style
=
"
width: 400px
"
prop
=
"
freight
"
>
<
el
-
form
-
item
:
label
=
"
$t('新运费')
"
style
=
"
width: 400px
"
prop
=
"
freight
"
>
<
el
-
input
v
-
model
=
"
form.freight
"
type
=
"
number
"
class
=
"
w-100
"
/>
<
el
-
input
v
-
model
=
"
form.freight
"
type
=
"
number
"
class
=
"
w-100
"
/>
{{
currentMap
[
form
.
freightCurrency
]
}}
/
{{
unitMap
[
form
.
freightVolume
]
}}
<!--
货币
-->
<
selector
v
-
model
=
"
form.freightCurrency
"
:
options
=
"
currencyList
"
:
label
-
field
=
"
$l('title')
"
value
-
field
=
"
id
"
defaultable
class
=
"
w-100 ml-10
"
/>
/ {{ unitMap
[
form.freightVolume
]
}}
<
/el-form-item
>
<
/el-form-item
>
<
/el-col
>
<
/el-col
>
<
el
-
col
:
span
=
"
12
"
>
<
el
-
col
:
span
=
"
12
"
>
<
el
-
form
-
item
:
label
=
"
$t('新清关费')
"
style
=
"
width: 400px
"
prop
=
"
clearanceFreight
"
>
<
el
-
form
-
item
:
label
=
"
$t('新清关费')
"
style
=
"
width: 400px
"
prop
=
"
clearanceFreight
"
>
<
el
-
input
v
-
model
=
"
form.clearanceFreight
"
type
=
"
number
"
class
=
"
w-100
"
/>
<
el
-
input
v
-
model
=
"
form.clearanceFreight
"
type
=
"
number
"
class
=
"
w-100
"
/>
{{
currentMap
[
form
.
clearanceFreightCurrency
]
}}
/
{{
unitMap
[
form
.
clearanceFreightVolume
]
}}
<!--
货币
-->
<
selector
v
-
model
=
"
form.clearanceFreightCurrency
"
:
options
=
"
currencyList
"
:
label
-
field
=
"
$l('title')
"
value
-
field
=
"
id
"
defaultable
class
=
"
w-100 ml-10
"
/>
/ {{ unitMap
[
form.clearanceFreightVolume
]
}}
<
/el-form-item
>
<
/el-form-item
>
<
/el-col
>
<
/el-col
>
<
/el-row
>
<
/el-row
>
<
el
-
form
-
item
:
label
=
"
$t('旧全包价')
"
v
-
if
=
"
orderItem.
c
harging
"
>
<
el
-
form
-
item
:
label
=
"
$t('旧全包价')
"
v
-
if
=
"
orderItem.
orgC
harging
"
>
{{
form
.
orgFreight
}}
{{
currentMap
[
form
.
f
reightCurrency
]
}}
/
{{
unitMap
[
form
.
freightVolume
]
}}
{{
form
.
orgFreight
}}
{{
currentMap
[
form
.
orgF
reightCurrency
]
}}
/
{{
unitMap
[
form
.
freightVolume
]
}}
<
/el-form-item
>
<
/el-form-item
>
<
el
-
form
-
item
:
label
=
"
$t('新全包价')
"
style
=
"
width: 400px
"
prop
=
"
clearanceFreight
"
v
-
if
=
"
orderItem.charging
"
>
<
el
-
form
-
item
:
label
=
"
$t('新全包价')
"
style
=
"
width: 400px
"
prop
=
"
clearanceFreight
"
v
-
if
=
"
orderItem.charging
"
>
<
el
-
input
v
-
model
=
"
form.freight
"
type
=
"
number
"
class
=
"
w-100
"
/>
<
el
-
input
v
-
model
=
"
form.freight
"
type
=
"
number
"
class
=
"
w-100
"
/>
{{
currentMap
[
form
.
freightCurrency
]
}}
/
{{
unitMap
[
form
.
freightVolume
]
}}
<!--
货币
-->
<
selector
v
-
model
=
"
form.freightCurrency
"
:
options
=
"
currencyList
"
:
label
-
field
=
"
$l('title')
"
value
-
field
=
"
id
"
defaultable
class
=
"
w-100 ml-10
"
/>
/ {{ unitMap
[
form.freightVolume
]
}}
<
/el-form-item
>
<
/el-form-item
>
<
/el-form
>
<
/el-form
>
...
@@ -77,6 +91,8 @@ import { getCurrencyList } from '@/api/ecw/currency'
...
@@ -77,6 +91,8 @@ import { getCurrencyList } from '@/api/ecw/currency'
import
{
getProductType
}
from
'
@/api/ecw/productType
'
import
{
getProductType
}
from
'
@/api/ecw/productType
'
import
{
cancelProcessInstance
}
from
'
@/api/bpm/processInstance
'
import
{
cancelProcessInstance
}
from
'
@/api/bpm/processInstance
'
import
WorkFlow
from
'
@/components/WorkFlow
'
import
WorkFlow
from
'
@/components/WorkFlow
'
import
{
DICT_TYPE
}
from
"
@/utils/dict
"
;
import
selector
from
"
@/components/Selector/index.vue
"
;
export
default
{
export
default
{
name
:
"
OrderSpecialDiscount
"
,
name
:
"
OrderSpecialDiscount
"
,
...
@@ -89,6 +105,7 @@ export default {
...
@@ -89,6 +105,7 @@ export default {
}
}
}
,
}
,
components
:
{
components
:
{
selector
,
WorkFlow
WorkFlow
}
,
}
,
created
()
{
created
()
{
...
@@ -109,6 +126,7 @@ export default {
...
@@ -109,6 +126,7 @@ export default {
}
,
}
,
data
()
{
data
()
{
return
{
return
{
DICT_TYPE
,
// applyType: 1, // 1是优惠申请2是管理折扣3是佣金设置4是重货优惠5是泡货优惠
// applyType: 1, // 1是优惠申请2是管理折扣3是佣金设置4是重货优惠5是泡货优惠
unitList
:[],
unitList
:[],
// channelList:[],
// channelList:[],
...
...
src/views/ecw/order/special/Discounts.vue
View file @
ea359513
...
@@ -40,23 +40,43 @@
...
@@ -40,23 +40,43 @@
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
:
label
=
"
$t('旧费用')
"
align
=
"
center
"
>
<
el
-
table
-
column
:
label
=
"
$t('旧费用')
"
align
=
"
center
"
>
<
template
v
-
slot
=
"
{row
}
"
>
<
template
v
-
slot
=
"
{row
}
"
>
<
div
v
-
if
=
"
!row.
c
harging
"
>
<
div
v
-
if
=
"
!row.
orgC
harging
"
>
<
div
>
{{
$t
(
'
旧运费
'
)
}}
:{{
row
.
orgFreight
}}
{{
currentMap
[
row
.
f
reightCurrency
]
}}
/
{{
unitMap
[
row
.
freightVolume
]
}}
<
/div
>
<
div
>
{{
$t
(
'
旧运费
'
)
}}
:{{
row
.
orgFreight
}}
{{
currentMap
[
row
.
orgF
reightCurrency
]
}}
/
{{
unitMap
[
row
.
freightVolume
]
}}
<
/div
>
<
div
>
{{
$t
(
'
旧清关费
'
)
}}
:{{
row
.
orgClearanceFreight
}}
{{
currentMap
[
row
.
c
learanceFreightCurrency
]
}}
/
{{
unitMap
[
row
.
clearanceFreightVolume
]
}}
<
/div
>
<
div
>
{{
$t
(
'
旧清关费
'
)
}}
:{{
row
.
orgClearanceFreight
}}
{{
currentMap
[
row
.
orgC
learanceFreightCurrency
]
}}
/
{{
unitMap
[
row
.
clearanceFreightVolume
]
}}
<
/div
>
<
/div
>
<
/div
>
<
div
v
-
else
>
<
div
v
-
else
>
{{
$t
(
'
旧全包价
'
)
}}
:{{
row
.
orgFreight
}}
{{
currentMap
[
row
.
f
reightCurrency
]
}}
/
{{
unitMap
[
row
.
freightVolume
]
}}
{{
$t
(
'
旧全包价
'
)
}}
:{{
row
.
orgFreight
}}
{{
currentMap
[
row
.
orgF
reightCurrency
]
}}
/
{{
unitMap
[
row
.
freightVolume
]
}}
<
/div
>
<
/div
>
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
:
label
=
"
$t('新费用')
"
align
=
"
center
"
width
=
"
300px
"
>
<
el
-
table
-
column
:
label
=
"
$t('单价模式')
"
align
=
"
left
"
>
<
template
v
-
slot
=
"
{row
}
"
>
<
dict
-
selector
:
type
=
"
DICT_TYPE.ECW_PRICE_TYPE
"
v
-
model
=
"
row.charging
"
form
-
type
=
"
radio
"
formatter
=
"
number
"
/>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
:
label
=
"
$t('新费用')
"
align
=
"
center
"
width
=
"
400px
"
>
<
template
v
-
slot
=
"
{row
}
"
>
<
template
v
-
slot
=
"
{row
}
"
>
<
div
v
-
if
=
"
!row.charging
"
>
<
div
v
-
if
=
"
!row.charging
"
>
<
div
>
{{
$t
(
'
新运费
'
)
}}
:
<
el
-
input
v
-
model
=
"
row.freight
"
type
=
"
number
"
class
=
"
w-100
"
/>
{{
currentMap
[
row
.
freightCurrency
]
}}
/
{{
unitMap
[
row
.
freightVolume
]
}}
<
/div
>
<
div
>
{{
$t
(
'
新运费
'
)
}}
:
<
el
-
input
v
-
model
=
"
row.freight
"
type
=
"
number
"
class
=
"
w-100
"
/>
<
div
>
{{
$t
(
'
新清关费
'
)
}}
:
<
el
-
input
v
-
model
=
"
row.clearanceFreight
"
type
=
"
number
"
class
=
"
w-100
"
/>
{{
currentMap
[
row
.
clearanceFreightCurrency
]
}}
/
{{
unitMap
[
row
.
clearanceFreightVolume
]
}}
<
/div
>
<!--
货币
-->
<
selector
v
-
model
=
"
row.freightCurrency
"
:
options
=
"
currencyList
"
:
label
-
field
=
"
$l('title')
"
value
-
field
=
"
id
"
defaultable
class
=
"
w-100 ml-10
"
/>
/ {{ unitMap
[
row.freightVolume
]
}}
</
div
>
<
div
>
{{
$t
(
'
新清关费
'
)
}}
:
<
el
-
input
v
-
model
=
"
row.clearanceFreight
"
type
=
"
number
"
class
=
"
w-100
"
/>
<!--
货币
-->
<
selector
v
-
model
=
"
row.clearanceFreightCurrency
"
:
options
=
"
currencyList
"
:
label
-
field
=
"
$l('title')
"
value
-
field
=
"
id
"
defaultable
class
=
"
w-100 ml-10
"
/>
/ {{ unitMap
[
row.clearanceFreightVolume
]
}}
</
div
>
<
/div
>
<
/div
>
<
div
v
-
else
>
<
div
v
-
else
>
{{
$t
(
'
新全包价
'
)
}}
:
<
el
-
input
v
-
model
=
"
row.freight
"
type
=
"
number
"
class
=
"
w-100
"
/>
{{
currentMap
[
row
.
freightCurrency
]
}}
/
{{
unitMap
[
row
.
freightVolume
]
}}
{{
$t
(
'
新全包价
'
)
}}
:
<
el
-
input
v
-
model
=
"
row.freight
"
type
=
"
number
"
class
=
"
w-100
"
/>
<!--
货币
-->
<
selector
v
-
model
=
"
row.freightCurrency
"
:
options
=
"
currencyList
"
:
label
-
field
=
"
$l('title')
"
value
-
field
=
"
id
"
defaultable
class
=
"
w-100 ml-10
"
/>
/ {{ unitMap
[
row.freightVolume
]
}}
<
/div
>
<
/div
>
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
...
@@ -85,6 +105,7 @@ import { getCurrencyList } from '@/api/ecw/currency'
...
@@ -85,6 +105,7 @@ import { getCurrencyList } from '@/api/ecw/currency'
import
{
getProductType
}
from
'
@/api/ecw/productType
'
import
{
getProductType
}
from
'
@/api/ecw/productType
'
import
{
cancelProcessInstance
}
from
'
@/api/bpm/processInstance
'
import
{
cancelProcessInstance
}
from
'
@/api/bpm/processInstance
'
import
WorkFlow
from
'
@/components/WorkFlow
'
import
WorkFlow
from
'
@/components/WorkFlow
'
import
selector
from
"
@/components/Selector/index.vue
"
;
export
default
{
export
default
{
name
:
"
OrderSpecialDiscount
"
,
name
:
"
OrderSpecialDiscount
"
,
...
@@ -97,6 +118,7 @@ export default {
...
@@ -97,6 +118,7 @@ export default {
}
}
}
,
}
,
components
:
{
components
:
{
selector
,
WorkFlow
WorkFlow
}
,
}
,
created
()
{
created
()
{
...
...
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