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
7d6f87d8
Commit
7d6f87d8
authored
Feb 26, 2025
by
Smile
Committed by
wux
Feb 26, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug277 【跟进记录-查看】1、“客户经理”字段值没有回显。2、“货物状态”字段未置灰
parent
11afcd0e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
9 deletions
+11
-9
customerFollow.vue
src/views/ecw/customer/components/customerFollow.vue
+11
-9
No files found.
src/views/ecw/customer/components/customerFollow.vue
View file @
7d6f87d8
...
...
@@ -94,7 +94,7 @@
<!--
</el-col>
-->
<el-col
:span=
"8"
v-if=
"form.followType == 2"
>
<el-form-item
:label=
"$t('货物状态')"
prop=
"cargoStatus"
>
<el-select
v-model=
"form.cargoStatus"
:placeholder=
"$t('请选择')"
>
<el-select
v-model=
"form.cargoStatus"
:placeholder=
"$t('请选择')"
:disabled=
"isView"
>
<el-option
v-for=
"dict in getDictDatas(DICT_TYPE.ECW_OFFER_CARGO_STATUS)"
:key=
"dict.value"
:label=
"isChinese ? dict.label : dict.labelEn"
:value=
"parseInt(dict.value)"
/>
</el-select>
</el-form-item>
...
...
@@ -284,7 +284,6 @@ export default {
this
.
offer
=
offer
;
// 选择了报价单后,需要将报价单中的客户及客户联系人信息回显
this
.
form
.
offerNumber
=
offer
.
number
console
.
log
(
"
this.form.cargoStatus
"
,
this
.
form
)
if
(
offer
.
cargoStatus
||
offer
.
saleStage
){
this
.
$set
(
this
.
form
,
'
cargoStatus
'
,
offer
.
cargoStatus
);
this
.
$set
(
this
.
form
,
'
saleStage
'
,
offer
.
saleStage
);
...
...
@@ -303,7 +302,9 @@ export default {
this
.
form
.
customerNumber
=
item
.
customerNumber
this
.
form
.
contactName
=
item
.
name
this
.
form
.
contactPhone
=
"
+
"
+
item
.
areaCode
+
item
.
phoneNew
this
.
form
.
followUserId
=
item
.
customerService
if
(
item
.
customerService
){
this
.
form
.
followUserId
=
item
.
customerService
}
}
})
})
...
...
@@ -323,7 +324,9 @@ export default {
this
.
form
.
customerNumber
=
item
.
customerNumber
this
.
form
.
contactName
=
item
.
name
this
.
form
.
contactPhone
=
"
+
"
+
item
.
areaCode
+
item
.
phoneNew
this
.
form
.
followUserId
=
item
.
customerService
if
(
item
.
customerService
){
this
.
form
.
followUserId
=
item
.
customerService
}
}
})
if
(
!
this
.
form
.
contactId
)
{
...
...
@@ -333,7 +336,9 @@ export default {
this
.
form
.
customerNumber
=
item
.
customerNumber
this
.
form
.
contactName
=
item
.
name
this
.
form
.
contactPhone
=
"
+
"
+
item
.
areaCode
+
item
.
phoneNew
this
.
form
.
followUserId
=
item
.
customerService
if
(
item
.
customerService
){
this
.
form
.
followUserId
=
item
.
customerService
}
this
.
setCustomerFollow
()
return
true
}
...
...
@@ -347,13 +352,10 @@ export default {
},
methods
:
{
setCustomerFollow
(){
if
(
!
this
.
form
.
followUserId
){
if
(
!
this
.
form
.
followUserId
&&!
this
.
isView
){
const
user
=
this
.
serviceUserList
.
find
(
item
=>
item
.
id
===
this
.
$store
.
getters
.
userId
);
if
(
user
.
id
)
{
this
.
$set
(
this
.
form
,
"
followUserId
"
,
user
.
id
);
}
else
{
// 处理未找到用户的情况
this
.
$set
(
this
.
form
,
"
followUserId
"
,
null
);
// 或者其他默认值
}
}
},
...
...
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