|
@ -220,30 +220,30 @@ |
|
|
<el-dialog center :visible.sync="replenishVisible" width="50%"> |
|
|
<el-dialog center :visible.sync="replenishVisible" width="50%"> |
|
|
<el-form ref="form_obj" v-model="formobj" class="formadd"> |
|
|
<el-form ref="form_obj" v-model="formobj" class="formadd"> |
|
|
<el-row style="border-top: 1px solid #E0E3EB"> |
|
|
<el-row style="border-top: 1px solid #E0E3EB"> |
|
|
<el-col :span="3" class="tleftb"> |
|
|
<el-col :span="6" class="tleftb"> |
|
|
<span>现场照片</span> |
|
|
<span>现场照片</span> |
|
|
</el-col> |
|
|
</el-col> |
|
|
<el-col :span="21"> |
|
|
<el-col :span="18"> |
|
|
<el-form-item> |
|
|
<el-form-item> |
|
|
<upload ref="uploadMoreImg" v-model="imgList" bucket="map" @eett="getXianChang" :upload-data="{type:'0001'}"/> |
|
|
<upload ref="uploadMoreImg" v-model="imgList" bucket="map" @eett="getXianChang" :upload-data="{type:'0001'}"/> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
</el-row> |
|
|
</el-row> |
|
|
<el-row v-show="formobj.InsuranceState"> |
|
|
<el-row v-show="formobj.InsuranceState"> |
|
|
<el-col :span="3" class="tleftb"> |
|
|
<el-col :span="6" class="tleftb"> |
|
|
<span>保单</span> |
|
|
<span>保单</span> |
|
|
</el-col> |
|
|
</el-col> |
|
|
<el-col :span="21"> |
|
|
<el-col :span="18"> |
|
|
<el-form-item> |
|
|
<el-form-item> |
|
|
<upload ref="uploadMoreImg" v-model="imgList" bucket="map" @eett="getBaoDan" :upload-data="{type:'0002'}"/> |
|
|
<upload ref="uploadMoreImg" v-model="imgList" bucket="map" @eett="getBaoDan" :upload-data="{type:'0002'}"/> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
</el-row> |
|
|
</el-row> |
|
|
<el-row v-show="formobj.proCardState"> |
|
|
<el-row v-show="formobj.proCardState"> |
|
|
<el-col :span="3" class="tleftb"> |
|
|
<el-col :span="6" class="tleftb"> |
|
|
<span>临牌牌照号</span> |
|
|
<span>临牌牌照号</span> |
|
|
</el-col> |
|
|
</el-col> |
|
|
<el-col :span="21"> |
|
|
<el-col :span="18"> |
|
|
<el-form-item><el-input v-model="formobj.proCard" placeholder="" clearable></el-input></el-form-item> |
|
|
<el-form-item><el-input v-model="formobj.proCard" placeholder="" clearable></el-input></el-form-item> |
|
|
</el-col> |
|
|
</el-col> |
|
|
</el-row> |
|
|
</el-row> |
|
@ -492,6 +492,18 @@ export default { |
|
|
console.log(this.formobj.policyImages, 888) |
|
|
console.log(this.formobj.policyImages, 888) |
|
|
}, |
|
|
}, |
|
|
handleQue() { |
|
|
handleQue() { |
|
|
|
|
|
if (this.formobj.images.length === 0) { |
|
|
|
|
|
this.$message({ showClose: true, type: 'error', message: '请上传现场照片' }) |
|
|
|
|
|
return |
|
|
|
|
|
} |
|
|
|
|
|
if (this.formobj.InsuranceState) { |
|
|
|
|
|
this.$message({ showClose: true, type: 'error', message: '请上传保单' }) |
|
|
|
|
|
return |
|
|
|
|
|
} |
|
|
|
|
|
if (this.formobj.proCardState) { |
|
|
|
|
|
this.$message({ showClose: true, type: 'error', message: '临牌牌照号不能为空' }) |
|
|
|
|
|
return |
|
|
|
|
|
} |
|
|
const tip = '请确认是否保存' |
|
|
const tip = '请确认是否保存' |
|
|
this.$confirm(tip, '提示', { |
|
|
this.$confirm(tip, '提示', { |
|
|
confirmButtonText: '确定', |
|
|
confirmButtonText: '确定', |
|
|