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

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

上级 9390c7ce
...@@ -262,7 +262,6 @@ export default { ...@@ -262,7 +262,6 @@ export default {
price: "数值范围", price: "数值范围",
type: "字符长度", type: "字符长度",
press: "右包含", press: "右包含",
booknumber: "左包含",
lendouttime: "大于当前时间", lendouttime: "大于当前时间",
returntime: "规则组", returntime: "规则组",
}, },
......
...@@ -261,7 +261,6 @@ export default { ...@@ -261,7 +261,6 @@ export default {
price: "数值范围", price: "数值范围",
type: "字符长度", type: "字符长度",
press: "右包含", press: "右包含",
booknumber: "左包含",
lendouttime: "大于当前时间", lendouttime: "大于当前时间",
returntime: "规则组", returntime: "规则组",
}, },
......
...@@ -112,20 +112,6 @@ ...@@ -112,20 +112,6 @@
</app-form-item> </app-form-item>
</i-col>
<i-col v-show="detailsModel.booknumber.visible" :style="{}" :sm="{ span: 12, offset: 0 }" :md="{ span: 12, offset: 0 }" :lg="{ span: 12, offset: 0 }" :xl="{ span: 12, offset: 0 }">
<app-form-item name='booknumber' :itemRules="this.rules().booknumber" class='' :caption="$t('entities.ibizbook.rulesform_form.details.booknumber')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.booknumber.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box
v-model="data.booknumber"
@enter="onEnter($event)"
unit=""
:disabled="detailsModel.booknumber.disabled"
type='number'
style="">
</input-box>
</app-form-item>
</i-col> </i-col>
<i-col v-show="detailsModel.lendouttime.visible" :style="{}" :sm="{ span: 12, offset: 0 }" :md="{ span: 12, offset: 0 }" :lg="{ span: 12, offset: 0 }" :xl="{ span: 12, offset: 0 }"> <i-col v-show="detailsModel.lendouttime.visible" :style="{}" :sm="{ span: 12, offset: 0 }" :md="{ span: 12, offset: 0 }" :lg="{ span: 12, offset: 0 }" :xl="{ span: 12, offset: 0 }">
<app-form-item name='lendouttime' :itemRules="this.rules().lendouttime" class='' :caption="$t('entities.ibizbook.rulesform_form.details.lendouttime')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.lendouttime.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='lendouttime' :itemRules="this.rules().lendouttime" class='' :caption="$t('entities.ibizbook.rulesform_form.details.lendouttime')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.lendouttime.error" :isEmptyCaption="false" labelPos="LEFT">
...@@ -549,7 +535,6 @@ export default class RulesFormBase extends Vue implements ControlInterface { ...@@ -549,7 +535,6 @@ export default class RulesFormBase extends Vue implements ControlInterface {
price: null, price: null,
type: null, type: null,
press: null, press: null,
booknumber: null,
lendouttime: null, lendouttime: null,
returntime: null, returntime: null,
ibizbook:null, ibizbook:null,
...@@ -640,12 +625,6 @@ export default class RulesFormBase extends Vue implements ControlInterface { ...@@ -640,12 +625,6 @@ export default class RulesFormBase extends Vue implements ControlInterface {
{validator:(rule:any, value:any)=>{return this.verifyDeRules("press").isPast},message: this.verifyDeRules("press").infoMessage, trigger: 'change' }, {validator:(rule:any, value:any)=>{return this.verifyDeRules("press").isPast},message: this.verifyDeRules("press").infoMessage, trigger: 'change' },
{validator:(rule:any, value:any)=>{return this.verifyDeRules("press").isPast},message: this.verifyDeRules("press").infoMessage, trigger: 'blur' }, {validator:(rule:any, value:any)=>{return this.verifyDeRules("press").isPast},message: this.verifyDeRules("press").infoMessage, trigger: 'blur' },
], ],
booknumber: [
{ required: this.detailsModel.booknumber.required, type: 'number', message: '左包含 值不能为空', trigger: 'change' },
{ required: this.detailsModel.booknumber.required, type: 'number', message: '左包含 值不能为空', trigger: 'blur' },
{validator:(rule:any, value:any)=>{return this.verifyDeRules("booknumber").isPast},message: this.verifyDeRules("booknumber").infoMessage, trigger: 'change' },
{validator:(rule:any, value:any)=>{return this.verifyDeRules("booknumber").isPast},message: this.verifyDeRules("booknumber").infoMessage, trigger: 'blur' },
],
lendouttime: [ lendouttime: [
{ required: this.detailsModel.lendouttime.required, type: 'string', message: '大于当前时间 值不能为空', trigger: 'change' }, { required: this.detailsModel.lendouttime.required, type: 'string', message: '大于当前时间 值不能为空', trigger: 'change' },
{ required: this.detailsModel.lendouttime.required, type: 'string', message: '大于当前时间 值不能为空', trigger: 'blur' }, { required: this.detailsModel.lendouttime.required, type: 'string', message: '大于当前时间 值不能为空', trigger: 'blur' },
...@@ -737,17 +716,6 @@ export default class RulesFormBase extends Vue implements ControlInterface { ...@@ -737,17 +716,6 @@ export default class RulesFormBase extends Vue implements ControlInterface {
isIncludeMinValue:false, isIncludeMinValue:false,
}, },
], ],
booknumber:[
{
type:"SIMPLE",
condOP:"LEFTLIKE",
ruleInfo:"文本左包含a",
isKeyCond:false,
paramValue:"a",
isNotMode:false,
deName:"booknumber",
},
],
press:[ press:[
{ {
type:"SIMPLE", type:"SIMPLE",
...@@ -891,8 +859,6 @@ export default class RulesFormBase extends Vue implements ControlInterface { ...@@ -891,8 +859,6 @@ export default class RulesFormBase extends Vue implements ControlInterface {
type: new FormItemModel({ caption: '字符长度', detailType: 'FORMITEM', name: 'type', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) type: new FormItemModel({ caption: '字符长度', detailType: 'FORMITEM', name: 'type', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
press: new FormItemModel({ caption: '右包含', detailType: 'FORMITEM', name: 'press', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 }) press: new FormItemModel({ caption: '右包含', detailType: 'FORMITEM', name: 'press', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
booknumber: new FormItemModel({ caption: '左包含', detailType: 'FORMITEM', name: 'booknumber', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
, ,
lendouttime: new FormItemModel({ caption: '大于当前时间', detailType: 'FORMITEM', name: 'lendouttime', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:true, disabled: false, enableCond: 3 }) lendouttime: new FormItemModel({ caption: '大于当前时间', detailType: 'FORMITEM', name: 'lendouttime', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:true, disabled: false, enableCond: 3 })
, ,
...@@ -1092,18 +1058,6 @@ export default class RulesFormBase extends Vue implements ControlInterface { ...@@ -1092,18 +1058,6 @@ export default class RulesFormBase extends Vue implements ControlInterface {
this.formDataChange({ name: 'press', newVal: newVal, oldVal: oldVal }); this.formDataChange({ name: 'press', newVal: newVal, oldVal: oldVal });
} }
/**
* 监控表单属性 booknumber 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof RulesFormBase
*/
@Watch('data.booknumber')
onBooknumberChange(newVal: any, oldVal: any) {
this.formDataChange({ name: 'booknumber', newVal: newVal, oldVal: oldVal });
}
/** /**
* 监控表单属性 lendouttime 值 * 监控表单属性 lendouttime 值
* *
...@@ -1201,7 +1155,6 @@ export default class RulesFormBase extends Vue implements ControlInterface { ...@@ -1201,7 +1155,6 @@ export default class RulesFormBase extends Vue implements ControlInterface {
} }
......
...@@ -95,11 +95,6 @@ export default class RulesFormModel { ...@@ -95,11 +95,6 @@ export default class RulesFormModel {
prop: 'press', prop: 'press',
dataType: 'TEXT', dataType: 'TEXT',
}, },
{
name: 'booknumber',
prop: 'booknumber',
dataType: 'INT',
},
{ {
name: 'lendouttime', name: 'lendouttime',
prop: 'lendouttime', prop: 'lendouttime',
......
...@@ -731,7 +731,7 @@ export default class Main5Base extends Vue implements ControlInterface { ...@@ -731,7 +731,7 @@ export default class Main5Base extends Vue implements ControlInterface {
* @type {string} * @type {string}
* @memberof Main5Base * @memberof Main5Base
*/ */
public majorMessageField: string = "formitem3"; public majorMessageField: string = "formitem2formitem3";
/** /**
* 值规则 * 值规则
......
...@@ -57,7 +57,7 @@ export default class Main5Model { ...@@ -57,7 +57,7 @@ export default class Main5Model {
}, },
{ {
name: 'formitem2', name: 'formitem2',
prop: 'field01', prop: 'ibizsample0001name',
dataType: 'TEXT', dataType: 'TEXT',
}, },
{ {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册