shish 1 năm trước cách đây
mục cha
commit
4f7a2c0b30
1 tập tin đã thay đổi với 4 bổ sung4 xóa
  1. 4 4
      ghsApp/src/pagesStorehouse/inventory/update.vue

+ 4 - 4
ghsApp/src/pagesStorehouse/inventory/update.vue

@@ -198,9 +198,9 @@ export default {
 				checkOrderApi(params).then(res=>{
 					if(res.code == 1){
 						that.$msg("盘点成功");
-						that.removeFromSaveDirect()
 						setTimeout(() => {
-							that.$util.pageTo({ url: "/pagesStorehouse/inventory/details?orderSn="+that.res.data.orderSn})	
+							that.removeFromSaveDirect()
+							that.$util.pageTo({ url: "/pagesStorehouse/inventory/details?orderSn="+res.data.orderSn})	
 						}, 1200)
 					}
 				})
@@ -208,9 +208,9 @@ export default {
 				updateCheckOrderApi(params).then(res=>{
 					if(res.code == 1){
 						that.$msg("提交成功");
-						that.removeFromSaveDirect()
 						setTimeout(() => {
-							that.$util.pageTo({ url: "/pagesStorehouse/inventory/details?orderSn="+that.res.data.orderSn})	
+							that.removeFromSaveDirect()
+							that.$util.pageTo({ url: "/pagesStorehouse/inventory/details?orderSn="+res.data.orderSn})	
 						}, 1200)
 					}
 				})