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
d4e6a7c8
Commit
d4e6a7c8
authored
May 17, 2023
by
邓春圆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
切换编辑客户/客户详情/全部客户这几个页面,有时候会报错 bug修复
parent
814c32c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
edit.vue
src/views/ecw/customer/edit.vue
+10
-10
No files found.
src/views/ecw/customer/edit.vue
View file @
d4e6a7c8
...
...
@@ -587,9 +587,10 @@ export default {
this
.
reset
()
// this.getUserMemberUserFn()
if
(
this
.
customerId
!==
'
0
'
)
{
let
customerId
=
this
.
customerId
// 编辑客户
this
.
getCustomer
(
this
.
customerId
).
then
(()
=>
{
getCustomerContactsListByCustomer
({
customerId
:
this
.
customerId
}).
then
(
r
=>
{
getCustomerContactsListByCustomer
({
customerId
:
customerId
}).
then
(
r
=>
{
this
.
form
.
customerContacts
=
r
.
data
let
list
=
this
.
form
.
customerContacts
.
map
(
item
=>
item
.
userid
);
if
(
list
.
length
>
0
){
...
...
@@ -604,16 +605,15 @@ export default {
}
})
// 打开重泡货开关
if
(
this
.
form
.
weightUnit
){
this
.
showZhong
=
true
}
if
(
this
.
form
.
lightUnit
){
this
.
showPao
=
true
}
// 打开重泡货开关
if
(
this
.
form
.
weightUnit
){
this
.
showZhong
=
true
}
if
(
this
.
form
.
lightUnit
){
this
.
showPao
=
true
}
// 获取重泡货路线
getCustomerLines
(
this
.
customerId
).
then
(
res
=>
{
getCustomerLines
(
customerId
).
then
(
res
=>
{
this
.
zhongLines
=
res
.
data
.
filter
(
item
=>
item
.
zhongPaoType
==
1
)
this
.
paoLines
=
res
.
data
.
filter
(
item
=>
item
.
zhongPaoType
==
2
)
if
(
this
.
zhongLines
.
length
)
this
.
showZhong1
=
true
...
...
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