Просмотр исходного кода

1.开票信息列表新增查询条件产品收款id(筛选同项目但不同产品的开票信息)

GouGengquan 1 год назад
Родитель
Сommit
3cc340246a

+ 2 - 2
src/api/modules/financeInvoice.js

@@ -21,8 +21,8 @@ export default {
    delete(params) {
      return request.delete(`financeInvoice/${params}`)
    },
-   getList(params){
-    return request.get(`financeInvoice/fund/${params}`)
+   getList(params1,params2){
+    return request.get(`financeInvoice/fund/${params1}/${params2}`)
    },
    cancellation(params){
     return request.get(`financeInvoice/cancellation/${params}`)

+ 1 - 1
src/views/assets/myOrderList.vue

@@ -1053,7 +1053,7 @@ export default {
             }
         },
         getFinanceInvoiceList() {
-            this.$api.financeInvoice.getList(this.invoice.orderFundId).then(res => {
+            this.$api.financeInvoice.getList(this.invoice.orderFundId,this.invoice.productionFundId).then(res => {
                 if (res.code === 200) {
                     this.invoiceData = res.data
                 }

+ 2 - 1
src/views/major/myOrder.vue

@@ -794,7 +794,7 @@ export default {
       this.fund.evaluateAmount = null
     },
     getFinanceInvoiceList() {
-      this.$api.financeInvoice.getList(this.invoice.orderFundId).then(res => {
+      this.$api.financeInvoice.getList(this.invoice.orderFundId,this.invoice.productionFundId).then(res => {
         if (res.code === 200) {
           this.invoiceData = res.data
         }
@@ -813,6 +813,7 @@ export default {
       this.makeInvoiceListDialog = true;
       if (orderFundId) {
         this.invoice.orderFundId = orderFundId;
+        this.invoice.productionFundId = productionFundId;
         this.getFinanceInvoiceList();
       }
     },