kyy
2025-10-15 e753326d0ba069b4d9b538f31f6bd0d711b45f47
周转箱数量比较修改
已修改2个文件
16 ■■■■■ 文件已修改
H5/Js/Zzxdb.js 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Zzxdb.aspx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
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', {
H5/Zzxdb.aspx
@@ -209,5 +209,5 @@
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server">
 <script src="Js/Zzxdb.js?<%=11117 %>"></script>
 <script src="Js/Zzxdb.js?<%=11118 %>"></script>
</asp:Content>