|
|
@ -527,19 +527,19 @@ const buttonTableClick = async (val, row) => { |
|
|
|
itemColumns.tableForm.disabled = true |
|
|
|
ProductionreturnRequestDetailNoLabelRules.productionLineCodePackage[0].required = false |
|
|
|
} |
|
|
|
if(itemColumns.field == 'supplierItemCode') { |
|
|
|
if(itemColumns.field == 'supplierCode') { |
|
|
|
itemColumns.tableForm.isInpuFocusShow = true |
|
|
|
itemColumns.tableForm.disabled = false |
|
|
|
ProductionreturnRequestDetailNoLabelRules.supplierItemCode[0].required = true |
|
|
|
ProductionreturnRequestDetailNoLabelRules.supplierCode[0].required = true |
|
|
|
} |
|
|
|
}) |
|
|
|
} else { |
|
|
|
// 修改 tableform 属性 |
|
|
|
detailListTableColumns.tableFormColumns.map(itemColumns => { |
|
|
|
if(itemColumns.field == 'supplierItemCode') { |
|
|
|
if(itemColumns.field == 'supplierCode') { |
|
|
|
itemColumns.tableForm.isInpuFocusShow = false |
|
|
|
itemColumns.tableForm.disabled = true |
|
|
|
ProductionreturnRequestDetailNoLabelRules.supplierItemCode[0].required = false |
|
|
|
ProductionreturnRequestDetailNoLabelRules.supplierCode[0].required = false |
|
|
|
} |
|
|
|
if(itemColumns.field == 'productionLineCodePackage') { |
|
|
|
item.productionLineCodePackage = item.productionLineCode |
|
|
|