文档bug处理

2024年1月19日V01.00.51
zhaoyu 2024-01-12 14:33:53 +08:00
parent 5af701d670
commit ed0584275f
1 changed files with 4 additions and 3 deletions

View File

@ -10,7 +10,7 @@
</el-form-item> </el-form-item>
<el-form-item label="证书编号" prop="NUMBER"> <el-form-item label="证书编号" prop="NUMBER">
<!-- <el-input v-model="pd.NUMBER" onkeyup="value=value.replace(/[\u4e00-\u9fa5]/ig,''),this.value=this.value.replace(/\s+/g,'')" placeholder="这里输入备注说明..." />--> <!-- <el-input v-model="pd.NUMBER" onkeyup="value=value.replace(/[\u4e00-\u9fa5]/ig,''),this.value=this.value.replace(/\s+/g,'')" placeholder="这里输入备注说明..." />-->
<el-input v-model="pd.NUMBER" placeholder="这里输入备注说明..." /> <el-input v-model="pd.NUMBER" placeholder="这里输入证书编号..." />
</el-form-item> </el-form-item>
<el-form-item label="备注"> <el-form-item label="备注">
<el-input :rows="3" v-model="pd.DESCR" type="textarea" /> <el-input :rows="3" v-model="pd.DESCR" type="textarea" />
@ -36,7 +36,7 @@
</div> </div>
</div> </div>
</el-form-item> </el-form-item>
<el-form-item label="证书图片"> <el-form-item label="证书图片" prop="FILE">
<el-upload <el-upload
ref="upload" ref="upload"
:on-preview="handlePictureCardPreview" :on-preview="handlePictureCardPreview"
@ -85,7 +85,8 @@ export default {
rules: { rules: {
NAME: [{ required: true, message: '名称不能为空', trigger: 'blur' }], NAME: [{ required: true, message: '名称不能为空', trigger: 'blur' }],
VALIDITYTIME: [{ required: true, message: '证书有效期不能为空', trigger: 'blur' }], VALIDITYTIME: [{ required: true, message: '证书有效期不能为空', trigger: 'blur' }],
NUMBER: [{ required: true, message: '证书编号不能为空', trigger: 'blur' }] NUMBER: [{ required: true, message: '证书编号不能为空', trigger: 'blur' }],
FILE: [{ required: true, message: '图片不能为空', trigger: 'blur' }]
} }
} }
}, },