| | |
| | | //} |
| | | ], |
| | | DAA001: [], |
| | | DAA015: "", |
| | | show: false,//列表展示 |
| | | actions: [],//列表的值 |
| | | xtName: "",//线体名称 |
| | |
| | | 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 = []; |
| | |
| | | if (that.XbarInfo.length >= that.Xvalue) { |
| | | that.$refs.LsBar.focus(); |
| | | } |
| | | |
| | | } |
| | | else { |
| | | that.$playSound('error'); |
| | |
| | | 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, |