|
|
@ -281,8 +281,14 @@ const handleCreatePutawayRequest = async (number:string) => { |
|
|
|
const labelRecovery = async (row) => { |
|
|
|
try { |
|
|
|
await message.confirm(t('ts.确认撤销报工吗?')) |
|
|
|
let resType = await ProductreceiptRecordMainApi.handleRecoveryProductreceiptRecord(row) |
|
|
|
message.success(t('ts.确认撤销报工成功')) |
|
|
|
const params = ref({ |
|
|
|
number: '', |
|
|
|
inventoryStatus: '', |
|
|
|
}) |
|
|
|
params.number= row.number; |
|
|
|
params.inventoryStatus= row.inventoryStatus; |
|
|
|
let resType = await ProductreceiptRecordMainApi.handleRecoveryProductreceiptRecord(params) |
|
|
|
message.success(t('ts.撤销报工成功')) |
|
|
|
} catch { |
|
|
|
} finally { |
|
|
|
tableObject.loading = false |
|
|
|