|
|
@@ -125,6 +125,7 @@
|
|
|
<el-col :xs="xscell" :sm="smcell" :md="mdcell" :lg="lgcell" :xl="xlcell">
|
|
|
<el-form-item label="年款:" prop="caryear">
|
|
|
<el-input onkeyup="value=value.replace(/\D/g,'')" v-model="carInfo.caryear" placeholder="请输入年款">
|
|
|
+
|
|
|
</el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
@@ -2732,8 +2733,15 @@ export default {
|
|
|
this.continuousCompanyList = res.data;
|
|
|
});
|
|
|
this.commpanyList(); //获取保险公司
|
|
|
- localStorage.setItem('carInfo', JSON.stringify(this.carInfo))
|
|
|
- localStorage.setItem('insureList', JSON.stringify(this.insureList))
|
|
|
+ this.defaultcarInfo = JSON.parse(JSON.stringify(this.carInfo));
|
|
|
+ this.defaultownerInfo = JSON.parse(JSON.stringify(this.ownerInfo));
|
|
|
+ this.defaultpolicyHolderInfo = JSON.parse(
|
|
|
+ JSON.stringify(this.policyHolderInfo)
|
|
|
+ );
|
|
|
+ this.defaultinsuredPersonInfo = JSON.parse(
|
|
|
+ JSON.stringify(this.insuredPersonInfo)
|
|
|
+ );
|
|
|
+ this.defaultinsureList = JSON.parse(JSON.stringify(this.insureList));
|
|
|
//--归属信息获取--
|
|
|
var userId = Cookies.get("user");
|
|
|
if (userId == "admin") {
|
|
|
@@ -2754,7 +2762,6 @@ export default {
|
|
|
this.paramsEdit = this.$route.query.data; //接收参数
|
|
|
if (this.paramsEdit) {
|
|
|
var _this = this;
|
|
|
- this.jqchecked = false;
|
|
|
this.tbczcarShow = false;
|
|
|
this.bbtbcarShow = false;
|
|
|
this.bbczcarShow = false;
|
|
|
@@ -5152,47 +5159,34 @@ export default {
|
|
|
quoteNo: this.quoteno
|
|
|
}
|
|
|
this.$api.letter.uploadImages(imageparam).then(responses => {
|
|
|
- if (responses.code == '200') {
|
|
|
+ if(responses.code=='200'){
|
|
|
this.imageEcho(this.quoteno);
|
|
|
this.$message({ message: responses.msg, type: "success" });
|
|
|
- } else {
|
|
|
+ }else{
|
|
|
this.$message({ message: responses.msg, type: "error" });
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
add() {
|
|
|
- for (let key in this.ownerInfo) {
|
|
|
- this.ownerInfo[key] = "";
|
|
|
- }
|
|
|
- for (let key in this.policyHolderInfo) {
|
|
|
- this.policyHolderInfo[key] = "";
|
|
|
- }
|
|
|
- for (let key in this.insuredPersonInfo) {
|
|
|
- this.insuredPersonInfo[key] = "";
|
|
|
- }
|
|
|
- this.carInfo = JSON.parse(localStorage.getItem('carInfo'));
|
|
|
- this.insureList = JSON.parse(localStorage.getItem('insureList'));
|
|
|
+ this.carInfo = { ...this.defaultcarInfo };
|
|
|
+ this.ownerInfo = { ...this.defaultownerInfo };
|
|
|
+ this.policyHolderInfo = { ...this.defaultpolicyHolderInfo };
|
|
|
+ this.insuredPersonInfo = { ...this.defaultinsuredPersonInfo };
|
|
|
+ this.insureList = [...this.defaultinsureList];
|
|
|
this.sychecked = false;
|
|
|
this.yonganchecked = false;
|
|
|
this.zhongmeichecked = false;
|
|
|
this.transferDateShow = false;
|
|
|
- this.tbczcarShow=true, //投保人同车主
|
|
|
- this.bbczcarShow= false, //被保人同车主
|
|
|
- this.bbtbcarShow= true, //被保人同投保人
|
|
|
this.imgList1 = [];
|
|
|
this.imgList2 = [];
|
|
|
this.imgList3 = [];
|
|
|
this.imgList4 = [];
|
|
|
this.imgList5 = [];
|
|
|
- this.imgList6 = [];
|
|
|
- this.imgList7 = [];
|
|
|
- this.imgList8 = [];
|
|
|
this.selectedOptions1 = [];
|
|
|
this.selectedOptions2 = [];
|
|
|
this.selectedOptions3 = [];
|
|
|
this.orderno = "";
|
|
|
this.quoteno = "";
|
|
|
- this.HistoryList=[];
|
|
|
this.jqstartDate = this.transformTime1();
|
|
|
this.jqendDate = this.oneYearPast1(this.jqstartDate);
|
|
|
this.systartDate = this.transformTime1();
|
|
|
@@ -6055,5 +6049,4 @@ export default {
|
|
|
.styleB .el-upload--picture-card {
|
|
|
display: none;
|
|
|
}
|
|
|
-}
|
|
|
-</style>
|
|
|
+}</style>
|