From d58a4f37057907018ecbde15fac7b80d6e71b7fc Mon Sep 17 00:00:00 2001 From: weipengfei <2187978347@qq.com> Date: Sat, 18 Nov 2023 19:03:22 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E4=BF=AE=E6=94=B9=E5=BA=93?= =?UTF-8?q?=E5=AD=98=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/app.js | 2 +- pages/product/list/index.vue | 2 +- pages/product/updateStock/updateStock.vue | 7 +++++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/config/app.js b/config/app.js index 479ac47..a5bfb41 100644 --- a/config/app.js +++ b/config/app.js @@ -10,7 +10,7 @@ let wsApi // 在打包之前请检查当前环境是否正确 const env = 'dev'; // 开发 -// const env = 'prod'; // 生产 +// const env = 'prod'; // t生产 // const env = 'prew'; // 预上线 switch (env) { diff --git a/pages/product/list/index.vue b/pages/product/list/index.vue index 17e4f7f..7b5460d 100644 --- a/pages/product/list/index.vue +++ b/pages/product/list/index.vue @@ -389,7 +389,7 @@ Fline(item) { this.checkboxList1 = item.attrValue // console.log(this.checkboxList1.length) - if (this.checkboxList1.length>1){ + if (this.checkboxList1.length>0){ navigateTo(1, '/pages/product/updateStock/updateStock', { product_id: item.product_id }) diff --git a/pages/product/updateStock/updateStock.vue b/pages/product/updateStock/updateStock.vue index 4c5f9e4..33f05f0 100644 --- a/pages/product/updateStock/updateStock.vue +++ b/pages/product/updateStock/updateStock.vue @@ -13,7 +13,10 @@ - {{name}} + + {{name}} + + {{short.store_name}} @@ -156,7 +159,7 @@ import { Toast } from '../../../libs/uniApi'; } } .sku{ - padding: 16rpx 0; + padding: 16rpx 16rpx; } } }