diff --git a/src/views/wpm_bx/handover_form2.vue b/src/views/wpm_bx/handover_form2.vue index d6d2c92b..ca2cd6cf 100644 --- a/src/views/wpm_bx/handover_form2.vue +++ b/src/views/wpm_bx/handover_form2.vue @@ -59,6 +59,9 @@ {{ item2.number }} +
+ {{ item3 }} +
@@ -229,8 +232,11 @@ export default { }) //如果arrs里有不是这个批次的wpr,提示错误 let diff = arrs.filter(item => !barchArrs.includes(item)); + that.diff = diff; + console.log('diff',diff) if(diff.length>0){ - that.$confirm("物料"+diff.join(",")+"不在该批次中", "提示", {type: "warning",}).then(() => {}); + that.$message.warning("物料"+diff.join(",")+"不在该批次中"); + // that.$confirm("物料"+diff.join(",")+"不在该批次中", "提示", {type: "warning",}).then(() => {}); } }else{ //放入对应的行中的handoverb中,并且在列表中disabled @@ -251,7 +257,8 @@ export default { } }) } - this.$refs.codeInput.focus(); + console.log('this.$refs.codeInput',this.$refs.codeInput) + this.$refs.codeInput[index].focus(); }, deleteWpr(index1,index2,wpr){ let that = this; @@ -356,6 +363,10 @@ export default { margin-right: 20px; margin-top: 5px; } +.disabledItem{ + color: #fff; + background: #f56c6c; +} .circleCloseFilled{ position: absolute; top: -7px;