|
@ -324,12 +324,12 @@ const buttonTableClick = async (val, row) => { |
|
|
if(itemColumns.field == 'productionLineCodePackage') { |
|
|
if(itemColumns.field == 'productionLineCodePackage') { |
|
|
// itemColumns.tableForm.isInpuFocusShow = false |
|
|
// itemColumns.tableForm.isInpuFocusShow = false |
|
|
// itemColumns.tableForm.disabled = true |
|
|
// itemColumns.tableForm.disabled = true |
|
|
ProductionreturnRequestDetailLabelRules.productionLineCodePackage[0].required = false |
|
|
ProductionreturnRequestDetailNoLabelRules.productionLineCodePackage[0].required = false |
|
|
} |
|
|
} |
|
|
if(itemColumns.field == 'supplierItemCode') { |
|
|
if(itemColumns.field == 'supplierItemCode') { |
|
|
itemColumns.tableForm.isInpuFocusShow = true |
|
|
itemColumns.tableForm.isInpuFocusShow = true |
|
|
itemColumns.tableForm.disabled = false |
|
|
itemColumns.tableForm.disabled = false |
|
|
ProductionreturnRequestDetailLabelRules.supplierItemCode[0].required = true |
|
|
ProductionreturnRequestDetailNoLabelRules.supplierItemCode[0].required = true |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
} else { |
|
|
} else { |
|
@ -338,13 +338,13 @@ const buttonTableClick = async (val, row) => { |
|
|
if(itemColumns.field == 'supplierItemCode') { |
|
|
if(itemColumns.field == 'supplierItemCode') { |
|
|
itemColumns.tableForm.isInpuFocusShow = false |
|
|
itemColumns.tableForm.isInpuFocusShow = false |
|
|
itemColumns.tableForm.disabled = true |
|
|
itemColumns.tableForm.disabled = true |
|
|
ProductionreturnRequestDetailLabelRules.supplierItemCode[0].required = false |
|
|
ProductionreturnRequestDetailNoLabelRules.supplierItemCode[0].required = false |
|
|
} |
|
|
} |
|
|
if(itemColumns.field == 'productionLineCodePackage') { |
|
|
if(itemColumns.field == 'productionLineCodePackage') { |
|
|
item.productionLineCodePackage = item.productionLineCode |
|
|
item.productionLineCodePackage = item.productionLineCode |
|
|
// itemColumns.tableForm.isInpuFocusShow = true |
|
|
// itemColumns.tableForm.isInpuFocusShow = true |
|
|
// itemColumns.tableForm.disabled = false |
|
|
// itemColumns.tableForm.disabled = false |
|
|
ProductionreturnRequestDetailLabelRules.productionLineCodePackage[0].required = true |
|
|
ProductionreturnRequestDetailNoLabelRules.productionLineCodePackage[0].required = true |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
} |
|
|
} |
|
|