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

xignzi006 发布系统代码

上级 e84c734d
<studio-view-style2 viewName="contactedit_datapanelview" viewTitle="头部信息编辑" class='deeditview contact-edit-data-panel-view'>
<template slot='title'>
<span class='caption-info'>{{$t(model.srfTitle)}}</span>
</template>
<view_form
:viewState="viewState"
:viewparams="viewparams"
......
<studio-view-style2 viewName="leadedit_datapanelview" viewTitle="头部信息编辑" class='deeditview lead-edit-data-panel-view'>
<template slot='title'>
<span class='caption-info'>{{$t(model.srfTitle)}}</span>
</template>
<view_form
:viewState="viewState"
:viewparams="viewparams"
......
......@@ -79,6 +79,10 @@ export class Edit_DatePanelEditFormBase extends EditFormControlBase {
* @memberof Edit_DatePanelEditFormBase
*/
public rules: any = {
owneridyominame: [
{ required: true, type: 'string', message: '负责人 值不能为空', trigger: 'change' },
{ required: true, type: 'string', message: '负责人 值不能为空', trigger: 'blur' },
],
}
/**
......
<i-form :model="this.data" class='app-form info-form-mode' ref='form' id='lead_edit_datepanel' style="">
<i-form :model="this.data" class='app-form' ref='form' id='lead_edit_datepanel' style="">
<input style="display:none;" />
<row >
<i-col v-show="detailsModel.group1.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-group layoutType="TABLE_24COL" titleStyle="" class='' :uiActionGroup="detailsModel.group1.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.lead.edit_datepanel_form.details.group1')" :isShowCaption="false" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="true" >
<app-form-group layoutType="TABLE_24COL" titleStyle="" class='' :uiActionGroup="detailsModel.group1.uiActionGroup" @groupuiactionclick="groupUIActionClick($event)" :caption="$t('entities.lead.edit_datepanel_form.details.group1')" :isShowCaption="false" uiStyle="DEFAULT" :titleBarCloseMode="0" :isInfoGroupMode="false" >
<row>
<i-col v-show="detailsModel.revenue.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='revenue' :itemRules="this.rules.revenue" class='' :caption="$t('entities.lead.edit_datepanel_form.details.revenue')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.revenue.error" :isEmptyCaption="false" labelPos="LEFT">
<app-span name='revenue' :value="data.revenue" :data="data" :context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style=""></app-span>
<input-box v-model="data.revenue" @enter="onEnter($event)" unit="" :disabled="detailsModel.revenue.disabled" type='number' style=""></input-box>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.numberofemployees.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='numberofemployees' :itemRules="this.rules.numberofemployees" class='' :caption="$t('entities.lead.edit_datepanel_form.details.numberofemployees')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.numberofemployees.error" :isEmptyCaption="false" labelPos="LEFT">
<app-span name='numberofemployees' :value="data.numberofemployees" :data="data" :context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style=""></app-span>
<input-box v-model="data.numberofemployees" @enter="onEnter($event)" unit="" :disabled="detailsModel.numberofemployees.disabled" type='number' style=""></input-box>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.statuscode.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='statuscode' :itemRules="this.rules.statuscode" class='' :caption="$t('entities.lead.edit_datepanel_form.details.statuscode')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.statuscode.error" :isEmptyCaption="false" labelPos="LEFT">
<app-span name='statuscode' :value="data.statuscode" tag='Lead__StatusCode' codelistType='STATIC' :data="data" :context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style=""></app-span>
<dropdown-list
v-model="data.statuscode"
:data="data"
:context="context"
:viewparams="viewparams"
:localContext ='{ }'
:localParam ='{ }'
:disabled="detailsModel.statuscode.disabled"
tag='Lead__StatusCode'
codelistType='STATIC'
placeholder='请选择...' style="">
</dropdown-list>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.owneridyominame.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='owneridyominame' :itemRules="this.rules.owneridyominame" class='' :caption="$t('entities.lead.edit_datepanel_form.details.owneridyominame')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.owneridyominame.error" :isEmptyCaption="false" labelPos="LEFT">
<app-span name='owneridyominame' :value="data.owneridyominame" :data="data" :context="context" :viewparams="viewparams" :localContext ='{ }' :localParam ='{ }' style=""></app-span>
<input-box v-model="data.owneridyominame" @enter="onEnter($event)" unit="" :disabled="detailsModel.owneridyominame.disabled" type='text' style=""></input-box>
</app-form-item>
</i-col>
......
......@@ -33,7 +33,7 @@
deKeyField='multipickdata'
:service="service"
:acParams="{ serviceName: 'MultiPickDataService', interfaceName: 'FetchAC'}"
valueitem=''
valueitem='ownerid'
:value="data.owneridyominame"
editortype=""
:pickupView="{ viewname: 'multi-pick-data-ac', title: $t('entities.multipickdata.views.ac.title'), deResParameters: [], parameters: [{ pathName: 'multipickdata', parameterName: 'multipickdata' }, { pathName: 'ac', parameterName: 'ac' } ], width: 1024, placement:'' }"
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册