Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
e08a24f8
提交
e08a24f8
编写于
11月 12, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ShineKOT 发布系统代码 [后台服务,演示应用]
上级
28098705
变更
8
显示空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
169 行增加
和
1 行删除
+169
-1
data-dictionary.json
app_Web/public/assets/json/data-dictionary.json
+29
-0
codelist_en_US.ts
app_Web/src/locale/lanres/codelist/codelist_en_US.ts
+5
-0
codelist_zh_CN.ts
app_Web/src/locale/lanres/codelist/codelist_zh_CN.ts
+5
-0
ibizorder_en_US.ts
...b/src/locale/lanres/entities/ibizorder/ibizorder_en_US.ts
+2
-0
ibizorder_zh_CN.ts
...b/src/locale/lanres/entities/ibizorder/ibizorder_zh_CN.ts
+2
-0
codelist.ts
app_Web/src/mock/codelist/codelist.ts
+29
-0
uipart-0011-form-base.vue
...gets/ibizorder/uipart-0011-form/uipart-0011-form-base.vue
+89
-1
uipart-0011-form-model.ts
...gets/ibizorder/uipart-0011-form/uipart-0011-form-model.ts
+8
-0
未找到文件。
app_Web/public/assets/json/data-dictionary.json
浏览文件 @
e08a24f8
...
...
@@ -76,6 +76,35 @@
}
]
},
{
"srfkey"
:
"CodeList12"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"static"
,
"items"
:
[
{
"id"
:
"REPORTFOLDER_1"
,
"label"
:
"经营性报表"
,
"text"
:
"经营性报表"
,
"class"
:
""
,
"data"
:
""
,
"codename"
:
"Reportfolder_1"
,
"value"
:
"REPORTFOLDER_1"
,
"disabled"
:
false
}
,
{
"id"
:
"REPORTFOLDER_2"
,
"label"
:
"财务报表"
,
"text"
:
"财务报表"
,
"class"
:
""
,
"data"
:
""
,
"codename"
:
"Reportfolder_2"
,
"value"
:
"REPORTFOLDER_2"
,
"disabled"
:
false
}
]
},
{
"srfkey"
:
"SCODELIST_TEXT"
,
"emptytext"
:
"未定义"
,
...
...
app_Web/src/locale/lanres/codelist/codelist_en_US.ts
浏览文件 @
e08a24f8
...
...
@@ -13,6 +13,11 @@ export default {
"4"
:
"类型3"
,
"empty"
:
""
},
CodeList12
:
{
"REPORTFOLDER_1"
:
"经营性报表"
,
"REPORTFOLDER_2"
:
"财务报表"
,
"empty"
:
""
},
SCODELIST_TEXT
:
{
"A"
:
"类型1"
,
"B"
:
"类型2"
,
...
...
app_Web/src/locale/lanres/codelist/codelist_zh_CN.ts
浏览文件 @
e08a24f8
...
...
@@ -13,6 +13,11 @@ export default {
"4"
:
"类型3"
,
"empty"
:
""
,
},
CodeList12
:
{
"REPORTFOLDER_1"
:
"经营性报表"
,
"REPORTFOLDER_2"
:
"财务报表"
,
"empty"
:
""
,
},
SCODELIST_TEXT
:
{
"A"
:
"类型1"
,
"B"
:
"类型2"
,
...
...
app_Web/src/locale/lanres/entities/ibizorder/ibizorder_en_US.ts
浏览文件 @
e08a24f8
...
...
@@ -371,6 +371,8 @@ export default {
formitem6
:
"滑动输入条(>=60)"
,
formitem7
:
"下拉列表框(notnil)"
,
formitem8
:
"开关(=0)"
,
formitem9
:
"选项框"
,
formitem10
:
"单选项列表"
,
ibizcustomerid
:
"客户标识"
,
ibizorderid
:
"订单标识"
,
},
...
...
app_Web/src/locale/lanres/entities/ibizorder/ibizorder_zh_CN.ts
浏览文件 @
e08a24f8
...
...
@@ -370,6 +370,8 @@ export default {
formitem6
:
"滑动输入条(>=60)"
,
formitem7
:
"下拉列表框(notnil)"
,
formitem8
:
"开关(=0)"
,
formitem9
:
"选项框"
,
formitem10
:
"单选项列表"
,
ibizcustomerid
:
"客户标识"
,
ibizorderid
:
"订单标识"
,
},
...
...
app_Web/src/mock/codelist/codelist.ts
浏览文件 @
e08a24f8
...
...
@@ -84,6 +84,35 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
},
]
},
{
srfkey
:
"CodeList12"
,
emptytext
:
"未定义"
,
"codelisttype"
:
"static"
,
items
:
[
{
id
:
"REPORTFOLDER_1"
,
label
:
"经营性报表"
,
text
:
"经营性报表"
,
"class"
:
""
,
"data"
:
""
,
"codename"
:
"Reportfolder_1"
,
value
:
"REPORTFOLDER_1"
,
disabled
:
false
,
},
{
id
:
"REPORTFOLDER_2"
,
label
:
"财务报表"
,
text
:
"财务报表"
,
"class"
:
""
,
"data"
:
""
,
"codename"
:
"Reportfolder_2"
,
value
:
"REPORTFOLDER_2"
,
disabled
:
false
,
},
]
},
{
srfkey
:
"SCODELIST_TEXT"
,
emptytext
:
"未定义"
,
...
...
app_Web/src/widgets/ibizorder/uipart-0011-form/uipart-0011-form-base.vue
浏览文件 @
e08a24f8
...
...
@@ -215,6 +215,35 @@
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.formitem9.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }" :xl="{ span: 12, offset: 0 }">
<app-form-item
name=
'formitem9'
:itemRules=
"this.rules().formitem9"
class=
''
:caption=
"$t('entities.ibizorder.uipart_0011_form.details.formitem9')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.formitem9.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<div
style=
""
>
<app-checkbox
:value=
"this.data.formitem9"
@
change=
"($event)=>
{this.data.formitem9 = $event} " :disabled="detailsModel.formitem9.disabled">
</app-checkbox>
</div>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.formitem10.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }" :xl="{ span: 12, offset: 0 }">
<app-form-item
name=
'formitem10'
:itemRules=
"this.rules().formitem10"
class=
''
:caption=
"$t('entities.ibizorder.uipart_0011_form.details.formitem10')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.formitem10.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-radio-group
v-model=
"data.formitem10"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:disabled=
"detailsModel.formitem10.disabled"
name=
"formitem10"
:localContext =
'
{ }'
:localParam ='{ }'
tag='CodeList12'
codelistType='STATIC'
style="">
</app-radio-group>
</app-form-item>
</i-col>
</row>
...
...
@@ -624,6 +653,8 @@ export default class UIPART_0011Base extends Vue implements ControlInterface {
formitem6
:
null
,
formitem7
:
null
,
formitem8
:
null
,
formitem9
:
null
,
formitem10
:
null
,
ibizcustomerid
:
null
,
ibizorderid
:
null
,
ibizorder
:
null
,
...
...
@@ -741,6 +772,14 @@ export default class UIPART_0011Base extends Vue implements ControlInterface {
{
required
:
this
.
detailsModel
.
formitem8
.
required
,
type
:
'string'
,
message
:
'开关(=0) 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
formitem8
.
required
,
type
:
'string'
,
message
:
'开关(=0) 值不能为空'
,
trigger
:
'blur'
},
],
formitem9
:
[
{
required
:
this
.
detailsModel
.
formitem9
.
required
,
type
:
'string'
,
message
:
'选项框 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
formitem9
.
required
,
type
:
'string'
,
message
:
'选项框 值不能为空'
,
trigger
:
'blur'
},
],
formitem10
:
[
{
required
:
this
.
detailsModel
.
formitem10
.
required
,
type
:
'string'
,
message
:
'单选项列表 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
formitem10
.
required
,
type
:
'string'
,
message
:
'单选项列表 值不能为空'
,
trigger
:
'blur'
},
],
}
}
...
...
@@ -890,9 +929,13 @@ export default class UIPART_0011Base extends Vue implements ControlInterface {
,
formitem6
:
new
FormItemModel
({
caption
:
'滑动输入条(>=60)'
,
detailType
:
'FORMITEM'
,
name
:
'formitem6'
,
visible
:
false
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
formitem7
:
new
FormItemModel
({
caption
:
'下拉列表框(notnil)'
,
detailType
:
'FORMITEM'
,
name
:
'formitem7'
,
visible
:
tru
e
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
formitem7
:
new
FormItemModel
({
caption
:
'下拉列表框(notnil)'
,
detailType
:
'FORMITEM'
,
name
:
'formitem7'
,
visible
:
fals
e
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
formitem8
:
new
FormItemModel
({
caption
:
'开关(=0)'
,
detailType
:
'FORMITEM'
,
name
:
'formitem8'
,
visible
:
false
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
formitem9
:
new
FormItemModel
({
caption
:
'选项框'
,
detailType
:
'FORMITEM'
,
name
:
'formitem9'
,
visible
:
false
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
formitem10
:
new
FormItemModel
({
caption
:
'单选项列表'
,
detailType
:
'FORMITEM'
,
name
:
'formitem10'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
ibizcustomerid
:
new
FormItemModel
({
caption
:
'客户标识'
,
detailType
:
'FORMITEM'
,
name
:
'ibizcustomerid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
...
...
@@ -1188,6 +1231,30 @@ export default class UIPART_0011Base extends Vue implements ControlInterface {
this
.
formDataChange
({
name
:
'formitem8'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 formitem9 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof UIPART_0011Base
*/
@
Watch
(
'data.formitem9'
)
onFormitem9Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'formitem9'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 formitem10 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof UIPART_0011Base
*/
@
Watch
(
'data.formitem10'
)
onFormitem10Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'formitem10'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 ibizcustomerid 值
*
...
...
@@ -1355,6 +1422,14 @@ export default class UIPART_0011Base extends Vue implements ControlInterface {
this
.
detailsModel
.
formitem6
.
setVisible
(
ret
);
}
if
(
Object
.
is
(
name
,
''
)
||
Object
.
is
(
name
,
'formitem7'
))
{
let
ret
=
false
;
const
_formitem7
=
this
.
data
.
formitem7
;
if
(
this
.
$verify
.
testCond
(
_formitem7
,
'ISNOTNULL'
,
''
))
{
ret
=
true
;
}
this
.
detailsModel
.
formitem7
.
setVisible
(
ret
);
}
if
(
Object
.
is
(
name
,
''
)
||
Object
.
is
(
name
,
'formitem8'
))
{
let
ret
=
false
;
...
...
@@ -1365,6 +1440,16 @@ export default class UIPART_0011Base extends Vue implements ControlInterface {
this
.
detailsModel
.
formitem8
.
setVisible
(
ret
);
}
if
(
Object
.
is
(
name
,
''
)
||
Object
.
is
(
name
,
'formitem9'
))
{
let
ret
=
false
;
const
_formitem9
=
this
.
data
.
formitem9
;
if
(
this
.
$verify
.
testCond
(
_formitem9
,
'EQ'
,
'0'
))
{
ret
=
true
;
}
this
.
detailsModel
.
formitem9
.
setVisible
(
ret
);
}
}
...
...
@@ -2469,6 +2554,9 @@ export default class UIPART_0011Base extends Vue implements ControlInterface {
if
(
this
.
data
.
hasOwnProperty
(
'formitem8'
))
{
this
.
data
[
'formitem8'
]
=
'0'
;
}
if
(
this
.
data
.
hasOwnProperty
(
'formitem9'
))
{
this
.
data
[
'formitem9'
]
=
'1'
;
}
}
/**
...
...
app_Web/src/widgets/ibizorder/uipart-0011-form/uipart-0011-form-model.ts
浏览文件 @
e08a24f8
...
...
@@ -126,6 +126,14 @@ export default class UIPART_0011Model {
name
:
'formitem8'
,
dataType
:
'FORMITEM'
,
},
{
name
:
'formitem9'
,
dataType
:
'FORMITEM'
,
},
{
name
:
'formitem10'
,
dataType
:
'FORMITEM'
,
},
{
name
:
'ibizcustomerid'
,
prop
:
'ibizcustomerid'
,
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录