Explorar el Código

修改应收应付

haizhouwang hace 2 años
padre
commit
3bda9bcada

+ 3 - 2
config/dev.env.js

@@ -5,12 +5,13 @@ const prodEnv = require('./prod.env')
 module.exports = merge(prodEnv, {
   NODE_ENV: '"development"',
   ENV_CONFIG:'"dev"',
-  BASE_URL: '"https://test.baoxianzhanggui.com/web-api"',//测试服务器
+  // BASE_URL: '"https://test.baoxianzhanggui.com/web-api"',//测试服务器
   // BASE_URL:'"https://sxzgkj.baoxianzhanggui.com/web-api"'//正式服务器
   // BASE_URL: '"http://192.168.0.115:8080/"' //凯森
   // BASE_URL: '"http:///192.168.0.253:8082/"',//田智
   // BASE_URL: '"http:///192.168.0.253:8082/"',//田智
-  // BASE_URL: '"http:///192.168.0.36:8080/"',//靖燕龙
+  BASE_URL: '"http://192.168.0.36:8080/"',//靖燕龙
+  // BASE_URL: '"http://192.168.0.106:8080/"',//屈晨
 })
 
 

+ 27 - 0
src/views/FinancialManagement/ReconciliationSystem/ReceivablePayableCollection/ReceivablePayableCollection.vue

@@ -184,6 +184,22 @@
               </el-date-picker>
             </el-form-item>
           </el-col>
+          <el-col :span="6">
+            <el-form-item label="应收导入日期">
+              <el-date-picker
+                v-model="revenueTime"
+                type="daterange"
+                @change="revenueTimeChange"
+                start-placeholder="开始日期"  
+                end-placeholder="结束日期"
+                class="widths"
+                value-format="yyyy-MM-dd"
+                style="width: 220px"
+                clearable
+              >
+              </el-date-picker>
+            </el-form-item>
+          </el-col>
         </el-row>
       </el-form>
       <div class="flex j-end" style="margin-right: 100px">
@@ -231,6 +247,7 @@ export default {
     return {
       clearingTime: [],
       signDateTime: [],
+      revenueTime: [],//导入日期
       pageRequest: {
         //查询的默认条件
         pageNum: 1,
@@ -253,6 +270,7 @@ export default {
         jqPolicyId: "",
         syPolicyId: "",
         nonCarPolicyId: "",
+        revenueTime:"",//导入日期
       },
       // 右侧列表查询数据Start
       pageResult: [],
@@ -261,6 +279,7 @@ export default {
         { prop: "operationsTeam", label: "运营团队", minWidth: 100 },
         { prop: "channelClassification", label: "渠道分类", minWidth: 100 },
         { prop: "signDate", label: "签单日期", minWidth: 160 },
+        { prop: "revenueTime", label: "应收导入日期", minWidth: 160 },
         { prop: "channel", label: "渠道", minWidth: 100 },
         { prop: "licenseNo", label: "车牌号", minWidth: 100 },
         { prop: "insuredName", label: "被保险人", minWidth: 160 },
@@ -341,6 +360,14 @@ export default {
   },
   mounted() {},
   methods: {
+    //接口传值处理
+    revenueTimeChange(e) {
+      if (e == null) {
+        this.pageRequest.revenueTime = "";
+      } else {
+        this.pageRequest.revenueTime = e.toString();
+      }
+    },
     clearingTimeChange(e) {
       if (e == null) {
         this.pageRequest.agencySettlementTimeStartTime = "";

+ 19 - 0
src/views/FinancialManagement/ReconciliationSystem/ReceivablePayableCollection/Source.vue

@@ -77,6 +77,13 @@
               <el-input v-model="pageRequest.nonCarPolicyId" placeholder="请输入非车保单号" class="widths" clearable></el-input>
             </el-form-item>
           </el-col>
+          <el-col :span="6">
+            <el-form-item label="导入日期">
+              <el-date-picker v-model="revenueTime" type="daterange" @change="revenueTimeChange"
+                start-placeholder="开始日期" end-placeholder="结束日期" value-format="yyyy-MM-dd" clearable style="width: 250px">
+              </el-date-picker>
+            </el-form-item>
+          </el-col>
         </el-row>
       </el-form>
       <div class="flex j-end" style="margin-right: 100px">
@@ -302,6 +309,7 @@ export default {
       insuranceClearingState: "",
       clearingTime: [],
       signingTime: [],
+      revenueTime: [],//导入日期
       pageRequest: {
         //查询的默认条件
         pageNum: 1,
@@ -312,6 +320,7 @@ export default {
         insuredName: "", //被保险人
         clearingTime: "", //结算日期
         signingTime: "", //出单日期
+        revenueTime: "", //导入日期
         jqPolicyId: "", //交强保单号
         syPolicyId: "", //商业保单号
         nonCarPolicyId: "", //非车保单号
@@ -396,6 +405,8 @@ export default {
         { prop: "licenseno", label: "车牌号", minWidth: 120 },
         { prop: "signingTime", label: "出单日期", minWidth: 160 },
         { prop: "clearingTime", label: "结算日期", minWidth: 160 },
+        { prop: "revenueTime", label: "导入日期", minWidth: 160 },
+        { prop: "revenueName", label: "导入人", minWidth: 160 },
         { prop: "taxamount", label: "车船税", minWidth: 140 },
         { prop: "jqReceivableRatio", label: "交强应收比例", minWidth: 140 },
         { prop: "jqPremiumRatio", label: "交强手续费比例", minWidth: 140 },
@@ -495,6 +506,14 @@ export default {
       this.createOrUpdateForm.insuranceName = selectedLabel;
     },
     //接口传值处理
+    revenueTimeChange(e) {
+      if (e == null) {
+        this.pageRequest.revenueTime = "";
+      } else {
+        this.pageRequest.revenueTime = e.toString();
+      }
+    },
+    //接口传值处理
     clearingTimeChange(e) {
       if (e == null) {
         this.pageRequest.clearingTime = "";