Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
7eb28a27
提交
7eb28a27
编写于
4年前
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tony001 发布系统代码 [后台服务,演示应用]
上级
13bc14f8
变更
10
隐藏空白字符变更
内嵌
并排
正在显示
10 个修改的文件
包含
114 行增加
和
100 行删除
+114
-100
ibizorder-detail_en_US.ts
...anres/entities/ibizorder-detail/ibizorder-detail_en_US.ts
+3
-2
ibizorder-detail_zh_CN.ts
...anres/entities/ibizorder-detail/ibizorder-detail_zh_CN.ts
+3
-2
ibizorder-detail-list-view-base.vue
...rder-detail-list-view/ibizorder-detail-list-view-base.vue
+2
-68
ibizorder-detail-list-view.less
...bizorder-detail-list-view/ibizorder-detail-list-view.less
+0
-14
ibizorder-detail-list-view.vue
...ibizorder-detail-list-view/ibizorder-detail-list-view.vue
+0
-2
order-details-list-list-model.ts
.../order-details-list-list/order-details-list-list-model.ts
+0
-1
ui-0007-form-base.vue
...dgets/ibizorder-detail/ui-0007-form/ui-0007-form-base.vue
+90
-0
ui-0007-form-model.ts
...dgets/ibizorder-detail/ui-0007-form/ui-0007-form-model.ts
+15
-0
portal-components-web-portlet-base.vue
...onents-web-portlet/portal-components-web-portlet-base.vue
+1
-8
portal-components-web-portlet.less
...components-web-portlet/portal-components-web-portlet.less
+0
-3
未找到文件。
app_Web/src/locale/lanres/entities/ibizorder-detail/ibizorder-detail_en_US.ts
浏览文件 @
7eb28a27
...
...
@@ -91,6 +91,9 @@ export default {
orderuid
:
"订单编号"
,
ibizorderid
:
"订单标识"
,
ibizordername
:
"订单名称"
,
amount
:
"小计"
,
unit
:
"单位"
,
unitprice
:
"单价"
,
ibizuniproductid
:
"统一产品标识"
,
},
uiactions
:
{
...
...
@@ -513,6 +516,4 @@ export default {
tip
:
"刷新"
,
},
},
listviewtoolbar_toolbar
:
{
},
};
\ No newline at end of file
This diff is collapsed.
Click to expand it.
app_Web/src/locale/lanres/entities/ibizorder-detail/ibizorder-detail_zh_CN.ts
浏览文件 @
7eb28a27
...
...
@@ -90,6 +90,9 @@ export default {
orderuid
:
"订单编号"
,
ibizorderid
:
"订单标识"
,
ibizordername
:
"订单名称"
,
amount
:
"小计"
,
unit
:
"单位"
,
unitprice
:
"单价"
,
ibizuniproductid
:
"统一产品标识"
,
},
uiactions
:
{
...
...
@@ -512,6 +515,4 @@ export default {
tip
:
"刷新"
,
},
},
listviewtoolbar_toolbar
:
{
},
};
\ No newline at end of file
This diff is collapsed.
Click to expand it.
app_Web/src/pages/sample/ibizorder-detail-list-view/ibizorder-detail-list-view-base.vue
浏览文件 @
7eb28a27
...
...
@@ -2,7 +2,7 @@
<
template
>
<div
class=
'view-container delistview ibizorder-detail-list-view'
>
<app-studioaction
:viewTitle=
"$t(model.srfCaption)"
viewName=
"ibizorderdetaillistview"
></app-studioaction>
<card
class=
'view-card '
:bordered=
"false"
:dis-hover=
"true"
>
<card
class=
'view-card
view-no-toolbar
'
:bordered=
"false"
:dis-hover=
"true"
>
<div
slot=
'title'
class=
"header-container"
>
<span
class=
'caption-info'
>
{{
$t
(
model
.
srfCaption
)
}}
</span>
...
...
@@ -13,28 +13,10 @@
<div
class=
'content-container'
>
<div
style=
"margin-bottom:6px;"
>
<i-input
v-
show=
"!isExpandSearchForm"
v-
model=
"query"
search
enter-button
@
on-search=
"onSearch($event)"
class=
'pull-left'
placeholder=
"订单明细名称"
style=
'max-width: 400px;margin-top:6px;padding-left: 24px'
/>
<i-input
v-model=
"query"
search
enter-button
@
on-search=
"onSearch($event)"
class=
'pull-left'
placeholder=
"订单明细名称"
style=
'max-width: 400px;margin-top:6px;padding-left: 24px'
/>
<div
class=
'pull-right'
>
<div
class=
'toolbar-container'
>
</div>
</div>
</div>
<view
_searchform
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
:showBusyIndicator=
"true"
v-show=
"isExpandSearchForm"
loaddraftAction=
"FilterGetDraft"
loadAction=
"FilterGet"
name=
"searchform"
ref=
'searchform'
@
save=
"searchform_save($event)"
@
search=
"searchform_search($event)"
@
load=
"searchform_load($event)"
@
closeview=
"closeView($event)"
>
</view
_searchform
>
<div
class=
'view-body-messages'
>
</div>
<view
_list
...
...
@@ -235,9 +217,7 @@ export default class IBIZOrderDetailListViewBase extends Vue {
* @memberof IBIZOrderDetailListViewBase
*/
public
containerModel
:
any
=
{
view_toolbar
:
{
name
:
'toolbar'
,
type
:
'TOOLBAR'
},
view_list
:
{
name
:
'list'
,
type
:
'LIST'
},
view_searchform
:
{
name
:
'searchform'
,
type
:
'SEARCHFORM'
},
};
/**
...
...
@@ -276,15 +256,6 @@ export default class IBIZOrderDetailListViewBase extends Vue {
* @memberof IBIZOrderDetailListViewBase
*/
public
viewState
:
Subject
<
ViewState
>
=
new
Subject
();
/**
* 工具栏模型
*
* @type {*}
* @memberof IBIZOrderDetailListView
*/
public
toolBarModels
:
any
=
{
};
...
...
@@ -313,7 +284,6 @@ export default class IBIZOrderDetailListViewBase extends Vue {
newdata
:
(
args
:
any
[],
fullargs
?:
any
[],
params
?:
any
,
$event
?:
any
,
xData
?:
any
)
=>
{
this
.
newdata
(
args
,
fullargs
,
params
,
$event
,
xData
);
},
searchform
:
this
.
$refs
.
searchform
,
keyPSDEField
:
'ibizorderdetail'
,
majorPSDEField
:
'ibizorderdetailname'
,
isLoadDefault
:
true
,
...
...
@@ -674,42 +644,6 @@ export default class IBIZOrderDetailListViewBase extends Vue {
}
/**
* searchform 部件 save 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof IBIZOrderDetailListViewBase
*/
public
searchform_save
(
$event
:
any
,
$event2
?:
any
)
{
this
.
engine
.
onCtrlEvent
(
'searchform'
,
'save'
,
$event
);
}
/**
* searchform 部件 search 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof IBIZOrderDetailListViewBase
*/
public
searchform_search
(
$event
:
any
,
$event2
?:
any
)
{
this
.
engine
.
onCtrlEvent
(
'searchform'
,
'search'
,
$event
);
}
/**
* searchform 部件 load 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof IBIZOrderDetailListViewBase
*/
public
searchform_load
(
$event
:
any
,
$event2
?:
any
)
{
this
.
engine
.
onCtrlEvent
(
'searchform'
,
'load'
,
$event
);
}
/**
* 打开新建数据视图
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/pages/sample/ibizorder-detail-list-view/ibizorder-detail-list-view.less
浏览文件 @
7eb28a27
.ibizorder-detail-list-view{
position: relative;
}
.toolbar-container {
button {
margin: 6px 0px 4px 4px;
.caption {
margin-left: 4px;
}
}
.seperator {
color: #dcdee2;
margin: 0 0px 0 4px;
}
}
// this is less
This diff is collapsed.
Click to expand it.
app_Web/src/pages/sample/ibizorder-detail-list-view/ibizorder-detail-list-view.vue
浏览文件 @
7eb28a27
...
...
@@ -3,11 +3,9 @@ import { Component } from 'vue-property-decorator';
import
IBIZOrderDetailListViewBase
from
'./ibizorder-detail-list-view-base.vue'
;
import
view_list
from
'@widgets/ibizorder-detail/order-details-list-list/order-details-list-list.vue'
;
import
view_searchform
from
'@widgets/ibizorder-detail/default-searchform/default-searchform.vue'
;
@
Component
({
components
:
{
view_list
,
view_searchform
,
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizorder-detail/order-details-list-list/order-details-list-list-model.ts
浏览文件 @
7eb28a27
...
...
@@ -52,7 +52,6 @@ export default class OrderDetailsListModel {
prop
:
'ibizorderdetailid'
,
dataType
:
'FONTKEY'
,
},
{
name
:
'size'
,
prop
:
'size'
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizorder-detail/ui-0007-form/ui-0007-form-base.vue
浏览文件 @
7eb28a27
...
...
@@ -98,6 +98,36 @@
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.amount.visible"
:style=
"
{}" :sm="{ span: 4, offset: 0 }" :md="{ span: 4, offset: 0 }" :lg="{ span: 4, offset: 0 }">
<app-form-item
name=
'amount'
:itemRules=
"this.rules().amount"
class=
''
:caption=
"$t('entities.ibizorderdetail.ui_0007_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"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.unit.visible"
:style=
"
{}" :sm="{ span: 4, offset: 0 }" :md="{ span: 4, offset: 0 }" :lg="{ span: 4, offset: 0 }">
<app-form-item
name=
'unit'
:itemRules=
"this.rules().unit"
class=
''
:caption=
"$t('entities.ibizorderdetail.ui_0007_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"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
</app-form-item>
</i-col>
<i-col
v-show=
"detailsModel.unitprice.visible"
:style=
"
{}" :sm="{ span: 4, offset: 0 }" :md="{ span: 4, offset: 0 }" :lg="{ span: 4, offset: 0 }">
<app-form-item
name=
'unitprice'
:itemRules=
"this.rules().unitprice"
class=
''
:caption=
"$t('entities.ibizorderdetail.ui_0007_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"
:data=
"data"
:context=
"context"
:viewparams=
"viewparams"
:localContext =
'
{ }' :localParam ='{ }' style="">
</app-span>
</app-form-item>
</i-col>
</row>
...
...
@@ -506,6 +536,9 @@ export default class UI_0007Base extends Vue implements ControlInterface {
orderuid
:
null
,
ibizorderid
:
null
,
ibizordername
:
null
,
amount
:
null
,
unit
:
null
,
unitprice
:
null
,
ibizuniproductid
:
null
,
ibizorderdetail
:
null
,
};
...
...
@@ -578,6 +611,18 @@ export default class UI_0007Base extends Vue implements ControlInterface {
{
required
:
this
.
detailsModel
.
ibizordername
.
required
,
type
:
'string'
,
message
:
'订单名称 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
ibizordername
.
required
,
type
:
'string'
,
message
:
'订单名称 值不能为空'
,
trigger
:
'blur'
},
],
amount
:
[
{
required
:
this
.
detailsModel
.
amount
.
required
,
type
:
'number'
,
message
:
'小计 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
amount
.
required
,
type
:
'number'
,
message
:
'小计 值不能为空'
,
trigger
:
'blur'
},
],
unit
:
[
{
required
:
this
.
detailsModel
.
unit
.
required
,
type
:
'string'
,
message
:
'单位 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
unit
.
required
,
type
:
'string'
,
message
:
'单位 值不能为空'
,
trigger
:
'blur'
},
],
unitprice
:
[
{
required
:
this
.
detailsModel
.
unitprice
.
required
,
type
:
'number'
,
message
:
'单价 值不能为空'
,
trigger
:
'change'
},
{
required
:
this
.
detailsModel
.
unitprice
.
required
,
type
:
'number'
,
message
:
'单价 值不能为空'
,
trigger
:
'blur'
},
],
}
}
...
...
@@ -716,6 +761,12 @@ export default class UI_0007Base extends Vue implements ControlInterface {
ibizorderid
:
new
FormItemModel
({
caption
:
'订单标识'
,
detailType
:
'FORMITEM'
,
name
:
'ibizorderid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
ibizordername
:
new
FormItemModel
({
caption
:
'订单名称'
,
detailType
:
'FORMITEM'
,
name
:
'ibizordername'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
amount
:
new
FormItemModel
({
caption
:
'小计'
,
detailType
:
'FORMITEM'
,
name
:
'amount'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
unit
:
new
FormItemModel
({
caption
:
'单位'
,
detailType
:
'FORMITEM'
,
name
:
'unit'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
unitprice
:
new
FormItemModel
({
caption
:
'单价'
,
detailType
:
'FORMITEM'
,
name
:
'unitprice'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
ibizuniproductid
:
new
FormItemModel
({
caption
:
'统一产品标识'
,
detailType
:
'FORMITEM'
,
name
:
'ibizuniproductid'
,
visible
:
true
,
isShowCaption
:
true
,
form
:
this
,
isControlledContent
:
false
,
required
:
false
,
disabled
:
false
,
enableCond
:
3
})
,
...
...
@@ -901,6 +952,42 @@ export default class UI_0007Base extends Vue implements ControlInterface {
this
.
formDataChange
({
name
:
'ibizordername'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 amount 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof UI_0007Base
*/
@
Watch
(
'data.amount'
)
onAmountChange
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'amount'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 unit 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof UI_0007Base
*/
@
Watch
(
'data.unit'
)
onUnitChange
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'unit'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 unitprice 值
*
* @param {*} newVal
* @param {*} oldVal
* @memberof UI_0007Base
*/
@
Watch
(
'data.unitprice'
)
onUnitpriceChange
(
newVal
:
any
,
oldVal
:
any
)
{
this
.
formDataChange
({
name
:
'unitprice'
,
newVal
:
newVal
,
oldVal
:
oldVal
});
}
/**
* 监控表单属性 ibizuniproductid 值
*
...
...
@@ -986,6 +1073,9 @@ export default class UI_0007Base extends Vue implements ControlInterface {
}
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizorder-detail/ui-0007-form/ui-0007-form-model.ts
浏览文件 @
7eb28a27
...
...
@@ -90,6 +90,21 @@ export default class UI_0007Model {
prop
:
'ibizordername'
,
dataType
:
'PICKUPTEXT'
,
},
{
name
:
'amount'
,
prop
:
'amount'
,
dataType
:
'FLOAT'
,
},
{
name
:
'unit'
,
prop
:
'unit'
,
dataType
:
'PICKUPDATA'
,
},
{
name
:
'unitprice'
,
prop
:
'unitprice'
,
dataType
:
'PICKUPDATA'
,
},
{
name
:
'ibizuniproductid'
,
prop
:
'ibizuniproductid'
,
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizorder/portal-components-web-portlet/portal-components-web-portlet-base.vue
浏览文件 @
7eb28a27
<
template
>
<div
class=
'portlet portal-components-web '
:style=
"
{'height': isAdaptiveSize ? 'calc(100% - 16px)' : getHeight,}">
<p
class=
'portlet-title'
>
<span>
网页部件
</span>
</p>
<el-divider
class=
"divider"
></el-divider>
<div
class=
"portlet-with-title"
>
<div
class=
"portlet-without-title"
>
<iframe
src=
"//os.alipayobjects.com/rmsportal/GhjqstwSgxBXrZS.png"
style=
"height: 500px;width: 100%;border-width: 1px;"
></iframe>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizorder/portal-components-web-portlet/portal-components-web-portlet.less
浏览文件 @
7eb28a27
...
...
@@ -32,9 +32,6 @@
}
}
}
> .divider {
margin: 0px 0px 11px 0px;
}
> .portlet-with-title{
width:100%;
height:calc(100% - 52px);
...
...
This diff is collapsed.
Click to expand it.
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录