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
ffcacc51
Commit
ffcacc51
authored
Aug 27, 2022
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完善bug
parent
47899552
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
67 additions
and
12 deletions
+67
-12
edit.vue
src/views/ecw/offer/edit.vue
+2
-2
detail.vue
src/views/ecw/order/detail.vue
+61
-10
edit.vue
src/views/ecw/order/edit.vue
+1
-0
release.vue
src/views/ecw/order/release.vue
+3
-0
No files found.
src/views/ecw/offer/edit.vue
View file @
ffcacc51
...
...
@@ -39,8 +39,8 @@
{{
consignor
.
social
}}
{{
consignor
.
socialNumber
}}
</el-descriptions-item>
<el-descriptions-item
label=
"联系地址"
>
{{
consignor
.
address
||
'
无
'
}}
-->
</el-descriptions-item>
{{
consignor
.
address
||
'
无
'
}}
</el-descriptions-item>
-->
</el-descriptions>
<el-descriptions
:column=
"3"
border
>
<el-descriptions-item
label=
"*收货人"
:labelStyle=
"labelStyle"
>
...
...
src/views/ecw/order/detail.vue
View file @
ffcacc51
...
...
@@ -72,6 +72,9 @@
<el-tabs
v-model=
"activeName"
>
<el-tab-pane
label=
"货物详情"
name=
"first"
>
<el-table
:data=
"order.orderItemVOList"
border
style=
"width: 100%"
>
<el-table-column
prop=
"prodTitleZh"
label=
"序号"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
$index
+
1
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"prodTitleZh"
label=
"中文品名"
/>
<el-table-column
prop=
"prodTitleEn"
label=
"英文品名"
/>
<el-table-column
prop=
"brand"
label=
"品牌"
>
...
...
@@ -95,6 +98,26 @@
</el-table-column>
<el-table-column
prop=
"volume"
label=
"体积(m3)"
/>
<el-table-column
prop=
"weight"
label=
"重量(kg)"
/>
<el-table-column
prop=
""
label=
"费用类型"
>
<
template
slot-scope=
"{row}"
>
<dict-tag
:type=
"DICT_TYPE.FEE_TYPE"
:value=
"row.feeType"
/>
</
template
>
</el-table-column>
<el-table-column
prop=
""
label=
"成交单价"
>
<
template
slot-scope=
"{row}"
>
<template
v-if=
"row.charging ==1"
>
全包价 // TODO 缺少全包价字段
</
template
>
<
template
v-else
>
<div>
运费:
{{
row
.
seaFreight
}}
{{
currentcyMap
[
row
.
seaFreightCurrency
]
}}
/
{{
unitMap
[
row
.
seaFreightVolume
]
}}
</div>
<div>
清关费:
{{
row
.
clearanceFreight
}}
{{
currentcyMap
[
row
.
clearanceFreightCurrency
]
}}
/
{{
unitMap
[
row
.
clearanceFreightVolume
]
}}
</div>
</
template
>
</template>
</el-table-column>
</el-table>
</el-tab-pane>
<el-tab-pane
label=
"订单动态"
name=
"second"
>
...
...
@@ -111,6 +134,9 @@
<el-button
type=
"text"
@
click.native=
"showLadingBill=true"
:disabled=
"!order.tidanNo"
>
查看提货单
</el-button>
<el-button
:disabled=
"true"
type=
"text"
>
装箱单未上传
</el-button>
</el-tab-pane>
<el-tab-pane
label=
"费用明细"
name=
"four"
>
</el-tab-pane>
</el-tabs>
</el-card>
...
...
@@ -124,6 +150,9 @@ import { getOrder } from '@/api/ecw/order'
import
{
getDictDatas
,
DICT_TYPE
}
from
'
@/utils/dict
'
;
import
PrintWarehouseReceipt
from
'
./components/PrintWarehouseReceipt
'
import
PrintLadingBill
from
'
./components/PrintLadingBill
'
import
{
getUnitList
}
from
'
@/api/ecw/unit
'
import
{
getCurrencyList
}
from
'
@/api/ecw/currency
'
export
default
{
name
:
"
detail
"
,
components
:
{
...
...
@@ -149,20 +178,36 @@ export default {
pageNo
:
1
,
pageSize
:
10
,
},
activities
:
[{
content
:
'
活动按期开始
'
,
timestamp
:
'
2018-04-15
'
},
{
content
:
'
通过审核
'
,
timestamp
:
'
2018-04-13
'
},
{
content
:
'
创建成功
'
,
timestamp
:
'
2018-04-11
'
}],
activities
:
[],
customsTypeList
:
getDictDatas
(
DICT_TYPE
.
ECW_CUSTOMS_TYPE
),
//报关类型
transportList
:
getDictDatas
(
DICT_TYPE
.
ECW_TRANSPORT_TYPE
),
//运输方式
showWarehouseReceipt
:
false
,
// 是否显示打印入仓单
showLadingBill
:
false
,
// 是否显示打印提单
currencyList
:
[],
unitList
:[]
}
},
computed
:{
currentcyMap
(){
let
map
=
{}
this
.
currencyList
.
forEach
(
item
=>
{
map
[
item
.
id
]
=
item
.
titleZh
})
return
map
},
unitMap
(){
let
map
=
{}
this
.
unitList
.
forEach
(
item
=>
{
map
[
item
.
id
]
=
item
.
titleZh
})
return
map
},
},
watch
:{
activeName
(){
if
(
!
this
.
feeList
.
length
){
this
.
loadFeeList
()
}
}
},
created
()
{
...
...
@@ -170,6 +215,9 @@ export default {
this
.
orderId
=
this
.
$route
.
query
.
orderId
this
.
getOrder
();
}
getCurrencyList
().
then
(
res
=>
this
.
currencyList
=
res
.
data
)
getUnitList
().
then
(
res
=>
this
.
unitList
=
res
.
data
)
},
methods
:
{
/** 查询列表 */
...
...
@@ -181,6 +229,9 @@ export default {
that
.
order
=
response
.
data
;
});
},
loadFeeList
(){
// TODO 暂无接口
}
}
};
</
script
>
...
...
src/views/ecw/order/edit.vue
View file @
ffcacc51
...
...
@@ -700,6 +700,7 @@ export default {
// 计算商品运费
calculationPrice
(
row
){
let
calcable
=
true
if
(
!
this
.
productList
.
length
)
return
false
this
.
productList
.
forEach
(
item
=>
{
if
(
!
item
.
weight
||
!
item
.
prodId
){
calcable
=
false
...
...
src/views/ecw/order/release.vue
View file @
ffcacc51
<
template
>
<div
class=
"app-container"
>
<el-form
:model=
"form"
label-position=
"left"
label-width=
"120px"
>
<el-form-item
label=
"订单号"
v-if=
"order"
>
{{
order
.
orderNo
}}
</el-form-item>
<el-form-item
label=
"放货方式"
>
<dict-selector
:type=
"DICT_TYPE.ECW_HARVEST_METHOD"
v-model=
"form.pickType"
form-type=
"radio"
formatter=
"number"
></dict-selector>
</el-form-item>
...
...
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