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
8930e3b3
Commit
8930e3b3
authored
Nov 27, 2022
by
我在何方
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
报价单详情修复
parent
53ab5e16
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
42 additions
and
10 deletions
+42
-10
index.vue
src/components/CustomerFollow/index.vue
+3
-2
detail.vue
src/views/ecw/offer/detail.vue
+39
-8
No files found.
src/components/CustomerFollow/index.vue
View file @
8930e3b3
...
...
@@ -65,7 +65,8 @@
<el-row
:gutter=
"10"
>
<el-col>
<el-form-item
label=
"跟进类型"
required
>
<dict-selector
ref=
"dictType"
form-type=
"radio"
v-model=
"customerFollow.form.followType"
:type=
"DICT_TYPE.CUSTOMER_FOLLOW_TYPE"
></dict-selector>
<!--
<dict-selector
ref=
"dictType"
form-type=
"radio"
v-model=
"customerFollow.form.followType"
:type=
"DICT_TYPE.CUSTOMER_FOLLOW_TYPE"
></dict-selector>
-->
<el-radio
v-model=
"customerFollow.form.followType"
label=
"1"
>
{{
$t
(
'
投诉回访
'
)
}}
</el-radio>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
...
...
@@ -230,7 +231,7 @@ export default {
"
result
"
:
undefined
,
"
customerId
"
:
this
.
customerId
}
this
.
$refs
.
dictType
.
changeValue
(
this
.
customerFollow
.
form
.
followType
);
//
this.$refs.dictType.changeValue(this.customerFollow.form.followType);
this
.
$refs
.
dictMethod
.
changeValue
(
this
.
customerFollow
.
form
.
followMethod
);
},
getCustomerFollowList
()
{
...
...
src/views/ecw/offer/detail.vue
View file @
8930e3b3
...
...
@@ -6,7 +6,7 @@
<div
class=
"offer-header"
>
<span
style=
"font-size: 15px;"
>
{{
$t
(
'
报价单号
'
)
}}
:
{{
list
.
number
}}
</span>
<div
class=
"btns"
>
<el-button
size=
"mini"
type=
"primary"
@
click=
"$router.push('edit?id=' + offerId)"
>
{{
$t
(
'
编辑
'
)
}}
</el-button>
<el-button
size=
"mini"
type=
"primary"
v-if=
"list.status!=5"
@
click=
"$router.push('edit?id=' + offerId)"
>
{{
$t
(
'
编辑
'
)
}}
</el-button>
<el-button
type=
"primary"
v-if=
"[1,3,7].indexOf(list.status) > -1"
size=
"mini"
@
click=
"handleAdd"
>
{{
$t
(
'
跟进
'
)
}}
</el-button>
<el-button
type=
"primary"
v-if=
"[3,7].indexOf(list.status) > -1"
size=
"mini"
@
click=
"toResult"
>
{{
$t
(
'
结果
'
)
}}
</el-button>
<el-button
size=
"mini"
v-if=
"[1,3,7].indexOf(list.status) > -1"
type=
"primary"
@
click.native=
"$router.push('/offer/special?offerId=' + offerId)"
>
{{
$t
(
'
特价
'
)
}}
</el-button>
...
...
@@ -245,7 +245,11 @@
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('预计费用')"
>
<
template
>
<div
v-for=
"item in estimatedCosts"
:key=
"item.currencyId"
>
{{
item
.
amount
||
0
}}{{
currentcyMap
[
item
.
currencyId
]
}}
</div>
<div
style=
"display:flex;flex-direction:column"
>
<div
v-for=
"item in estimatedCosts"
:key=
"item.currencyId"
>
<span>
{{
item
.
amount
||
0
}}{{
currentcyMap
[
item
.
currencyId
]
}}
</span>
</div>
</div>
</
template
>
</el-descriptions-item>
</el-descriptions>
...
...
@@ -470,6 +474,18 @@
}
arr
.
push
(
it
)
})
this
.
freightFeeList
.
forEach
(
item
=>
{
if
(
!
arr
.
find
(
items
=>
items
.
currencyId
==
item
.
currencyId
)){
let
its
=
{...
item
}
// let freights = this.clearanceFeeList.find(fee => fee.currencyId == item.currencyId)
// if(freights){
// its.amount += freights.amount
// }
arr
.
push
(
its
)
}
})
return
arr
},
// 预计费用(原价 - 优惠金额)
...
...
@@ -495,8 +511,13 @@
if
(
coupon
){
it
.
amount
=
it
.
amount
.
minus
(
coupon
.
reduceAmount
)
}
if
(
this
.
list
.
otherFee
&&
this
.
list
.
otherFeeCurrencyId
==
item
.
currencyId
){
it
.
amount
=
it
.
amount
.
plus
(
this
.
list
.
otherFee
)
// if(this.list.otherFee && this.list.otherFeeCurrencyId == item.currencyId){
// it.amount = it.amount.plus(this.list.otherFee)
// withOtherFee = true
// }
let
otherFee
=
this
.
otherFeeList
.
find
(
fee
=>
fee
.
currencyId
==
item
.
currencyId
)
if
(
otherFee
){
it
.
amount
+=
otherFee
.
amount
withOtherFee
=
true
}
// 保价费(美元)
...
...
@@ -527,7 +548,17 @@
amount
:
Decimal
(
this
.
fee
.
insuranceFee
)
})
}
this
.
otherFeeList
.
forEach
(
item
=>
{
if
(
!
arr
.
find
(
items
=>
items
.
currencyId
==
item
.
currencyId
)){
let
its
=
{...
item
}
// let freights = this.clearanceFeeList.find(fee => fee.currencyId == item.currencyId)
// if(freights){
// its.amount += freights.amount
// }
arr
.
push
(
its
)
}
})
return
arr
}
},
...
...
@@ -562,7 +593,7 @@
that
.
loading
=
true
;
// 执行查询
getOrder
(
id
).
then
(
response
=>
{
that
.
orderDat
=
response
.
data
;
that
.
orderDat
a
=
response
.
data
;
});
},
getSupplierData
(
id
){
...
...
@@ -628,9 +659,9 @@
that
.
getChannelData
()
}
that
.
calculationPrice
()
if
(
that
.
list
.
orderId
){
that
.
getOrderData
(
that
.
list
.
orderId
)
}
//
if(that.list.orderId){
//
that.getOrderData(that.list.orderId)
//
}
getCustomerContactsSelect
({
ids
:
[
that
.
list
.
consignorId
,
that
.
list
.
consigneeId
].
join
(
'
,
'
)}).
then
((
res
)
=>
{
let
consignor
=
res
.
data
.
list
.
find
(
item
=>
item
.
customerContactsId
==
that
.
list
.
consignorId
)
if
(
consignor
)
that
.
consignorData
=
consignor
...
...
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