|
|
@ -263,13 +263,13 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => |
|
|
|
}).then((res) => { |
|
|
|
fromManagementPrecision.value = res[0].ManagementPrecision |
|
|
|
}) |
|
|
|
if (fromManagementPrecision.value == 'BY_QUANTITY') { |
|
|
|
newRow['batchFormItemType'] = 'FormDate' |
|
|
|
newRow['disabled_batch'] = false |
|
|
|
} else { |
|
|
|
newRow['batchFormItemType'] = '' |
|
|
|
newRow['disabled_batch'] = true |
|
|
|
} |
|
|
|
// if (fromManagementPrecision.value == 'BY_QUANTITY') { |
|
|
|
// newRow['batchFormItemType'] = 'FormDate' |
|
|
|
// newRow['disabled_batch'] = false |
|
|
|
// } else { |
|
|
|
// newRow['batchFormItemType'] = '' |
|
|
|
// newRow['disabled_batch'] = true |
|
|
|
// } |
|
|
|
|
|
|
|
if(tableData.value.find(item1=>item1['itemCode'] == item['itemCode'])){ |
|
|
|
messageItemCodes.push(item['itemCode']) |
|
|
|