zhangyuewww 2 rokov pred
rodič
commit
57f322b116
1 zmenil súbory, kde vykonal 4 pridanie a 2 odobranie
  1. 4 2
      pages/erp/exWarehousing/exWarehousing.vue

+ 4 - 2
pages/erp/exWarehousing/exWarehousing.vue

@@ -992,14 +992,16 @@
 									that.$api.msg(title)
 									that.isShowPrint = true
 									uni.setStorageSync("exWarehousing_print", that.weightbills)
-									uni.hideLoading()
 									// setTimeout(() => {
 									// 	uni.navigateBack()
 									// }, 1000)
 								} else {
 									that.$api.msg(res.data.message)
-									uni.hideLoading()
 								}
+								uni.hideLoading()
+							})
+							.catch(res => {
+								uni.hideLoading()
 							})
 						}
 					}