Ver código fonte

fix(goodsDetail): 移除确认消息逻辑,直接调用确认收货方法(先隐藏)

xieyong 3 dias atrás
pai
commit
5f32a25faa
1 arquivos alterados com 6 adições e 6 exclusões
  1. 6 6
      src/views/beEntrusted/components/goodsDetail.vue

+ 6 - 6
src/views/beEntrusted/components/goodsDetail.vue

@@ -412,13 +412,13 @@
             });
         };
 
-        if (confirmMessage) {
-          this.$confirm(confirmMessage, '提示', { type: 'warning' })
-            .then(() => doConfirmReceipt())
-            .catch(() => {});
-        } else {
+        // if (confirmMessage) {
+        //   this.$confirm(confirmMessage, '提示', { type: 'warning' })
+        //     .then(() => doConfirmReceipt())
+        //     .catch(() => {});
+        // } else {
           doConfirmReceipt();
-        }
+        // }
       },
 
       cancel() {