Przeglądaj źródła

弹窗取消提示

lichao 3 lat temu
rodzic
commit
0f378f113b

+ 3 - 1
src/views/businessManagement/deliveryNotice/detailsPageEdit.vue

@@ -1353,10 +1353,12 @@ export default {
           if (typeof this.form.corpsTypeId == 'object') {
             this.form.corpsTypeId = this.form.corpsTypeId.join(",")
           }
+          this.pageLoading = true
           revokeOutGoods(this.form).then(res => {
-            console.log(res)
             this.$message.success('撤销成功')
             this.queryData(res.data.data.id)
+          }).finally(() => {
+            this.pageLoading = false
           })
         } else {
           return false;

+ 3 - 0
src/views/businessManagement/receipt/detailsPageEdit.vue

@@ -1253,9 +1253,12 @@ export default {
           if (typeof this.form.corpsTypeId == 'object') {
             this.form.corpsTypeId = this.form.corpsTypeId.join(",")
           }
+          this.pageLoading = true
           revokeInGoods(this.form).then(res => {
             this.$message.success('撤销成功')
             this.queryData(res.data.data.id)
+          }).finally(() => {
+            this.pageLoading = false
           })
         } else {
           return false;