Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-business
/
develop-platform
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 bff1fc98
authored
Nov 17, 2020
by
wangql
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' of
http://192.168.3.233:8090/glsx-business/dj-car-life-system
2 parents
39632245
de93ab8e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
12 deletions
src/components/d2-form/index.vue
src/views/goods/editCommodity.vue
src/views/goods/editProduct.vue
src/views/goods/product.vue
src/components/d2-form/index.vue
View file @
bff1fc9
...
...
@@ -375,14 +375,12 @@ export default {
mounted
()
{
this
.
formData
=
_
.
cloneDeep
(
this
.
originData
)
this
.
getGoodsList
NoBase
()
this
.
getGoodsList
()
},
methods
:
{
getGoodsListNoBase
()
{
getGoodsList
({
exceptBase
:
true
}).
then
(
res
=>
{
getGoodsList
()
{
getGoodsList
({}).
then
(
res
=>
{
this
.
proList
=
res
})
},
...
...
src/views/goods/editCommodity.vue
View file @
bff1fc9
...
...
@@ -152,7 +152,7 @@ export default {
})
}
else
{
this
.
editForm
[
0
].
formBlock
[
0
].
isDisabled
=
false
this
.
getGoodsList
()
this
.
getGoodsList
NoBase
()
this
.
$nextTick
(()
=>
{
this
.
show
=
true
})
...
...
@@ -162,8 +162,10 @@ export default {
methods
:
{
...
mapActions
({
close
:
'd2admin/page/close'
}),
// ...mapActions('d2admin/page', ['close']),
getGoodsList
()
{
getGoodsList
({}).
then
(
res
=>
{
getGoodsListNoBase
()
{
getGoodsList
({
exceptBase
:
true
}).
then
(
res
=>
{
// console.log(res)
this
.
editForm
[
0
].
formBlock
[
0
].
optionList
=
res
})
...
...
src/views/goods/editProduct.vue
View file @
bff1fc9
...
...
@@ -60,7 +60,7 @@ export default {
label
:
'分类'
,
isRequired
:
true
,
type
:
'select'
,
tips
:
'选择产品分类'
,
//
tips: '选择产品分类',
isClear
:
false
,
optionList
:
[],
optionId
:
'goodsType'
,
...
...
@@ -74,7 +74,7 @@ export default {
label
:
'品牌商'
,
isRequired
:
true
,
type
:
'select'
,
tips
:
'选择品牌商'
,
//
tips: '选择品牌商',
isClear
:
true
,
optionList
:
[],
optionId
:
'confId'
,
...
...
src/views/goods/product.vue
View file @
bff1fc9
...
...
@@ -112,7 +112,7 @@ export default {
prop
:
'brandMerchantName'
},
{
label
:
'创建时间'
,
prop
:
'create
dDate
'
prop
:
'create
DateStr
'
},
{
label
:
'产品状态'
,
prop
:
'state'
,
...
...
@@ -131,7 +131,7 @@ export default {
baseData
:
{
productTypeList
:
[],
brandList
:
[]
}
,
}
}
},
...
...
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