update 修改商品管理,商品编辑分类提示语
This commit is contained in:
parent
b186811571
commit
9b9e8fc6d4
@ -1905,13 +1905,13 @@ export default {
|
|||||||
|
|
||||||
if (category != null) {
|
if (category != null) {
|
||||||
//判断更改后的商品类型是否一致,不一致不可以改!
|
//判断更改后的商品类型是否一致,不一致不可以改!
|
||||||
if (this.shop_product_index.type_id == category.type_id) {
|
// if (this.shop_product_index.type_id == category.type_id) {
|
||||||
this.productForm.category_id = category.category_id
|
this.productForm.category_id = category.category_id
|
||||||
this.productForm.text_category_id = category.category_name
|
this.productForm.text_category_id = category.category_name
|
||||||
this.productForm.category_name = category.category_name
|
this.productForm.category_name = category.category_name
|
||||||
} else {
|
// } else {
|
||||||
this.$baseMessage('商品类型不一致,不可以更改分类!', 'error')
|
// this.$baseMessage('商品类型不一致,不可以更改分类!', 'error')
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user