南骏 池
2025-07-09 6acdfc2c867d8fde898a4cc67bdefa2b97f03e3e
H5/Js/BarCfBefore.js
@@ -68,7 +68,7 @@
            var that = this;
             
            that.isLoading = true;
            that.AxiosHttp("post", 'MesBarCF/GetBarInfo', {
            that.AxiosHttp("post", 'MesBarCF/GetBarInfoBefore', {
                barcode: that.formData.barcode,
            }, false)
                .then(function (res) {
@@ -115,16 +115,18 @@
                that.$toast.fail("拆分数量不能为空!");
                return;
            }
            if (that.formData.cfNum > that.formData.sumQuantity) {
            // ... existing code ...
            if (parseFloat(that.formData.cfNum) > parseFloat(that.formData.sumQuantity)) {
                that.$toast.fail("拆分数量不能大于条码数量!");
                return;
            }
            // ... existing code ...
            if (that.formData.barcode.length * 1 <= 0) {
                that.$toast.fail("物料条码不能为空!");
                return;
            }
            that.isLoading = true;
            that.AxiosHttp("post", 'MesBarCF/BarCF', {
            that.AxiosHttp("post", 'MesBarCF/BarCfBefore', {
                userName: that.userInfo.loginAccount,
                barcode: that.formData.barcode,
                CfNum: that.formData.cfNum,