Commit 24951ae7 authored by jiaorz's avatar jiaorz

Merge branch 'base-modify'

# Conflicts:
#	src/views/vehicle/vehicleInfo/index.vue
parents a64306eb 68a42fef
...@@ -681,8 +681,8 @@ ...@@ -681,8 +681,8 @@
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="交强险单号" prop="strongInsuranceNo"> <el-form-item label="交强险单号" prop="strongInsuranceNo">
<el-input v-model.number="form.strongInsuranceNo" placeholder="请输入交强险单号"></el-input>
<el-input v-model.text="form.strongInsuranceNo" @input="handleInput" placeholder="请输入交强险单号"></el-input> <el-input v-model.text="form.strongInsuranceNo" @input="handleInput" placeholder="请输入交强险单号"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
...@@ -1095,7 +1095,6 @@ export default { ...@@ -1095,7 +1095,6 @@ export default {
strongInsuranceCompany: undefined, strongInsuranceCompany: undefined,
strongInsuranceEndDate: undefined, strongInsuranceEndDate: undefined,
strongInsuranceNo: undefined, strongInsuranceNo: undefined,
strongInsuranceCompany: undefined
strongInsuranceCompany: undefined, strongInsuranceCompany: undefined,
insurancePDF:undefined insurancePDF:undefined
}, },
...@@ -2808,6 +2807,7 @@ export default { ...@@ -2808,6 +2807,7 @@ export default {
this.$utils.objectEach(response.data, (item, key) => { this.$utils.objectEach(response.data, (item, key) => {
this.form[key] = item this.form[key] = item
}) })
that.pdfList = []
selectArry.map(function(iitem) { selectArry.map(function(iitem) {
if (that.form['subordinateBranch'] == iitem.id) { if (that.form['subordinateBranch'] == iitem.id) {
that.form.subordinateBranchName = iitem.name that.form.subordinateBranchName = iitem.name
...@@ -2817,10 +2817,11 @@ export default { ...@@ -2817,10 +2817,11 @@ export default {
that.form.parkBranchCompanyName = iitem.name that.form.parkBranchCompanyName = iitem.name
that.form.parkBranchCompanyId = iitem.id that.form.parkBranchCompanyId = iitem.id
} }
if (that.form.insurancePDF) { if (that.form.insurancePDF) {
that.pdfList = []
that.pdfList = JSON.parse(that.form.insurancePDF) that.pdfList = JSON.parse(that.form.insurancePDF)
} }
}) })
selectVehicleModelArry.map(function(value) { selectVehicleModelArry.map(function(value) {
if (that.form['modelId'] == value.id) { if (that.form['modelId'] == value.id) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment