Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
551fe117
提交
551fe117
编写于
12月 01, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Mosher 发布系统代码 [后台服务,演示应用]
上级
66cdfe0b
变更
6
显示空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
52 行增加
和
446 行删除
+52
-446
ibizbook_en_US.ts
...Web/src/locale/lanres/entities/ibizbook/ibizbook_en_US.ts
+2
-14
ibizbook_zh_CN.ts
...Web/src/locale/lanres/entities/ibizbook/ibizbook_zh_CN.ts
+2
-14
guide-borrow-form-form-base.vue
...ok/guide-borrow-form-form/guide-borrow-form-form-base.vue
+19
-184
guide-borrow-form-form-model.ts
...ok/guide-borrow-form-form/guide-borrow-form-form-model.ts
+5
-25
guide-return-form-form-base.vue
...ok/guide-return-form-form/guide-return-form-form-base.vue
+19
-184
guide-return-form-form-model.ts
...ok/guide-return-form-form/guide-return-form-form-model.ts
+5
-25
未找到文件。
app_Web/src/locale/lanres/entities/ibizbook/ibizbook_en_US.ts
浏览文件 @
551fe117
...
...
@@ -272,8 +272,6 @@ export default {
details
:
{
group1
:
"图书基本信息"
,
formpage1
:
"基本信息"
,
group2
:
"操作信息"
,
formpage2
:
"其它"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"图书标识"
,
...
...
@@ -282,12 +280,8 @@ export default {
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
ibizbookname
:
"图书名称"
,
createman
:
"建立人"
,
createdate
:
"建立时间"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
ibizbookid
:
"图书标识"
,
lendouttime
:
"借出日期"
,
},
uiactions
:
{
},
...
...
@@ -296,8 +290,6 @@ export default {
details
:
{
group1
:
"图书基本信息"
,
formpage1
:
"基本信息"
,
group2
:
"操作信息"
,
formpage2
:
"其它"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"图书标识"
,
...
...
@@ -306,12 +298,8 @@ export default {
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
ibizbookname
:
"图书名称"
,
createman
:
"建立人"
,
createdate
:
"建立时间"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
ibizbookid
:
"图书标识"
,
returntime
:
"归还日期"
,
},
uiactions
:
{
},
...
...
app_Web/src/locale/lanres/entities/ibizbook/ibizbook_zh_CN.ts
浏览文件 @
551fe117
...
...
@@ -271,8 +271,6 @@ export default {
details
:
{
group1
:
"图书基本信息"
,
formpage1
:
"基本信息"
,
group2
:
"操作信息"
,
formpage2
:
"其它"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"图书标识"
,
...
...
@@ -281,12 +279,8 @@ export default {
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
ibizbookname
:
"图书名称"
,
createman
:
"建立人"
,
createdate
:
"建立时间"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
ibizbookid
:
"图书标识"
,
lendouttime
:
"借出日期"
,
},
uiactions
:
{
},
...
...
@@ -295,8 +289,6 @@ export default {
details
:
{
group1
:
"图书基本信息"
,
formpage1
:
"基本信息"
,
group2
:
"操作信息"
,
formpage2
:
"其它"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"图书标识"
,
...
...
@@ -305,12 +297,8 @@ export default {
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
ibizbookname
:
"图书名称"
,
createman
:
"建立人"
,
createdate
:
"建立时间"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
ibizbookid
:
"图书标识"
,
returntime
:
"归还日期"
,
},
uiactions
:
{
},
...
...
app_Web/src/widgets/ibizbook/guide-borrow-form-form/guide-borrow-form-form-base.vue
浏览文件 @
551fe117
...
...
@@ -2,29 +2,12 @@
<i-form
:model=
"this.data"
class=
'app-form'
ref=
'wizardpanel_form_SecondForm'
id=
'ibizbook_guideborrowform'
style=
""
@
on-validate=
"formItemValidate"
>
<input
style=
"display:none;"
/>
<row
>
<tabs
:animated=
"false"
name=
'guideborrowform'
:value=
"detailsModel.wizardpanel_form_SecondForm.activiedPage"
@
on-click=
"detailsModel.wizardpanel_form_SecondForm.clickPage($event)"
>
<tab-pane
v-show=
"detailsModel.formpage1.visible"
name=
'formpage1'
:index=
"0"
tab=
'guideborrowform'
class=
''
:label=
"(h) =>
{
return h('span',{
class:'caption'
},[
$t('entities.ibizbook.guideborrowform_form.details.formpage1')
])
}">
<i-col
v-show=
"detailsModel.group1.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-group
:uiService=
"appUIService"
:data=
"transformData(data)"
:manageContainerStatus=
"detailsModel.group1.manageContainerStatus"
:isManageContainer=
"detailsModel.group1.isManageContainer"
@
managecontainerclick=
"manageContainerClick('group1')"
layoutType=
"TABLE_24COL"
titleStyle=
""
class=
''
:uiActionGroup=
"detailsModel.group1.uiActionGroup"
@
groupuiactionclick=
"groupUIActionClick($event)"
:caption=
"$t('entities.ibizbook.guideborrowform_form.details.group1')"
:isShowCaption=
"true"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"0"
:isInfoGroupMode=
"false"
>
<row>
<i-col
v-show=
"detailsModel.ibizbookname.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'ibizbookname'
:itemRules=
"this.rules().ibizbookname"
class=
''
:caption=
"$t('entities.ibizbook.guideborrowform_form.details.ibizbookname')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.ibizbookname.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.ibizbookname"
@
enter=
"onEnter($event)"
unit=
""
:disabled=
"detailsModel.ibizbookname.disabled"
type=
'text'
style=
""
>
</input-box>
<i-col
v-show=
"detailsModel.lendouttime.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'lendouttime'
:itemRules=
"this.rules().lendouttime"
class=
''
:caption=
"$t('entities.ibizbook.guideborrowform_form.details.lendouttime')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.lendouttime.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<date-picker
type=
"date"
:transfer=
"true"
format=
"yyyy-MM-dd"
:value=
"data.lendouttime"
:disabled=
"detailsModel.lendouttime.disabled"
style=
"min-width: 150px; width:100px;"
@
on-change=
"(val1, val2) =>
{ this.data.lendouttime = val1 }">
</date-picker>
</app-form-item>
...
...
@@ -36,67 +19,6 @@
</i-col>
</tab-pane>
<tab-pane
v-show=
"detailsModel.formpage2.visible"
name=
'formpage2'
:index=
"1"
tab=
'guideborrowform'
class=
''
:label=
"(h) =>
{
return h('span',{
class:'caption'
},[
$t('entities.ibizbook.guideborrowform_form.details.formpage2')
])
}">
<i-col
v-show=
"detailsModel.group2.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-group
:uiService=
"appUIService"
:data=
"transformData(data)"
:manageContainerStatus=
"detailsModel.group2.manageContainerStatus"
:isManageContainer=
"detailsModel.group2.isManageContainer"
@
managecontainerclick=
"manageContainerClick('group2')"
layoutType=
"TABLE_24COL"
titleStyle=
""
class=
''
:uiActionGroup=
"detailsModel.group2.uiActionGroup"
@
groupuiactionclick=
"groupUIActionClick($event)"
:caption=
"$t('entities.ibizbook.guideborrowform_form.details.group2')"
:isShowCaption=
"true"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"0"
:isInfoGroupMode=
"false"
>
<row>
<i-col
v-show=
"detailsModel.createman.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'createman'
:itemRules=
"this.rules().createman"
class=
''
:caption=
"$t('entities.ibizbook.guideborrowform_form.details.createman')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.createman.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'createman'
:value=
"data.createman"
dataType=
"TEXT"
:precision=
"0"
tag=
'SysOperator'
codelistType=
'DYNAMIC'
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.createdate.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'createdate'
:itemRules=
"this.rules().createdate"
class=
''
:caption=
"$t('entities.ibizbook.guideborrowform_form.details.createdate')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.createdate.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'createdate'
:value=
"data.createdate"
dataType=
"DATETIME"
valueFormat=
"%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS"
:precision=
"0"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.updateman.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'updateman'
:itemRules=
"this.rules().updateman"
class=
''
:caption=
"$t('entities.ibizbook.guideborrowform_form.details.updateman')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.updateman.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'updateman'
:value=
"data.updateman"
dataType=
"TEXT"
:precision=
"0"
tag=
'SysOperator'
codelistType=
'DYNAMIC'
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.updatedate.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'updatedate'
:itemRules=
"this.rules().updatedate"
class=
''
:caption=
"$t('entities.ibizbook.guideborrowform_form.details.updatedate')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.updatedate.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'updatedate'
:value=
"data.updatedate"
dataType=
"DATETIME"
valueFormat=
"%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS"
:precision=
"0"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
</app-form-item>
</i-col>
</row>
</app-form-group>
</i-col>
</tab-pane>
</tabs>
</row>
</i-form>
</
template
>
...
...
@@ -490,12 +412,8 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
srfuf
:
null
,
srfdeid
:
null
,
srfsourcekey
:
null
,
ibizbookname
:
null
,
createman
:
null
,
createdate
:
null
,
updateman
:
null
,
updatedate
:
null
,
ibizbookid
:
null
,
lendouttime
:
null
,
ibizbook
:
null
,
};
...
...
@@ -537,7 +455,7 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
* @type {string}
* @memberof GuideBorrowFormBase
*/
public
majorMessageField
:
string
=
"
ibizbookname
"
;
public
majorMessageField
:
string
=
""
;
/**
* 值规则
...
...
@@ -547,25 +465,9 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
*/
public
rules
()
:
any
{
return
{
ibizbookname
:
[
{
required
:
this
.
detailsModel
.
ibizbookname
.
required
,
type
:
'string'
,
message
:
'图书名称 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
ibizbookname
.
required
,
type
:
'string'
,
message
:
'图书名称 值不能为空'
,
trigger
:
'blur'
},
],
createman
:
[
{
required
:
this
.
detailsModel
.
createman
.
required
,
type
:
'string'
,
message
:
'建立人 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
createman
.
required
,
type
:
'string'
,
message
:
'建立人 值不能为空'
,
trigger
:
'blur'
},
],
createdate
:
[
{
required
:
this
.
detailsModel
.
createdate
.
required
,
type
:
'string'
,
message
:
'建立时间 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
createdate
.
required
,
type
:
'string'
,
message
:
'建立时间 值不能为空'
,
trigger
:
'blur'
},
],
updateman
:
[
{
required
:
this
.
detailsModel
.
updateman
.
required
,
type
:
'string'
,
message
:
'更新人 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
updateman
.
required
,
type
:
'string'
,
message
:
'更新人 值不能为空'
,
trigger
:
'blur'
},
],
updatedate
:
[
{
required
:
this
.
detailsModel
.
updatedate
.
required
,
type
:
'string'
,
message
:
'更新时间 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
updatedate
.
required
,
type
:
'string'
,
message
:
'更新时间 值不能为空'
,
trigger
:
'blur'
},
lendouttime
:
[
{
required
:
this
.
detailsModel
.
lendouttime
.
required
,
type
:
'string'
,
message
:
'借出日期 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
lendouttime
.
required
,
type
:
'string'
,
message
:
'借出日期 值不能为空'
,
trigger
:
'blur'
},
],
}
}
...
...
@@ -675,10 +577,6 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
group1
:
new
FormGroupPanelModel
({
caption
:
'图书基本信息'
,
detailType
:
'GROUPPANEL'
,
name
:
'group1'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
uiActionGroup
:
{
caption
:
''
,
langbase
:
'entities.ibizbook.guideborrowform_form'
,
extractMode
:
'ITEM'
,
details
:
[]
},
isManageContainer
:
false
,
showMoreModeItems
:
[]
})
,
formpage1
:
new
FormPageModel
({
caption
:
'基本信息'
,
detailType
:
'FORMPAGE'
,
name
:
'formpage1'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
})
,
group2
:
new
FormGroupPanelModel
({
caption
:
'操作信息'
,
detailType
:
'GROUPPANEL'
,
name
:
'group2'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
uiActionGroup
:
{
caption
:
''
,
langbase
:
'entities.ibizbook.guideborrowform_form'
,
extractMode
:
'ITEM'
,
details
:
[]
},
isManageContainer
:
false
,
showMoreModeItems
:
[]
})
,
formpage2
:
new
FormPageModel
({
caption
:
'其它'
,
detailType
:
'FORMPAGE'
,
name
:
'formpage2'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
})
,
srfupdatedate
:
new
FormItemModel
({
caption
:
'更新时间'
,
detailType
:
'FORMITEM'
,
name
:
'srfupdatedate'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
...
...
@@ -695,20 +593,11 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
srfdeid
:
new
FormItemModel
({
caption
:
''
,
detailType
:
'FORMITEM'
,
name
:
'srfdeid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
srfsourcekey
:
new
FormItemModel
({
caption
:
''
,
detailType
:
'FORMITEM'
,
name
:
'srfsourcekey'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
ibizbookname
:
new
FormItemModel
({
caption
:
'图书名称'
,
detailType
:
'FORMITEM'
,
name
:
'ibizbookname'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
true
,
disabled
:
false
,
enableCond
:
3
})
,
createman
:
new
FormItemModel
({
caption
:
'建立人'
,
detailType
:
'FORMITEM'
,
name
:
'createman'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
createdate
:
new
FormItemModel
({
caption
:
'建立时间'
,
detailType
:
'FORMITEM'
,
name
:
'createdate'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
updateman
:
new
FormItemModel
({
caption
:
'更新人'
,
detailType
:
'FORMITEM'
,
name
:
'updateman'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
updatedate
:
new
FormItemModel
({
caption
:
'更新时间'
,
detailType
:
'FORMITEM'
,
name
:
'updatedate'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
ibizbookid
:
new
FormItemModel
({
caption
:
'图书标识'
,
detailType
:
'FORMITEM'
,
name
:
'ibizbookid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
wizardpanel_form_SecondForm
:
new
FormTabPanelModel
({
caption
:
'wizardpanel_form_SecondForm'
,
detailType
:
'TABPANEL'
,
name
:
'wizardpanel_form_SecondForm'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
tabPages
:
[{
name
:
'formpage1'
,
index
:
0
,
visible
:
true
},
{
name
:
'formpage2'
,
index
:
1
,
visible
:
true
}]
}),
lendouttime
:
new
FormItemModel
({
caption
:
'借出日期'
,
detailType
:
'FORMITEM'
,
name
:
'lendouttime'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
true
,
disabled
:
false
,
enableCond
:
3
})
,
};
/**
...
...
@@ -808,75 +697,27 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
}
/**
* 监控表单属性 ibizbookname 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof GuideBorrowFormBase
*/
@
Watch
(
'data.ibizbookname'
)
onIbizbooknameChange
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'ibizbookname'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 createman 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof GuideBorrowFormBase
*/
@
Watch
(
'data.createman'
)
onCreatemanChange
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'createman'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 createdate 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof GuideBorrowFormBase
*/
@
Watch
(
'data.createdate'
)
onCreatedateChange
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'createdate'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 updateman 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof GuideBorrowFormBase
*/
@
Watch
(
'data.updateman'
)
onUpdatemanChange
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'updateman'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 updatedate 值
* 监控表单属性 ibizbookid 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof GuideBorrowFormBase
*/
@
Watch
(
'data.
updatedate
'
)
on
Updatedate
Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'
updatedate
'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
@
Watch
(
'data.
ibizbookid
'
)
on
Ibizbookid
Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'
ibizbookid
'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性
ibizbookid
值
* 监控表单属性
lendouttime
值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof GuideBorrowFormBase
*/
@
Watch
(
'data.
ibizbookid
'
)
on
Ibizbookid
Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'
ibizbookid
'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
@
Watch
(
'data.
lendouttime
'
)
on
Lendouttime
Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'
lendouttime
'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
...
...
@@ -945,12 +786,6 @@ export default class GuideBorrowFormBase extends Vue implements ControlInterface
}
/**
...
...
app_Web/src/widgets/ibizbook/guide-borrow-form-form/guide-borrow-form-form-model.ts
浏览文件 @
551fe117
...
...
@@ -55,36 +55,16 @@ export default class GuideBorrowFormModel {
{
name
:
'srfsourcekey'
,
},
{
name
:
'ibizbookname'
,
prop
:
'ibizbookname'
,
dataType
:
'TEXT'
,
},
{
name
:
'createman'
,
prop
:
'createman'
,
dataType
:
'TEXT'
,
},
{
name
:
'createdate'
,
prop
:
'createdate'
,
dataType
:
'DATETIME'
,
},
{
name
:
'updateman'
,
prop
:
'updateman'
,
dataType
:
'TEXT'
,
},
{
name
:
'updatedate'
,
prop
:
'updatedate'
,
dataType
:
'DATETIME'
,
},
{
name
:
'ibizbookid'
,
prop
:
'ibizbookid'
,
dataType
:
'GUID'
,
},
{
name
:
'lendouttime'
,
prop
:
'lendouttime'
,
dataType
:
'DATE'
,
},
{
name
:
'ibizbook'
,
prop
:
'ibizbookid'
,
...
...
app_Web/src/widgets/ibizbook/guide-return-form-form/guide-return-form-form-base.vue
浏览文件 @
551fe117
...
...
@@ -2,29 +2,12 @@
<i-form
:model=
"this.data"
class=
'app-form'
ref=
'wizardpanel_form_ThirdForm'
id=
'ibizbook_guidereturnform'
style=
""
@
on-validate=
"formItemValidate"
>
<input
style=
"display:none;"
/>
<row
>
<tabs
:animated=
"false"
name=
'guidereturnform'
:value=
"detailsModel.wizardpanel_form_ThirdForm.activiedPage"
@
on-click=
"detailsModel.wizardpanel_form_ThirdForm.clickPage($event)"
>
<tab-pane
v-show=
"detailsModel.formpage1.visible"
name=
'formpage1'
:index=
"0"
tab=
'guidereturnform'
class=
''
:label=
"(h) =>
{
return h('span',{
class:'caption'
},[
$t('entities.ibizbook.guidereturnform_form.details.formpage1')
])
}">
<i-col
v-show=
"detailsModel.group1.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-group
:uiService=
"appUIService"
:data=
"transformData(data)"
:manageContainerStatus=
"detailsModel.group1.manageContainerStatus"
:isManageContainer=
"detailsModel.group1.isManageContainer"
@
managecontainerclick=
"manageContainerClick('group1')"
layoutType=
"TABLE_24COL"
titleStyle=
""
class=
''
:uiActionGroup=
"detailsModel.group1.uiActionGroup"
@
groupuiactionclick=
"groupUIActionClick($event)"
:caption=
"$t('entities.ibizbook.guidereturnform_form.details.group1')"
:isShowCaption=
"true"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"0"
:isInfoGroupMode=
"false"
>
<row>
<i-col
v-show=
"detailsModel.ibizbookname.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'ibizbookname'
:itemRules=
"this.rules().ibizbookname"
class=
''
:caption=
"$t('entities.ibizbook.guidereturnform_form.details.ibizbookname')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.ibizbookname.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.ibizbookname"
@
enter=
"onEnter($event)"
unit=
""
:disabled=
"detailsModel.ibizbookname.disabled"
type=
'text'
style=
""
>
</input-box>
<i-col
v-show=
"detailsModel.returntime.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'returntime'
:itemRules=
"this.rules().returntime"
class=
''
:caption=
"$t('entities.ibizbook.guidereturnform_form.details.returntime')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.returntime.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<date-picker
type=
"date"
:transfer=
"true"
format=
"yyyy-MM-dd"
:value=
"data.returntime"
:disabled=
"detailsModel.returntime.disabled"
style=
"min-width: 150px; width:100px;"
@
on-change=
"(val1, val2) =>
{ this.data.returntime = val1 }">
</date-picker>
</app-form-item>
...
...
@@ -36,67 +19,6 @@
</i-col>
</tab-pane>
<tab-pane
v-show=
"detailsModel.formpage2.visible"
name=
'formpage2'
:index=
"1"
tab=
'guidereturnform'
class=
''
:label=
"(h) =>
{
return h('span',{
class:'caption'
},[
$t('entities.ibizbook.guidereturnform_form.details.formpage2')
])
}">
<i-col
v-show=
"detailsModel.group2.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-group
:uiService=
"appUIService"
:data=
"transformData(data)"
:manageContainerStatus=
"detailsModel.group2.manageContainerStatus"
:isManageContainer=
"detailsModel.group2.isManageContainer"
@
managecontainerclick=
"manageContainerClick('group2')"
layoutType=
"TABLE_24COL"
titleStyle=
""
class=
''
:uiActionGroup=
"detailsModel.group2.uiActionGroup"
@
groupuiactionclick=
"groupUIActionClick($event)"
:caption=
"$t('entities.ibizbook.guidereturnform_form.details.group2')"
:isShowCaption=
"true"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"0"
:isInfoGroupMode=
"false"
>
<row>
<i-col
v-show=
"detailsModel.createman.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'createman'
:itemRules=
"this.rules().createman"
class=
''
:caption=
"$t('entities.ibizbook.guidereturnform_form.details.createman')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.createman.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'createman'
:value=
"data.createman"
dataType=
"TEXT"
:precision=
"0"
tag=
'SysOperator'
codelistType=
'DYNAMIC'
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.createdate.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'createdate'
:itemRules=
"this.rules().createdate"
class=
''
:caption=
"$t('entities.ibizbook.guidereturnform_form.details.createdate')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.createdate.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'createdate'
:value=
"data.createdate"
dataType=
"DATETIME"
valueFormat=
"%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS"
:precision=
"0"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.updateman.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'updateman'
:itemRules=
"this.rules().updateman"
class=
''
:caption=
"$t('entities.ibizbook.guidereturnform_form.details.updateman')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.updateman.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'updateman'
:value=
"data.updateman"
dataType=
"TEXT"
:precision=
"0"
tag=
'SysOperator'
codelistType=
'DYNAMIC'
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.updatedate.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'updatedate'
:itemRules=
"this.rules().updatedate"
class=
''
:caption=
"$t('entities.ibizbook.guidereturnform_form.details.updatedate')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.updatedate.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'updatedate'
:value=
"data.updatedate"
dataType=
"DATETIME"
valueFormat=
"%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS"
:precision=
"0"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
</app-form-item>
</i-col>
</row>
</app-form-group>
</i-col>
</tab-pane>
</tabs>
</row>
</i-form>
</
template
>
...
...
@@ -490,12 +412,8 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
srfuf
:
null
,
srfdeid
:
null
,
srfsourcekey
:
null
,
ibizbookname
:
null
,
createman
:
null
,
createdate
:
null
,
updateman
:
null
,
updatedate
:
null
,
ibizbookid
:
null
,
returntime
:
null
,
ibizbook
:
null
,
};
...
...
@@ -537,7 +455,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
* @type {string}
* @memberof GuideReturnFormBase
*/
public
majorMessageField
:
string
=
"
ibizbookname
"
;
public
majorMessageField
:
string
=
""
;
/**
* 值规则
...
...
@@ -547,25 +465,9 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/
public
rules
()
:
any
{
return
{
ibizbookname
:
[
{
required
:
this
.
detailsModel
.
ibizbookname
.
required
,
type
:
'string'
,
message
:
'图书名称 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
ibizbookname
.
required
,
type
:
'string'
,
message
:
'图书名称 值不能为空'
,
trigger
:
'blur'
},
],
createman
:
[
{
required
:
this
.
detailsModel
.
createman
.
required
,
type
:
'string'
,
message
:
'建立人 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
createman
.
required
,
type
:
'string'
,
message
:
'建立人 值不能为空'
,
trigger
:
'blur'
},
],
createdate
:
[
{
required
:
this
.
detailsModel
.
createdate
.
required
,
type
:
'string'
,
message
:
'建立时间 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
createdate
.
required
,
type
:
'string'
,
message
:
'建立时间 值不能为空'
,
trigger
:
'blur'
},
],
updateman
:
[
{
required
:
this
.
detailsModel
.
updateman
.
required
,
type
:
'string'
,
message
:
'更新人 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
updateman
.
required
,
type
:
'string'
,
message
:
'更新人 值不能为空'
,
trigger
:
'blur'
},
],
updatedate
:
[
{
required
:
this
.
detailsModel
.
updatedate
.
required
,
type
:
'string'
,
message
:
'更新时间 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
updatedate
.
required
,
type
:
'string'
,
message
:
'更新时间 值不能为空'
,
trigger
:
'blur'
},
returntime
:
[
{
required
:
this
.
detailsModel
.
returntime
.
required
,
type
:
'string'
,
message
:
'归还日期 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
returntime
.
required
,
type
:
'string'
,
message
:
'归还日期 值不能为空'
,
trigger
:
'blur'
},
],
}
}
...
...
@@ -675,10 +577,6 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
group1
:
new
FormGroupPanelModel
({
caption
:
'图书基本信息'
,
detailType
:
'GROUPPANEL'
,
name
:
'group1'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
uiActionGroup
:
{
caption
:
''
,
langbase
:
'entities.ibizbook.guidereturnform_form'
,
extractMode
:
'ITEM'
,
details
:
[]
},
isManageContainer
:
false
,
showMoreModeItems
:
[]
})
,
formpage1
:
new
FormPageModel
({
caption
:
'基本信息'
,
detailType
:
'FORMPAGE'
,
name
:
'formpage1'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
})
,
group2
:
new
FormGroupPanelModel
({
caption
:
'操作信息'
,
detailType
:
'GROUPPANEL'
,
name
:
'group2'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
uiActionGroup
:
{
caption
:
''
,
langbase
:
'entities.ibizbook.guidereturnform_form'
,
extractMode
:
'ITEM'
,
details
:
[]
},
isManageContainer
:
false
,
showMoreModeItems
:
[]
})
,
formpage2
:
new
FormPageModel
({
caption
:
'其它'
,
detailType
:
'FORMPAGE'
,
name
:
'formpage2'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
})
,
srfupdatedate
:
new
FormItemModel
({
caption
:
'更新时间'
,
detailType
:
'FORMITEM'
,
name
:
'srfupdatedate'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
...
...
@@ -695,20 +593,11 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
srfdeid
:
new
FormItemModel
({
caption
:
''
,
detailType
:
'FORMITEM'
,
name
:
'srfdeid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
srfsourcekey
:
new
FormItemModel
({
caption
:
''
,
detailType
:
'FORMITEM'
,
name
:
'srfsourcekey'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
ibizbookname
:
new
FormItemModel
({
caption
:
'图书名称'
,
detailType
:
'FORMITEM'
,
name
:
'ibizbookname'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
true
,
disabled
:
false
,
enableCond
:
3
})
,
createman
:
new
FormItemModel
({
caption
:
'建立人'
,
detailType
:
'FORMITEM'
,
name
:
'createman'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
createdate
:
new
FormItemModel
({
caption
:
'建立时间'
,
detailType
:
'FORMITEM'
,
name
:
'createdate'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
updateman
:
new
FormItemModel
({
caption
:
'更新人'
,
detailType
:
'FORMITEM'
,
name
:
'updateman'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
updatedate
:
new
FormItemModel
({
caption
:
'更新时间'
,
detailType
:
'FORMITEM'
,
name
:
'updatedate'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
ibizbookid
:
new
FormItemModel
({
caption
:
'图书标识'
,
detailType
:
'FORMITEM'
,
name
:
'ibizbookid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
wizardpanel_form_ThirdForm
:
new
FormTabPanelModel
({
caption
:
'wizardpanel_form_ThirdForm'
,
detailType
:
'TABPANEL'
,
name
:
'wizardpanel_form_ThirdForm'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
tabPages
:
[{
name
:
'formpage1'
,
index
:
0
,
visible
:
true
},
{
name
:
'formpage2'
,
index
:
1
,
visible
:
true
}]
}),
returntime
:
new
FormItemModel
({
caption
:
'归还日期'
,
detailType
:
'FORMITEM'
,
name
:
'returntime'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
true
,
disabled
:
false
,
enableCond
:
3
})
,
};
/**
...
...
@@ -808,75 +697,27 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
}
/**
* 监控表单属性 ibizbookname 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof GuideReturnFormBase
*/
@
Watch
(
'data.ibizbookname'
)
onIbizbooknameChange
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'ibizbookname'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 createman 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof GuideReturnFormBase
*/
@
Watch
(
'data.createman'
)
onCreatemanChange
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'createman'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 createdate 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof GuideReturnFormBase
*/
@
Watch
(
'data.createdate'
)
onCreatedateChange
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'createdate'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 updateman 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof GuideReturnFormBase
*/
@
Watch
(
'data.updateman'
)
onUpdatemanChange
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'updateman'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 updatedate 值
* 监控表单属性 ibizbookid 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof GuideReturnFormBase
*/
@
Watch
(
'data.
updatedate
'
)
on
Updatedate
Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'
updatedate
'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
@
Watch
(
'data.
ibizbookid
'
)
on
Ibizbookid
Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'
ibizbookid
'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性
ibizbookid
值
* 监控表单属性
returntime
值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof GuideReturnFormBase
*/
@
Watch
(
'data.
ibizbookid
'
)
on
Ibizbookid
Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'
ibizbookid
'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
@
Watch
(
'data.
returntime
'
)
on
Returntime
Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'
returntime
'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
...
...
@@ -945,12 +786,6 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
}
/**
...
...
app_Web/src/widgets/ibizbook/guide-return-form-form/guide-return-form-form-model.ts
浏览文件 @
551fe117
...
...
@@ -55,36 +55,16 @@ export default class GuideReturnFormModel {
{
name
:
'srfsourcekey'
,
},
{
name
:
'ibizbookname'
,
prop
:
'ibizbookname'
,
dataType
:
'TEXT'
,
},
{
name
:
'createman'
,
prop
:
'createman'
,
dataType
:
'TEXT'
,
},
{
name
:
'createdate'
,
prop
:
'createdate'
,
dataType
:
'DATETIME'
,
},
{
name
:
'updateman'
,
prop
:
'updateman'
,
dataType
:
'TEXT'
,
},
{
name
:
'updatedate'
,
prop
:
'updatedate'
,
dataType
:
'DATETIME'
,
},
{
name
:
'ibizbookid'
,
prop
:
'ibizbookid'
,
dataType
:
'GUID'
,
},
{
name
:
'returntime'
,
prop
:
'returntime'
,
dataType
:
'DATE'
,
},
{
name
:
'ibizbook'
,
prop
:
'ibizbookid'
,
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录