| | |
| | | return; |
| | | } |
| | | form.value.registrant = userStore.nickName; |
| | | // 从字典中获取"电汇"对应的value |
| | | const dianhuiItem = receipt_payment_type.value?.find(item => item.label === "电汇"); |
| | | const defaultPaymentType = dianhuiItem?.value || ""; |
| | | form.value.paymentList = selectedRows.value.map(row => ({ |
| | | invoiceLedgerId: row.id, |
| | | salesContractNo: row.salesContractNo, |
| | |
| | | noReceiptAmount: row.noReceiptAmount, |
| | | taxRate: row.taxRate, |
| | | receiptPaymentAmount: row.noReceiptAmount, |
| | | receiptPaymentType: "电汇", |
| | | receiptPaymentType: defaultPaymentType, |
| | | receiptPaymentDate: new Date().toISOString().split('T')[0], |
| | | })); |
| | | dialogFormVisible.value = true; |