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

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

上级 11f28d8b
......@@ -182,12 +182,12 @@ export default {
srfsourcekey: "",
ibizbookid: "图书标识",
ibizbookname: "非空",
author: "图书作者",
author: "系统值规则",
press: "右包含",
price: "数值范围",
type: "字符长度",
booknumber: "左包含",
subtext: "图书描述",
subtext: "常规条件",
icon: "正则式",
lendouttime: "借出日期",
returntime: "大于借出日期",
......
......@@ -181,12 +181,12 @@ export default {
srfsourcekey: "",
ibizbookid: "图书标识",
ibizbookname: "非空",
author: "图书作者",
author: "系统值规则",
press: "右包含",
price: "数值范围",
type: "字符长度",
booknumber: "左包含",
subtext: "图书描述",
subtext: "常规条件",
icon: "正则式",
lendouttime: "借出日期",
returntime: "大于借出日期",
......
......@@ -598,10 +598,11 @@ export default class RulesFormBase extends Vue implements ControlInterface {
ibizbookname: [
{ required: this.detailsModel.ibizbookname.required, type: 'string', message: '非空 值不能为空', trigger: 'change' },
{ required: this.detailsModel.ibizbookname.required, type: 'string', message: '非空 值不能为空', trigger: 'blur' },
{ pattern: /[A-Z]+/, message: '内容必须由26个英文字母的大写组成的字符串', trigger: 'change' },
],
author: [
{ required: this.detailsModel.author.required, type: 'string', message: '图书作者 值不能为空', trigger: 'change' },
{ required: this.detailsModel.author.required, type: 'string', message: '图书作者 值不能为空', trigger: 'blur' },
{ required: this.detailsModel.author.required, type: 'string', message: '系统值规则 值不能为空', trigger: 'change' },
{ required: this.detailsModel.author.required, type: 'string', message: '系统值规则 值不能为空', trigger: 'blur' },
],
press: [
{ required: this.detailsModel.press.required, type: 'string', message: '右包含 值不能为空', trigger: 'change' },
......@@ -628,8 +629,9 @@ export default class RulesFormBase extends Vue implements ControlInterface {
{validator:(rule:any, value:any)=>{return this.verifyDeRules("booknumber").isPast},message: this.verifyDeRules("booknumber").infoMessage, trigger: 'blur' },
],
subtext: [
{ required: this.detailsModel.subtext.required, type: 'string', message: '图书描述 值不能为空', trigger: 'change' },
{ required: this.detailsModel.subtext.required, type: 'string', message: '图书描述 值不能为空', trigger: 'blur' },
{ required: this.detailsModel.subtext.required, type: 'string', message: '常规条件 值不能为空', trigger: 'change' },
{ required: this.detailsModel.subtext.required, type: 'string', message: '常规条件 值不能为空', trigger: 'blur' },
{ pattern: /[A-Za-z]+/, message: '内容必须为26个英文字母组成的字符串', trigger: 'change' },
],
icon: [
{ required: this.detailsModel.icon.required, type: 'string', message: '正则式 值不能为空', trigger: 'change' },
......@@ -855,7 +857,7 @@ export default class RulesFormBase extends Vue implements ControlInterface {
,
ibizbookname: new FormItemModel({ caption: '非空', detailType: 'FORMITEM', name: 'ibizbookname', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:true, disabled: false, enableCond: 3 })
,
author: new FormItemModel({ caption: '图书作者', detailType: 'FORMITEM', name: 'author', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
author: new FormItemModel({ caption: '系统值规则', detailType: 'FORMITEM', name: 'author', 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 })
,
......@@ -865,7 +867,7 @@ export default class RulesFormBase extends Vue implements ControlInterface {
,
booknumber: new FormItemModel({ caption: '左包含', detailType: 'FORMITEM', name: 'booknumber', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
subtext: new FormItemModel({ caption: '图书描述', detailType: 'FORMITEM', name: 'subtext', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
subtext: new FormItemModel({ caption: '常规条件', detailType: 'FORMITEM', name: 'subtext', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
icon: new FormItemModel({ caption: '正则式', detailType: 'FORMITEM', name: 'icon', visible: true, isShowCaption: true, form: this, isControlledContent: false , required:false, disabled: false, enableCond: 3 })
,
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册