|
|
@@ -21,7 +21,13 @@
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
-
|
|
|
+ <el-col :span="6" style="height: 40px;">
|
|
|
+ <el-form-item label="账单属期">
|
|
|
+ <el-date-picker v-model="queryForm.settleMonth" type="date"
|
|
|
+ placeholder="选择日期" value-format="yyyy-MM-dd">
|
|
|
+ </el-date-picker>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
<el-col :span="12" style="height: 40px;">
|
|
|
<el-form-item label="结算单生成时间">
|
|
|
<el-date-picker v-model="quoteDate" style="width:100%" @change="changeQuoteDate" type="daterange" align="left" value-format="yyyy-MM-dd"
|
|
|
@@ -101,13 +107,14 @@
|
|
|
quoteDate:"",//结算单日期
|
|
|
//查询的表单
|
|
|
queryForm: {
|
|
|
- companyId:"",
|
|
|
+ companyId:"",//保险公司
|
|
|
quoteStartDate: "",
|
|
|
quoteEndDate: "",
|
|
|
- status:"",
|
|
|
+ status:"",//账单状态
|
|
|
pageNum: 1,
|
|
|
pageSize: 10,
|
|
|
- isReturnBack:"0"//是否返回上层
|
|
|
+ isReturnBack:"0",//是否返回上层
|
|
|
+ settleMonth:""//账单属期
|
|
|
},
|
|
|
dataList: [],//查询结果数据
|
|
|
//返回上层查询对象
|
|
|
@@ -143,11 +150,15 @@
|
|
|
this.queryForm.pageSize = 10;
|
|
|
this.queryForm.isReturnBack="0";
|
|
|
this.queryForm.companyId=obj.companyId;
|
|
|
+ this.queryForm.settleMonth=obj.settleMonth;
|
|
|
+ this.queryForm.isDrilling="1";
|
|
|
this.findPage();
|
|
|
},
|
|
|
//返回上层
|
|
|
returnUpper(){
|
|
|
this.queryForm.isReturnBack="1";
|
|
|
+ this.queryForm.isDrilling="0";
|
|
|
+ this.queryForm.settleMonth="";
|
|
|
this.queryForm.companyId= this.returnForm.companyId;
|
|
|
this.findPage();
|
|
|
},
|
|
|
@@ -179,6 +190,7 @@
|
|
|
this.queryForm.pageNum = 1;
|
|
|
this.queryForm.pageSize = 10;
|
|
|
this.queryForm.isReturnBack="0";
|
|
|
+ this.queryForm.isDrilling="0";
|
|
|
this.findPage();
|
|
|
},
|
|
|
//数据
|
|
|
@@ -195,7 +207,6 @@
|
|
|
this.totalSum = res.data.totalSize;
|
|
|
} else {
|
|
|
this.$message.error(res.msg)
|
|
|
- this.dataList=[];
|
|
|
this.loading = false;
|
|
|
}
|
|
|
})
|
|
|
@@ -239,7 +250,15 @@
|
|
|
queryListForm.quoteStartDate=this.queryForm.quoteStartDate;
|
|
|
queryListForm.quoteEndDate=this.queryForm.quoteEndDate;
|
|
|
queryListForm.companyId=this.queryForm.companyId;
|
|
|
- queryListForm.status=obj.status;
|
|
|
+ let tempStatus="";
|
|
|
+ if(obj.status=='未核销'){
|
|
|
+ tempStatus="0";
|
|
|
+ }else if(obj.status=='部分核销'){
|
|
|
+ tempStatus="1";
|
|
|
+ }else if(obj.status=='已核销'){
|
|
|
+ tempStatus="2";
|
|
|
+ }
|
|
|
+ queryListForm.status=tempStatus;
|
|
|
this.$api.report.exportInsPlySettleListData(queryListForm).then(res=>{
|
|
|
let url = process.env.BASE_URL+'/upload/'+res.data // 3.创建一个临时的url指向blob对象
|
|
|
// 4.创建url之后可以模拟对此文件对象的一系列操作,例如:预览、下载
|