@dongkboy 1 개월 전
부모
커밋
d3073cca8b
1개의 변경된 파일8개의 추가작업 그리고 3개의 파일을 삭제
  1. 8 3
      src/views/receivable/handingFee/index.vue

+ 8 - 3
src/views/receivable/handingFee/index.vue

@@ -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>