Explorar el Código

1.改动撤销审批或者撤销请核时,不及时收回撤销请核的按钮变更

nzf hace 3 años
padre
commit
de74342c43

+ 3 - 1
src/views/Warehousing/outStock/AddOrUpdate.vue

@@ -6868,8 +6868,10 @@ export default {
           if (data.code === 200) {
             this.browseStatus = false
             this.msgSuccess('撤销成功')
-            if (status) {
+            if (status == 'warehouse_status') {
               this.$set(this.form, 'warehouseStatus', 2)
+            } else if (status == 'f_billstatus') {
+              this.$set(this.form, 'fBillstatus', 2)
             }
           }
         })

+ 4 - 1
src/views/Warehousing/stockTransfer/AddOrUpdate.vue

@@ -4755,8 +4755,10 @@ export default {
           if (data.code === 200) {
             this.browseStatus = false;
             this.msgSuccess("撤销成功");
-            if (status) {
+            if (status == 'warehouse_status') {
               this.$set(this.form, "warehouseStatus", 2);
+            } else if (status == 'f_billstatus') {
+              this.$set(this.form, "fBillstatus", 2);
             }
           }
         });
@@ -5938,6 +5940,7 @@ export default {
           if (data.code === 200) {
             this.browseStatus = false;
             this.msgSuccess("撤销成功");
+            this.$set(this.form, "fBillstatus", 2);
           }
         });
       });