Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-marketing
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit af866ba2
authored
Apr 29, 2022
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'chenwq_dev_v2.1.0' into 'v2.1.0'
商品编辑,门店-带货字段置空 See merge request
!122
2 parents
525c7fac
25b0d5ff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
src/views/productGroup/editProduct.vue
src/views/productGroup/editProduct.vue
View file @
af866ba
...
@@ -1491,6 +1491,7 @@ export default {
...
@@ -1491,6 +1491,7 @@ export default {
var
params
=
this
.
$common
.
utils
.
deepClone
(
this
.
editForm
)
var
params
=
this
.
$common
.
utils
.
deepClone
(
this
.
editForm
)
var
deleteAttrList
=
[
'descImgList'
,
'describeTxt'
,
'specificationList'
]
var
deleteAttrList
=
[
'descImgList'
,
'describeTxt'
,
'specificationList'
]
var
priceList
=
[
'retailPrice'
,
'originalPrice'
,
'supplyPrice'
,
'expressFee'
,
'memberPrice'
]
var
priceList
=
[
'retailPrice'
,
'originalPrice'
,
'supplyPrice'
,
'expressFee'
,
'memberPrice'
]
var
storeResetList
=
[
'takeType'
,
'takeAllMerchant'
]
if
(
this
.
routeInfo
.
addOrEdit
==
2
)
{
if
(
this
.
routeInfo
.
addOrEdit
==
2
)
{
params
.
id
=
this
.
routeInfo
.
id
params
.
id
=
this
.
routeInfo
.
id
}
}
...
@@ -1534,9 +1535,12 @@ export default {
...
@@ -1534,9 +1535,12 @@ export default {
stock
:
item
.
stock
stock
:
item
.
stock
})
})
})
})
// 专区-门店没有专区
// 专区-门店没有专区
;门店,有的字段置空
if
(
this
.
routeInfo
.
groupOrStore
!=
1
)
{
if
(
this
.
routeInfo
.
groupOrStore
!=
1
)
{
delete
params
.
zoneId
delete
params
.
zoneId
storeResetList
.
forEach
(
item
=>
{
params
[
item
]
=
''
})
}
}
// 价格格式化(计算到分)
// 价格格式化(计算到分)
priceList
.
forEach
(
item
=>
{
priceList
.
forEach
(
item
=>
{
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment