Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
73bb514a
提交
73bb514a
编写于
11月 25, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ShineKOT 发布系统代码 [后台服务,演示应用]
上级
a5e17309
变更
5
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
106 行增加
和
12 行删除
+106
-12
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
main3-form-base.vue
...c/widgets/ibizorder-detail/main3-form/main3-form-base.vue
+6
-6
uipart-0010-form-base.vue
...gets/ibizorder/uipart-0010-form/uipart-0010-form-base.vue
+86
-6
uipart-0010-form-model.ts
...gets/ibizorder/uipart-0010-form/uipart-0010-form-model.ts
+8
-0
未找到文件。
app_Web/src/locale/lanres/entities/ibizorder/ibizorder_en_US.ts
浏览文件 @
73bb514a
...
...
@@ -275,6 +275,7 @@ export default {
uipart_0010_form
:
{
details
:
{
group1
:
"订单基本信息"
,
grouppanel1
:
"动态空输入"
,
formpage1
:
"基本信息"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
...
...
@@ -291,6 +292,8 @@ export default {
ordertype
:
"订单类型"
,
orderstate
:
"订单状态"
,
memo
:
"备注"
,
formitem
:
"开关"
,
formitem1
:
"文本框"
,
ibizcustomerid
:
"客户标识"
,
ibizorderid
:
"订单标识"
,
},
...
...
app_Web/src/locale/lanres/entities/ibizorder/ibizorder_zh_CN.ts
浏览文件 @
73bb514a
...
...
@@ -274,6 +274,7 @@ export default {
uipart_0010_form
:
{
details
:
{
group1
:
"订单基本信息"
,
grouppanel1
:
"动态空输入"
,
formpage1
:
"基本信息"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
...
...
@@ -290,6 +291,8 @@ export default {
ordertype
:
"订单类型"
,
orderstate
:
"订单状态"
,
memo
:
"备注"
,
formitem
:
"开关"
,
formitem1
:
"文本框"
,
ibizcustomerid
:
"客户标识"
,
ibizorderid
:
"订单标识"
,
},
...
...
app_Web/src/widgets/ibizorder-detail/main3-form/main3-form-base.vue
浏览文件 @
73bb514a
...
...
@@ -5,7 +5,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.ibizorderdetail.main3_form.details.group1')"
:isShowCaption=
"false"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"0"
:isInfoGroupMode=
"false"
>
<row>
<i-col
v-show=
"detailsModel.ibizordername.visible"
:style=
"
{}" :sm="{ span: 6, offset: 0 }" :md="{ span: 6, offset: 0 }" :lg="{ span: 6, offset: 0 }">
<i-col
v-show=
"detailsModel.ibizordername.visible"
:style=
"
{}" :sm="{ span: 6, offset: 0 }" :md="{ span: 6, offset: 0 }" :lg="{ span: 6, offset: 0 }"
:xl="{ span: 12, offset: 0 }"
>
<app-form-item
name=
'ibizordername'
:itemRules=
"this.rules().ibizordername"
class=
''
:caption=
"$t('entities.ibizorderdetail.main3_form.details.ibizordername')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.ibizordername.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-picker
...
...
@@ -33,7 +33,7 @@
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.ibizuniproductname.visible"
:style=
"
{}" :sm="{ span: 6, offset: 0 }" :md="{ span: 6, offset: 0 }" :lg="{ span: 6, offset: 0 }">
<i-col
v-show=
"detailsModel.ibizuniproductname.visible"
:style=
"
{}" :sm="{ span: 6, offset: 0 }" :md="{ span: 6, offset: 0 }" :lg="{ span: 6, offset: 0 }"
:xl="{ span: 12, offset: 0 }"
>
<app-form-item
name=
'ibizuniproductname'
:itemRules=
"this.rules().ibizuniproductname"
class=
''
:caption=
"$t('entities.ibizorderdetail.main3_form.details.ibizuniproductname')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.ibizuniproductname.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-picker
...
...
@@ -61,7 +61,7 @@
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.unit.visible"
:style=
"
{}" :sm="{ span: 6, offset: 0 }" :md="{ span: 6, offset: 0 }" :lg="{ span: 6, offset: 0 }">
<i-col
v-show=
"detailsModel.unit.visible"
:style=
"
{}" :sm="{ span: 6, offset: 0 }" :md="{ span: 6, offset: 0 }" :lg="{ span: 6, offset: 0 }"
:xl="{ span: 12, offset: 0 }"
>
<app-form-item
name=
'unit'
:itemRules=
"this.rules().unit"
class=
''
:caption=
"$t('entities.ibizorderdetail.main3_form.details.unit')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.unit.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'unit'
:value=
"data.unit"
dataType=
"PICKUPDATA"
:precision=
"0"
...
...
@@ -71,7 +71,7 @@
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.unitprice.visible"
:style=
"
{}" :sm="{ span: 6, offset: 0 }" :md="{ span: 6, offset: 0 }" :lg="{ span: 6, offset: 0 }">
<i-col
v-show=
"detailsModel.unitprice.visible"
:style=
"
{}" :sm="{ span: 6, offset: 0 }" :md="{ span: 6, offset: 0 }" :lg="{ span: 6, offset: 0 }"
:xl="{ span: 12, offset: 0 }"
>
<app-form-item
name=
'unitprice'
:itemRules=
"this.rules().unitprice"
class=
''
:caption=
"$t('entities.ibizorderdetail.main3_form.details.unitprice')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.unitprice.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'unitprice'
:value=
"data.unitprice"
dataType=
"PICKUPDATA"
:precision=
"0"
...
...
@@ -81,7 +81,7 @@
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.quantity.visible"
:style=
"
{}" :sm="{ span: 6, offset: 0 }" :md="{ span: 6, offset: 0 }" :lg="{ span: 6, offset: 0 }">
<i-col
v-show=
"detailsModel.quantity.visible"
:style=
"
{}" :sm="{ span: 6, offset: 0 }" :md="{ span: 6, offset: 0 }" :lg="{ span: 6, offset: 0 }"
:xl="{ span: 12, offset: 0 }"
>
<app-form-item
name=
'quantity'
:itemRules=
"this.rules().quantity"
class=
''
:caption=
"$t('entities.ibizorderdetail.main3_form.details.quantity')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.quantity.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.quantity"
...
...
@@ -95,7 +95,7 @@
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.amount.visible"
:style=
"
{}" :sm="{ span: 6, offset: 0 }" :md="{ span: 6, offset: 0 }" :lg="{ span: 6, offset: 0 }">
<i-col
v-show=
"detailsModel.amount.visible"
:style=
"
{}" :sm="{ span: 6, offset: 0 }" :md="{ span: 6, offset: 0 }" :lg="{ span: 6, offset: 0 }"
:xl="{ span: 12, offset: 0 }"
>
<app-form-item
name=
'amount'
:itemRules=
"this.rules().amount"
class=
''
:caption=
"$t('entities.ibizorderdetail.main3_form.details.amount')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.amount.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-span
name=
'amount'
:value=
"data.amount"
dataType=
"FLOAT"
:precision=
"2"
...
...
app_Web/src/widgets/ibizorder/uipart-0010-form/uipart-0010-form-base.vue
浏览文件 @
73bb514a
...
...
@@ -5,7 +5,7 @@
<i-col
v-show=
"detailsModel.group1.visible"
:style=
"
{}" :sm="{ span: 12, offset: 0 }" :md="{ span: 12, offset: 0 }" :lg="{ span: 12, 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.ibizorder.uipart_0010_form.details.group1')"
:isShowCaption=
"false"
uiStyle=
"DEFAULT"
:titleBarCloseMode=
"0"
:isInfoGroupMode=
"false"
>
<row>
<i-col
v-show=
"detailsModel.orderuid.visible"
:style=
"
{}" :sm="{ span: 6, offset: 0 }" :md="{ span: 6, offset: 0 }" :lg="{ span: 6, offset: 0 }">
<i-col
v-show=
"detailsModel.orderuid.visible"
:style=
"
{}" :sm="{ span: 6, offset: 0 }" :md="{ span: 6, offset: 0 }" :lg="{ span: 6, offset: 0 }"
:xl="{ span: 12, offset: 0 }"
>
<app-form-item
name=
'orderuid'
:itemRules=
"this.rules().orderuid"
class=
''
:caption=
"$t('entities.ibizorder.uipart_0010_form.details.orderuid')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.orderuid.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.orderuid"
...
...
@@ -19,7 +19,7 @@
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.ibizordername.visible"
:style=
"
{}" :sm="{ span: 6, offset: 0 }" :md="{ span: 6, offset: 0 }" :lg="{ span: 6, offset: 0 }">
<i-col
v-show=
"detailsModel.ibizordername.visible"
:style=
"
{}" :sm="{ span: 6, offset: 0 }" :md="{ span: 6, offset: 0 }" :lg="{ span: 6, offset: 0 }"
:xl="{ span: 12, offset: 0 }"
>
<app-form-item
name=
'ibizordername'
:itemRules=
"this.rules().ibizordername"
class=
''
:caption=
"$t('entities.ibizorder.uipart_0010_form.details.ibizordername')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.ibizordername.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<input-box
v-model=
"data.ibizordername"
...
...
@@ -33,14 +33,14 @@
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.ordertime.visible"
:style=
"
{}" :sm="{ span: 6, offset: 0 }" :md="{ span: 6, offset: 0 }" :lg="{ span: 6, offset: 0 }">
<i-col
v-show=
"detailsModel.ordertime.visible"
:style=
"
{}" :sm="{ span: 6, offset: 0 }" :md="{ span: 6, offset: 0 }" :lg="{ span: 6, offset: 0 }"
:xl="{ span: 12, offset: 0 }"
>
<app-form-item
name=
'ordertime'
:itemRules=
"this.rules().ordertime"
class=
''
:caption=
"$t('entities.ibizorder.uipart_0010_form.details.ordertime')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.ordertime.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<date-picker
type=
"date"
:transfer=
"true"
format=
"yyyy-MM-dd"
:value=
"data.ordertime"
:disabled=
"detailsModel.ordertime.disabled"
style=
"min-width: 150px; width:100px;"
@
on-change=
"(val1, val2) =>
{ this.data.ordertime = val1 }">
</date-picker>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.ibizcustomername.visible"
:style=
"
{}" :sm="{ span: 6, offset: 0 }" :md="{ span: 6, offset: 0 }" :lg="{ span: 6, offset: 0 }">
<i-col
v-show=
"detailsModel.ibizcustomername.visible"
:style=
"
{}" :sm="{ span: 6, offset: 0 }" :md="{ span: 6, offset: 0 }" :lg="{ span: 6, offset: 0 }"
:xl="{ span: 12, offset: 0 }"
>
<app-form-item
name=
'ibizcustomername'
:itemRules=
"this.rules().ibizcustomername"
class=
''
:caption=
"$t('entities.ibizorder.uipart_0010_form.details.ibizcustomername')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.ibizcustomername.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-picker
...
...
@@ -68,7 +68,7 @@
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.ordertype.visible"
:style=
"
{}" :sm="{ span: 6, offset: 0 }" :md="{ span: 6, offset: 0 }" :lg="{ span: 6, offset: 0 }">
<i-col
v-show=
"detailsModel.ordertype.visible"
:style=
"
{}" :sm="{ span: 6, offset: 0 }" :md="{ span: 6, offset: 0 }" :lg="{ span: 6, offset: 0 }"
:xl="{ span: 12, offset: 0 }"
>
<app-form-item
name=
'ordertype'
:itemRules=
"this.rules().ordertype"
class=
''
:caption=
"$t('entities.ibizorder.uipart_0010_form.details.ordertype')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.ordertype.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<dropdown-list
...
...
@@ -89,7 +89,7 @@
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.orderstate.visible"
:style=
"
{}" :sm="{ span: 6, offset: 0 }" :md="{ span: 6, offset: 0 }" :lg="{ span: 6, offset: 0 }">
<i-col
v-show=
"detailsModel.orderstate.visible"
:style=
"
{}" :sm="{ span: 6, offset: 0 }" :md="{ span: 6, offset: 0 }" :lg="{ span: 6, offset: 0 }"
:xl="{ span: 12, offset: 0 }"
>
<app-form-item
name=
'orderstate'
:itemRules=
"this.rules().orderstate"
class=
''
:caption=
"$t('entities.ibizorder.uipart_0010_form.details.orderstate')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.orderstate.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<dropdown-list
...
...
@@ -121,6 +121,35 @@
</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_0010_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_0010_form.details.formitem')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.formitem.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-switch
name=
'formitem'
:value=
"this.data.formitem"
@
change=
"($event)=>
{this.data.formitem = $event} " :disabled="detailsModel.formitem.disabled" style="">
</app-switch>
</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_0010_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=
'text'
style=
""
>
</input-box>
</app-form-item>
</i-col>
</row>
</app-form-group>
</i-col>
...
...
@@ -524,6 +553,8 @@ export default class UIPART_0010Base extends Vue implements ControlInterface {
ordertype
:
null
,
orderstate
:
null
,
memo
:
null
,
formitem
:
null
,
formitem1
:
null
,
ibizcustomerid
:
null
,
ibizorderid
:
null
,
ibizorder
:
null
,
...
...
@@ -605,6 +636,14 @@ export default class UIPART_0010Base extends Vue implements ControlInterface {
{
required
:
this
.
detailsModel
.
memo
.
required
,
type
:
'string'
,
message
:
'备注 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
memo
.
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'
},
],
}
}
...
...
@@ -711,6 +750,8 @@ export default class UIPART_0010Base 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_0010_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_0010_form'
,
extractMode
:
'ITEM'
,
details
:
[]
},
isManageContainer
:
false
,
showMoreModeItems
:
[]
})
,
formpage1
:
new
FormPageModel
({
caption
:
'基本信息'
,
detailType
:
'FORMPAGE'
,
name
:
'formpage1'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
})
,
...
...
@@ -743,6 +784,10 @@ export default class UIPART_0010Base 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
})
,
memo
:
new
FormItemModel
({
caption
:
'备注'
,
detailType
:
'FORMITEM'
,
name
:
'memo'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
true
,
disabled
:
false
,
enableCond
:
3
})
,
formitem
:
new
FormItemModel
({
caption
:
'开关'
,
detailType
:
'FORMITEM'
,
name
:
'formitem'
,
visible
:
true
,
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
:
true
,
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
})
,
...
...
@@ -930,6 +975,30 @@ export default class UIPART_0010Base extends Vue implements ControlInterface {
this
.
formDataChange
({
name
:
'memo'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 formitem 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof UIPART_0010Base
*/
@
Watch
(
'data.formitem'
)
onFormitemChange
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'formitem'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 formitem1 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof UIPART_0010Base
*/
@
Watch
(
'data.formitem1'
)
onFormitem1Change
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'formitem1'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 ibizcustomerid 值
*
...
...
@@ -1027,6 +1096,7 @@ export default class UIPART_0010Base extends Vue implements ControlInterface {
if
(
Object
.
is
(
name
,
''
)
||
Object
.
is
(
name
,
'orderstate'
))
{
let
ret
=
true
;
const
_orderstate
=
this
.
data
.
orderstate
;
...
...
@@ -1037,6 +1107,16 @@ export default class UIPART_0010Base extends Vue implements ControlInterface {
}
if
(
Object
.
is
(
name
,
''
)
||
Object
.
is
(
name
,
'formitem'
))
{
let
ret
=
true
;
const
_formitem
=
this
.
data
.
formitem
;
if
(
this
.
$verify
.
testCond
(
_formitem
,
'EQ'
,
'1'
))
{
ret
=
false
;
}
this
.
detailsModel
.
formitem1
.
required
=
ret
;
}
}
...
...
app_Web/src/widgets/ibizorder/uipart-0010-form/uipart-0010-form-model.ts
浏览文件 @
73bb514a
...
...
@@ -90,6 +90,14 @@ export default class UIPART_0010Model {
prop
:
'memo'
,
dataType
:
'LONGTEXT_1000'
,
},
{
name
:
'formitem'
,
dataType
:
'FORMITEM'
,
},
{
name
:
'formitem1'
,
dataType
:
'FORMITEM'
,
},
{
name
:
'ibizcustomerid'
,
prop
:
'ibizcustomerid'
,
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录