|
|
@@ -1245,6 +1245,9 @@
|
|
|
</div>
|
|
|
<div style="text-align:center;">
|
|
|
<el-form :model="carform" label-width="130px" size="small">
|
|
|
+ <el-form-item label="所有人">
|
|
|
+ <el-input v-model="carform.carOwner" autocomplete="off"></el-input>
|
|
|
+ </el-form-item>
|
|
|
<el-form-item label="车牌号">
|
|
|
<el-input v-model="carform.licenseNo" autocomplete="off"></el-input>
|
|
|
</el-form-item>
|
|
|
@@ -1799,6 +1802,7 @@ export default {
|
|
|
property: "1" //所属性质 1个人 2企业 3个人
|
|
|
},
|
|
|
carform: {
|
|
|
+ carOwner:"",//车主
|
|
|
licenseNo: "", //车牌号
|
|
|
modelcname: "", //车辆品牌型号
|
|
|
frameNo: "", //车架号
|
|
|
@@ -2725,6 +2729,7 @@ export default {
|
|
|
import("element-ui/packages/image/src/image-viewer")
|
|
|
},
|
|
|
created() {
|
|
|
+
|
|
|
this.getDicType("vehicleType");//车辆种类
|
|
|
this.getDicType("trafficManagementVehicleType");//车辆类型
|
|
|
this.getDicType("energyType");//能源种类
|
|
|
@@ -2808,6 +2813,7 @@ export default {
|
|
|
this.systartDate = this.transformTime1();
|
|
|
this.syendDate = this.oneYearPast1(this.systartDate);
|
|
|
}
|
|
|
+
|
|
|
},
|
|
|
mounted() {
|
|
|
this.onScroll()
|
|
|
@@ -3166,6 +3172,8 @@ export default {
|
|
|
},
|
|
|
//报价
|
|
|
quote() {
|
|
|
+
|
|
|
+
|
|
|
let starttime = new Date(this.carInfo.registerDate)
|
|
|
let endtime = new Date(this.carInfo.issueDate)
|
|
|
if (endtime < starttime) {
|
|
|
@@ -4189,6 +4197,8 @@ export default {
|
|
|
_this.$api.letter.getByCompanyId({ companyId: this.companyId }).then(res => {
|
|
|
_this.orderstatus = res.data.orderstatus; //订单状态
|
|
|
_this.underwritingdialogVisible = true;
|
|
|
+ let indexid = this.totalCompanyList.findIndex(item => item.namesimple == this.queryOrders.inscompany);
|
|
|
+ this.totalCompanyList[indexid].orderstatus = res.data.orderstatus;
|
|
|
});
|
|
|
} else {
|
|
|
loading.close();
|
|
|
@@ -4236,6 +4246,8 @@ export default {
|
|
|
_this.$api.letter.getByCompanyId({ companyId: this.companyId }).then(res => {
|
|
|
_this.orderstatus = res.data.orderstatus; //订单状态
|
|
|
_this.underwritingdialogVisible = true;
|
|
|
+ let indexid = this.totalCompanyList.findIndex(item => item.namesimple == this.queryOrders.inscompany);
|
|
|
+ this.totalCompanyList[indexid].orderstatus = res.data.orderstatus;
|
|
|
});
|
|
|
} else {
|
|
|
loading.close();
|
|
|
@@ -4284,6 +4296,8 @@ export default {
|
|
|
_this.$api.letter.getByCompanyId({ companyId: this.companyId }).then(res => {
|
|
|
_this.orderstatus = res.data.orderstatus; //订单状态
|
|
|
_this.underwritingdialogVisible = true;
|
|
|
+ let indexid = this.totalCompanyList.findIndex(item => item.namesimple == this.queryOrders.inscompany);
|
|
|
+ this.totalCompanyList[indexid].orderstatus = res.data.orderstatus;
|
|
|
});
|
|
|
} else {
|
|
|
loading.close();
|
|
|
@@ -4335,6 +4349,8 @@ export default {
|
|
|
_this.$api.letter.getByCompanyId({ companyId: this.companyId }).then(res => {
|
|
|
_this.orderstatus = res.data.orderstatus; //订单状态
|
|
|
_this.underwritingdialogVisible = true;
|
|
|
+ let indexid = this.totalCompanyList.findIndex(item => item.namesimple == this.queryOrders.inscompany);
|
|
|
+ this.totalCompanyList[indexid].orderstatus = res.data.orderstatus;
|
|
|
});
|
|
|
} else {
|
|
|
loading.close();
|
|
|
@@ -4385,6 +4401,8 @@ export default {
|
|
|
_this.$api.letter.getByCompanyId({ companyId: this.companyId }).then(res => {
|
|
|
_this.orderstatus = res.data.orderstatus; //订单状态
|
|
|
_this.underwritingdialogVisible = true;
|
|
|
+ let indexid = this.totalCompanyList.findIndex(item => item.namesimple == this.queryOrders.inscompany);
|
|
|
+ this.totalCompanyList[indexid].orderstatus = res.data.orderstatus;
|
|
|
});
|
|
|
} else {
|
|
|
loading.close();
|
|
|
@@ -4433,6 +4451,8 @@ export default {
|
|
|
_this.$api.letter.getByCompanyId({ companyId: this.companyId }).then(res => {
|
|
|
_this.orderstatus = res.data.orderstatus; //订单状态
|
|
|
_this.underwritingdialogVisible = true;
|
|
|
+ let indexid = this.totalCompanyList.findIndex(item => item.namesimple == this.queryOrders.inscompany);
|
|
|
+ this.totalCompanyList[indexid].orderstatus = res.data.orderstatus;
|
|
|
});
|
|
|
} else {
|
|
|
loading.close();
|
|
|
@@ -4887,6 +4907,7 @@ export default {
|
|
|
carInfo.registerDate.substring(4, 6) +
|
|
|
"-" +
|
|
|
carInfo.registerDate.substring(6, 8);
|
|
|
+ this.carform.carOwner = carInfo.carOwner; //车主
|
|
|
this.carform.licenseNo = carInfo.plateNo; //车牌号
|
|
|
this.carform.modelcname = carInfo.backOcrID; //品牌型号
|
|
|
this.carform.frameNo = carInfo.vIN; //车架号
|
|
|
@@ -4901,6 +4922,7 @@ export default {
|
|
|
},
|
|
|
CarOCRconfirm() {
|
|
|
//传参
|
|
|
+ this.ownerInfo.name = this.carform.carOwner; //车主
|
|
|
this.carInfo.licenseNo = this.carform.licenseNo; //车牌号
|
|
|
this.carInfo.modelcname = this.carform.modelcname; //品牌型号
|
|
|
this.carInfo.vinNo = this.carform.frameNo; //车架号
|
|
|
@@ -5290,10 +5312,7 @@ export default {
|
|
|
opacity: 0;
|
|
|
}
|
|
|
|
|
|
-.saomazhifucodeClass .el-dialog__body,
|
|
|
-.saomazhifucodeClass .el-dialog__header {
|
|
|
- padding: 0;
|
|
|
-}
|
|
|
+
|
|
|
|
|
|
.ORcodebody {
|
|
|
width: 100%;
|
|
|
@@ -6073,5 +6092,10 @@ export default {
|
|
|
.styleB .el-upload--picture-card {
|
|
|
display: none;
|
|
|
}
|
|
|
+
|
|
|
+ .saomazhifucodeClass .el-dialog__body,
|
|
|
+ .saomazhifucodeClass .el-dialog__header {
|
|
|
+ padding: 0;
|
|
|
+ }
|
|
|
}
|
|
|
</style>
|