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
2467b01b
Commit
2467b01b
authored
Sep 14, 2022
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复报价单优惠异常
parent
1f8620e1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
12 deletions
+19
-12
edit.vue
src/views/ecw/offer/edit.vue
+9
-7
Transfer.vue
src/views/ecw/order/components/Transfer.vue
+4
-3
detail.vue
src/views/ecw/order/detail.vue
+6
-2
No files found.
src/views/ecw/offer/edit.vue
View file @
2467b01b
...
...
@@ -28,7 +28,7 @@
</el-form-item>
<el-form-item
:label=
"$t('发货人电话')"
prop=
"consignorPhone"
>
<!--
<area-code-selector
v-model=
"form.consignorCountryCode"
class=
"w-200 mr-10"
disabled
/>
-->
<el-input
:value=
"
form.consignorCountryCode + ' ' + form.consignorPhone
"
class=
"w-200"
disabled
/>
<el-input
:value=
"
`$
{form.consignorCountryCode || ''} ${form.consignorPhone || ''}`
" class="w-200" disabled />
</el-form-item>
<el-form-item
:label=
"$t('发货人公司')"
prop=
"consignorCompany"
>
<el-input
v-model=
"form.consignorCompany"
disabled
/>
...
...
@@ -47,7 +47,7 @@
</el-form-item>
<el-form-item
:label=
"$t('收货人电话')"
prop=
"consigneePhone"
>
<!--
<area-code-selector
v-model=
"form.consigneeCountryCode"
class=
"w-200 mr-10"
disabled
/>
-->
<el-input
:value=
"
form.consigneeCountryCode + ' ' + form.consigneePhone
"
class=
"w-200"
disabled
/>
<el-input
:value=
"
`$
{form.consigneeCountryCode || ''} ${form.consigneePhone || ''}`
" class="w-200" disabled/>
</el-form-item>
<el-form-item
:label=
"$t('收货人公司')"
prop=
"consigneeCompany"
>
<el-input
v-model=
"form.consigneeCompany"
:disabled=
"true"
/>
...
...
@@ -291,6 +291,7 @@
</el-descriptions-item>
</el-descriptions>
<div
class=
"card-title"
style=
"padding:20px 0;"
>
{{$t('优惠信息')}}
</div>
<el-table
:data=
"couponList"
:show-header=
"false"
>
<el-table-column
label=
""
>
...
...
@@ -323,7 +324,7 @@
</el-table>
<el-descriptions
:column=
"1"
class=
"mt-20"
>
<el-descriptions-item
:label=
"$t('优惠费用')"
>
<el-descriptions-item
:label=
"$t('优惠费用')"
v-if=
"couponTotalAmountList && couponTotalAmountList.length"
>
<div
v-for=
"(item, discountIndex) in couponTotalAmountList"
:key=
"discountIndex"
>
{{item.totalAmount}} {{currentcyMap[item.currencyId]}}
</div>
...
...
@@ -586,7 +587,7 @@ export default {
this
.
couponAvailableGroupDtoList
.
forEach
(
item
=>
{
if
(
item
.
couponAvailableDtoList
&&
item
.
couponAvailableDtoList
.
length
){
// 只取第一个
let
it
em
=
item
.
couponAvailableDtoList
[
0
]
let
it
=
item
.
couponAvailableDtoList
[
0
]
arr
.
push
({
prodId
:
item
.
prodId
,
type
:
it
.
type
,
...
...
@@ -761,6 +762,7 @@ export default {
titleZh
:
product
.
titleZh
,
titleEn
:
product
.
titleEn
})
this
.
calculationPrice
()
},
onLineChange
(
row
){
this
.
calculationPrice
()
...
...
@@ -897,13 +899,13 @@ export default {
isCargoControl
:
this
.
form
.
control
,
orderType
:
this
.
form
.
orderType
,
}).
then
(
res
=>
{
/*
this.$set(this, 'fee', res.data.costDto)
this
.
$set
(
this
,
'
fee
'
,
res
.
data
.
costDto
)
this
.
$set
(
this
,
'
couponTotalAmountList
'
,
res
.
data
.
availableDto
.
couponTotalAmountList
)
this
.
$set
(
this
,
'
couponAvailableGroupDtoList
'
,
res
.
data
.
availableDto
.
couponAvailableGroupDtoList
)
this
.
productList
.
map
((
item
,
index
)
=>
{
this.$set(item, 'fee', res.data.prodCostDtoList[index])
})
*/
this
.
$set
(
item
,
'
fee
'
,
res
.
data
.
prodCostDtoList
[
index
]
||
null
)
})
}).
finally
(()
=>
{
this
.
calculating
=
false
})
...
...
src/views/ecw/order/components/Transfer.vue
View file @
2467b01b
...
...
@@ -3,10 +3,10 @@
<div
class=
""
v-if=
"agreement"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-position=
"left"
label-width=
"120px"
>
<el-form-item
:label=
"$t('原控货人')"
>
<el-input
v-model=
"cargoControlName"
readonly
></el-input>
<el-input
v-model=
"cargoControlName"
disabled
></el-input>
</el-form-item>
<el-form-item
:label=
"$t('原控货手机号')"
>
<el-input
v-model=
"cargoControlPhone"
readonly
></el-input>
<el-input
:value=
"cargoControlPhone"
disabled
></el-input>
</el-form-item>
<el-form-item
:label=
"$t('新控货人')"
prop=
"name"
>
...
...
@@ -49,7 +49,8 @@ export default {
orderId
:
[
String
,
Number
],
cargoControlName
:
String
,
cargoControlPhone
:
String
,
orderNo
:
String
orderNo
:
String
,
},
components
:
{
SendSmsCode
,
NeedKnow
,
AreaCodeSelector
},
data
(){
...
...
src/views/ecw/order/detail.vue
View file @
2467b01b
...
...
@@ -9,7 +9,9 @@
<el-col
:span=
"8"
v-if=
"order.consignorVO"
>
<el-descriptions
class=
"margin-top"
border
:title=
"$t('发货人')"
:column=
"1"
:labelStyle=
"{width:'150px'}"
>
<el-descriptions-item
:label=
"$t('发货人')"
>
{{order.consignorVO.name}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('发货人电话')"
>
{{order.consignorVO.phone}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('发货人电话')"
>
{{order.consignorVO.countryCode}} {{order.consignorVO.phone}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('发货人邮箱')"
>
{{order.consignorVO.email}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('发货人公司名称')"
>
{{order.consignorVO.company}}
...
...
@@ -19,7 +21,9 @@
<el-col
:span=
"16"
v-if=
"order.consigneeVO"
>
<el-descriptions
class=
"margin-top"
border
:title=
"$t('收货人')"
:column=
"2"
:labelStyle=
"{width:'150px'}"
>
<el-descriptions-item
:label=
"$t('收货人')"
>
{{order.consigneeVO.name}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('收货人电话')"
>
{{order.consigneeVO.phone}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('收货人电话')"
>
{{order.consigneeVO.countryCode}} {{order.consigneeVO.phone}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('收货人邮箱')"
>
{{order.consigneeVO.email}}
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('收货人公司名称')"
>
{{order.consigneeVO.company}}
...
...
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