zhangyuewww 2 年之前
父節點
當前提交
57f322b116
共有 1 個文件被更改,包括 4 次插入2 次删除
  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()
 							})
 						}
 					}