Commit 0e1e754c authored by 邓春圆's avatar 邓春圆

商品性质改为单选

parent c0137d6c
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
</el-checkbox-group> </el-checkbox-group>
</el-form-item> </el-form-item>
<el-form-item :label="$t('商品材质')" prop="materialType"> <el-form-item :label="$t('商品材质')" prop="materialType">
<dict-selector form-type="checkbox" :type="DICT_TYPE.ECW_PRODUCT_MATERIAL" v-model="form.materialTypeArr" multiple /> <dict-selector form-type="radio" :type="DICT_TYPE.ECW_PRODUCT_MATERIAL" v-model="form.materialType" />
</el-form-item> </el-form-item>
<packaging-type key-arr="priceStepClearanceList" v-model="form"> <packaging-type key-arr="priceStepClearanceList" v-model="form">
<el-button @click="visible = true; open = false;" type="text">选择空运模板</el-button> <el-button @click="visible = true; open = false;" type="text">选择空运模板</el-button>
...@@ -112,9 +112,6 @@ export default { ...@@ -112,9 +112,6 @@ export default {
this.form.isAllProduct = 1 this.form.isAllProduct = 1
} }
}, */ }, */
'form.materialTypeArr'(typeArr){
this.$set(this.form, 'form.materialTyp', typeArr.join(','))
},
attrIds(val){ attrIds(val){
this.form.attrId = val.join(',') this.form.attrId = val.join(',')
} }
...@@ -214,7 +211,6 @@ export default { ...@@ -214,7 +211,6 @@ export default {
priceStepClearanceList:[], priceStepClearanceList:[],
priceLineCount:undefined, priceLineCount:undefined,
isCopyProductPriceTemplate:false, isCopyProductPriceTemplate:false,
materialTypeArr:[],
}; };
this.attrIds = [] this.attrIds = []
......
Markdown is supported
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