给商品多属性选择的时候的多余的判断提示
This commit is contained in:
@@ -980,7 +980,6 @@
|
||||
},
|
||||
autoSkuList(skuOneData, skuTwoData, skuThreeData) {
|
||||
let unit = this.form.getFieldValue('unit')
|
||||
if(unit) {
|
||||
//计算多属性已经选择了几个
|
||||
let skuArr = []
|
||||
if(this.getNumByField('skuOne')) {
|
||||
@@ -1060,10 +1059,6 @@
|
||||
this.meTable.dataSource = meTableData
|
||||
}
|
||||
})
|
||||
} else {
|
||||
this.$message.warning('请填写单位(注意不要勾选多单位,因为多属性商品不支持多单位)');
|
||||
this.barCodeSwitch = false;
|
||||
}
|
||||
},
|
||||
getNumByField(field) {
|
||||
let num = 0
|
||||
|
||||
Reference in New Issue
Block a user