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
8204128d
Commit
8204128d
authored
Sep 18, 2023
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
空运审核优化
parent
624aa38c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
49 additions
and
2 deletions
+49
-2
BoxSplitDetail.vue
src/views/ecw/order/components/BoxSplitDetail.vue
+49
-2
No files found.
src/views/ecw/order/components/BoxSplitDetail.vue
View file @
8204128d
...
@@ -69,6 +69,27 @@
...
@@ -69,6 +69,27 @@
<el-table-column
:label=
"$t('货值')"
>
<el-table-column
:label=
"$t('货值')"
>
<
template
slot-scope=
"{row}"
>
{{
row
.
worth
}}{{
$t
(
'
元
'
)
}}
</
template
>
<
template
slot-scope=
"{row}"
>
{{
row
.
worth
}}{{
$t
(
'
元
'
)
}}
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('成交单价')"
align=
"center"
min-width=
"220px"
v-if=
"[3,4].indexOf(order.transportId) > -1"
>
<
template
slot-scope=
"scope"
>
<template
v-if=
"scope.row.charging != 1"
>
<div
class=
"flex"
>
{{
$t
(
'
运费
'
)
}}
<el-input
v-model=
"scope.row.oneSeaFreight"
disabled
size=
"mini"
style=
"width: 80px"
></el-input>
{{
currencyMap
[
scope
.
row
.
seaFreightCurrency
]
}}
/
{{
unitMap
[
scope
.
row
.
seaFreightVolume
]
}}
</div>
<div
class=
"flex"
>
{{
$t
(
'
清关费
'
)
}}
<el-input
v-model=
"scope.row.oneClearanceFreight"
disabled
size=
"mini"
style=
"width: 80px"
></el-input>
{{
currencyMap
[
scope
.
row
.
clearanceFreightCurrency
]
}}
/
{{
unitMap
[
scope
.
row
.
clearanceFreightVolume
]
}}
</div>
</
template
>
<
template
v-else
>
{{
$t
(
'
全包价
'
)
}}
<el-input
v-model=
"scope.row.oneSeaFreight"
@
change=
"updateField(scope.row, 'oneSeaFreight')"
size=
"mini"
style=
"width: 80px"
></el-input>
{{
currencyMap
[
scope
.
row
.
currencyId
]
}}
{{
unitMap
[
scope
.
row
.
clearanceFreightVolume
]
}}
</
template
>
</template>
</el-table-column>
</el-table>
</el-table>
</template>
</template>
<warehouse-record
v-if=
"currentWarehouseRecord"
:list=
"currentWarehouseRecord"
append-to-body
@
close=
"currentWarehouseRecord=null"
></warehouse-record>
<warehouse-record
v-if=
"currentWarehouseRecord"
:list=
"currentWarehouseRecord"
append-to-body
@
close=
"currentWarehouseRecord=null"
></warehouse-record>
...
@@ -79,8 +100,11 @@ import {getOrder} from '@/api/ecw/order'
...
@@ -79,8 +100,11 @@ import {getOrder} from '@/api/ecw/order'
import
{
getBoxApproval
}
from
'
@/api/ecw/box
'
import
{
getBoxApproval
}
from
'
@/api/ecw/box
'
import
{
getChannel
}
from
'
@/api/ecw/channel
'
import
{
getChannel
}
from
'
@/api/ecw/channel
'
import
WarehouseRecord
from
"
@/views/ecw/order/splitApply/components/WarehouseRecord
"
;
import
WarehouseRecord
from
"
@/views/ecw/order/splitApply/components/WarehouseRecord
"
;
import
Template
from
"
@/views/cms/template/index.vue
"
;
import
{
getCurrencyList
}
from
"
@/api/ecw/currency
"
;
import
{
getUnitList
}
from
"
@/api/ecw/unit
"
;
export
default
{
export
default
{
components
:
{
WarehouseRecord
},
components
:
{
Template
,
WarehouseRecord
},
props
:{
props
:{
id
:
[
String
,
Number
]
id
:
[
String
,
Number
]
},
},
...
@@ -90,7 +114,9 @@ export default {
...
@@ -90,7 +114,9 @@ export default {
order
:
null
,
order
:
null
,
channel
:
null
,
channel
:
null
,
// 查看入仓记录的条目
// 查看入仓记录的条目
currentWarehouseRecord
:
null
currentWarehouseRecord
:
null
,
currencyList
:[],
unitList
:
[]
}
}
},
},
watch
:{
watch
:{
...
@@ -106,6 +132,22 @@ export default {
...
@@ -106,6 +132,22 @@ export default {
}
}
}
}
},
},
computed
:{
currencyMap
(){
let
map
=
{}
this
.
currencyList
.
forEach
(
item
=>
{
map
[
item
.
id
]
=
this
.
$l
(
item
,
'
title
'
)
})
return
map
},
unitMap
(){
let
map
=
{}
this
.
unitList
.
forEach
(
item
=>
{
map
[
item
.
id
]
=
this
.
$l
(
item
,
'
title
'
)
})
return
map
}
},
created
(){
created
(){
if
(
this
.
id
){
if
(
this
.
id
){
this
.
getData
()
this
.
getData
()
...
@@ -120,6 +162,11 @@ export default {
...
@@ -120,6 +162,11 @@ export default {
getOrder
(){
getOrder
(){
getOrder
(
this
.
detail
.
orderId
).
then
(
res
=>
{
getOrder
(
this
.
detail
.
orderId
).
then
(
res
=>
{
this
.
order
=
res
.
data
this
.
order
=
res
.
data
if
([
3
,
4
].
indexOf
(
this
.
order
.
transportId
)
>
-
1
){
getCurrencyList
().
then
(
res
=>
this
.
currencyList
=
res
.
data
)
getUnitList
().
then
(
res
=>
this
.
unitList
=
res
.
data
)
}
})
})
},
},
getChannel
(){
getChannel
(){
...
...
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