Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-commodity
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 385ab76d
authored
Jul 18, 2023
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v4.24.0' into 'master'
V4.24.0上线后,代码合并。 See merge request
!3
2 parents
9997c6b6
71009d07
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
50 additions
and
4 deletions
src/views/commodity/commodityDetail.vue
src/views/commodity/constant/data.js
src/views/commodity/index.vue
src/views/commodity/commodityDetail.vue
View file @
385ab76
...
@@ -58,6 +58,14 @@ export default {
...
@@ -58,6 +58,14 @@ export default {
name
:
'goodsCodeName'
name
:
'goodsCodeName'
},
},
{
{
label
:
'品牌方'
,
name
:
'brandMerchantName'
},
{
label
:
'供应方'
,
name
:
'supplierName'
},
{
label
:
'产品类型'
,
label
:
'产品类型'
,
name
:
'typeTxt'
name
:
'typeTxt'
},
},
...
...
src/views/commodity/constant/data.js
View file @
385ab76
...
@@ -15,6 +15,20 @@ const commodityObj = {
...
@@ -15,6 +15,20 @@ const commodityObj = {
maxlength
:
50
maxlength
:
50
},
},
{
{
label
:
'品牌方'
,
name
:
'brandMerchantName'
,
type
:
'input'
,
isClear
:
true
,
maxlength
:
20
},
{
label
:
'供应方'
,
name
:
'supplierName'
,
type
:
'input'
,
isClear
:
true
,
maxlength
:
20
},
{
label
:
'使用门店'
,
label
:
'使用门店'
,
name
:
'merchantIdList'
,
name
:
'merchantIdList'
,
type
:
'select'
,
type
:
'select'
,
...
@@ -78,7 +92,7 @@ const editCommodityObj = {
...
@@ -78,7 +92,7 @@ const editCommodityObj = {
optionLabel
:
'goodsName'
,
optionLabel
:
'goodsName'
,
optionsName
:
'goodsSeriesList'
,
optionsName
:
'goodsSeriesList'
,
changeAttr
:
function
(
val
,
targetItem
,
that
)
{
changeAttr
:
function
(
val
,
targetItem
,
that
)
{
let
labeList
=
[
'产品类型'
,
'质保年限'
]
let
labeList
=
[
'产品类型'
,
'质保年限'
]
let
txt
=
targetItem
.
optionList
.
find
(
k
=>
k
.
goodsCode
==
val
)?.
goodsName
||
''
let
txt
=
targetItem
.
optionList
.
find
(
k
=>
k
.
goodsCode
==
val
)?.
goodsName
||
''
that
.
changeFormAttr
(
'editFormData'
,
'isHide'
,
labeList
,
txt
!=
'太阳膜'
)
that
.
changeFormAttr
(
'editFormData'
,
'isHide'
,
labeList
,
txt
!=
'太阳膜'
)
if
(
val
!=
'1'
)
{
if
(
val
!=
'1'
)
{
...
@@ -90,6 +104,18 @@ const editCommodityObj = {
...
@@ -90,6 +104,18 @@ const editCommodityObj = {
}
}
},
},
{
{
label
:
'品牌方'
,
name
:
'brandMerchantName'
,
type
:
'input'
,
maxlength
:
20
},
{
label
:
'供应方'
,
name
:
'supplierName'
,
type
:
'input'
,
maxlength
:
20
},
{
label
:
'产品类型'
,
label
:
'产品类型'
,
name
:
''
,
name
:
''
,
type
:
'slot'
,
type
:
'slot'
,
...
...
src/views/commodity/index.vue
View file @
385ab76
...
@@ -84,8 +84,17 @@ export default {
...
@@ -84,8 +84,17 @@ export default {
width
:
'100'
width
:
'100'
},
},
{
{
label
:
'品牌方'
,
prop
:
'brandMerchantName'
},
{
label
:
'供应方'
,
prop
:
'supplierName'
},
{
label
:
'产品类型'
,
label
:
'产品类型'
,
prop
:
'baseProductFlag'
,
prop
:
'baseProductFlag'
,
width
:
120
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
let
list
=
[]
let
list
=
[]
cellValue
.
baseProductFlag
==
'Y'
?
list
.
push
(
'基础产品'
)
:
''
cellValue
.
baseProductFlag
==
'Y'
?
list
.
push
(
'基础产品'
)
:
''
...
@@ -95,7 +104,8 @@ export default {
...
@@ -95,7 +104,8 @@ export default {
},
},
{
{
label
:
'售价/元'
,
label
:
'售价/元'
,
prop
:
'sellPrice'
prop
:
'sellPrice'
,
width
:
100
},
},
{
{
label
:
'最低售价/元'
,
label
:
'最低售价/元'
,
...
@@ -104,11 +114,13 @@ export default {
...
@@ -104,11 +114,13 @@ export default {
},
},
{
{
label
:
'赠送成本'
,
label
:
'赠送成本'
,
prop
:
'giftCost'
prop
:
'giftCost'
,
width
:
120
},
},
{
{
label
:
'产品成本'
,
label
:
'产品成本'
,
prop
:
'productCost'
prop
:
'productCost'
,
width
:
120
},
},
{
{
label
:
'质保年限/年'
,
label
:
'质保年限/年'
,
...
...
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