浏览代码

解决bug

chenrui 2 年之前
父节点
当前提交
a9d730f7f1

+ 4 - 0
src/views/purchasingManagement/purchaseReturn/purchaseReturnDeatil.vue

@@ -278,6 +278,8 @@ export default {
             _this.$message.info(res.message)
             _this.delLoading = false
             _this.spinning = false
+          }).catch(err => {
+            _this.delLoading = false
           })
         }
       })
@@ -379,6 +381,8 @@ export default {
         this.isInster = false
         this.spinning = false
         this.addMoreLoading = false
+      }).catch(err => {
+        this.isInster = false
       })
     },
     beforeSubmit () {

+ 2 - 0
src/views/salesManagement/salesQuery/edit.vue

@@ -487,6 +487,8 @@ export default {
           this.spinning = false
         }
         this.isInster = false
+      }).catch(err => {
+        this.isInster = false
       })
     },
     //  销售单详情