|
|
@ -111,6 +111,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => |
|
|
|
// 明细查询页赋值 |
|
|
|
if (formField == 'itemCode') { |
|
|
|
row['itemCode'] = val[0]['componentItemCode'] |
|
|
|
row['uom'] = val[0]['componentUom'] |
|
|
|
} else { |
|
|
|
row[formField] = val[0][searchField] |
|
|
|
row['toLocationCode'] = val[0]['rawLocationCode'] |
|
|
@ -151,9 +152,6 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => |
|
|
|
if(item.field == 'planQty') { |
|
|
|
item.tableForm.disabled = true |
|
|
|
} |
|
|
|
if(item.field == 'uom') { |
|
|
|
item.tableForm.disabled = true |
|
|
|
} |
|
|
|
if(item.field == 'available') { |
|
|
|
item.tableForm.disabled = true |
|
|
|
} |
|
|
@ -498,9 +496,6 @@ const resetShow = async () => { |
|
|
|
if(item.field == 'planQty') { |
|
|
|
item.tableForm.disabled = false |
|
|
|
} |
|
|
|
if(item.field == 'uom') { |
|
|
|
item.tableForm.disabled = false |
|
|
|
} |
|
|
|
if(item.field == 'available') { |
|
|
|
item.tableForm.disabled = false |
|
|
|
} |
|
|
|