diff --git a/src/views/product/productList/components/addProductEdit.vue b/src/views/product/productList/components/addProductEdit.vue index b44ddee..2c7ab81 100644 --- a/src/views/product/productList/components/addProductEdit.vue +++ b/src/views/product/productList/components/addProductEdit.vue @@ -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') + // } } } },