shish 4 ani în urmă
părinte
comite
9e78b11bea
1 a modificat fișierele cu 2 adăugiri și 0 ștergeri
  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("报损成功!")
 					}