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

手续费结算分页查询问题

@dongkboy 2 лет назад
Родитель
Сommit
b896776032

+ 2 - 2
src/components/TemplateTable/index.vue

@@ -292,11 +292,11 @@ export default {
     handleSizeChange(value) {
       this.pagination.pageSize = value;
       this.pagination.pageNum = 1;
-      this.$emit('getList',this.pagination);
+      this.$emit('getList',{...this.pagination,...this.searchDataClone});
     },
     handleCurrentChange(val) {
       this.pagination.pageNum = val;
-      this.$emit('getList',this.pagination);
+      this.$emit('getList',{...this.pagination,...this.searchDataClone});
     },
     // 搜索
     handleSearchList() {

+ 23 - 48
src/views/AgreementManage/CarInsurance/AgreementEntry.vue

@@ -410,11 +410,10 @@
             value-format="yyyy-MM-dd">
           </el-date-picker>
         </el-form-item>
-        <el-form-item>
-          <el-form-item label="费用描述">
-            <el-input v-model="productpageRequest.costsDescription" clearable placeholder="费用描述"></el-input>
-          </el-date-picker>
+        <el-form-item label="费用描述">
+          <el-input v-model="productpageRequest.costsDescription" clearable placeholder="费用描述"></el-input>
         </el-form-item>
+        <el-form-item>
           <el-button type="primary" @click="productExpenseSearch">查询</el-button>
         </el-form-item>
         <el-form-item>
@@ -847,6 +846,9 @@
               :value="item.dictValue"></el-option>
           </el-select>
         </el-form-item>
+        <el-form-item label="费用描述">
+          <el-input v-model="productcopyItemPageRequest.costsDescription" clearable placeholder="费用描述"></el-input>
+        </el-form-item>
         <el-form-item>
           <el-button type="primary" @click="productcopyItemQuery">查询</el-button>
         </el-form-item>
@@ -1237,11 +1239,6 @@ export default {
           label: "交强出口比例五级",
           minWidth: 160,
         },
-        {
-          prop: "jqExportInvestmentRadio",
-          label: "交强出口加投比例",
-          minWidth: 160,
-        },
         {
           prop: "syCarCostsProportion",
           label: "费用比例(商业)",
@@ -1282,11 +1279,6 @@ export default {
           label: "商业出口比例五级",
           minWidth: 160,
         },
-        {
-          prop: "syExportInvestmentRadio",
-          label: "商业出口加投比例",
-          minWidth: 160,
-        },
         {
           prop: "noCarCostsProportion",
           label: "费用比例(非车)",
@@ -1380,11 +1372,6 @@ export default {
           label: "交强出口比例五级",
           minWidth: 160,
         },
-        {
-          prop: "jqExportInvestmentRadio",
-          label: "交强出口加投比例",
-          minWidth: 160,
-        },
         {
           prop: "syCarCostsProportion",
           label: "费用比例(商业)",
@@ -1425,11 +1412,7 @@ export default {
           label: "商业出口比例五级",
           minWidth: 160,
         },
-        {
-          prop: "syExportInvestmentRadio",
-          label: "商业出口加投比例",
-          minWidth: 160,
-        },
+
         {
           prop: "noCarCostsProportion",
           label: "费用比例(非车)",
@@ -1519,11 +1502,7 @@ export default {
           label: "交强出口比例五级",
           minWidth: 160,
         },
-        {
-          prop: "jqExportInvestmentRadio",
-          label: "交强出口加投比例",
-          minWidth: 160,
-        },
+
         {
           prop: "syCarCostsProportion",
           label: "费用比例(商业)",
@@ -1564,11 +1543,6 @@ export default {
           label: "商业出口比例五级",
           minWidth: 160,
         },
-        {
-          prop: "syExportInvestmentRadio",
-          label: "商业出口加投比例",
-          minWidth: 160,
-        },
         {
           prop: "noCarCostsProportion",
           label: "费用比例(非车)",
@@ -1750,13 +1724,14 @@ export default {
         productCode: "",
         costStartDate: "",
         costsEndDate: "",
-        costsDescription:"",
+        costsDescription: "",
         pageNum: 1,
         pageSize: 20,
       },
       productcopyItemPageRequest: {
         productCode: "",
         agreementId: "",
+        costsDescription:"",
         pageNum: 1,
         pageSize: 20,
       },
@@ -2023,15 +1998,15 @@ export default {
     };
   },
   computed: {
-    productjqincludes(){
-      let a=['单交', '交三', '交商', '兜底配置'];
-      let b=this.productCostForm.productName;
+    productjqincludes() {
+      let a = ['单交', '交三', '交商', '兜底配置'];
+      let b = this.productCostForm.productName;
       let contains = b.every(item => a.includes(item));
       return contains
     },
-    productsyincludes(){
-      let a= ['单商', '单三', '交商', '交三', '兜底配置'];
-      let b=this.productCostForm.productName;
+    productsyincludes() {
+      let a = ['单商', '单三', '交商', '交三', '兜底配置'];
+      let b = this.productCostForm.productName;
       let contains = b.every(item => a.includes(item));
       return contains
     },
@@ -2218,7 +2193,7 @@ export default {
           message: "止期必传!",
           type: "error",
         });
-      }else{
+      } else {
         this.productCostFindPage();
 
       }
@@ -2574,8 +2549,8 @@ export default {
           })
           this.$nextTick(() => {
             this.dynamicFormArray = obj.costsAttrLinks;
-            obj.productId=[obj.productId]
-            obj.productName=[obj.productName]
+            obj.productId = [obj.productId]
+            obj.productName = [obj.productName]
             this.productCostForm = obj;
           });
           this.productCostAddDialogType = "edit";
@@ -3080,10 +3055,10 @@ export default {
           return '删除'
       }
     },
-    auditTypeFormation(row,column) {
-      let expenseAudit=row.isAudit;
-        let expense=this.expenseAuditlist.find(val=>val.value==expenseAudit).label;
-        return expense;
+    auditTypeFormation(row, column) {
+      let expenseAudit = row.isAudit;
+      let expense = this.expenseAuditlist.find(val => val.value == expenseAudit).label;
+      return expense;
     },
     agreementtypeFormatter(row, column) {
       //协议类型

+ 9 - 8
src/views/FinancialManagement/CarInsurance/CompanySettlement/CarInsurance/HandlingFees.vue

@@ -55,8 +55,8 @@
               <el-input v-model="formDataList.allFeeValue" class="inputType"></el-input>
             </el-form-item>
         </el-col>
-        
-      </el-row> 
+
+      </el-row>
     </el-form>
     <span slot="footer" class="dialog-footer">
     <el-button size="small" @click="dialogVisible = false">取消</el-button>
@@ -142,7 +142,7 @@ export default {
           prop: "companyName",
           type: "company",
         },
-       
+
         {
           label: "险种",
           prop: "riskcode",
@@ -153,7 +153,7 @@ export default {
           prop: "partnerCompaniesName",
           type: "input",
         },
-       
+
         {
           label: "交强保单号",
           prop: "policyno",
@@ -185,8 +185,8 @@ export default {
               value:'0'
             }
           ],
-          
-        }, 
+
+        },
         {
           label: "创建日期",
           prop: "createTime",
@@ -356,7 +356,7 @@ export default {
         agreementType: '2',
         isNotCar: '0',
         isOther:'0',
-        // handlingFeesStatus:'0',
+        handlingFeesStatus:'0',
         isNotDocumentary:'0'
       },
       formData:{},
@@ -425,6 +425,7 @@ export default {
         signDateStart=''
         signDateEnd=''
       }
+      console.log({...this.pageData,...data,signDateStart,signDateEnd})
       this.$api.task
           .bxTotalAmount({...this.pageData,...data,signDateStart,signDateEnd})
           .then(res => {
@@ -544,7 +545,7 @@ export default {
     },
     handleClose(){
       this.dialogVisible=false
-    },  
+    },
     onSubmit(){
       this.$api.task.plyFeeUpdate({...this.formDataList,id:this.formDataId})
           .then(res => {