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

kuaikuai 发布系统代码 [后台服务,演示应用]

上级 5a5c4d70
......@@ -668,6 +668,17 @@ export default class RulesFormBase extends Vue implements ControlInterface {
* @memberof RulesFormBase
*/
public deRules:any = {
lendouttime:[
{
type:"SIMPLE",
condOP:"GTANDEQ",
ruleInfo:"需要大于等于当前时间",
isKeyCond:false,
paramType:"CURTIME",
isNotMode:false,
deName:"lendouttime",
},
],
returntime:[
{
type:"GROUP",
......@@ -698,15 +709,18 @@ export default class RulesFormBase extends Vue implements ControlInterface {
]
},
],
lendouttime:[
price:[
{
type:"SIMPLE",
condOP:"GTANDEQ",
ruleInfo:"需要大于等于当前时间",
type:"VALUERANGE2",
condOP:"",
ruleInfo:"数值必须大于[0.0]且小于等于[100.0]",
isKeyCond:false,
paramType:"CURTIME",
isNotMode:false,
deName:"lendouttime",
maxValue:100,
minValue:0,
deName:"price",
isIncludeMaxValue:true,
isIncludeMinValue:false,
},
],
type:[
......@@ -723,20 +737,6 @@ export default class RulesFormBase extends Vue implements ControlInterface {
isIncludeMinValue:false,
},
],
price:[
{
type:"VALUERANGE2",
condOP:"",
ruleInfo:"数值必须大于[0.0]且小于等于[100.0]",
isKeyCond:false,
isNotMode:false,
maxValue:100,
minValue:0,
deName:"price",
isIncludeMaxValue:true,
isIncludeMinValue:false,
},
],
booknumber:[
{
type:"SIMPLE",
......
......@@ -370,14 +370,8 @@
</i-col>
<i-col v-show="detailsModel.formitem1.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='formitem1' :itemRules="this.rules().formitem1" class='' :caption="$t('entities.ibizsample0001.main_form.details.formitem1')" uiStyle="DEFAULT" :labelWidth="150" :isShowCaption="true" :error="detailsModel.formitem1.error" :isEmptyCaption="false" labelPos="LEFT">
<app-after-time
v-model="data.formitem1"
:formState="formState"
:data="data"
name="formitem1"
:context="context"
:viewparams="viewparams">
</app-after-time>
<date-picker type="date" :transfer="true" format="yyyy-MM-dd" :value="data.formitem1" :disabled="detailsModel.formitem1.disabled" style="min-width: 150px;width:160px; " @on-change="(val1, val2) => { this.data.formitem1 = val1 }"></date-picker>
</app-form-item>
</i-col>
......@@ -398,27 +392,22 @@
</i-col>
<i-col v-show="detailsModel.formitem3.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='formitem3' :itemRules="this.rules().formitem3" class='' :caption="$t('entities.ibizsample0001.main_form.details.formitem3')" uiStyle="DEFAULT" :labelWidth="150" :isShowCaption="true" :error="detailsModel.formitem3.error" :isEmptyCaption="false" labelPos="LEFT">
<cron-editor
:disabled="detailsModel.formitem3.disabled"
placeholder='请选择...' />
<input-box
v-model="data.formitem3"
@enter="onEnter($event)"
unit=""
:disabled="detailsModel.formitem3.disabled"
type='text'
style="">
</input-box>
</app-form-item>
</i-col>
<i-col v-show="detailsModel.formitem4.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='formitem4' :itemRules="this.rules().formitem4" class='' :caption="$t('entities.ibizsample0001.main_form.details.formitem4')" uiStyle="DEFAULT" :labelWidth="150" :isShowCaption="true" :error="detailsModel.formitem4.error" :isEmptyCaption="false" labelPos="LEFT">
<dropdown-list-dynamic
v-model="data.formitem4"
:data="data"
:context="context"
:viewparams="viewparams"
:localContext ='{ }'
:localParam ='{ }'
:disabled="detailsModel.formitem4.disabled"
valueType="string"
placeholder='请选择...' style="">
</dropdown-list-dynamic>
<date-picker type="date" :transfer="true" format="yyyy-MM-dd" :value="data.formitem4" :disabled="detailsModel.formitem4.disabled" style="min-width: 150px;width:160px; " @on-change="(val1, val2) => { this.data.formitem4 = val1 }"></date-picker>
</app-form-item>
</i-col>
......@@ -1201,7 +1190,7 @@ export default class MainBase extends Vue implements ControlInterface {
,
formitem: new FormItemModel({ caption: '更新人-颜色', detailType: 'FORMITEM', name: 'formitem', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:true, disabled: false, enableCond: 3 })
,
formitem1: new FormItemModel({ caption: '更新时间-多久之前', detailType: 'FORMITEM', name: 'formitem1', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
formitem1: new FormItemModel({ caption: '更新时间-多久之前', detailType: 'FORMITEM', name: 'formitem1', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:true, disabled: false, enableCond: 3 })
,
formitem2: new FormItemModel({ caption: '名称-穿梭框', detailType: 'FORMITEM', name: 'formitem2', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册