瀏覽代碼

修改竞价单转单

xiaodai2022 2 年之前
父節點
當前提交
606e090999
共有 2 個文件被更改,包括 4 次插入3 次删除
  1. 0 0
      dist/static/js/0.js
  2. 4 3
      src/views/sellOut/zixunOrder/components/buyGoodModal.vue

文件差異過大導致無法顯示
+ 0 - 0
dist/static/js/0.js


+ 4 - 3
src/views/sellOut/zixunOrder/components/buyGoodModal.vue

@@ -767,7 +767,6 @@ export default {
         ],
       },
 
-      loading: false,
       id: "",
     };
   },
@@ -992,9 +991,8 @@ export default {
               return;
             }
           }
-          this.loading = false;
           let res = await asyncRequest.consultorder(model);
-          this.loading = false;
+
           if (res && res.code === 0) {
             this.$notify.success({
               title: "下单成功!",
@@ -1003,9 +1001,12 @@ export default {
             this.showModelThis = false;
             // 刷新
             this.$emit("refresh");
+            this.loading = false;
           } else if (res && res.code >= 100 && res.code <= 104) {
+            this.loading = false;
             await this.logout();
           } else {
+            this.loading = false;
             this.$message.warning(res.message);
           }
         } else {

部分文件因文件數量過多而無法顯示