From 863f22dae3440d588f106da045130eb0e8ecd731 Mon Sep 17 00:00:00 2001 From: "DESKTOP-8FGKA8Q\\chunfen" Date: Mon, 8 Dec 2025 13:31:23 +0800 Subject: [PATCH] =?UTF-8?q?yyw=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/commodity/combination.vue | 6 ++++-- src/views/commodity/sku.vue | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/views/commodity/combination.vue b/src/views/commodity/combination.vue index 86e525a..11578f4 100644 --- a/src/views/commodity/combination.vue +++ b/src/views/commodity/combination.vue @@ -203,7 +203,9 @@ export default { data.goodsSkus = [] data.itemInfo = { sort: 0, - status: 1 + status: 1, + goods_cost: 0, + freight_cost: 0 } data.showDialog = true } @@ -219,7 +221,7 @@ export default { function commitOpa() { if(!data.itemInfo.goods_cost || data.itemInfo.goods_cost * 1 == 0) { - return ElMessage({ type: 'info', message: '商品成本必填' }) + // return ElMessage({ type: 'info', message: '商品成本必填' }) } data.opa_loading = true let params = { diff --git a/src/views/commodity/sku.vue b/src/views/commodity/sku.vue index 8e8ffc1..7cfee03 100644 --- a/src/views/commodity/sku.vue +++ b/src/views/commodity/sku.vue @@ -403,7 +403,7 @@ export default { function commitOpa() { if(!data.itemInfo.goods_cost || data.itemInfo.goods_cost * 1 == 0) { - return ElMessage({ type: 'info', message: '商品成本必填' }) + // return ElMessage({ type: 'info', message: '商品成本必填' }) } data.opa_loading = true let params = { -- 2.47.2