Browse Source

Merge branch '修改/订货单添加重复商品' into lsa测试

xiaohaizhao 1 year ago
parent
commit
8c90be9c6a
1 changed files with 3 additions and 0 deletions
  1. 3 0
      packageA/orderForm/modules/product/index.js

+ 3 - 0
packageA/orderForm/modules/product/index.js

@@ -203,6 +203,8 @@ Component({
                     title: res.msg,
                     icon: "none"
                 });
+
+                if (!res.data.isrepeat) return handle()
                 if (res.data.items.length) {
                     wx.showModal({
                         title: '提示',
@@ -219,6 +221,7 @@ Component({
                     handle()
                 }
             })
+
             function handle() {
                 wx.showModal({
                     title: '提示',