Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
aeed3399
提交
aeed3399
编写于
12月 03, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Mosher 发布系统代码 [后台服务,演示应用]
上级
d577a83e
变更
7
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
36 行增加
和
88 行删除
+36
-88
ibizorder_en_US.ts
...b/src/locale/lanres/entities/ibizorder/ibizorder_en_US.ts
+6
-3
ibizorder_zh_CN.ts
...b/src/locale/lanres/entities/ibizorder/ibizorder_zh_CN.ts
+6
-3
state.ts
app_Web/src/store/modules/view-action/state.ts
+1
-1
tree-table-treegridex-base.vue
...book/tree-table-treegridex/tree-table-treegridex-base.vue
+5
-5
select-view-form-form-base.vue
...rder/select-view-form-form/select-view-form-form-base.vue
+16
-56
select-view-form-form-model.ts
...rder/select-view-form-form/select-view-form-form-model.ts
+2
-8
select-view-form-form-service.ts
...er/select-view-form-form/select-view-form-form-service.ts
+0
-12
未找到文件。
app_Web/src/locale/lanres/entities/ibizorder/ibizorder_en_US.ts
浏览文件 @
aeed3399
...
...
@@ -672,8 +672,7 @@ export default {
ibizordername
:
"订单名称"
,
ibizorderid
:
"订单标识"
,
ibizcustomerid
:
"客户标识"
,
ibizcustomername
:
"客户名称"
,
ordertype
:
"订单类型"
,
gridselect
:
"表格选择视图"
,
},
uiactions
:
{
},
...
...
@@ -2060,9 +2059,13 @@ export default {
uiactions
:
{
},
},
tree_treeview
:
{
select
tree_treeview
:
{
nodata
:
""
,
nodes
:
{
root
:
"默认根节点"
,
orderdata
:
"订单数据"
,
ordertype
:
"订单类型"
,
orderstate
:
"订单状态"
,
},
uiactions
:
{
},
...
...
app_Web/src/locale/lanres/entities/ibizorder/ibizorder_zh_CN.ts
浏览文件 @
aeed3399
...
...
@@ -671,8 +671,7 @@ export default {
ibizordername
:
"订单名称"
,
ibizorderid
:
"订单标识"
,
ibizcustomerid
:
"客户标识"
,
ibizcustomername
:
"客户名称"
,
ordertype
:
"订单类型"
,
gridselect
:
"表格选择视图"
,
},
uiactions
:
{
},
...
...
@@ -2059,9 +2058,13 @@ export default {
uiactions
:
{
},
},
tree_treeview
:
{
select
tree_treeview
:
{
nodata
:
""
,
nodes
:
{
root
:
"默认根节点"
,
orderdata
:
"订单数据"
,
ordertype
:
"订单类型"
,
orderstate
:
"订单状态"
,
},
uiactions
:
{
},
...
...
app_Web/src/store/modules/view-action/state.ts
浏览文件 @
aeed3399
...
...
@@ -602,7 +602,7 @@ export const viewstate: any = {
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'
f7ce60a7707de1ef9f926b3f9d5d6954
'
,
'
460fc1d5b6f2e2012b281df34d929f3b
'
,
],
},
{
...
...
app_Web/src/widgets/ibizbook/tree-table-treegridex/tree-table-treegridex-base.vue
浏览文件 @
aeed3399
...
...
@@ -15,11 +15,6 @@
<template
slot=
"empty"
>
{{
$t
(
'entities.ibizbook.treetable_treegridex.nodata'
)
}}
</
template
>
<el-table-column
show-overflow-tooltip
prop=
"author"
label=
"作者"
:width=
"50"
:align=
"''"
>
<
template
v-slot=
"{ row }"
>
<span>
{{
getColumnValue
(
row
,
'author'
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
show-overflow-tooltip
prop=
"subtext"
label=
"图书描述"
:width=
"50"
:align=
"''"
>
<
template
v-slot=
"{ row }"
>
<span>
{{
getColumnValue
(
row
,
'subtext'
)
}}
</span>
...
...
@@ -30,6 +25,11 @@
<span>
{{
getColumnValue
(
row
,
'ibizbookname'
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
show-overflow-tooltip
prop=
"author"
label=
"作者"
:width=
"50"
:align=
"''"
>
<
template
v-slot=
"{ row }"
>
<span>
{{
getColumnValue
(
row
,
'author'
)
}}
</span>
</
template
>
</el-table-column>
</el-table>
</template>
...
...
app_Web/src/widgets/ibizorder/select-view-form-form/select-view-form-form-base.vue
浏览文件 @
aeed3399
...
...
@@ -19,15 +19,8 @@
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.ibizcustomerid.visible"
:style=
"
{}" :sm="{ span: 6, offset: 0 }" :md="{ span: 6, offset: 0 }" :lg="{ span: 6, offset: 0 }">
<app-form-item
name=
'ibizcustomerid'
:itemRules=
"this.rules().ibizcustomerid"
class=
''
:caption=
"$t('entities.ibizorder.selectview_form_form.details.ibizcustomerid')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.ibizcustomerid.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
</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 }">
<app-form-item
name=
'ibizcustomername'
:itemRules=
"this.rules().ibizcustomername"
class=
''
:caption=
"$t('entities.ibizorder.selectview_form_form.details.ibizcustomername')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.ibizcustomername.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<i-col
v-show=
"detailsModel.gridselect.visible"
:style=
"
{}" :sm="{ span: 6, offset: 0 }" :md="{ span: 6, offset: 0 }" :lg="{ span: 6, offset: 0 }">
<app-form-item
name=
'gridselect'
:itemRules=
"this.rules().gridselect"
class=
''
:caption=
"$t('entities.ibizorder.selectview_form_form.details.gridselect')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.gridselect.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
<app-picker
:formState=
"formState"
...
...
@@ -36,28 +29,19 @@
:viewparams=
"viewparams"
:localContext =
'
{ }'
:localParam ='{ }'
:disabled="detailsModel.
ibizcustomername
.disabled"
name='
ibizcustomername
'
:disabled="detailsModel.
gridselect
.disabled"
name='
gridselect
'
deMajorField='ibizcustomername'
deKeyField='ibizcustomer'
:service="service"
:acParams="{
serviceName: 'IBIZCustomerService', interfaceName: 'FetchDefault'
}"
:acParams="{ }"
valueitem='ibizcustomerid'
:value="data.
ibizcustomername
"
:value="data.
gridselect
"
editortype=""
:pickupView="{ viewname: 'ibizcustomer-pickup-
view', title: $t('entities.ibizcustomer.views.pickupview.title'), deResParameters: [], parameters: [{ pathName: 'ibizcustomers', parameterName: 'ibizcustomer' }, { pathName: 'pickupview', parameterName: 'pickup
view' } ], placement:'' }"
:pickupView="{ viewname: 'ibizcustomer-pickup-
grid-view', title: $t('entities.ibizcustomer.views.pickupgridview.title'), deResParameters: [], parameters: [{ pathName: 'ibizcustomers', parameterName: 'ibizcustomer' }, { pathName: 'pickupgridview', parameterName: 'pickupgrid
view' } ], placement:'' }"
style=""
@formitemvaluechange="onFormItemValueChange">
</app-picker>
</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 }">
<app-form-item
name=
'ordertype'
:itemRules=
"this.rules().ordertype"
class=
''
:caption=
"$t('entities.ibizorder.selectview_form_form.details.ordertype')"
uiStyle=
"DEFAULT"
:labelWidth=
"130"
:isShowCaption=
"true"
:error=
"detailsModel.ordertype.error"
:isEmptyCaption=
"false"
labelPos=
"LEFT"
>
</app-form-item>
</i-col>
...
...
@@ -464,8 +448,7 @@ export default class SelectView_FormBase extends Vue implements ControlInterface
ibizordername
:
null
,
ibizorderid
:
null
,
ibizcustomerid
:
null
,
ibizcustomername
:
null
,
ordertype
:
null
,
gridselect
:
null
,
ibizorder
:
null
,
};
...
...
@@ -521,17 +504,9 @@ export default class SelectView_FormBase extends Vue implements ControlInterface
{
required
:
this
.
detailsModel
.
ibizordername
.
required
,
type
:
'string'
,
message
:
'订单名称 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
ibizordername
.
required
,
type
:
'string'
,
message
:
'订单名称 值不能为空'
,
trigger
:
'blur'
},
],
ibizcustomerid
:
[
{
required
:
this
.
detailsModel
.
ibizcustomerid
.
required
,
type
:
'string'
,
message
:
'客户标识 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
ibizcustomerid
.
required
,
type
:
'string'
,
message
:
'客户标识 值不能为空'
,
trigger
:
'blur'
},
],
ibizcustomername
:
[
{
required
:
this
.
detailsModel
.
ibizcustomername
.
required
,
type
:
'string'
,
message
:
'客户名称 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
ibizcustomername
.
required
,
type
:
'string'
,
message
:
'客户名称 值不能为空'
,
trigger
:
'blur'
},
],
ordertype
:
[
{
required
:
this
.
detailsModel
.
ordertype
.
required
,
type
:
'string'
,
message
:
'订单类型 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
ordertype
.
required
,
type
:
'string'
,
message
:
'订单类型 值不能为空'
,
trigger
:
'blur'
},
gridselect
:
[
{
required
:
this
.
detailsModel
.
gridselect
.
required
,
type
:
'string'
,
message
:
'表格选择视图 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
gridselect
.
required
,
type
:
'string'
,
message
:
'表格选择视图 值不能为空'
,
trigger
:
'blur'
},
],
}
}
...
...
@@ -664,9 +639,7 @@ export default class SelectView_FormBase extends Vue implements ControlInterface
,
ibizcustomerid
:
new
FormItemModel
({
caption
:
'客户标识'
,
detailType
:
'FORMITEM'
,
name
:
'ibizcustomerid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
ibizcustomername
:
new
FormItemModel
({
caption
:
'客户名称'
,
detailType
:
'FORMITEM'
,
name
:
'ibizcustomername'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
ordertype
:
new
FormItemModel
({
caption
:
'订单类型'
,
detailType
:
'FORMITEM'
,
name
:
'ordertype'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
gridselect
:
new
FormItemModel
({
caption
:
'表格选择视图'
,
detailType
:
'FORMITEM'
,
name
:
'gridselect'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
};
...
...
@@ -803,27 +776,15 @@ export default class SelectView_FormBase extends Vue implements ControlInterface
}
/**
* 监控表单属性
ibizcustomername
值
* 监控表单属性
gridselect
值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof SelectView_FormBase
*/
@
Watch
(
'data.ibizcustomername'
)
onIbizcustomernameChange
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'ibizcustomername'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 ordertype 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof SelectView_FormBase
*/
@
Watch
(
'data.ordertype'
)
onOrdertypeChange
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'ordertype'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
@
Watch
(
'data.gridselect'
)
onGridselectChange
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'gridselect'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
...
...
@@ -894,7 +855,6 @@ export default class SelectView_FormBase extends Vue implements ControlInterface
}
/**
...
...
app_Web/src/widgets/ibizorder/select-view-form-form/select-view-form-form-model.ts
浏览文件 @
aeed3399
...
...
@@ -71,14 +71,8 @@ export default class SelectView_FormModel {
dataType
:
'PICKUP'
,
},
{
name
:
'ibizcustomername'
,
prop
:
'ibizcustomername'
,
dataType
:
'PICKUPTEXT'
,
},
{
name
:
'ordertype'
,
prop
:
'ordertype'
,
dataType
:
'SSCODELIST'
,
name
:
'gridselect'
,
dataType
:
'FORMITEM'
,
},
{
name
:
'ibizorder'
,
...
...
app_Web/src/widgets/ibizorder/select-view-form-form/select-view-form-form-service.ts
浏览文件 @
aeed3399
...
...
@@ -2,7 +2,6 @@ import { Http,Util,Errorlog } from '@/utils';
import
ControlService
from
'@/widgets/control-service'
;
import
IBIZOrderService
from
'@/service/ibizorder/ibizorder-service'
;
import
SelectView_FormModel
from
'./select-view-form-form-model'
;
import
IBIZCustomerService
from
'@/service/ibizcustomer/ibizcustomer-service'
;
/**
...
...
@@ -42,14 +41,6 @@ export default class SelectView_FormService extends ControlService {
this
.
model
=
new
SelectView_FormModel
();
}
/**
* 客户服务对象
*
* @type {IBIZCustomerService}
* @memberof SelectView_FormService
*/
public
ibizcustomerService
:
IBIZCustomerService
=
new
IBIZCustomerService
();
/**
* 远端数据
*
...
...
@@ -99,9 +90,6 @@ export default class SelectView_FormService extends ControlService {
public
getItems
(
serviceName
:
string
,
interfaceName
:
string
,
context
:
any
=
{},
data
:
any
,
isloading
?:
boolean
):
Promise
<
any
[]
>
{
data
.
page
=
data
.
page
?
data
.
page
:
0
;
data
.
size
=
data
.
size
?
data
.
size
:
1000
;
if
(
Object
.
is
(
serviceName
,
'IBIZCustomerService'
)
&&
Object
.
is
(
interfaceName
,
'FetchDefault'
))
{
return
this
.
doItems
(
this
.
ibizcustomerService
.
FetchDefault
(
JSON
.
parse
(
JSON
.
stringify
(
context
)),
data
,
isloading
),
'ibizcustomerid'
,
'ibizcustomer'
);
}
return
Promise
.
reject
([])
}
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录