|
@@ -118,6 +118,7 @@ const handleClose = () => {
|
|
const handleSubmit = async () => {
|
|
const handleSubmit = async () => {
|
|
if (!radio.value) return Snackbar.warning('请选择要进行开票的抬头信息')
|
|
if (!radio.value) return Snackbar.warning('请选择要进行开票的抬头信息')
|
|
const obj = invoiceTitleList.value.find(e => e.id === radio.value)
|
|
const obj = invoiceTitleList.value.find(e => e.id === radio.value)
|
|
|
|
+ delete obj.id
|
|
await createInvoice({ ...obj, payOrderId: order.value.payOrderId })
|
|
await createInvoice({ ...obj, payOrderId: order.value.payOrderId })
|
|
Snackbar.success('申请成功,开票中...')
|
|
Snackbar.success('申请成功,开票中...')
|
|
handleClose()
|
|
handleClose()
|