From 41648aa4c56b53eb759aea6c1d46c653a5703c93 Mon Sep 17 00:00:00 2001 From: gyq <875626088@qq.com> Date: Fri, 25 Oct 2024 16:01:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/product/add_shop.vue | 2 +- src/views/shop/components/addPadPage.vue | 205 ++++++++++++++++++++++- src/views/shop/pad_setting.vue | 5 +- 3 files changed, 207 insertions(+), 5 deletions(-) diff --git a/src/views/product/add_shop.vue b/src/views/product/add_shop.vue index 8037377..2a00fa7 100644 --- a/src/views/product/add_shop.vue +++ b/src/views/product/add_shop.vue @@ -790,7 +790,7 @@ export default { this.form.selectSpec = JSON.stringify(this.selectSpec); this.form.specTableHeaders = JSON.stringify(this.specTableHeaders); this.form.specInfo = JSON.stringify(this.form.skuList); - this.form.skuList[0].costPrice = 0 + // this.form.skuList[0].costPrice = 0 this.form.skuList[0].originPrice = this.form.skuList[0].salePrice if (this.form.id) { await tbProductPut(this.form); diff --git a/src/views/shop/components/addPadPage.vue b/src/views/shop/components/addPadPage.vue index 21529d4..dbfab5d 100644 --- a/src/views/shop/components/addPadPage.vue +++ b/src/views/shop/components/addPadPage.vue @@ -17,9 +17,18 @@ @@ -43,6 +52,7 @@