Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
f797c611
Commit
f797c611
authored
Jul 24, 2021
by
季圣华
Browse files
优化商品的多属性
parent
c93fb4e4
Changes
1
Hide whitespace changes
Inline
Side-by-side
jshERP-web/src/views/material/modules/MaterialModal.vue
View file @
f797c611
...
...
@@ -80,7 +80,7 @@
</a-col>
<a-col
:lg=
"8"
:md=
"12"
:sm=
"24"
>
<a-form-item
:labelCol=
"labelCol"
:wrapperCol=
"wrapperCol"
label=
"多属性"
>
<a-switch
checked-children=
"启用"
un-checked-children=
"关闭"
@
change=
"onSkuChange"
></a-switch>
<a-switch
checked-children=
"启用"
un-checked-children=
"关闭"
v-model=
"skuSwitch"
@
change=
"onSkuChange"
></a-switch>
</a-form-item>
</a-col>
</a-row>
...
...
@@ -363,6 +363,8 @@
this
.
form
.
resetFields
();
this
.
model
=
Object
.
assign
({},
record
);
this
.
activeKey
=
'
1
'
this
.
skuSwitch
=
false
this
.
barCodeSwitch
=
false
this
.
visible
=
true
;
if
(
JSON
.
stringify
(
record
)
===
'
{}
'
)
{
this
.
fileList
=
[]
...
...
Write
Preview
Supports
Markdown
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