shish há 3 anos atrás
pai
commit
f288d55290
1 ficheiros alterados com 4 adições e 1 exclusões
  1. 4 1
      ghsApp/src/admin/item/sendStock.vue

+ 4 - 1
ghsApp/src/admin/item/sendStock.vue

@@ -178,7 +178,7 @@
 				}
 	
 				this.$util.confirmModal({content:'确认分配?'},() => {
-
+					uni.showLoading({mask:true})
 					let jsonPriceList = JSON.stringify(priceList);
 					batchChangePrice({data:jsonPriceList,appVersion:1}).then(res => {
 						if(res.code == 1){
@@ -188,6 +188,9 @@
 							checkOrderApi({pdType:'',itemInfo:jsonStock,remark:name+'分配增加库存'}).then(res => {
 								if(res.code == 1){
 									this.$msg(res.msg)
+									setTimeout(function(){
+										uni.navigateBack({})
+									},1100)
 								}
 							})