|
@@ -771,7 +771,7 @@ export default {
|
|
|
},
|
|
|
// 商品分类选择
|
|
|
async goods_class_change(e) {
|
|
|
- const { code, pid, id, label, item } = e
|
|
|
+ const { is_gold, id, label, item } = e
|
|
|
|
|
|
if (label) {
|
|
|
this.cat_labels = label.split('_')
|
|
@@ -781,7 +781,7 @@ export default {
|
|
|
this.ruleForm.cat_id_name = label || ''
|
|
|
this.ruleForm.cat_arr_id = item
|
|
|
this.$refs.ruleForm.validateField('cat_id')
|
|
|
- this.is_noble = pid + '' === '6'
|
|
|
+ this.is_noble = is_gold
|
|
|
await this.set_must_spec()
|
|
|
// 修改
|
|
|
},
|