kyy
2025-10-15 e753326d0ba069b4d9b538f31f6bd0d711b45f47
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', {