|
|
@@ -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("报损成功!")
|
|
|
}
|