|
|
@ -1075,13 +1075,20 @@ const handleFinanceApp = async (row) => { |
|
|
|
const submitFormFinance = async (formType, submitData) => { |
|
|
|
let data = { ...submitData } |
|
|
|
console.log('submitFormFinance', data) |
|
|
|
await SupplierinvoiceRequestMainApi.financeappSupplierinvoiceRequestMain({ |
|
|
|
id: data.id, |
|
|
|
postingDate: data.postingDate, |
|
|
|
voucherNumberRemark: data.voucherNumberRemark |
|
|
|
}) |
|
|
|
formFinanceRef.value.dialogVisible = false |
|
|
|
getList() |
|
|
|
formFinanceRef.value.formLoading = true |
|
|
|
try { |
|
|
|
await SupplierinvoiceRequestMainApi.financeappSupplierinvoiceRequestMain({ |
|
|
|
id: data.id, |
|
|
|
postingDate: data.postingDate, |
|
|
|
voucherNumberRemark: data.voucherNumberRemark |
|
|
|
}) |
|
|
|
formFinanceRef.value.dialogVisible = false |
|
|
|
formFinanceRef.value.formLoading = false |
|
|
|
getList() |
|
|
|
} catch { |
|
|
|
formFinanceRef.value.formLoading = false |
|
|
|
} |
|
|
|
|
|
|
|
// try { |
|
|
|
// // 审批通过的二次确认 |
|
|
|
// await message.confirm(t('ts.是否审批通过所选中数据?')) |
|
|
|