Commit f797c611 authored by 季圣华's avatar 季圣华
Browse files

优化商品的多属性

parent c93fb4e4
......@@ -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 = []
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment