Browse Source

国强的bug,供应商发票财务通过添加loading

hella_online_20240911
zhang_li 2 months ago
parent
commit
93de1c8c4d
  1. 7
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue

7
src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/index.vue

@ -1075,13 +1075,20 @@ const handleFinanceApp = async (row) => {
const submitFormFinance = async (formType, submitData) => { const submitFormFinance = async (formType, submitData) => {
let data = { ...submitData } let data = { ...submitData }
console.log('submitFormFinance', data) console.log('submitFormFinance', data)
formFinanceRef.value.formLoading = true
try {
await SupplierinvoiceRequestMainApi.financeappSupplierinvoiceRequestMain({ await SupplierinvoiceRequestMainApi.financeappSupplierinvoiceRequestMain({
id: data.id, id: data.id,
postingDate: data.postingDate, postingDate: data.postingDate,
voucherNumberRemark: data.voucherNumberRemark voucherNumberRemark: data.voucherNumberRemark
}) })
formFinanceRef.value.dialogVisible = false formFinanceRef.value.dialogVisible = false
formFinanceRef.value.formLoading = false
getList() getList()
} catch {
formFinanceRef.value.formLoading = false
}
// try { // try {
// // // //
// await message.confirm(t('ts.')) // await message.confirm(t('ts.'))

Loading…
Cancel
Save