|
|
@ -624,19 +624,19 @@ const buttonTableClick = async (val, row) => { |
|
|
|
return |
|
|
|
} |
|
|
|
}) |
|
|
|
ruleApi.getManagementPrecision({ |
|
|
|
ruleApi.getManagementPrecision({ |
|
|
|
itemCodes: [item['itemCode']], |
|
|
|
locationCode: item.toLocationCode |
|
|
|
}).then((res) => { |
|
|
|
toManagementPrecision.value = res[0].ManagementPrecision |
|
|
|
if ( toManagementPrecision.value == 'BY_BATCH') { |
|
|
|
}) |
|
|
|
if ( toManagementPrecision.value == 'BY_BATCH') { |
|
|
|
// row['fromBatchFormItemType'] = 'FormDate' |
|
|
|
item['disabled_batch'] = true |
|
|
|
} else if(toManagementPrecision.value == 'BY_QUANTITY') { |
|
|
|
row['disabled_batch'] = false |
|
|
|
} else { |
|
|
|
// row['fromBatchFormItemType'] = '' |
|
|
|
item['disabled_batch'] = false |
|
|
|
row['disabled_batch'] = true |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
} else if (val == 'mainHandle') { |
|
|
|
// 处理 |
|
|
|