H5/Js/Zzxdb.js
@@ -169,15 +169,17 @@ var that = this; that.isLoading = true; if (that.dbNum <= 0) { const dbNum = Number(that.dbNum); const kcNum = Number(that.kcNum); if (dbNum <= 0) { that.$toast.fail("调拨数量不能为0"); that.isLoading = false; // 添加这行 return; // 添加返回 that.isLoading = false; return; } if (that.dbNum > that.kcNum) { if (dbNum > kcNum) { that.$toast.fail("调拨数量不能大于即时库存"); that.isLoading = false; // 添加这行 return; // 添加返回 that.isLoading = false; return; } that.AxiosHttp("post", 'Zzxdb/saveDbsq', {