add:增加不对接MES包装关系逻辑

This commit is contained in:
2024-07-03 00:39:49 +08:00
parent d02dea3fcc
commit 9838e9da98

View File

@@ -307,7 +307,7 @@ export default {
// 表格1的行点击事件 // 表格1的行点击事件
handleRowClick(scope) { handleRowClick(scope) {
debugger debugger
this.isButtonDisabled = !!(scope.status !== '99' || scope.box_group !== '0') this.isButtonDisabled = !!(scope.status !== '99')
this.isButtonDisabled1 = scope.status === '99' this.isButtonDisabled1 = scope.status === '99'
const table2 = this.$refs.dis_table const table2 = this.$refs.dis_table
const table2Data = Array.from(this.openParam) const table2Data = Array.from(this.openParam)
@@ -320,7 +320,7 @@ export default {
handleSelectionChange(selection) { handleSelectionChange(selection) {
debugger debugger
if (selection.length > 0) { if (selection.length > 0) {
this.isButtonDisabled = !selection.every(item => item.status === '99' && item.box_group === '0') this.isButtonDisabled = !selection.every(item => item.status === '99')
this.isButtonDisabled1 = selection.some(item => item.status === '99') this.isButtonDisabled1 = selection.some(item => item.status === '99')
this.currentSelection = selection this.currentSelection = selection
if (!this.searchText) { if (!this.searchText) {