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
219fb2b4
Commit
219fb2b4
authored
Aug 23, 2023
by
我在何方
Browse files
Options
Browse Files
Download
Plain Diff
合单出货渠道
parents
05218724
246ca0f3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
23 deletions
+23
-23
detail.vue
src/views/ecw/offer/detail.vue
+21
-21
detail.vue
src/views/ecw/order/detail.vue
+1
-1
edit.vue
src/views/ecw/order/edit.vue
+1
-1
No files found.
src/views/ecw/offer/detail.vue
View file @
219fb2b4
...
...
@@ -331,12 +331,12 @@
</el-descriptions>
<el-descriptions
v-if=
"[3,4].indexOf(list.transportId) > -1"
>
<el-descriptions-item
:label=
"$t('航空公司')"
>
{{air
CompanyName||
'/'}}
{{air
lineCompany ? $l(airlineCompany, 'company') :
'/'}}
</el-descriptions-item>
</el-descriptions>
<el-descriptions
v-if=
"list.transportId==2"
>
<el-descriptions-item
:label=
"$t('船公司')"
>
{{shipCompanyName||
'/'}}
{{shippingCompany ? $l(shippingCompany, 'company') :
'/'}}
</el-descriptions-item>
</el-descriptions>
<el-descriptions
v-if=
"[2,3,4].indexOf(list.transportId) > -1"
>
...
...
@@ -419,8 +419,10 @@
customerSource
:
getDictDatas
(
DICT_TYPE
.
CUSTOMER_SOURCE
),
couponAvailableGroupDtoList
:
[],
// 可用优惠
couponTotalAmountList
:
[],
// 优惠总额
airCompanyName
:
''
,
shipCompanyName
:
''
// 航空公司
airlineCompany
:
null
,
// 船公司
shippingCompany
:
null
,
};
},
computed
:{
...
...
@@ -613,17 +615,6 @@
that
.
orderData
=
response
.
data
;
});
},
getSupplierData
(
id
,
type
){
getSupplier
(
id
).
then
(
res
=>
{
if
(
res
.
data
){
if
(
type
==
1
){
this
.
airCompanyName
=
res
.
data
.
companyZh
}
else
{
this
.
shipCompanyName
=
res
.
data
.
companyZh
}
}
})
},
getProductListWithDefaultValue
(){
let
arr
=
[]
this
.
list
.
offerProdRespVOList
.
forEach
(
item
=>
{
...
...
@@ -675,12 +666,6 @@
if
(
that
.
list
.
channelId
){
that
.
getChannelData
()
}
if
(
that
.
list
.
transportVO
.
airlineCompany
){
that
.
getSupplierData
(
that
.
list
.
transportVO
.
airlineCompany
,
1
)
}
if
(
that
.
list
.
transportVO
.
shippingCompany
){
that
.
getSupplierData
(
that
.
list
.
transportVO
.
shippingCompany
,
2
)
}
that
.
calculationPrice
()
// if(that.list.orderId){
// that.getOrderData(that.list.orderId)
...
...
@@ -713,6 +698,21 @@
that
.
loading
=
false
;
that
.
getOpenedRouterList
()
if
(
this
.
list
.
transportVO
.
airlineCompany
){
getSupplier
(
this
.
list
.
transportVO
.
airlineCompany
).
then
(
res
=>
{
if
(
res
.
data
){
this
.
airlineCompany
=
res
.
data
.
companyZh
}
})
}
if
(
this
.
list
.
transportVO
.
shippingCompany
){
getSupplier
(
this
.
list
.
transportVO
.
shippingCompany
).
then
(
res
=>
{
if
(
res
.
data
){
this
.
shippingCompany
=
res
.
data
.
companyZh
}
})
}
});
},
getCity
(
id
){
...
...
src/views/ecw/order/detail.vue
View file @
219fb2b4
...
...
@@ -300,7 +300,7 @@
<dict-tag
:type=
"DICT_TYPE.ECW_TRANSPORT_TYPE"
:value=
"order.transportId"
/>
</el-table-column>
<el-table-column
:label=
"$t('出货渠道')"
>
{{channelName}}
{{
order.
channelName}}
</el-table-column>
<el-table-column
:label=
"$t('始发地')"
prop=
"orderNo"
>
{{$l(departure, 'title') || '-'}}
...
...
src/views/ecw/order/edit.vue
View file @
219fb2b4
...
...
@@ -1077,7 +1077,7 @@ export default {
this
.
$nextTick
(()
=>
{
console
.
log
(
'
nextTick 订单渲染完成
'
)
res
.
data
.
orderItemVOList
.
forEach
(
item
=>
{
item
.
prodAttrArr
=
item
.
prodAttrIds
.
split
(
'
,
'
).
filter
(
item
=>
item
!=
''
).
map
(
attrId
=>
+
attrId
)
item
.
prodAttrArr
=
item
.
prodAttrIds
?.
split
(
'
,
'
).
filter
(
item
=>
item
!=
''
).
map
(
attrId
=>
+
attrId
)
||
[]
this
.
form
.
orderItemVOList
.
push
({...
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