|
|
@@ -685,7 +685,7 @@
|
|
|
orderInfo.carinfo.purchasePrice
|
|
|
}}</el-descriptions-item>
|
|
|
<el-descriptions-item label="使用性质">
|
|
|
- {{ orderInfo.carinfo.carnature == "8A" ? "家庭自用" : "" }}
|
|
|
+ {{orderInfo.carinfo.carnature }}
|
|
|
</el-descriptions-item>
|
|
|
<el-descriptions-item label="注册日期">{{
|
|
|
orderInfo.carinfo.registerDate
|
|
|
@@ -1537,9 +1537,11 @@ export default {
|
|
|
querystatusLoaing: false,
|
|
|
quotationhistorydialogVisible: false, //报价历史显示状态
|
|
|
HistoryList: [], //报价历史数据
|
|
|
+ natureOfVehicleUseoptions:[],
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
|
+ this.getDicType("natureOfVehicleUse");//车辆使用性质
|
|
|
this.$api.letter.gainTopList().then((res) => {
|
|
|
this.companyList = res.data;
|
|
|
});
|
|
|
@@ -1572,6 +1574,7 @@ export default {
|
|
|
return item.dictValue === ele;
|
|
|
}).dictTag;
|
|
|
},
|
|
|
+
|
|
|
},
|
|
|
unmounted() {
|
|
|
window.removeEventListener("resize", this.getDimensions);
|
|
|
@@ -1627,6 +1630,14 @@ export default {
|
|
|
this.HistoryList = res.data;
|
|
|
});
|
|
|
},
|
|
|
+ getDicType(type) {
|
|
|
+ this.$api.insCompany.dicType(type).then(res => {
|
|
|
+ if (res.code == 200) {
|
|
|
+ this[type + 'options'] = res.data.ddList;
|
|
|
+ }
|
|
|
+ })
|
|
|
+
|
|
|
+ },
|
|
|
capType(val) {
|
|
|
if (val == "0") {
|
|
|
return "success";
|
|
|
@@ -2096,6 +2107,11 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
+ natureOfVehicleUseCap(ele) {
|
|
|
+ return this.natureOfVehicleUseoptions.find((item) => {
|
|
|
+ return item.dictValue === ele;
|
|
|
+ }).dictTag;
|
|
|
+ },
|
|
|
//应用详情
|
|
|
OrderDetails(dy, item) {
|
|
|
this.carImageList = [];
|
|
|
@@ -2108,7 +2124,6 @@ export default {
|
|
|
this.pic2Control = false;
|
|
|
this.pic3Control = false;
|
|
|
this.pic4Control = false;
|
|
|
-
|
|
|
this.pic5Control = false;
|
|
|
|
|
|
for (let i = 0; i < this.global.insureList.length; i++) {
|
|
|
@@ -2122,6 +2137,7 @@ export default {
|
|
|
if (res.code == 200) {
|
|
|
this.licenseNo = res.data.licenseno; //车牌号
|
|
|
this.inscompany = res.data.inscompany; //保险公司
|
|
|
+ res.data.carinfo.carnature= this.natureOfVehicleUseCap(res.data.carinfo.carnature)
|
|
|
if (res.data.accidentInfo) {
|
|
|
res.data.accidentInfo.constructor === Object
|
|
|
? [res.data.accidentInfo]
|