|
|
@@ -49,7 +49,6 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
|
|
|
-
|
|
|
<el-col :span="6">
|
|
|
<el-form-item label="险种">
|
|
|
<el-input
|
|
|
@@ -91,7 +90,6 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
|
|
|
-
|
|
|
<el-col :span="6">
|
|
|
<el-form-item label="运营团队">
|
|
|
<el-input
|
|
|
@@ -114,7 +112,11 @@
|
|
|
</el-col>
|
|
|
<el-col :span="6">
|
|
|
<el-form-item label="渠道结算状态">
|
|
|
- <el-select v-model="pageRequest.clearingState" placeholder="请选择状态" class="widths">
|
|
|
+ <el-select
|
|
|
+ v-model="pageRequest.clearingState"
|
|
|
+ placeholder="请选择状态"
|
|
|
+ class="widths"
|
|
|
+ >
|
|
|
<el-option label="未结算" value="0"></el-option>
|
|
|
<el-option label="已结算" value="1"></el-option>
|
|
|
</el-select>
|
|
|
@@ -122,7 +124,11 @@
|
|
|
</el-col>
|
|
|
<el-col :span="6">
|
|
|
<el-form-item label="保司结算状态">
|
|
|
- <el-select v-model="pageRequest.insuranceClearingState" placeholder="请选择状态" class="widths">
|
|
|
+ <el-select
|
|
|
+ v-model="pageRequest.insuranceClearingState"
|
|
|
+ placeholder="请选择状态"
|
|
|
+ class="widths"
|
|
|
+ >
|
|
|
<el-option label="未结算" value="0"></el-option>
|
|
|
<el-option label="已结算" value="1"></el-option>
|
|
|
</el-select>
|
|
|
@@ -235,17 +241,17 @@ export default {
|
|
|
channel: "", //渠道
|
|
|
channelClassification: "", //渠道分类
|
|
|
clearingState: "", //结算状态
|
|
|
- insuranceClearingState:"",//保司结算状态
|
|
|
- insuranceDeptId:"",//
|
|
|
+ insuranceClearingState: "", //保司结算状态
|
|
|
+ insuranceDeptId: "", //
|
|
|
insuranceId: "", //保险公司
|
|
|
insuredName: "",
|
|
|
licenseNo: "",
|
|
|
operationsTeam: "",
|
|
|
- insuranceType:"",
|
|
|
- insuranceDept:"",
|
|
|
- jqPolicyId:"",
|
|
|
- syPolicyId:"",
|
|
|
- nonCarPolicyId:"",
|
|
|
+ insuranceType: "",
|
|
|
+ insuranceDept: "",
|
|
|
+ jqPolicyId: "",
|
|
|
+ syPolicyId: "",
|
|
|
+ nonCarPolicyId: "",
|
|
|
},
|
|
|
// 右侧列表查询数据Start
|
|
|
pageResult: [],
|
|
|
@@ -285,7 +291,11 @@ export default {
|
|
|
label: "非车险应收比例",
|
|
|
minWidth: 160,
|
|
|
},
|
|
|
- { prop: "nonCarPremiumRatio", label: "非车险手续费比例", minWidth: 160 },
|
|
|
+ {
|
|
|
+ prop: "nonCarPremiumRatio",
|
|
|
+ label: "非车险手续费比例",
|
|
|
+ minWidth: 160,
|
|
|
+ },
|
|
|
{
|
|
|
prop: "nonCarNonCopyingRatio",
|
|
|
label: "非车险非跟单比例",
|
|
|
@@ -315,7 +325,11 @@ export default {
|
|
|
{ prop: "totalReceivableAmount", label: "总应收金额", minWidth: 160 },
|
|
|
{ prop: "settlementAmount", label: "结算金额", minWidth: 160 },
|
|
|
{ prop: "clearingState", label: "结算状态", minWidth: 160 },
|
|
|
- { prop: "insuranceClearingState", label: "保司结算状态", minWidth: 160 },
|
|
|
+ {
|
|
|
+ prop: "insuranceClearingState",
|
|
|
+ label: "保司结算状态",
|
|
|
+ minWidth: 160,
|
|
|
+ },
|
|
|
],
|
|
|
row: {},
|
|
|
companyList: [],
|
|
|
@@ -327,12 +341,22 @@ export default {
|
|
|
mounted() {},
|
|
|
methods: {
|
|
|
clearingTimeChange(e) {
|
|
|
- this.pageRequest.agencySettlementTimeStartTime = e[0];
|
|
|
- this.pageRequest.agencySettlementTimeEndTime = e[1];
|
|
|
+ if (e == null) {
|
|
|
+ this.pageRequest.agencySettlementTimeStartTime = "";
|
|
|
+ this.pageRequest.agencySettlementTimeEndTime = "";
|
|
|
+ } else {
|
|
|
+ this.pageRequest.agencySettlementTimeStartTime = e[0];
|
|
|
+ this.pageRequest.agencySettlementTimeEndTime = e[1];
|
|
|
+ }
|
|
|
},
|
|
|
signDateTimeChange(e) {
|
|
|
- this.pageRequest.signDateStartTime = e[0];
|
|
|
- this.pageRequest.signDateEndTime = e[1];
|
|
|
+ if (e == null) {
|
|
|
+ this.pageRequest.signDateStartTime = "";
|
|
|
+ this.pageRequest.signDateEndTime = "";
|
|
|
+ } else {
|
|
|
+ this.pageRequest.signDateStartTime = e[0];
|
|
|
+ this.pageRequest.signDateEndTime = e[1];
|
|
|
+ }
|
|
|
},
|
|
|
//保险公司查询
|
|
|
companyInt() {
|
|
|
@@ -394,16 +418,18 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
handlePrint() {
|
|
|
- this.$api.task.excelReceivableAndSettlementExport(this.pageRequest).then((res) => {
|
|
|
- let url = process.env.BASE_URL + res.msg;
|
|
|
- // 4.创建url之后可以模拟对此文件对象的一系列操作,例如:预览、下载
|
|
|
- let a = document.createElement("a");
|
|
|
- a.href = url;
|
|
|
- a.download = "应收应付表.xlsx";
|
|
|
- a.click();
|
|
|
- // 5.释放这个临时的对象url
|
|
|
- window.URL.revokeObjectURL(url);
|
|
|
- });
|
|
|
+ this.$api.task
|
|
|
+ .excelReceivableAndSettlementExport(this.pageRequest)
|
|
|
+ .then((res) => {
|
|
|
+ let url = process.env.BASE_URL + res.msg;
|
|
|
+ // 4.创建url之后可以模拟对此文件对象的一系列操作,例如:预览、下载
|
|
|
+ let a = document.createElement("a");
|
|
|
+ a.href = url;
|
|
|
+ a.download = "应收应付表.xlsx";
|
|
|
+ a.click();
|
|
|
+ // 5.释放这个临时的对象url
|
|
|
+ window.URL.revokeObjectURL(url);
|
|
|
+ });
|
|
|
},
|
|
|
//联级选择器触发事件
|
|
|
handleChange(val) {
|