Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-web-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-web-master
Commits
be7e49cf
Commit
be7e49cf
authored
Sep 14, 2024
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/order_edit' into release
parents
0f69313c
0dc772a6
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
127 additions
and
85 deletions
+127
-85
delivery.vue
src/views/jiedao/profile/delivery.vue
+21
-8
orderdetail.vue
src/views/jiedao/profile/orderdetail.vue
+106
-77
No files found.
src/views/jiedao/profile/delivery.vue
View file @
be7e49cf
...
@@ -813,7 +813,7 @@
...
@@ -813,7 +813,7 @@
</el-descriptions-item>
</el-descriptions-item>
<!--付款人-->
<!--付款人-->
<el-descriptions-item
:label=
"$t('delivery.drawee')"
:span=
"2"
>
<el-descriptions-item
:label=
"$t('delivery.drawee')"
>
<span
<span
slot=
"label"
slot=
"label"
><span
style=
"color: red"
>
*
</span>
{{ $t("delivery.drawee") }}
</span>
><span
style=
"color: red"
>
*
</span>
{{ $t("delivery.drawee") }}
</span>
...
@@ -827,7 +827,6 @@
...
@@ -827,7 +827,6 @@
<dict-selector
<dict-selector
v-model=
"form.drawee"
v-model=
"form.drawee"
:type=
"DICT_TYPE.DRAWEE"
:type=
"DICT_TYPE.DRAWEE"
:filter=
"(e) => e.value == '1' || e.value == '2'"
defaultable
defaultable
form-type=
"radio"
form-type=
"radio"
/>
/>
...
@@ -847,6 +846,15 @@
...
@@ -847,6 +846,15 @@
</
template
>
</
template
>
</div>
</div>
</el-descriptions-item>
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('提单是否显示价格')"
>
<el-form-item
prop=
"displayBillLadingPrice"
>
<el-radio-group
v-model=
"form.displayBillLadingPrice"
>
<el-radio
:label=
"true"
>
{{$t('显示')}}
</el-radio>
<el-radio
:label=
"false"
>
{{$t('不显示')}}
</el-radio>
</el-radio-group>
</el-form-item>
</el-descriptions-item>
<!--入仓类型-->
<!--入仓类型-->
<el-descriptions-item
:label=
"$t('delivery.warehouseType')"
>
<el-descriptions-item
:label=
"$t('delivery.warehouseType')"
>
<span
<span
...
@@ -1199,7 +1207,7 @@
...
@@ -1199,7 +1207,7 @@
@
click=
"submitForm(2, false)"
@
click=
"submitForm(2, false)"
:disabled=
"isOverSeaWareHouse"
:disabled=
"isOverSeaWareHouse"
>
{{ $t("提交") }}
</el-button>
>
{{ $t("提交") }}
</el-button>
<el-button
@
click=
"
$router.back()
"
>
{{ $t("common.cancel") }}
</el-button>
<el-button
@
click=
"
handleCancel
"
>
{{ $t("common.cancel") }}
</el-button>
</el-form-item>
</el-form-item>
<div
style=
"padding-bottom: 20px; font-size: 12px; color: red"
v-if=
"isOverSeaWareHouse"
>
<div
style=
"padding-bottom: 20px; font-size: 12px; color: red"
v-if=
"isOverSeaWareHouse"
>
{{$t('如需海外仓服务,请联系客服,服务热线:{tel}', {tel: '400-900-9962'})}}
{{$t('如需海外仓服务,请联系客服,服务热线:{tel}', {tel: '400-900-9962'})}}
...
@@ -1625,6 +1633,7 @@ export default {
...
@@ -1625,6 +1633,7 @@ export default {
destCountryId
:
null
,
destCountryId
:
null
,
countryCode
:
'
86
'
,
countryCode
:
'
86
'
,
objectiveId
:
''
,
objectiveId
:
''
,
departureId
:
''
,
status
:
0
,
status
:
0
,
consigneeName
:
''
,
consigneeName
:
''
,
consigneePhone
:
''
,
consigneePhone
:
''
,
...
@@ -1640,7 +1649,8 @@ export default {
...
@@ -1640,7 +1649,8 @@ export default {
drawee
:
2
,
drawee
:
2
,
type
:
[],
type
:
[],
orderItemVOList
:
[],
orderItemVOList
:
[],
externalWarehouseDtoList
:[]
externalWarehouseDtoList
:[],
displayBillLadingPrice
:
true
},
},
// 总条数
// 总条数
total
:
0
,
total
:
0
,
...
@@ -1963,8 +1973,8 @@ export default {
...
@@ -1963,8 +1973,8 @@ export default {
console
.
log
(
harvestMethod
)
console
.
log
(
harvestMethod
)
},
},
// 服务
// 服务
'
form.type
'
(
type
){
'
form.type
'
(
type
,
oldType
){
if
(
type
.
indexOf
(
'
2
'
)
>
-
1
){
if
(
type
.
indexOf
(
'
2
'
)
>
-
1
&&
oldType
?.
indexOf
(
'
2
'
)
==
-
1
){
this
.
$alert
(
this
.
$t
(
'
如需海外仓服务,请联系客服,服务热线:{tel}
'
,
{
tel
:
'
400-900-9962
'
}))
this
.
$alert
(
this
.
$t
(
'
如需海外仓服务,请联系客服,服务热线:{tel}
'
,
{
tel
:
'
400-900-9962
'
}))
}
}
},
},
...
@@ -2568,8 +2578,7 @@ export default {
...
@@ -2568,8 +2578,7 @@ export default {
item
.
channelIds
=
Array
.
from
(
item
.
channelIdSet
).
join
(
'
,
'
)
item
.
channelIds
=
Array
.
from
(
item
.
channelIdSet
).
join
(
'
,
'
)
}
}
})
})
this
.
form
.
type
=
this
.
form
.
type
=
this
.
form
.
type
?.
join
(
"
,
"
)
this
.
form
.
type
.
length
>
0
?
this
.
form
.
type
.
toString
:
''
this
.
form
.
status
=
status
this
.
form
.
status
=
status
// 修改的提交
// 修改的提交
if
(
this
.
form
.
orderId
)
{
if
(
this
.
form
.
orderId
)
{
...
@@ -2620,6 +2629,10 @@ export default {
...
@@ -2620,6 +2629,10 @@ export default {
this
.
$bus
.
$emit
(
'
reload
'
)
this
.
$bus
.
$emit
(
'
reload
'
)
})
})
})
})
},
async
handleCancel
(){
await
this
.
$confirm
(
this
.
$t
(
"
是否需要返回?
"
))
this
.
$router
.
back
()
}
}
}
}
}
}
...
...
src/views/jiedao/profile/orderdetail.vue
View file @
be7e49cf
This diff is collapsed.
Click to expand it.
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