kyy
2025-09-15 744edf9a0c4e19bf1cacf37d4c5c365b05760504
H5/Js/BarCfBefore.js
@@ -10,7 +10,7 @@
            formData: {
                barcode: "",
                itemNo: "",
                sumQuantity: 0
                sumQuantity:0
            },
            itemInsFormData: {},
            tableData: [],
@@ -66,7 +66,7 @@
        //},
        getScan() {
            var that = this;
            that.isLoading = true;
            that.AxiosHttp("post", 'MesBarCF/GetBarInfoBefore', {
                barcode: that.formData.barcode,
@@ -74,7 +74,7 @@
                .then(function (res) {
                    var json = res;
                    if (json.status == 0) {
                        that.formData.sumQuantity = json.data.tbBillList.quantity;
                        that.formData.itemNo = json.data.tbMesItems.itemNo;
@@ -115,12 +115,12 @@
                that.$toast.fail("拆分数量不能为空!");
                return;
            }
            // ... 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;