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
b6360729
Commit
b6360729
authored
Jun 18, 2023
by
邓春圆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
复制添加默认值
parent
07a04f39
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
7 deletions
+22
-7
edit.vue
src/views/ecw/channel/edit.vue
+10
-1
index.vue
src/views/ecw/product/index.vue
+6
-3
edit.vue
src/views/ecw/productAttr/edit.vue
+6
-3
No files found.
src/views/ecw/channel/edit.vue
View file @
b6360729
...
...
@@ -294,7 +294,16 @@ export default {
this
.
form
.
channelPackagingList
[
index
].
channelPriceStepClearanceList
[
indexx
]
=
p
;
}
let
it
=
this
.
form
.
channelPackagingList
[
index
].
channelPriceStepClearanceList
[
indexx
]
this
.
form
.
channelPackagingList
[
index
].
channelPriceStepClearanceList
[
indexx
]
=
{...
p
,...
it
,
clearancePrice
:
itemm
.
clearancePrice
,
clearancePriceUnit
:
itemm
.
clearancePriceUnit
,
clearanceVolumeUnit
:
itemm
.
clearanceVolumeUnit
}
;
this
.
form
.
channelPackagingList
[
index
].
channelPriceStepClearanceList
[
indexx
]
=
{
...
p
,
...
it
,
clearancePrice
:
itemm
.
clearancePrice
,
clearancePriceUnit
:
itemm
.
clearancePriceUnit
,
clearanceVolumeUnit
:
itemm
.
clearanceVolumeUnit
,
endNum
:
itemm
.
endNum
,
startNum
:
itemm
.
startNum
,
weightUnit
:
itemm
.
weightUnit
}
;
})
})
this
.
$forceUpdate
()
...
...
src/views/ecw/product/index.vue
View file @
b6360729
...
...
@@ -424,16 +424,19 @@ export default {
this
.
form
.
priceStepClearanceList
[
index
].
clearancePrice
=
item
.
clearancePrice
this
.
form
.
priceStepClearanceList
[
index
].
clearancePriceUnit
=
item
.
clearancePriceUnit
this
.
form
.
priceStepClearanceList
[
index
].
clearanceVolumeUnit
=
item
.
clearanceVolumeUnit
this
.
form
.
priceStepClearanceList
[
index
].
endNum
=
item
.
endNum
this
.
form
.
priceStepClearanceList
[
index
].
startNum
=
item
.
startNum
this
.
form
.
priceStepClearanceList
[
index
].
weightUnit
=
item
.
weightUnit
}
else
{
let
p
=
{
"
channelId
"
:
''
,
"
clearancePrice
"
:
item
.
clearancePrice
,
"
clearancePriceUnit
"
:
item
.
clearancePriceUnit
,
"
clearanceVolumeUnit
"
:
item
.
clearanceVolumeUnit
,
"
endNum
"
:
''
,
"
endNum
"
:
item
.
endNum
,
"
packagingId
"
:
''
,
"
startNum
"
:
''
,
"
weightUnit
"
:
''
"
startNum
"
:
item
.
startNum
,
"
weightUnit
"
:
item
.
weightUnit
}
this
.
form
.
priceStepClearanceList
.
push
(
p
)
}
...
...
src/views/ecw/productAttr/edit.vue
View file @
b6360729
...
...
@@ -154,16 +154,19 @@ export default {
this
.
form
.
priceStepClearanceList
[
index
].
clearancePrice
=
item
.
clearancePrice
this
.
form
.
priceStepClearanceList
[
index
].
clearancePriceUnit
=
item
.
clearancePriceUnit
this
.
form
.
priceStepClearanceList
[
index
].
clearanceVolumeUnit
=
item
.
clearanceVolumeUnit
this
.
form
.
priceStepClearanceList
[
index
].
endNum
=
item
.
endNum
this
.
form
.
priceStepClearanceList
[
index
].
startNum
=
item
.
startNum
this
.
form
.
priceStepClearanceList
[
index
].
weightUnit
=
item
.
weightUnit
}
else
{
let
p
=
{
"
channelId
"
:
''
,
"
clearancePrice
"
:
item
.
clearancePrice
,
"
clearancePriceUnit
"
:
item
.
clearancePriceUnit
,
"
clearanceVolumeUnit
"
:
item
.
clearanceVolumeUnit
,
"
endNum
"
:
''
,
"
endNum
"
:
item
.
endNum
,
"
packagingId
"
:
''
,
"
startNum
"
:
''
,
"
weightUnit
"
:
''
"
startNum
"
:
item
.
startNum
,
"
weightUnit
"
:
item
.
weightUnit
}
this
.
form
.
priceStepClearanceList
.
push
(
p
)
}
...
...
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