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
e2233622
Commit
e2233622
authored
Sep 11, 2024
by
yujinyao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户设置开关参数重置
parent
1c49f721
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
11 deletions
+15
-11
customerSetting.vue
src/views/ecw/customer/components/customerSetting.vue
+15
-11
No files found.
src/views/ecw/customer/components/customerSetting.vue
View file @
e2233622
...
...
@@ -124,7 +124,7 @@ export default {
zhongLines
:
[],
warehouseList
:
[],
// 仓库列表
importCityList
:
[],
// 进口地址
zhong
Lines
:
[],
pao
Lines
:
[],
paoLines
:
[],
}
},
...
...
@@ -137,18 +137,12 @@ export default {
});
},
methods
:
{
getZhongPao
()
{
getZhongPaoBest
({
customerId
:
this
.
customerId
,
// departureId: this.departureId,
// objectiveId: this.objectiveId
}).
then
((
r
)
=>
{
if
(
!
this
.
form
.
weightUnit
)
this
.
form
.
weightUnit
=
r
.
data
.
zhongEdge
;
if
(
!
this
.
form
.
lightUnit
)
this
.
form
.
lightUnit
=
r
.
data
.
paoEdge
;
});
},
init
(
id
)
{
this
.
customerId
=
id
this
.
showZhong
=
false
this
.
showPao
=
false
this
.
showZhong1
=
false
this
.
showPao1
=
false
getCustomer
(
this
.
customerId
).
then
((
response
)
=>
{
const
row
=
response
.
data
this
.
form
=
{
...
...
@@ -178,6 +172,16 @@ export default {
this
.
getZhongPao
()
})
},
getZhongPao
()
{
getZhongPaoBest
({
customerId
:
this
.
customerId
,
// departureId: this.departureId,
// objectiveId: this.objectiveId
}).
then
((
r
)
=>
{
if
(
!
this
.
form
.
weightUnit
)
this
.
form
.
weightUnit
=
r
.
data
.
zhongEdge
;
if
(
!
this
.
form
.
lightUnit
)
this
.
form
.
lightUnit
=
r
.
data
.
paoEdge
;
});
},
handleClose
()
{
this
.
resetForm
(
"
form
"
)
this
.
dialogVisible
=
false
...
...
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