shish 4 lat temu
rodzic
commit
9e78b11bea
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      hdPad/src/pages/home/components/console.vue

+ 2 - 0
hdPad/src/pages/home/components/console.vue

@@ -207,6 +207,7 @@ export default {
 				}))
 				wastageCreateOrder({ product: JSON.stringify(product) }).then(res=>{
 					if(res.code == 1){
+						this.removeFromSaveDirect()
 						this.$refs.wastageRef.close()
 						this.$msg("报损成功!")
 					}
@@ -217,6 +218,7 @@ export default {
 				}))
 				goodsWastage({ goodsList: JSON.stringify(goodsList) }).then(res=>{
 					if(res.code == 1){
+						this.removeFromSaveDirect()
 						this.$refs.wastageRef.close()
 						this.$msg("报损成功!")
 					}