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

lab_gzf 部署微服务应用

上级 25b326b6
......@@ -53,6 +53,8 @@ export default {
srfuf: "",
srfdeid: "",
srfsourcekey: "",
sparepartsgrpnumber: "备件包编号",
eamsparepartsgroupname: "备件包名称",
eamsparepartsgroupid: "备件包标识",
},
uiactions: {
......
......@@ -52,6 +52,8 @@ export default {
srfuf: "",
srfdeid: "",
srfsourcekey: "",
sparepartsgrpnumber: "备件包编号",
eamsparepartsgroupname: "备件包名称",
eamsparepartsgroupid: "备件包标识",
},
uiactions: {
......
......@@ -73,6 +73,8 @@ export class MainEditFormBase extends EditFormControlBase {
srfuf: null,
srfdeid: null,
srfsourcekey: null,
sparepartsgrpnumber: null,
eamsparepartsgroupname: null,
eamsparepartsgroupid: null,
eamsparepartsgroup:null,
};
......@@ -84,6 +86,14 @@ export class MainEditFormBase extends EditFormControlBase {
* @memberof MainEditFormBase
*/
public rules: any = {
sparepartsgrpnumber: [
{ required: true, type: 'string', message: '备件包编号 值不能为空', trigger: 'change' },
{ required: true, type: 'string', message: '备件包编号 值不能为空', trigger: 'blur' },
],
eamsparepartsgroupname: [
{ required: true, type: 'string', message: '备件包名称 值不能为空', trigger: 'change' },
{ required: true, type: 'string', message: '备件包名称 值不能为空', trigger: 'blur' },
],
}
/**
......@@ -126,6 +136,10 @@ export class MainEditFormBase extends EditFormControlBase {
srfsourcekey: new FormItemModel({ caption: '', detailType: 'FORMITEM', name: 'srfsourcekey', visible: true, isShowCaption: true, form: this, showMoreMode: 0, disabled: false, enableCond: 3 }),
sparepartsgrpnumber: new FormItemModel({ caption: '备件包编号', detailType: 'FORMITEM', name: 'sparepartsgrpnumber', visible: true, isShowCaption: true, form: this, showMoreMode: 0, disabled: false, enableCond: 3 }),
eamsparepartsgroupname: new FormItemModel({ caption: '备件包名称', detailType: 'FORMITEM', name: 'eamsparepartsgroupname', visible: true, isShowCaption: true, form: this, showMoreMode: 0, disabled: false, enableCond: 3 }),
eamsparepartsgroupid: new FormItemModel({ caption: '备件包标识', detailType: 'FORMITEM', name: 'eamsparepartsgroupid', visible: true, isShowCaption: true, form: this, showMoreMode: 0, disabled: false, enableCond: 3 }),
form: new FormTabPanelModel({ caption: 'form', detailType: 'TABPANEL', name: 'form', visible: true, isShowCaption: true, form: this, tabPages: [{ name: 'formpage1', index: 0, visible: true }, { name: 'formpage2', index: 1, visible: true }] }),
......
......@@ -55,6 +55,16 @@ export default class MainModel {
{
name: 'srfsourcekey',
},
{
name: 'sparepartsgrpnumber',
prop: 'sparepartsgrpnumber',
dataType: 'TEXT',
},
{
name: 'eamsparepartsgroupname',
prop: 'eamsparepartsgroupname',
dataType: 'TEXT',
},
{
name: 'eamsparepartsgroupid',
prop: 'eamsparepartsgroupid',
......
......@@ -16,7 +16,35 @@
<app-form-group :model="detailsModel.group1" layoutType="TABLE_24COL" titleStyle="" class='' :uiActionGroup="detailsModel.group1.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.eamsparepartsgroup.main_form.details.group1')" :isShowCaption="true" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="false" >
<app-form-group-data-panel slot="dataInfoPanel" :model="detailsModel.group1" :data="data" :context="context" :viewparams="viewparams"/>
<row>
<i-col class="form-layout-container" v-show="detailsModel.sparepartsgrpnumber.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='sparepartsgrpnumber' :itemRules="this.rules.sparepartsgrpnumber" class='' :caption="$t('entities.eamsparepartsgroup.main_form.details.sparepartsgrpnumber')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.sparepartsgrpnumber.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box
v-model="data.sparepartsgrpnumber"
@enter="onEnter($event)"
unit=""
:disabled="detailsModel.sparepartsgrpnumber.disabled"
type='text'
style="">
</input-box>
</app-form-item>
</i-col>
<i-col class="form-layout-container" v-show="detailsModel.eamsparepartsgroupname.visible" :style="{}" :md="{ span: 12, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 6, offset: 0 }">
<app-form-item name='eamsparepartsgroupname' :itemRules="this.rules.eamsparepartsgroupname" class='' :caption="$t('entities.eamsparepartsgroup.main_form.details.eamsparepartsgroupname')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.eamsparepartsgroupname.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box
v-model="data.eamsparepartsgroupname"
@enter="onEnter($event)"
unit=""
:disabled="detailsModel.eamsparepartsgroupname.disabled"
type='text'
style="">
</input-box>
</app-form-item>
</i-col>
</row>
</app-form-group>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册