打印页面可移除编码

散料入移除限制
This commit is contained in:
zgf committed 2024-02-02 11:39:14 +08:00
1 parent 9872a308f7
commit 0ced05961b
3 files changed
+60 -14

No files matched your search

@@ -195,7 +195,8 @@
"uniqueCode": item.UniqueCode,
"qty": item.Qty,
"bindQty": item.Qty,
"size": item.Flag
"size": item.Flag,
"band":1
})
});
@@ -232,6 +233,9 @@
message: "绑定成功!",
});
// _this.bindingData = [];
_this.bindingData.forEach(function (item) {
item.band = 1;
})
_this.disabledbackbutton = false;
} else {
_this.$message({
@@ -325,7 +329,17 @@
},
// 删除已绑定行
deleteRow(index, rows) {
rows.splice(index, 1);
if (rows[index].band == 1) {
this.$message({
message: "已绑定物料不能移除!",
type: "warning",
duration: "1000",
});
return;
}
else {
rows.splice(index, 1);
}
},
handleEdit(index, row) {
// console.log(index, row, this.bindingData);