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
53ceb538
Commit
53ceb538
authored
Sep 14, 2024
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/order_edit' into release
parents
c39a4db4
41a0d114
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
23 deletions
+28
-23
delivery.vue
src/views/jiedao/profile/delivery.vue
+12
-8
orderdetail.vue
src/views/jiedao/profile/orderdetail.vue
+16
-15
No files found.
src/views/jiedao/profile/delivery.vue
View file @
53ceb538
...
@@ -328,7 +328,7 @@
...
@@ -328,7 +328,7 @@
</el-descriptions-item>
</el-descriptions-item>
<!--服务-->
<!--服务-->
<el-descriptions-item
:label=
"$t('服务')"
<el-descriptions-item
:label=
"$t('
增值
服务')"
v-if=
"selectedRouter && (routeOtherServices.indexOf('1') > -1 || routeOtherServices.indexOf('4') > -1)"
>
v-if=
"selectedRouter && (routeOtherServices.indexOf('1') > -1 || routeOtherServices.indexOf('4') > -1)"
>
<el-checkbox-group
v-model=
"form.type"
>
<el-checkbox-group
v-model=
"form.type"
>
<el-checkbox
label=
"1"
<el-checkbox
label=
"1"
...
@@ -904,7 +904,7 @@
...
@@ -904,7 +904,7 @@
</div>
</div>
</el-descriptions-item>
</el-descriptions-item>
<!--预计送货日期-->
<!--预计送货日期-->
<el-descriptions-item
:label=
"$t('delivery.deliveryDate')"
>
<el-descriptions-item
:label=
"$t('delivery.deliveryDate')"
v-if=
"!form.isExternalWarehouse"
>
<span
<span
slot=
"label"
slot=
"label"
><span
style=
"color: red"
>
*
</span>
{{ $t("delivery.deliveryDate") }}
</span>
><span
style=
"color: red"
>
*
</span>
{{ $t("delivery.deliveryDate") }}
</span>
...
@@ -923,6 +923,7 @@
...
@@ -923,6 +923,7 @@
/>
/>
</el-form-item>
</el-form-item>
</el-descriptions-item>
</el-descriptions-item>
<el-descriptions-item
v-else-if=
"collectionProxy"
>
<!--占位,防止错乱-->
</el-descriptions-item>
<!--代收货款,只有非控货订单、并且线路开通了代收货款后,才显示是否代收货款选项-->
<!--代收货款,只有非控货订单、并且线路开通了代收货款后,才显示是否代收货款选项-->
<el-descriptions-item
<el-descriptions-item
...
@@ -969,7 +970,7 @@
...
@@ -969,7 +970,7 @@
/>
/>
</el-form-item>
</el-form-item>
</el-descriptions-item>
</el-descriptions-item>
<el-descriptions-item
v-else
:span=
"2"
>
<!--占位-->
</el-descriptions-item>
<el-descriptions-item
v-else
-if=
"!form.isExternalWarehouse"
:span=
"2"
>
<!--占位-->
</el-descriptions-item>
<!--收货方式-->
<!--收货方式-->
<el-descriptions-item
:label=
"$t('delivery.harvestMethod')"
>
<el-descriptions-item
:label=
"$t('delivery.harvestMethod')"
>
<span
<span
...
@@ -1623,6 +1624,7 @@ export default {
...
@@ -1623,6 +1624,7 @@ export default {
form
:
{
form
:
{
destCountryId
:
null
,
destCountryId
:
null
,
countryCode
:
'
86
'
,
countryCode
:
'
86
'
,
objectiveId
:
''
,
status
:
0
,
status
:
0
,
consigneeName
:
''
,
consigneeName
:
''
,
consigneePhone
:
''
,
consigneePhone
:
''
,
...
@@ -2497,11 +2499,13 @@ export default {
...
@@ -2497,11 +2499,13 @@ export default {
if
(
!
valid
)
{
if
(
!
valid
)
{
return
this
.
$showFormValidateErrors
(
errors
)
return
this
.
$showFormValidateErrors
(
errors
)
}
}
if
(
this
.
hasConsignee
){
var
validatorArea
=
await
validatorPhone
({
var
validatorArea
=
await
validatorPhone
({
code
:
this
.
form
.
countryCode
,
code
:
this
.
form
.
countryCode
,
mobile
:
this
.
form
.
consigneePhone
mobile
:
this
.
form
.
consigneePhone
})
})
if
(
!
validatorArea
.
data
)
return
if
(
!
validatorArea
.
data
)
return
}
if
(
this
.
form
.
isCargoControl
)
{
if
(
this
.
form
.
isCargoControl
)
{
var
checkKyc
=
await
checkKycStatus
({
var
checkKyc
=
await
checkKycStatus
({
controlCargoStatus
:
this
.
form
.
isCargoControl
,
controlCargoStatus
:
this
.
form
.
isCargoControl
,
...
...
src/views/jiedao/profile/orderdetail.vue
View file @
53ceb538
...
@@ -51,8 +51,7 @@
...
@@ -51,8 +51,7 @@
<el-descriptions-item
:label=
"$t('delivery.harvestMethod')"
label-style=
"width:150px"
>
{{consigneeVO?(consigneeVO.harvestMethod==1?$t('orderdetail.own'):$t('orderdetail.toRoom')):''}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('delivery.harvestMethod')"
label-style=
"width:150px"
>
{{consigneeVO?(consigneeVO.harvestMethod==1?$t('orderdetail.own'):$t('orderdetail.toRoom')):''}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('delivery.deliveryaddress')"
label-style=
"width:150px"
>
{{ addressName }}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('delivery.deliveryaddress')"
label-style=
"width:150px"
>
{{ addressName }}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('delivery.addressdetail')"
label-style=
"width:150px"
>
{{consigneeVO?consigneeVO.address:''}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('delivery.addressdetail')"
label-style=
"width:150px"
>
{{consigneeVO?consigneeVO.address:''}}
</el-descriptions-item>
</el-descriptions>
<
template
v-if=
"showMore"
>
<el-descriptions
v-if=
"showMore"
border
:column=
"3"
:content-style=
"{width:'130px'}"
>
<el-descriptions-item
:label=
"$t('orderdetail.consigneeNameEn')"
label-style=
"width:150px"
>
{{
consigneeVO
.
nameEn
}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('orderdetail.consigneeNameEn')"
label-style=
"width:150px"
>
{{
consigneeVO
.
nameEn
}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('orderdetail.consigneeCompany')"
label-style=
"width:150px"
>
<el-descriptions-item
:label=
"$t('orderdetail.consigneeCompany')"
label-style=
"width:150px"
>
{{
consigneeVO
.
company
}}
{{
consigneeVO
.
company
}}
...
@@ -61,6 +60,7 @@
...
@@ -61,6 +60,7 @@
{{
consigneeVO
.
companyEn
}}
{{
consigneeVO
.
companyEn
}}
</el-descriptions-item>
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('orderdetail.consigneeEmail')"
label-style=
"width:150px"
>
{{
consigneeVO
.
email
}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('orderdetail.consigneeEmail')"
label-style=
"width:150px"
>
{{
consigneeVO
.
email
}}
</el-descriptions-item>
</
template
>
</el-descriptions>
</el-descriptions>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -81,7 +81,7 @@
...
@@ -81,7 +81,7 @@
<dict-tag
:type=
"DICT_TYPE.ECW_TRANSPORT_TYPE"
:value=
"order.transportId"
/>
<dict-tag
:type=
"DICT_TYPE.ECW_TRANSPORT_TYPE"
:value=
"order.transportId"
/>
</el-descriptions-item>
</el-descriptions-item>
<el-descriptions-item
v-if=
"getDictData(DICT_TYPE.ECW_TRANSPORT_TYPE, order.transportId).cssClass == 'channel'"
:label=
"$t('orderdetail.channel')"
:span=
"1"
>
{{ getChannelNameById(order.channelId) }}
</el-descriptions-item>
<el-descriptions-item
v-if=
"getDictData(DICT_TYPE.ECW_TRANSPORT_TYPE, order.transportId).cssClass == 'channel'"
:label=
"$t('orderdetail.channel')"
:span=
"1"
>
{{ getChannelNameById(order.channelId) }}
</el-descriptions-item>
<el-descriptions-item
v-if=
"order.type"
:label=
"$t('
orderdetail.typeName
')"
>
{{ typeName }}
</el-descriptions-item>
<el-descriptions-item
v-if=
"order.type"
:label=
"$t('
服务
')"
>
{{ typeName }}
</el-descriptions-item>
</el-descriptions>
</el-descriptions>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -211,6 +211,7 @@
...
@@ -211,6 +211,7 @@
show-summary
show-summary
:summary-method=
"getSummary"
:summary-method=
"getSummary"
>
>
<el-table-column
:label=
"$t('序号')"
type=
"index"
></el-table-column>
<el-table-column
prop=
"prodTitle"
:label=
"$t('orderdetail.prodTitle')"
>
<el-table-column
prop=
"prodTitle"
:label=
"$t('orderdetail.prodTitle')"
>
<
template
slot-scope=
"{row}"
>
<
template
slot-scope=
"{row}"
>
<template
>
{{
row
.
prodTitleZh
}}
/
{{
row
.
prodTitleEn
}}
</
template
>
<template
>
{{
row
.
prodTitleZh
}}
/
{{
row
.
prodTitleEn
}}
</
template
>
...
@@ -384,11 +385,11 @@ export default {
...
@@ -384,11 +385,11 @@ export default {
},
},
typeName
(){
typeName
(){
let
typeName
=
[]
let
typeName
=
[]
if
(
order
.
type
){
if
(
this
.
order
.
type
){
if
(
order
.
type
.
includes
(
1
)){
if
(
this
.
order
.
type
.
includes
(
1
)){
typeName
.
push
(
this
.
$t
(
'
orderdetail.service
'
))
typeName
.
push
(
this
.
$t
(
'
orderdetail.service
'
))
}
}
if
(
order
.
type
.
includes
(
2
)){
if
(
this
.
order
.
type
.
includes
(
2
)){
typeName
.
push
(
this
.
$t
(
'
orderdetail.oversears
'
))
typeName
.
push
(
this
.
$t
(
'
orderdetail.oversears
'
))
}
}
}
}
...
@@ -456,7 +457,7 @@ export default {
...
@@ -456,7 +457,7 @@ export default {
cartonsNum
=
cartonsNum
.
plus
(
item
.
num
||
0
)
cartonsNum
=
cartonsNum
.
plus
(
item
.
num
||
0
)
})
})
return
[
return
[
null
,
null
,
null
,
null
,
this
.
$t
(
"
合计
"
)
+
"
:
"
,
`
${
wCartonsNum
}${
this
.
$t
(
'
prepayDeal.box
'
)}
${
wWeight
}
Kg
${
wVolume
}
m³
${
wQuantity
}${
this
.
$t
(
'
price.one
'
)}
`
,
`
${
wCartonsNum
}${
this
.
$t
(
'
prepayDeal.box
'
)}
${
wWeight
}
Kg
${
wVolume
}
m³
${
wQuantity
}${
this
.
$t
(
'
price.one
'
)}
`
,
null
,
null
,
null
,
null
,
worth
.
toNumber
(),
worth
.
toNumber
(),
...
...
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