|
@@ -101,10 +101,10 @@
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<el-col :xs="24" :sm="24" :md="12" :lg="8" :xl="8">
|
|
<el-col :xs="24" :sm="24" :md="12" :lg="8" :xl="8">
|
|
|
- <el-form-item label="品牌型号:" prop="brandName" class="dis align">
|
|
|
|
|
- <el-input v-model="carInfo.brandName" placeholder="请输入品牌型号" class="widths"></el-input>
|
|
|
|
|
|
|
+ <el-form-item label="品牌型号:" prop="modelcname" class="dis align">
|
|
|
|
|
+ <el-input v-model="carInfo.modelcname" placeholder="请输入品牌型号" class="widths"></el-input>
|
|
|
<el-button type="primary" size="mini " icon="el-icon-search"
|
|
<el-button type="primary" size="mini " icon="el-icon-search"
|
|
|
- @click="toChooseVehicleType(carInfo.brandName)"></el-button>
|
|
|
|
|
|
|
+ @click="toChooseVehicleType(carInfo.modelcname)"></el-button>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<el-col :xs="24" :sm="24" :md="12" :lg="8" :xl="8">
|
|
<el-col :xs="24" :sm="24" :md="12" :lg="8" :xl="8">
|
|
@@ -569,7 +569,7 @@
|
|
|
@click="qoutedetail(reslistitem.result.companyId)">查看详情</el-button>
|
|
@click="qoutedetail(reslistitem.result.companyId)">查看详情</el-button>
|
|
|
<el-button v-show="reslistitem.quoteCode == '200'" type="text" style="color:rgb(240, 12, 10)"
|
|
<el-button v-show="reslistitem.quoteCode == '200'" type="text" style="color:rgb(240, 12, 10)"
|
|
|
@click="bjdpreview(reslistitem.result.companyId)">报价单</el-button>
|
|
@click="bjdpreview(reslistitem.result.companyId)">报价单</el-button>
|
|
|
- <el-button v-show="orderstatus == '2'" type="text" style="color:rgb(240, 12, 10)"
|
|
|
|
|
|
|
+ <el-button v-show="reslistitem.orderstatus == '2'" type="text" style="color:rgb(240, 12, 10)"
|
|
|
@click="Payment(reslistitem.result.companyId)">付款码</el-button>
|
|
@click="Payment(reslistitem.result.companyId)">付款码</el-button>
|
|
|
<i v-show="(reslistitem.quoteCode == '200') && (reslistitem.name == '中煤财险')" class="el-icon-info"
|
|
<i v-show="(reslistitem.quoteCode == '200') && (reslistitem.name == '中煤财险')" class="el-icon-info"
|
|
|
@click="open2(reslistitem.msg)" style="color:#646464"></i>
|
|
@click="open2(reslistitem.msg)" style="color:#646464"></i>
|
|
@@ -1164,7 +1164,7 @@
|
|
|
<el-input v-model="carform.frameNo" autocomplete="off" class="widths"></el-input>
|
|
<el-input v-model="carform.frameNo" autocomplete="off" class="widths"></el-input>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<el-form-item label="品牌型号">
|
|
<el-form-item label="品牌型号">
|
|
|
- <el-input v-model="carform.brandName" autocomplete="off" class="widths"></el-input>
|
|
|
|
|
|
|
+ <el-input v-model="carform.modelcname" autocomplete="off" class="widths"></el-input>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<el-form-item label="发动机号">
|
|
<el-form-item label="发动机号">
|
|
|
<el-input v-model="carform.engineNo" autocomplete="off" class="widths"></el-input>
|
|
<el-input v-model="carform.engineNo" autocomplete="off" class="widths"></el-input>
|
|
@@ -1610,7 +1610,7 @@ export default {
|
|
|
},
|
|
},
|
|
|
carform: {
|
|
carform: {
|
|
|
licenseNo: "", //车牌号
|
|
licenseNo: "", //车牌号
|
|
|
- brandName: "", //车辆品牌型号
|
|
|
|
|
|
|
+ modelcname: "", //车辆品牌型号
|
|
|
frameNo: "", //车架号
|
|
frameNo: "", //车架号
|
|
|
engineNo: "", //发动机号
|
|
engineNo: "", //发动机号
|
|
|
registerDate: "", //注册日期
|
|
registerDate: "", //注册日期
|
|
@@ -2556,6 +2556,7 @@ export default {
|
|
|
ele["msg"] = "";
|
|
ele["msg"] = "";
|
|
|
ele["agreementId"] = "";
|
|
ele["agreementId"] = "";
|
|
|
ele["apiType"] = "";
|
|
ele["apiType"] = "";
|
|
|
|
|
+ ele["orderstatus"]=0;
|
|
|
});
|
|
});
|
|
|
this.totalCompanyList = res.data;
|
|
this.totalCompanyList = res.data;
|
|
|
});
|
|
});
|
|
@@ -2721,7 +2722,6 @@ export default {
|
|
|
},
|
|
},
|
|
|
//报价
|
|
//报价
|
|
|
quote() {
|
|
quote() {
|
|
|
-
|
|
|
|
|
this.$refs["carInfo"].validate(valid => {
|
|
this.$refs["carInfo"].validate(valid => {
|
|
|
if (valid) {
|
|
if (valid) {
|
|
|
var _this = this;
|
|
var _this = this;
|
|
@@ -2866,6 +2866,7 @@ export default {
|
|
|
this.imageIdList3 = this.tbczcarShow ? this.imageIdList2 : this.imageIdList3;//投保人同车主
|
|
this.imageIdList3 = this.tbczcarShow ? this.imageIdList2 : this.imageIdList3;//投保人同车主
|
|
|
this.imageIdList4 = this.bbczcarShow ? this.imageIdList2 : this.imageIdList4;//被保人同车主
|
|
this.imageIdList4 = this.bbczcarShow ? this.imageIdList2 : this.imageIdList4;//被保人同车主
|
|
|
this.imageIdList4 = this.bbtbcarShow ? this.imageIdList3 : this.imageIdList4; //被保人同投保人
|
|
this.imageIdList4 = this.bbtbcarShow ? this.imageIdList3 : this.imageIdList4; //被保人同投保人
|
|
|
|
|
+ console.log(this.imageIdList1,this.imageIdList2,this.imageIdList3,this.imageIdList4)
|
|
|
//上传图片
|
|
//上传图片
|
|
|
Promise.all([
|
|
Promise.all([
|
|
|
this.$api.letter.uploadImages({ imageIdList: this.imageIdList1, imageType: "C01", quoteNo: this.quoteno }),
|
|
this.$api.letter.uploadImages({ imageIdList: this.imageIdList1, imageType: "C01", quoteNo: this.quoteno }),
|
|
@@ -2906,6 +2907,7 @@ export default {
|
|
|
kindList: this.kindList,
|
|
kindList: this.kindList,
|
|
|
riskList: this.riskList,
|
|
riskList: this.riskList,
|
|
|
};
|
|
};
|
|
|
|
|
+ console.log(param)
|
|
|
this.$api.letter.generateOrder(param).then(res => {
|
|
this.$api.letter.generateOrder(param).then(res => {
|
|
|
if (res.code == "200") {
|
|
if (res.code == "200") {
|
|
|
this.orderno = res.data.orderno;
|
|
this.orderno = res.data.orderno;
|
|
@@ -3716,7 +3718,7 @@ export default {
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
- //车型查询
|
|
|
|
|
|
|
+ //品牌型号查询
|
|
|
toChooseVehicleType(cartype) {
|
|
toChooseVehicleType(cartype) {
|
|
|
if (cartype == "" || cartype == null) {
|
|
if (cartype == "" || cartype == null) {
|
|
|
this.$message({
|
|
this.$message({
|
|
@@ -3747,7 +3749,7 @@ export default {
|
|
|
},
|
|
},
|
|
|
//车型列表双击选中事件
|
|
//车型列表双击选中事件
|
|
|
reslistCurrentChange(row, column, event) {
|
|
reslistCurrentChange(row, column, event) {
|
|
|
- this.carInfo.brandName = row.modelName; //品牌型号
|
|
|
|
|
|
|
+ this.carInfo.brandName = row.brandCN; //品牌型号
|
|
|
this.carInfo.modelcname = row.modelName; //品牌型号
|
|
this.carInfo.modelcname = row.modelName; //品牌型号
|
|
|
this.carInfo.caryear = row.marketYear; //年款
|
|
this.carInfo.caryear = row.marketYear; //年款
|
|
|
this.carInfo.seatCount = row.ratedPassengerCapacity; //座位数
|
|
this.carInfo.seatCount = row.ratedPassengerCapacity; //座位数
|
|
@@ -3940,7 +3942,7 @@ export default {
|
|
|
"-" +
|
|
"-" +
|
|
|
carInfo.registerDate.substring(6, 8);
|
|
carInfo.registerDate.substring(6, 8);
|
|
|
this.carform.licenseNo = carInfo.plateNo; //车牌号
|
|
this.carform.licenseNo = carInfo.plateNo; //车牌号
|
|
|
- this.carform.brandName = carInfo.backOcrID; //品牌型号
|
|
|
|
|
|
|
+ this.carform.modelcname = carInfo.backOcrID; //品牌型号
|
|
|
this.carform.frameNo = carInfo.vIN; //车架号
|
|
this.carform.frameNo = carInfo.vIN; //车架号
|
|
|
this.carform.engineNo = carInfo.engine; //发动机号
|
|
this.carform.engineNo = carInfo.engine; //发动机号
|
|
|
this.carform.registerDate = carInfo.registerDate; //车牌号
|
|
this.carform.registerDate = carInfo.registerDate; //车牌号
|
|
@@ -3954,7 +3956,7 @@ export default {
|
|
|
CarOCRconfirm() {
|
|
CarOCRconfirm() {
|
|
|
//传参
|
|
//传参
|
|
|
this.carInfo.licenseNo = this.carform.licenseNo; //车牌号
|
|
this.carInfo.licenseNo = this.carform.licenseNo; //车牌号
|
|
|
- this.carInfo.brandName = this.carform.brandName; //品牌型号
|
|
|
|
|
|
|
+ this.carInfo.modelcname = this.carform.modelcname; //品牌型号
|
|
|
this.carInfo.vinNo = this.carform.frameNo; //车架号
|
|
this.carInfo.vinNo = this.carform.frameNo; //车架号
|
|
|
this.carInfo.frameNo = this.carform.frameNo; //车架号
|
|
this.carInfo.frameNo = this.carform.frameNo; //车架号
|
|
|
this.carInfo.engineNo = this.carform.engineNo; //发动机号
|
|
this.carInfo.engineNo = this.carform.engineNo; //发动机号
|