Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
516e8e38
提交
516e8e38
编写于
11月 12, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ShineKOT 发布系统代码 [后台服务,演示应用]
上级
b054c1db
变更
4
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
108 行增加
和
0 行删除
+108
-0
ibizorder_en_US.ts
...b/src/locale/lanres/entities/ibizorder/ibizorder_en_US.ts
+3
-0
ibizorder_zh_CN.ts
...b/src/locale/lanres/entities/ibizorder/ibizorder_zh_CN.ts
+3
-0
uipart-0011-form-base.vue
...gets/ibizorder/uipart-0011-form/uipart-0011-form-base.vue
+94
-0
uipart-0011-form-model.ts
...gets/ibizorder/uipart-0011-form/uipart-0011-form-model.ts
+8
-0
未找到文件。
app_Web/src/locale/lanres/entities/ibizorder/ibizorder_en_US.ts
浏览文件 @
516e8e38
...
...
@@ -345,6 +345,7 @@ export default {
uipart_0011_form
:
{
details
:
{
group1
:
"订单基本信息"
,
grouppanel1
:
"文本类型动态显示"
,
formpage1
:
"基本信息"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
...
...
@@ -361,6 +362,8 @@ export default {
ordertype
:
"订单类型"
,
orderstate
:
"订单状态"
,
opinion
:
"审批意见"
,
formitem
:
"文本框(=)"
,
formitem1
:
"数值框(=)"
,
ibizcustomerid
:
"客户标识"
,
ibizorderid
:
"订单标识"
,
},
...
...
app_Web/src/locale/lanres/entities/ibizorder/ibizorder_zh_CN.ts
浏览文件 @
516e8e38
...
...
@@ -344,6 +344,7 @@ export default {
uipart_0011_form
:
{
details
:
{
group1
:
"订单基本信息"
,
grouppanel1
:
"文本类型动态显示"
,
formpage1
:
"基本信息"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
...
...
@@ -360,6 +361,8 @@ export default {
ordertype
:
"订单类型"
,
orderstate
:
"订单状态"
,
opinion
:
"审批意见"
,
formitem
:
"文本框(=)"
,
formitem1
:
"数值框(=)"
,
ibizcustomerid
:
"客户标识"
,
ibizorderid
:
"订单标识"
,
},
...
...
app_Web/src/widgets/ibizorder/uipart-0011-form/uipart-0011-form-base.vue
浏览文件 @
516e8e38
...
...
@@ -121,6 +121,43 @@
</row>
</app-form-group>
</i-col>
<i-col
v-show=
"detailsModel.grouppanel1.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }">
<app-form-group
:uiService=
"appUIService"
:data=
"transformData(data)"
:manageContainerStatus=
"detailsModel.grouppanel1.manageContainerStatus"
:isManageContainer=
"detailsModel.grouppanel1.isManageContainer"
@
managecontainerclick=
"manageContainerClick('grouppanel1')"
layoutType=
"TABLE_24COL"
titleStyle=
""
class=
''
:uiActionGroup=
"detailsModel.grouppanel1.uiActionGroup"
@
groupuiactionclick=
"groupUIActionClick($event)"
:caption=
"$t('entities.ibizorder.uipart_0011_form.details.grouppanel1')"
:isShowCaption=
"true"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"0"
:isInfoGroupMode=
"false"
>
<row>
<i-col
v-show=
"detailsModel.formitem.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }" :xl="{ span: 12, offset: 0 }">
<app-form-item
name=
'formitem'
:itemRules=
"this.rules().formitem"
class=
''
:caption=
"$t('entities.ibizorder.uipart_0011_form.details.formitem')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.formitem.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.formitem"
@
enter=
"onEnter($event)"
:disabled=
"detailsModel.formitem.disabled"
type=
'text'
style=
""
>
</input-box>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.formitem1.visible"
:style=
"
{}" :lg="{ span: 24, offset: 0 }" :xl="{ span: 12, offset: 0 }">
<app-form-item
name=
'formitem1'
:itemRules=
"this.rules().formitem1"
class=
''
:caption=
"$t('entities.ibizorder.uipart_0011_form.details.formitem1')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.formitem1.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.formitem1"
@
enter=
"onEnter($event)"
:disabled=
"detailsModel.formitem1.disabled"
type=
'number'
style=
""
>
</input-box>
</app-form-item>
</i-col>
</row>
</app-form-group>
</i-col>
...
...
@@ -516,6 +553,8 @@ export default class UIPART_0011Base extends Vue implements ControlInterface {
ordertype
:
null
,
orderstate
:
null
,
opinion
:
null
,
formitem
:
null
,
formitem1
:
null
,
ibizcustomerid
:
null
,
ibizorderid
:
null
,
ibizorder
:
null
,
...
...
@@ -597,6 +636,14 @@ export default class UIPART_0011Base extends Vue implements ControlInterface {
{
required
:
this
.
detailsModel
.
opinion
.
required
,
type
:
'string'
,
message
:
'审批意见 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
opinion
.
required
,
type
:
'string'
,
message
:
'审批意见 值不能为空'
,
trigger
:
'blur'
},
],
formitem
:
[
{
required
:
this
.
detailsModel
.
formitem
.
required
,
type
:
'string'
,
message
:
'文本框(=) 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
formitem
.
required
,
type
:
'string'
,
message
:
'文本框(=) 值不能为空'
,
trigger
:
'blur'
},
],
formitem1
:
[
{
required
:
this
.
detailsModel
.
formitem1
.
required
,
type
:
'string'
,
message
:
'数值框(=) 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
formitem1
.
required
,
type
:
'string'
,
message
:
'数值框(=) 值不能为空'
,
trigger
:
'blur'
},
],
}
}
...
...
@@ -697,6 +744,8 @@ export default class UIPART_0011Base extends Vue implements ControlInterface {
*/
public
detailsModel
:
any
=
{
group1
:
new
FormGroupPanelModel
({
caption
:
'订单基本信息'
,
detailType
:
'GROUPPANEL'
,
name
:
'group1'
,
visible
:
true
,
isShowCaption
:
false
,
form
:
this
,
isControlledContent
:
false
,
uiActionGroup
:
{
caption
:
''
,
langbase
:
'entities.ibizorder.uipart_0011_form'
,
extractMode
:
'ITEM'
,
details
:
[]
},
isManageContainer
:
false
,
showMoreModeItems
:
[]
})
,
grouppanel1
:
new
FormGroupPanelModel
({
caption
:
'文本类型动态显示'
,
detailType
:
'GROUPPANEL'
,
name
:
'grouppanel1'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
uiActionGroup
:
{
caption
:
''
,
langbase
:
'entities.ibizorder.uipart_0011_form'
,
extractMode
:
'ITEM'
,
details
:
[]
},
isManageContainer
:
false
,
showMoreModeItems
:
[]
})
,
formpage1
:
new
FormPageModel
({
caption
:
'基本信息'
,
detailType
:
'FORMPAGE'
,
name
:
'formpage1'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
})
,
...
...
@@ -729,6 +778,10 @@ export default class UIPART_0011Base extends Vue implements ControlInterface {
orderstate
:
new
FormItemModel
({
caption
:
'订单状态'
,
detailType
:
'FORMITEM'
,
name
:
'orderstate'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
opinion
:
new
FormItemModel
({
caption
:
'审批意见'
,
detailType
:
'FORMITEM'
,
name
:
'opinion'
,
visible
:
false
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
0
})
,
formitem
:
new
FormItemModel
({
caption
:
'文本框(=)'
,
detailType
:
'FORMITEM'
,
name
:
'formitem'
,
visible
:
false
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
formitem1
:
new
FormItemModel
({
caption
:
'数值框(=)'
,
detailType
:
'FORMITEM'
,
name
:
'formitem1'
,
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
})
,
...
...
@@ -916,6 +969,30 @@ export default class UIPART_0011Base extends Vue implements ControlInterface {
this
.
formDataChange
({
name
:
'opinion'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 formitem 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof UIPART_0011Base
*/
@
Watch
(
'data.formitem'
)
onFormitemChange
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'formitem'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 formitem1 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof UIPART_0011Base
*/
@
Watch
(
'data.formitem1'
)
onFormitem1Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'formitem1'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 ibizcustomerid 值
*
...
...
@@ -1010,6 +1087,7 @@ export default class UIPART_0011Base extends Vue implements ControlInterface {
if
(
Object
.
is
(
name
,
''
)
||
Object
.
is
(
name
,
'orderstate'
))
{
let
ret
=
false
;
const
_orderstate
=
this
.
data
.
orderstate
;
...
...
@@ -1019,6 +1097,16 @@ export default class UIPART_0011Base extends Vue implements ControlInterface {
this
.
detailsModel
.
opinion
.
setVisible
(
ret
);
}
if
(
Object
.
is
(
name
,
''
)
||
Object
.
is
(
name
,
'formitem'
))
{
let
ret
=
false
;
const
_formitem
=
this
.
data
.
formitem
;
if
(
this
.
$verify
.
testCond
(
_formitem
,
'EQ'
,
'111'
))
{
ret
=
true
;
}
this
.
detailsModel
.
formitem
.
setVisible
(
ret
);
}
}
...
...
@@ -2102,6 +2190,12 @@ export default class UIPART_0011Base extends Vue implements ControlInterface {
if
(
this
.
data
.
hasOwnProperty
(
'ordertime'
))
{
this
.
data
[
'ordertime'
]
=
this
.
$util
.
dateFormat
(
new
Date
());
}
if
(
this
.
data
.
hasOwnProperty
(
'formitem'
))
{
this
.
data
[
'formitem'
]
=
'111'
;
}
if
(
this
.
data
.
hasOwnProperty
(
'formitem1'
))
{
this
.
data
[
'formitem1'
]
=
'111'
;
}
}
/**
...
...
app_Web/src/widgets/ibizorder/uipart-0011-form/uipart-0011-form-model.ts
浏览文件 @
516e8e38
...
...
@@ -90,6 +90,14 @@ export default class UIPART_0011Model {
prop
:
'opinion'
,
dataType
:
'LONGTEXT'
,
},
{
name
:
'formitem'
,
dataType
:
'FORMITEM'
,
},
{
name
:
'formitem1'
,
dataType
:
'FORMITEM'
,
},
{
name
:
'ibizcustomerid'
,
prop
:
'ibizcustomerid'
,
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录