| | |
| | | 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', { |
| | |
| | | </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> |