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