提交 5c40ee08 编写于 作者: ibizdev's avatar ibizdev

xignzi006 发布系统代码

上级 1639c550
......@@ -90,6 +90,10 @@ export class QuickCreateEditFormBase extends EditFormControlBase {
{ required: true, type: 'string', message: '案例标题 值不能为空', trigger: 'change' },
{ required: true, type: 'string', message: '案例标题 值不能为空', trigger: 'blur' },
],
customername: [
{ required: true, type: 'string', message: '客户 值不能为空', trigger: 'change' },
{ required: true, type: 'string', message: '客户 值不能为空', trigger: 'blur' },
],
customerid: [
{ required: true, type: 'string', message: '客户 值不能为空', trigger: 'change' },
{ required: true, type: 'string', message: '客户 值不能为空', trigger: 'blur' },
......
......@@ -41,22 +41,7 @@
<i-col v-show="detailsModel.customername.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='customername' :itemRules="this.rules.customername" class='' :caption="$t('entities.incident.quickcreate_form.details.customername')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.customername.error" :isEmptyCaption="false" labelPos="LEFT">
<app-picker
:formState="formState"
:data="data"
:context="context"
:viewparams="viewparams"
:localContext ='{ }'
:localParam ='{ }'
:disabled="detailsModel.customername.disabled"
name='customername'
valueitem='customerid'
:value="data.customername"
editortype="linkonly"
:linkview="{}"
style=""
@formitemvaluechange="onFormItemValueChange">
</app-picker>
</app-form-item>
</i-col>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册