|
|
@@ -166,7 +166,7 @@
|
|
|
</el-col>
|
|
|
<el-col :xs="24" :sm="24" :md="12" :lg="8" :xl="8">
|
|
|
<el-form-item label="发证日期:" prop="issueDate">
|
|
|
- <el-date-picker v-dateFormat v-model="carInfo.issueDate" :picker-options="pickerOptions" type="date"
|
|
|
+ <el-date-picker v-dateFormat v-model="carInfo.issueDate" :picker-options="issueDateOptions" type="date"
|
|
|
placeholder="选择发证日期" value-format="yyyy-MM-dd" class="widths" placement="bottom-start"
|
|
|
style="width: 230px;"></el-date-picker>
|
|
|
</el-form-item>
|
|
|
@@ -470,7 +470,7 @@
|
|
|
<div style="width:200px;">
|
|
|
<span style="text-align:center;">{{ insureitem.kindName }}</span>
|
|
|
</div>
|
|
|
- <el-select v-model="insureitem.amount" placeholder="请选择" class="widths1" size="small">
|
|
|
+ <el-select filterable v-model="insureitem.amount" placeholder="请选择" class="widths1" size="small">
|
|
|
<el-option :label="item.label" :value="item.value" v-for="(item, index) in insureitem.amtList"
|
|
|
:key="index"></el-option>
|
|
|
</el-select>
|
|
|
@@ -575,17 +575,19 @@
|
|
|
@click="open2(reslistitem.msg)" style="color:#646464"></i>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div v-if="reslistitem.checked" class="dis a-c Driving-risk" style="margin-top: 10px;">
|
|
|
+
|
|
|
+ <div v-if="reslistitem.checked" class="dis a-c Driving-risk" style="margin-top: 10px;">
|
|
|
<h4>报价协议选择:</h4>
|
|
|
<el-select size="small" v-model="reslistitem.agreementId" placeholder="请选择协议" :clearable="true"
|
|
|
@change="val => agreementChange(val, reslistitem.agreement, reslistindex, reslistitem)">
|
|
|
<div v-for="(agreementitem, agreementindex ) in reslistitem.agreement" :key="agreementindex">
|
|
|
- <div
|
|
|
- v-if="agreementitem.licenseNo.length > 0 ? agreementitem.licenseNo.includes(carInfo.licenseNo.slice(0, 2)) : 'true'">
|
|
|
+ <div v-if="agreementitem.licenseNo.length > 0 ? agreementitem.licenseNo.includes(carInfo.licenseNo.slice(0, 2)) : 'true'"
|
|
|
+ >
|
|
|
<el-option :label="agreementitem.agreementName" :value="agreementitem.id"></el-option>
|
|
|
</div>
|
|
|
</div>
|
|
|
</el-select>
|
|
|
+
|
|
|
</div>
|
|
|
<template></template>
|
|
|
<template v-if="reslistitem.namesimple == '永诚财险' && reslistitem.checked && reslistitem.agreementId">
|
|
|
@@ -2124,7 +2126,43 @@ export default {
|
|
|
{
|
|
|
label: "10万",
|
|
|
value: "100000"
|
|
|
- }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "20万",
|
|
|
+ value: "200000"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "30万",
|
|
|
+ value: "300000"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "40万",
|
|
|
+ value: "400000"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "50万",
|
|
|
+ value: "500000"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "60万",
|
|
|
+ value: "600000"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "70万",
|
|
|
+ value: "700000"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "80万",
|
|
|
+ value: "800000"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "90万",
|
|
|
+ value: "900000"
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: "100万",
|
|
|
+ value: "1000000"
|
|
|
+ },
|
|
|
],
|
|
|
kindCode: "SY_FJ_YBW1",
|
|
|
isMainRisk: true,
|
|
|
@@ -2449,7 +2487,20 @@ export default {
|
|
|
destroyed() {
|
|
|
window.removeEventListener('scroll', this.onScroll)
|
|
|
},
|
|
|
+ computed:{
|
|
|
+ issueDateOptions() {
|
|
|
+ return {
|
|
|
+ disabledDate: this.disabledDate,
|
|
|
+ }
|
|
|
+
|
|
|
+ },
|
|
|
+ },
|
|
|
methods: {
|
|
|
+ disabledDate(time) {
|
|
|
+ let datetime=this.carInfo.registerDate
|
|
|
+ return time.getTime() < new Date(datetime).getTime();
|
|
|
+ },
|
|
|
+
|
|
|
onScroll() {
|
|
|
// 变量scrollTop是滚动条滚动时,滚动条上端距离顶部的距离
|
|
|
var scrollTop = document.documentElement.scrollTop || document.body.scrollTop
|
|
|
@@ -2602,7 +2653,6 @@ export default {
|
|
|
},
|
|
|
//身份证有效期长期
|
|
|
insureLongterm(e) {
|
|
|
- console.log(e)
|
|
|
this[e].identifyValidEndDate = "9999-12-31";
|
|
|
},
|
|
|
//较强起保日期事件
|
|
|
@@ -2866,7 +2916,6 @@ export default {
|
|
|
this.imageIdList3 = this.tbczcarShow ? this.imageIdList2 : this.imageIdList3;//投保人同车主
|
|
|
this.imageIdList4 = this.bbczcarShow ? this.imageIdList2 : this.imageIdList4;//被保人同车主
|
|
|
this.imageIdList4 = this.bbtbcarShow ? this.imageIdList3 : this.imageIdList4; //被保人同投保人
|
|
|
- console.log(this.imageIdList1,this.imageIdList2,this.imageIdList3,this.imageIdList4)
|
|
|
//上传图片
|
|
|
Promise.all([
|
|
|
this.$api.letter.uploadImages({ imageIdList: this.imageIdList1, imageType: "C01", quoteNo: this.quoteno }),
|
|
|
@@ -2907,7 +2956,6 @@ export default {
|
|
|
kindList: this.kindList,
|
|
|
riskList: this.riskList,
|
|
|
};
|
|
|
- console.log(param)
|
|
|
this.$api.letter.generateOrder(param).then(res => {
|
|
|
if (res.code == "200") {
|
|
|
this.orderno = res.data.orderno;
|
|
|
@@ -3449,7 +3497,7 @@ export default {
|
|
|
let hengbangapi = "";
|
|
|
hengbangapi = apiType == 2 ? "pythonsubmitImage" : "anshengsubmitImage"
|
|
|
await this.$api.letter[hengbangapi]({
|
|
|
- orderNo: this.orderno
|
|
|
+ subOrderNo: companyId
|
|
|
})
|
|
|
.then(res => {
|
|
|
if (res.code == "200") {
|
|
|
@@ -3458,9 +3506,7 @@ export default {
|
|
|
hengbangapi1 = apiType == 2 ? "pythonaudit" : "anshengaudit"
|
|
|
_this.$api.letter
|
|
|
[hengbangapi1]({
|
|
|
- companyId: companyId,
|
|
|
- jqappoint: "",
|
|
|
- syappoint: ""
|
|
|
+ subOrderNo: companyId,
|
|
|
})
|
|
|
.then(res => {
|
|
|
if (res.code == "200") {
|
|
|
@@ -3783,35 +3829,35 @@ export default {
|
|
|
params.append("type", "image");
|
|
|
this.$api.letter.uploadFile(params).then(res => {
|
|
|
if (res.code == "200") {
|
|
|
- imageIdList.push(res.data.id);
|
|
|
+ this[imageIdList].push(res.data.id);
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
drivingupload1(file) {
|
|
|
- this.drivingupload(file, this.imageIdList1);
|
|
|
+ this.drivingupload(file, "imageIdList1");
|
|
|
},
|
|
|
drivingupload2(file) {
|
|
|
- this.drivingupload(file, this.imageIdList2);
|
|
|
+ this.drivingupload(file, "imageIdList2");
|
|
|
},
|
|
|
drivingupload3(file) {
|
|
|
- this.drivingupload(file, this.imageIdList3);
|
|
|
+ this.drivingupload(file,"imageIdList3");
|
|
|
},
|
|
|
drivingupload4(file) {
|
|
|
- this.drivingupload(file, this.imageIdList4);
|
|
|
+ this.drivingupload(file,"imageIdList4");
|
|
|
},
|
|
|
drivingupload5(file) {
|
|
|
- this.drivingupload(file, this.imageIdList5);
|
|
|
+ this.drivingupload(file,"imageIdList5");
|
|
|
},
|
|
|
handleRemove1(file, imageIdList, imgList) {
|
|
|
- imageIdList.map((ele, index) => {
|
|
|
+ this[imageIdList].map((ele, index) => {
|
|
|
if (file.imageId === ele) {
|
|
|
- imageIdList.splice(index, 1);
|
|
|
+ this[imageIdList].splice(index, 1);
|
|
|
}
|
|
|
return ele;
|
|
|
});
|
|
|
- imgList.map((ele, index) => {
|
|
|
+ this[imgList].map((ele, index) => {
|
|
|
if (file.imageId === ele.imageId) {
|
|
|
- imgList.splice(index, 1);
|
|
|
+ this[imgList].splice(index, 1);
|
|
|
}
|
|
|
return ele;
|
|
|
});
|
|
|
@@ -4188,6 +4234,7 @@ export default {
|
|
|
this.sychecked = false;
|
|
|
this.yonganchecked = false;
|
|
|
this.zhongmeichecked = false;
|
|
|
+ this.transferDateShow=false;
|
|
|
this.imgList1 = [];
|
|
|
this.imgList2 = [];
|
|
|
this.imgList3 = [];
|