|
@ -232,7 +232,7 @@ const buttonTableClick = async (val, row) => { |
|
|
console.log(err) |
|
|
console.log(err) |
|
|
}) |
|
|
}) |
|
|
} else if (val == 'mainSubmit') { // 提交审批 |
|
|
} else if (val == 'mainSubmit') { // 提交审批 |
|
|
await message.confirm('确认要重新添加吗?') |
|
|
await message.confirm('确认要提交审批吗?') |
|
|
tableObject.loading = true |
|
|
tableObject.loading = true |
|
|
ProductputawayRequestMainApi.submit(row.id).then(() => { |
|
|
ProductputawayRequestMainApi.submit(row.id).then(() => { |
|
|
message.success(t('common.updateSuccess')) |
|
|
message.success(t('common.updateSuccess')) |
|
@ -243,7 +243,7 @@ const buttonTableClick = async (val, row) => { |
|
|
console.log(err) |
|
|
console.log(err) |
|
|
}) |
|
|
}) |
|
|
} else if (val == 'mainTurnDown') { // 驳回 |
|
|
} else if (val == 'mainTurnDown') { // 驳回 |
|
|
await message.confirm('确认要重新添加吗?') |
|
|
await message.confirm('确认要驳回吗?') |
|
|
tableObject.loading = true |
|
|
tableObject.loading = true |
|
|
ProductputawayRequestMainApi.refused(row.id).then(() => { |
|
|
ProductputawayRequestMainApi.refused(row.id).then(() => { |
|
|
message.success(t('common.updateSuccess')) |
|
|
message.success(t('common.updateSuccess')) |
|
|