|
|
@@ -862,7 +862,8 @@ const handleInvoiceSubmit = () => {
|
|
|
query: {
|
|
|
id: invoiceRadio.value,
|
|
|
selectedList: JSON.stringify(selectedList.value),
|
|
|
- invoiceType: activeName.value == '1' ? '1' : activeName.value == '2' ? '3' : ''
|
|
|
+ invoiceType: activeName.value == '1' ? '1' : activeName.value == '2' ? '3' : '',
|
|
|
+ activeindex: activeName.value
|
|
|
}
|
|
|
})
|
|
|
}
|
|
|
@@ -1196,9 +1197,13 @@ onMounted(() => {
|
|
|
dictDetails();
|
|
|
initCompany();
|
|
|
initDept();
|
|
|
- getCommissionReceivableList();
|
|
|
- getreceivedAmountTotal()
|
|
|
getagreementList()
|
|
|
+ if (activeName.value == '1') {
|
|
|
+ getCommissionReceivableList()
|
|
|
+ getreceivedAmountTotal()
|
|
|
+ } else if (activeName.value == '2') {
|
|
|
+ getJyReceivableList()
|
|
|
+ }
|
|
|
})
|
|
|
</script>
|
|
|
|