|
|
@ -11,7 +11,7 @@ |
|
|
|
</div> |
|
|
|
<div class="listconadd"> |
|
|
|
<el-form ref="dataForm" :model="temp" label-position="right" label-width="190px" class="formadd" :rules="rules"> |
|
|
|
<div class="title">合格证台账信息</div> |
|
|
|
<div class="title">合格证基础信息</div> |
|
|
|
<el-row> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item prop="certificationNo"> |
|
|
@ -30,7 +30,7 @@ |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item prop=""> |
|
|
|
<el-form-item prop="certificateStateValue"> |
|
|
|
<span slot="label">合格证状态:</span> |
|
|
|
<el-input v-model="temp.certificateStateValue" placeholder="请输入内容" :disabled="true" class="addinputw"> |
|
|
|
</el-input> |
|
|
@ -68,14 +68,22 @@ |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item prop="certificateSituation"> |
|
|
|
<span slot="label">合格证情况:</span> |
|
|
|
<el-select v-model="temp.certificateSituation" class="addinputw" placeholder="请选择合格证情况" |
|
|
|
@change="getQingkuang"> |
|
|
|
<el-option v-for="item in qingkuang_list" :key="item.dictKey" :label="item.dictValue" |
|
|
|
<el-form-item prop="remarks"> |
|
|
|
<span slot="label">移交状态:</span> |
|
|
|
<el-select v-model="temp.transferStateKey" class="addinputw" clearable |
|
|
|
placeholder="请选择移交状态" @change="transferStateChange"> |
|
|
|
<el-option v-for="item in transferState_list" :key="item.dictKey" :label="item.dictValue" |
|
|
|
:value="item.dictKey"/> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
<!-- <el-form-item prop="certificateSituation">--> |
|
|
|
<!-- <span slot="label">合格证情况:</span>--> |
|
|
|
<!-- <el-select v-model="temp.certificateSituation" class="addinputw" placeholder="请选择合格证情况"--> |
|
|
|
<!-- @change="getQingkuang">--> |
|
|
|
<!-- <el-option v-for="item in qingkuang_list" :key="item.dictKey" :label="item.dictValue"--> |
|
|
|
<!-- :value="item.dictKey"/>--> |
|
|
|
<!-- </el-select>--> |
|
|
|
<!-- </el-form-item>--> |
|
|
|
</el-col> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item prop="receiver" v-show="temp.certificateState == '0002'"> |
|
|
@ -85,21 +93,14 @@ |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
<el-row> |
|
|
|
<el-col :span="12"> |
|
|
|
<el-form-item prop="remarks"> |
|
|
|
<span slot="label">移交状态:</span> |
|
|
|
<el-select v-model="temp.transferStateKey" class="addinputw" clearable |
|
|
|
placeholder="请选择移交状态" @change="transferStateChange"> |
|
|
|
<el-option v-for="item in transferState_list" :key="item.dictKey" :label="item.dictValue" |
|
|
|
:value="item.dictKey"/> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="12"> |
|
|
|
<!-- <el-col :span="12">--> |
|
|
|
|
|
|
|
<!-- </el-col>--> |
|
|
|
<el-col :span="24"> |
|
|
|
<el-form-item prop="remarks"> |
|
|
|
<span slot="label">备注:</span> |
|
|
|
<el-input v-model="temp.remarks" type="textarea" :rows="3" maxlength="125" placeholder="" |
|
|
|
class="addinputw" clearable/> |
|
|
|
class="addinputw addinputw_remarks" clearable/> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
@ -392,15 +393,18 @@ export default { |
|
|
|
certificateDate: [ |
|
|
|
{ required: true, message: '请选择发证日期', trigger: 'blur' } |
|
|
|
], |
|
|
|
certificateSituation: [ |
|
|
|
{ required: true, message: '请选择合格证情况', trigger: 'change' } |
|
|
|
], |
|
|
|
// certificateSituation: [ |
|
|
|
// { required: true, message: '请选择合格证情况', trigger: 'change' } |
|
|
|
// ], |
|
|
|
toCardDate: [ |
|
|
|
{ required: true, message: '请选择到证日期', trigger: 'blur' } |
|
|
|
], |
|
|
|
certificateState: [ |
|
|
|
{ required: true, message: '请选择合格证状态', trigger: 'change' } |
|
|
|
], |
|
|
|
certificateStateValue: [ |
|
|
|
{ required: true, message: '请选择合格证状态', trigger: 'change' } |
|
|
|
], |
|
|
|
// certificatePhoto: [ |
|
|
|
// { required: true, message: '请选择合格证照片', trigger: 'blur' }, |
|
|
|
// ], |
|
|
@ -451,14 +455,14 @@ export default { |
|
|
|
this.$refs['dataForm'].clearValidate() |
|
|
|
}) |
|
|
|
this.dialogStatus = 'add' |
|
|
|
this.viewTitle = '【新增】合格证台账信息' |
|
|
|
this.viewTitle = '【新增】合格证信息' |
|
|
|
}, |
|
|
|
|
|
|
|
showEdit(sid, row) { |
|
|
|
this.$nextTick(() => { |
|
|
|
this.$refs['dataForm'].clearValidate() |
|
|
|
}) |
|
|
|
this.viewTitle = '【编辑】车型详细信息' |
|
|
|
this.viewTitle = '【编辑】合格证信息' |
|
|
|
this.dialogStatus = 'update' |
|
|
|
details(sid).then(resp => { |
|
|
|
const data = resp.data |
|
|
@ -821,8 +825,11 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
</script> |
|
|
|
<style lang="scss" scoped> |
|
|
|
<style scoped> |
|
|
|
.addinputwda { |
|
|
|
width: 600px; |
|
|
|
} |
|
|
|
.formadd .el-row .el-col /deep/ .el-form-item .addinputw_remarks{ |
|
|
|
width: 92%; |
|
|
|
} |
|
|
|
</style> |
|
|
|