From 322a26af5b576b6fd887ec19339de170aa1b00da Mon Sep 17 00:00:00 2001 From: hrx <18603305412@163.com> Date: Wed, 10 Jun 2026 11:00:12 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BE=9B=E9=9C=80=E5=B9=BF=E5=9C=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ncmatch/mainPage/sendProduct/index.vue | 2 +- .../ncmatch/supplyAndDemandSquare/index.vue | 1952 +++++++++++++---- 2 files changed, 1525 insertions(+), 429 deletions(-) diff --git a/f/web-kboss/src/views/homePage/ncmatch/mainPage/sendProduct/index.vue b/f/web-kboss/src/views/homePage/ncmatch/mainPage/sendProduct/index.vue index 6990a68..d576bf0 100644 --- a/f/web-kboss/src/views/homePage/ncmatch/mainPage/sendProduct/index.vue +++ b/f/web-kboss/src/views/homePage/ncmatch/mainPage/sendProduct/index.vue @@ -630,7 +630,7 @@ export default { const successMessage = this.publish_type === '2' ? '添加需求成功!' : '添加产品成功!' this.$message.success(successMessage) } else { - this.$message.error(res.msg || '添加失败,请重试') + // this.$message.error(res.msg || '添加失败,请重试') } }).catch(error => { loading.close(); diff --git a/f/web-kboss/src/views/homePage/ncmatch/supplyAndDemandSquare/index.vue b/f/web-kboss/src/views/homePage/ncmatch/supplyAndDemandSquare/index.vue index 18ddf8f..5bd7cbb 100644 --- a/f/web-kboss/src/views/homePage/ncmatch/supplyAndDemandSquare/index.vue +++ b/f/web-kboss/src/views/homePage/ncmatch/supplyAndDemandSquare/index.vue @@ -1,226 +1,587 @@ From c5e0cc4ecd1b7cfd615fca9d49a42f71df1750ae Mon Sep 17 00:00:00 2001 From: ping <1017253325@qq.com> Date: Wed, 10 Jun 2026 11:00:43 +0800 Subject: [PATCH 2/2] update --- b/product/publish_product_add.dspy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/b/product/publish_product_add.dspy b/b/product/publish_product_add.dspy index a9f7f56..445b089 100644 --- a/b/product/publish_product_add.dspy +++ b/b/product/publish_product_add.dspy @@ -85,7 +85,7 @@ async def publish_product_add(ns={}): if ns.get('price') and ns.get('discount'): ns_dic['discount_price'] = float(ns.get('price')) * float(ns['discount']) / 10 else: - ns_dic['discount_price'] = ns['price'] + ns_dic['discount_price'] = ns.get('price') user_role = await get_user_role({'userid': userid, 'sor': sor}) # 非客户角色不需要审批 if user_role != '客户' and user_role != '管理员':