|
@ -263,7 +263,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('确认要提交审批吗?') |
|
|
ProductionreturnRequestMainApi.submit(row.id).then(() => { |
|
|
ProductionreturnRequestMainApi.submit(row.id).then(() => { |
|
|
message.success(t('common.updateSuccess')) |
|
|
message.success(t('common.updateSuccess')) |
|
|
getList() |
|
|
getList() |
|
@ -271,7 +271,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('确认要驳回吗?') |
|
|
ProductionreturnRequestMainApi.refused(row.id).then(() => { |
|
|
ProductionreturnRequestMainApi.refused(row.id).then(() => { |
|
|
message.success(t('common.updateSuccess')) |
|
|
message.success(t('common.updateSuccess')) |
|
|
getList() |
|
|
getList() |
|
|