cdk
昨天 65e595c85e7ff31252c651f05949b711209f45ec
H5/Js/Cpbdsj.js
@@ -28,6 +28,7 @@
                //}
            ],
            DAA001: [],
            DAA015: "",
            show: false,//列表展示
            actions: [],//列表的值
            xtName: "",//线体名称
@@ -71,6 +72,8 @@
                        console.log(json.data.tbBillList.kbBarInfo[0].agvPostion);
                        that.KbBarInfo = json.data.tbBillList.kbBarInfo[0];
                        that.DAA001 = that.KbBarInfo.daA001;
                        that.DAA015 = that.KbBarInfo.daA015;
                        console.log(that.KbBarInfo)
                        that.KbBarMxInfo = json.data.tbBillList.kbBarMxInfo;
                        that.$refs.XBar.focus();
                        that.XbarInfo = [];
@@ -202,7 +205,6 @@
                        if (that.XbarInfo.length >= that.Xvalue) {
                            that.$refs.LsBar.focus();
                        }
                    }
                    else {
                        that.$playSound('error');
@@ -313,6 +315,21 @@
                if (matchedItem.is_hedui === "1") {
                    that.$toast("已核对");
                } else {
                    console.log(that.DAA015);
                    if ((that.DAA015) === "462") {
                        that.$set(matchedItem, 'is_hedui', "1");
                        // 可根据需要设置 weight,这里保持为空/不变
                        that.$playSound('success');
                        that.$notify({ type: 'success', message: "核对成功" });
                        that.LsBar = "";
                        // 检查是否所有行都已核对
                        const allChecked = that.XbarInfo.every(item => item.is_hedui === "1");
                        if (allChecked && that.XbarInfo.length > 0 && that.XbarInfo.length === that.Xvalue) {
                            that.submitAllChecked();
                        }
                        // 直接返回,不调用 GetWeightByXt
                        return;
                    }
                    that.AxiosHttp("post", 'Womdaa/GetWeightByXt', {
                        LsBar: that.LsBar,