|
|
@ -83,11 +83,8 @@ |
|
|
|
</el-col> |
|
|
|
<el-col :span="9"> |
|
|
|
<el-form-item> |
|
|
|
<el-radio-group v-model="temp.InsuranceStateKey"> |
|
|
|
<el-radio v-for="item in InsuranceState_list" :key="item.key" :label="item.key" |
|
|
|
@change="InsuranceStateChange(item.key)">{{ item.value }} |
|
|
|
</el-radio> |
|
|
|
</el-radio-group> |
|
|
|
<el-radio v-model="temp.InsuranceStateKey" label="0">否</el-radio> |
|
|
|
<el-radio v-model="temp.InsuranceStateKey" label="1">是</el-radio> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
@ -290,8 +287,6 @@ export default { |
|
|
|
getCarTransferInfo(data).then((res) => { |
|
|
|
if (res.success) { |
|
|
|
this.temp = res.data |
|
|
|
this.temp.InsuranceStateKey = res.data.insuranceStateKey |
|
|
|
this.temp.InsuranceState = res.data.insuranceState |
|
|
|
this.temp.instanceId = instanceId |
|
|
|
this.temp.taskId = taskId |
|
|
|
if (this.temp.policyImage.length > 0) { |
|
|
@ -359,6 +354,14 @@ export default { |
|
|
|
}, |
|
|
|
// 提交添加数据 |
|
|
|
handleCreate() { |
|
|
|
if (this.temp.InsuranceStateKey == '0') { |
|
|
|
this.temp.InsuranceState = '否' |
|
|
|
this.temp.policyImage = [] |
|
|
|
this.imgList = [] |
|
|
|
} |
|
|
|
if (this.temp.InsuranceStateKey == '1') { |
|
|
|
this.temp.InsuranceState = '是' |
|
|
|
} |
|
|
|
this.getUrl() |
|
|
|
this.$refs['dataForm'].validate((valid) => { |
|
|
|
if (valid) { |
|
|
|