Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
bbe18fe7
提交
bbe18fe7
编写于
12月 01, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tony001 发布系统代码 [后台服务,演示应用]
上级
bab6612b
变更
4
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
97 行增加
和
58 行删除
+97
-58
ibizorder-detail_en_US.ts
...anres/entities/ibizorder-detail/ibizorder-detail_en_US.ts
+1
-1
ibizorder-detail_zh_CN.ts
...anres/entities/ibizorder-detail/ibizorder-detail_zh_CN.ts
+1
-1
main-form-base.vue
app_Web/src/widgets/ibizbook/main-form/main-form-base.vue
+83
-49
main-form-model.ts
app_Web/src/widgets/ibizbook/main-form/main-form-model.ts
+12
-7
未找到文件。
app_Web/src/locale/lanres/entities/ibizorder-detail/ibizorder-detail_en_US.ts
浏览文件 @
bbe18fe7
...
...
@@ -221,7 +221,7 @@ export default {
uiactions
:
{
},
},
chart
_chart
:
{
histogram
_chart
:
{
nodata
:
""
,
},
default_searchform
:
{
...
...
app_Web/src/locale/lanres/entities/ibizorder-detail/ibizorder-detail_zh_CN.ts
浏览文件 @
bbe18fe7
...
...
@@ -220,7 +220,7 @@ export default {
uiactions
:
{
},
},
chart
_chart
:
{
histogram
_chart
:
{
nodata
:
""
,
},
default_searchform
:
{
...
...
app_Web/src/widgets/ibizbook/main-form/main-form-base.vue
浏览文件 @
bbe18fe7
...
...
@@ -15,7 +15,7 @@
<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.main_form.details.group1')"
:isShowCaption=
"true"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"0"
:isInfoGroupMode=
"false"
>
<row>
<i-col
v-show=
"detailsModel.ibizbookid.visible"
:style=
"
{}" :
lg="{ span: 24
, offset: 0 }">
<i-col
v-show=
"detailsModel.ibizbookid.visible"
:style=
"
{}" :
sm="{ span: 8, offset: 0 }" :md="{ span: 8, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 8
, offset: 0 }">
<app-form-item
name=
'ibizbookid'
:itemRules=
"this.rules().ibizbookid"
class=
''
:caption=
"$t('entities.ibizbook.main_form.details.ibizbookid')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.ibizbookid.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.ibizbookid"
...
...
@@ -29,7 +29,7 @@
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.ibizbookname.visible"
:style=
"
{}" :
lg="{ span: 24
, offset: 0 }">
<i-col
v-show=
"detailsModel.ibizbookname.visible"
:style=
"
{}" :
sm="{ span: 8, offset: 0 }" :md="{ span: 8, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 8
, offset: 0 }">
<app-form-item
name=
'ibizbookname'
:itemRules=
"this.rules().ibizbookname"
class=
''
:caption=
"$t('entities.ibizbook.main_form.details.ibizbookname')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.ibizbookname.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.ibizbookname"
...
...
@@ -43,7 +43,7 @@
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.author.visible"
:style=
"
{}" :
lg="{ span: 24
, offset: 0 }">
<i-col
v-show=
"detailsModel.author.visible"
:style=
"
{}" :
sm="{ span: 8, offset: 0 }" :md="{ span: 8, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 8
, offset: 0 }">
<app-form-item
name=
'author'
:itemRules=
"this.rules().author"
class=
''
:caption=
"$t('entities.ibizbook.main_form.details.author')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.author.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.author"
...
...
@@ -57,7 +57,7 @@
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.press.visible"
:style=
"
{}" :
lg="{ span: 24
, offset: 0 }">
<i-col
v-show=
"detailsModel.press.visible"
:style=
"
{}" :
sm="{ span: 8, offset: 0 }" :md="{ span: 8, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 8
, offset: 0 }">
<app-form-item
name=
'press'
:itemRules=
"this.rules().press"
class=
''
:caption=
"$t('entities.ibizbook.main_form.details.press')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.press.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.press"
...
...
@@ -71,7 +71,7 @@
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.price.visible"
:style=
"
{}" :
lg="{ span: 24
, offset: 0 }">
<i-col
v-show=
"detailsModel.price.visible"
:style=
"
{}" :
sm="{ span: 8, offset: 0 }" :md="{ span: 8, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 8
, offset: 0 }">
<app-form-item
name=
'price'
:itemRules=
"this.rules().price"
class=
''
:caption=
"$t('entities.ibizbook.main_form.details.price')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.price.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.price"
...
...
@@ -87,7 +87,7 @@
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.type.visible"
:style=
"
{}" :
lg="{ span: 24
, offset: 0 }">
<i-col
v-show=
"detailsModel.type.visible"
:style=
"
{}" :
sm="{ span: 8, offset: 0 }" :md="{ span: 8, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 8
, offset: 0 }">
<app-form-item
name=
'type'
:itemRules=
"this.rules().type"
class=
''
:caption=
"$t('entities.ibizbook.main_form.details.type')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.type.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.type"
...
...
@@ -101,7 +101,7 @@
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.booknumber.visible"
:style=
"
{}" :
lg="{ span: 24
, offset: 0 }">
<i-col
v-show=
"detailsModel.booknumber.visible"
:style=
"
{}" :
sm="{ span: 8, offset: 0 }" :md="{ span: 8, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 8
, offset: 0 }">
<app-form-item
name=
'booknumber'
:itemRules=
"this.rules().booknumber"
class=
''
:caption=
"$t('entities.ibizbook.main_form.details.booknumber')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.booknumber.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.booknumber"
...
...
@@ -115,13 +115,13 @@
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.
subtext.visible"
:style=
"
{}" :lg="{ span: 24
, offset: 0 }">
<app-form-item
name=
'
subtext'
:itemRules=
"this.rules().subtext"
class=
''
:caption=
"$t('entities.ibizbook.main_form.details.subtext')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.subtext
.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<i-col
v-show=
"detailsModel.
icon.visible"
:style=
"
{}" :sm="{ span: 8, offset: 0 }" :md="{ span: 8, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 8
, offset: 0 }">
<app-form-item
name=
'
icon'
:itemRules=
"this.rules().icon"
class=
''
:caption=
"$t('entities.ibizbook.main_form.details.icon')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.icon
.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.
subtext
"
v-model=
"data.
icon
"
@
enter=
"onEnter($event)"
unit=
""
:disabled=
"detailsModel.
subtext
.disabled"
:disabled=
"detailsModel.
icon
.disabled"
type=
'text'
style=
""
>
</input-box>
...
...
@@ -129,30 +129,44 @@
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.icon.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'icon'
:itemRules=
"this.rules().icon"
class=
''
:caption=
"$t('entities.ibizbook.main_form.details.icon')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.icon.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.icon"
@
enter=
"onEnter($event)"
unit=
""
:disabled=
"detailsModel.icon.disabled"
type=
'text'
style=
""
>
</input-box>
<i-col
v-show=
"detailsModel.sailstate.visible"
:style=
"
{}" :sm="{ span: 8, offset: 0 }" :md="{ span: 8, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 8, offset: 0 }">
<app-form-item
name=
'sailstate'
:itemRules=
"this.rules().sailstate"
class=
''
:caption=
"$t('entities.ibizbook.main_form.details.sailstate')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.sailstate.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<dropdown-list
v-model=
"data.sailstate"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:formState=
"formState"
:localContext =
'
{ }'
:localParam ='{ }'
:disabled="detailsModel.sailstate.disabled"
valueType="string"
tag='BookSailState'
codelistType='STATIC'
placeholder='请选择...' style="">
</dropdown-list>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.lendouttime.visible"
:style=
"
{}" :sm="{ span: 8, offset: 0 }" :md="{ span: 8, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 8, offset: 0 }">
<app-form-item
name=
'lendouttime'
:itemRules=
"this.rules().lendouttime"
class=
''
:caption=
"$t('entities.ibizbook.main_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>
</i-col>
<i-col
v-show=
"detailsModel.returntime.visible"
:style=
"
{}" :
lg="{ span: 24
, offset: 0 }">
<i-col
v-show=
"detailsModel.returntime.visible"
:style=
"
{}" :
sm="{ span: 8, offset: 0 }" :md="{ span: 8, offset: 0 }" :lg="{ span: 8, offset: 0 }" :xl="{ span: 8
, offset: 0 }">
<app-form-item
name=
'returntime'
:itemRules=
"this.rules().returntime"
class=
''
:caption=
"$t('entities.ibizbook.main_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>
</i-col>
<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.main_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
>
<i-col
v-show=
"detailsModel.
subtext
.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-item
name=
'
subtext'
:itemRules=
"this.rules().subtext"
class=
''
:caption=
"$t('entities.ibizbook.main_form.details.subtext')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.subtext
.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<
input-box
v-model=
"data.subtext"
:textareaId=
"this.$util.createUUID()"
:disabled=
"detailsModel.subtext.disabled"
type=
'textarea'
textareaStyle=
"height:200px;"
></input-box
>
</app-form-item>
...
...
@@ -625,10 +639,11 @@ export default class MainBase extends Vue implements ControlInterface {
price
:
null
,
type
:
null
,
booknumber
:
null
,
subtext
:
null
,
icon
:
null
,
returntim
e
:
null
,
sailstat
e
:
null
,
lendouttime
:
null
,
returntime
:
null
,
subtext
:
null
,
createman
:
null
,
createdate
:
null
,
updateman
:
null
,
...
...
@@ -712,22 +727,26 @@ export default class MainBase extends Vue implements ControlInterface {
{
required
:
this
.
detailsModel
.
booknumber
.
required
,
type
:
'number'
,
message
:
'图书数量 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
booknumber
.
required
,
type
:
'number'
,
message
:
'图书数量 值不能为空'
,
trigger
:
'blur'
},
],
subtext
:
[
{
required
:
this
.
detailsModel
.
subtext
.
required
,
type
:
'string'
,
message
:
'图书描述 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
subtext
.
required
,
type
:
'string'
,
message
:
'图书描述 值不能为空'
,
trigger
:
'blur'
},
],
icon
:
[
{
required
:
this
.
detailsModel
.
icon
.
required
,
type
:
'string'
,
message
:
'图标 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
icon
.
required
,
type
:
'string'
,
message
:
'图标 值不能为空'
,
trigger
:
'blur'
},
],
returntim
e
:
[
{
required
:
this
.
detailsModel
.
returntime
.
required
,
type
:
'string'
,
message
:
'归还日期
值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
returntime
.
required
,
type
:
'string'
,
message
:
'归还日期
值不能为空'
,
trigger
:
'blur'
},
sailstat
e
:
[
{
required
:
this
.
detailsModel
.
sailstate
.
required
,
type
:
'string'
,
message
:
'图书销售状态
值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
sailstate
.
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'
},
],
returntime
:
[
{
required
:
this
.
detailsModel
.
returntime
.
required
,
type
:
'string'
,
message
:
'归还日期 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
returntime
.
required
,
type
:
'string'
,
message
:
'归还日期 值不能为空'
,
trigger
:
'blur'
},
],
subtext
:
[
{
required
:
this
.
detailsModel
.
subtext
.
required
,
type
:
'string'
,
message
:
'图书描述 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
subtext
.
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'
},
...
...
@@ -886,14 +905,16 @@ export default class MainBase 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
})
,
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
})
,
icon
:
new
FormItemModel
({
caption
:
'图标'
,
detailType
:
'FORMITEM'
,
name
:
'icon'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
returntime
:
new
FormItemModel
({
caption
:
'归还日期'
,
detailType
:
'FORMITEM'
,
name
:
'returntime'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
tru
e
,
disabled
:
false
,
enableCond
:
3
})
sailstate
:
new
FormItemModel
({
caption
:
'图书销售状态'
,
detailType
:
'FORMITEM'
,
name
:
'sailstate'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
fals
e
,
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
})
,
returntime
:
new
FormItemModel
({
caption
:
'归还日期'
,
detailType
:
'FORMITEM'
,
name
:
'returntime'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
true
,
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
})
,
createman
:
new
FormItemModel
({
caption
:
'建立人'
,
detailType
:
'FORMITEM'
,
name
:
'createman'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
...
...
@@ -1087,27 +1108,39 @@ export default class MainBase extends Vue implements ControlInterface {
}
/**
* 监控表单属性
subtext
值
* 监控表单属性
icon
值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof MainBase
*/
@
Watch
(
'data.
subtext
'
)
on
Subtext
Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'
subtext
'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
@
Watch
(
'data.
icon
'
)
on
Icon
Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'
icon
'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性
icon
值
* 监控表单属性
sailstate
值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof MainBase
*/
@
Watch
(
'data.icon'
)
onIconChange
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'icon'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
@
Watch
(
'data.sailstate'
)
onSailstateChange
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'sailstate'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 lendouttime 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof MainBase
*/
@
Watch
(
'data.lendouttime'
)
onLendouttimeChange
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'lendouttime'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
...
...
@@ -1123,15 +1156,15 @@ export default class MainBase extends Vue implements ControlInterface {
}
/**
* 监控表单属性
lendouttime
值
* 监控表单属性
subtext
值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof MainBase
*/
@
Watch
(
'data.
lendouttime
'
)
on
Lendouttime
Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'
lendouttime
'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
@
Watch
(
'data.
subtext
'
)
on
Subtext
Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'
subtext
'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
...
...
@@ -1261,6 +1294,7 @@ export default class MainBase extends Vue implements ControlInterface {
}
...
...
app_Web/src/widgets/ibizbook/main-form/main-form-model.ts
浏览文件 @
bbe18fe7
...
...
@@ -91,24 +91,29 @@ export default class MainModel {
dataType
:
'INT'
,
},
{
name
:
'
subtext
'
,
prop
:
'
subtext
'
,
name
:
'
icon
'
,
prop
:
'
icon
'
,
dataType
:
'TEXT'
,
},
{
name
:
'
icon
'
,
prop
:
'
icon
'
,
name
:
'
sailstate
'
,
prop
:
'
sailstate
'
,
dataType
:
'TEXT'
,
},
{
name
:
'lendouttime'
,
prop
:
'lendouttime'
,
dataType
:
'DATE'
,
},
{
name
:
'returntime'
,
prop
:
'returntime'
,
dataType
:
'DATE'
,
},
{
name
:
'
lendouttime
'
,
prop
:
'
lendouttime
'
,
dataType
:
'
DATE
'
,
name
:
'
subtext
'
,
prop
:
'
subtext
'
,
dataType
:
'
TEXT
'
,
},
{
name
:
'createman'
,
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录