Bladeren bron

fix:财务管理-跟单开票未结算详情增加分页参数

刘恒 2 jaren geleden
bovenliggende
commit
71434a1f1b

+ 15 - 1
src/views/FinancialManagement/CarInsurance/CompanySettlement/CarInsurance/DocumentaryUnsettled.vue

@@ -52,6 +52,7 @@
         :tableConfig="tableConfigDetailNew"
         :tableConfig="tableConfigDetailNew"
         :data="formTableDataNew"
         :data="formTableDataNew"
         @findPage="findPageNewDetail"
         @findPage="findPageNewDetail"
+        :pagination="detailPageData"
       >
       >
       </templateTable>
       </templateTable>
       <span slot="footer" class="dialog-footer">
       <span slot="footer" class="dialog-footer">
@@ -260,6 +261,7 @@ export default {
         isNotCar: "0",
         isNotCar: "0",
         isNotDocumentary: "1",
         isNotDocumentary: "1",
       },
       },
+
       dialogVisible: false,
       dialogVisible: false,
       formTableData: [],
       formTableData: [],
       tableConfigDetail: {
       tableConfigDetail: {
@@ -407,6 +409,7 @@ export default {
         isShowIndex: true,
         isShowIndex: true,
         operationWidth: "130",
         operationWidth: "130",
         tableHeight: "auto",
         tableHeight: "auto",
+        isPaginationShow: true,
         optBtns: [
         optBtns: [
           {
           {
             type: "primary",
             type: "primary",
@@ -446,6 +449,14 @@ export default {
       findPageDetailListNew: {},
       findPageDetailListNew: {},
       // 记录
       // 记录
       dialogVisiblerecord: false,
       dialogVisiblerecord: false,
+      detailPageData: {
+        pageNum: 1,
+        pageSize: 20,
+        agreementType: 2,
+        isNotCar: "0",
+        isNotDocumentary: "1",
+        totalSize: 0,
+      },
       tableConfigDetailrecord: {
       tableConfigDetailrecord: {
         columns: [
         columns: [
           {
           {
@@ -563,11 +574,14 @@ export default {
           completionStatus: data.settlementStatus || "0",
           completionStatus: data.settlementStatus || "0",
           partnerCompaniesId: data.partnerCompaniesId,
           partnerCompaniesId: data.partnerCompaniesId,
           isNotCar: "0",
           isNotCar: "0",
+          pageNum: this.detailPageData.pageNum,
+          pageSize: this.detailPageData.pageSize,
         })
         })
         .then((res) => {
         .then((res) => {
           if (res.code == 200) {
           if (res.code == 200) {
-            this.formTableDataNew = res.data.content;
+            this.formTableDataNew = res.data.records;
             this.tableConfigDetailNew.loading = false;
             this.tableConfigDetailNew.loading = false;
+            this.detailPageData.totalSize = res.data.total;
           } else {
           } else {
             this.tableConfigDetailNew.loading = false;
             this.tableConfigDetailNew.loading = false;
             this.$message.error(res.msg);
             this.$message.error(res.msg);

File diff suppressed because it is too large
+ 393 - 301
src/views/FinancialManagement/CarInsurance/CompanySettlement/NoCarInsurance/DocumentaryUnsettled.vue


Some files were not shown because too many files changed in this diff