|
|
@ -341,11 +341,14 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => |
|
|
|
toManagementPrecision.value = res[0].ManagementPrecision |
|
|
|
}) |
|
|
|
if (toManagementPrecision.value == 'BY_BATCH') { |
|
|
|
row['toBatchFormItemType'] = 'FormDate' |
|
|
|
row['disabled_toBatch'] = false |
|
|
|
if(row['fromBatch']==''){ |
|
|
|
row['fromBatchFormItemType'] = 'FormDate' |
|
|
|
row['disabled_fromBatch'] = false |
|
|
|
} |
|
|
|
|
|
|
|
} else if (toManagementPrecision.value == 'BY_QUANTITY') { |
|
|
|
row['toBatchFormItemType'] = '' |
|
|
|
row['disabled_toBatch'] = true |
|
|
|
//row['fromBatchFormItemType'] = '' |
|
|
|
row['disabled_fromBatch'] = true |
|
|
|
} |
|
|
|
} else { |
|
|
|
row[formField] = val[0][searchField] |
|
|
|