update 修改商品管理,商品编辑分类提示语

This commit is contained in:
hufflzp 2025-12-18 12:00:33 +08:00
parent b186811571
commit 9b9e8fc6d4

View File

@ -1905,13 +1905,13 @@ export default {
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.text_category_id = category.category_name
this.productForm.category_name = category.category_name
} else {
this.$baseMessage('商品类型不一致,不可以更改分类!', 'error')
}
// } else {
// this.$baseMessage('', 'error')
// }
}
}
},