Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz企业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz企业中心
提交
2d457186
提交
2d457186
编写于
6月 22, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
xignzi006 发布系统代码
上级
14dff681
变更
20
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
20 个修改的文件
包含
104 行增加
和
7 行删除
+104
-7
account.ts
app_CRM/src/interface/entity/account.ts
+8
-0
account_en_US.ts
app_CRM/src/locale/lanres/entities/account/account_en_US.ts
+1
-0
account_zh_CN.ts
app_CRM/src/locale/lanres/entities/account/account_zh_CN.ts
+1
-0
MPickupViewBase.tsx
app_CRM/src/studio-core/view/MPickupViewBase.tsx
+2
-2
gradation-treeview-model.ts
...ts/account/gradation-treeview/gradation-treeview-model.ts
+3
-0
gradation-treeview-service.ts
.../account/gradation-treeview/gradation-treeview-service.ts
+22
-1
gradationtreeexpbar-treeexpbar-model.ts
...expbar-treeexpbar/gradationtreeexpbar-treeexpbar-model.ts
+3
-0
infotabexppanel-tabexppanel-model.ts
...exppanel-tabexppanel/infotabexppanel-tabexppanel-model.ts
+3
-0
infotabviewpanel-tabviewpanel-model.ts
...panel-tabviewpanel/infotabviewpanel-tabviewpanel-model.ts
+3
-0
infotabviewpanel2-tabviewpanel-model.ts
...nel2-tabviewpanel/infotabviewpanel2-tabviewpanel-model.ts
+3
-0
infotabviewpanel3-tabviewpanel-model.ts
...nel3-tabviewpanel/infotabviewpanel3-tabviewpanel-model.ts
+3
-0
infotabviewpanel4-tabviewpanel-model.ts
...nel4-tabviewpanel/infotabviewpanel4-tabviewpanel-model.ts
+3
-0
inner-pickup-viewpickupviewpanel-pickupviewpanel-model.ts
...inner-pickup-viewpickupviewpanel-pickupviewpanel-model.ts
+3
-0
pickup-viewpickupviewpanel-pickupviewpanel-model.ts
...panel/pickup-viewpickupviewpanel-pickupviewpanel-model.ts
+3
-0
summary-dashboard-model.ts
...gets/account/summary-dashboard/summary-dashboard-model.ts
+3
-0
view-account-info-all-portlet-model.ts
...t-info-all-portlet/view-account-info-all-portlet-model.ts
+3
-0
Account.java
.../cn/ibizlab/businesscentral/core/base/domain/Account.java
+15
-0
h2_table.xml
...esscentral-core/src/main/resources/liquibase/h2_table.xml
+2
-0
AccountMapper.xml
.../src/main/resources/mapper/base/account/AccountMapper.xml
+4
-4
AccountDTO.java
...cn/ibizlab/businesscentral/centralapi/dto/AccountDTO.java
+16
-0
未找到文件。
app_CRM/src/interface/entity/account.ts
浏览文件 @
2d457186
...
...
@@ -1301,4 +1301,12 @@ export interface Account {
* @memberof Account
*/
transactioncurrencyname
?:
any
;
/**
* 相关客户数量
*
* @returns {*}
* @memberof Account
*/
childaccountcount
?:
any
;
}
\ No newline at end of file
app_CRM/src/locale/lanres/entities/account/account_en_US.ts
浏览文件 @
2d457186
...
...
@@ -163,6 +163,7 @@ export default {
preferredservicename
:
'首选服务'
,
primarycontactname
:
'主要联系人'
,
transactioncurrencyname
:
'货币'
,
childaccountcount
:
'相关客户数量'
,
},
views
:
{
summary
:
{
...
...
app_CRM/src/locale/lanres/entities/account/account_zh_CN.ts
浏览文件 @
2d457186
...
...
@@ -162,6 +162,7 @@ export default {
preferredservicename
:
'首选服务'
,
primarycontactname
:
'主要联系人'
,
transactioncurrencyname
:
'货币'
,
childaccountcount
:
'相关客户数量'
,
},
views
:
{
summary
:
{
...
...
app_CRM/src/studio-core/view/MPickupViewBase.tsx
浏览文件 @
2d457186
import
{
ViewBase
}
from
'./
ViewBase'
;
import
{
PickupViewBase
}
from
'./Pickup
ViewBase'
;
/**
* 多项数据选择视图基类
...
...
@@ -7,7 +7,7 @@ import { ViewBase } from './ViewBase';
* @class MPickupViewBase
* @extends {ViewBase}
*/
export
class
MPickupViewBase
extends
ViewBase
{
export
class
MPickupViewBase
extends
Pickup
ViewBase
{
/**
* 是否单选
...
...
app_CRM/src/widgets/account/gradation-treeview/gradation-treeview-model.ts
浏览文件 @
2d457186
...
...
@@ -501,6 +501,9 @@ export default class GradationModel {
{
name
:
'transactioncurrencyname'
,
},
{
name
:
'childaccountcount'
,
},
]
}
...
...
app_CRM/src/widgets/account/gradation-treeview/gradation-treeview-service.ts
浏览文件 @
2d457186
...
...
@@ -223,6 +223,13 @@ export default class GradationService extends ControlService {
Object
.
assign
(
treeNode
,
{
id
:
strNodeId
});
Object
.
assign
(
treeNode
,
{
expanded
:
filter
.
isautoexpand
});
Object
.
assign
(
treeNode
,
{
leaf
:
false
});
let
objLeafFlag
=
entity
.
childaccountcount
;
if
(
objLeafFlag
!=
null
)
{
let
strLeafFlag
:
string
=
objLeafFlag
.
toString
().
toLowerCase
();
if
(
Object
.
is
(
strLeafFlag
,
'1'
)
||
Object
.
is
(
strLeafFlag
,
'true'
)){
Object
.
assign
(
treeNode
,
{
leaf
:
true
});
}
}
Object
.
assign
(
treeNode
,
{
curData
:
entity
});
Object
.
assign
(
treeNode
,
{
nodeid
:
treeNode
.
srfkey
});
Object
.
assign
(
treeNode
,
{
nodeid2
:
filter
.
strRealNodeId
});
...
...
@@ -413,6 +420,10 @@ export default class GradationService extends ControlService {
Object
.
assign
(
searchFilter
,
{
n_parentaccountid_eq
:
filter
.
nodeid
});
}
if
(
Object
.
is
(
filter
.
strNodeType
,
this
.
TREENODE_CHILDACCOUNT
))
{
Object
.
assign
(
searchFilter
,
{
n_parentaccountid_eq
:
filter
.
nodeid
});
}
Object
.
assign
(
searchFilter
,
{
total
:
false
});
let
bFirst
:
boolean
=
true
;
let
records
:
any
[]
=
[];
...
...
@@ -436,7 +447,7 @@ export default class GradationService extends ControlService {
strNodeId
+=
strId
;
Object
.
assign
(
treeNode
,
{
id
:
strNodeId
});
Object
.
assign
(
treeNode
,
{
expanded
:
filter
.
isautoexpand
});
Object
.
assign
(
treeNode
,
{
leaf
:
tru
e
});
Object
.
assign
(
treeNode
,
{
leaf
:
fals
e
});
Object
.
assign
(
treeNode
,
{
curData
:
entity
});
Object
.
assign
(
treeNode
,
{
nodeid
:
treeNode
.
srfkey
});
Object
.
assign
(
treeNode
,
{
nodeid2
:
filter
.
strRealNodeId
});
...
...
@@ -523,7 +534,17 @@ export default class GradationService extends ControlService {
@
Errorlog
public
async
fillChildaccountNodeChilds
(
context
:
any
=
{},
filter
:
any
,
list
:
any
[]):
Promise
<
any
>
{
if
(
filter
.
srfnodefilter
&&
!
Object
.
is
(
filter
.
srfnodefilter
,
""
))
{
// 填充ChildAccount
let
ChildaccountRsNavContext
:
any
=
{};
let
ChildaccountRsNavParams
:
any
=
{};
let
ChildaccountRsParams
:
any
=
{};
await
this
.
fillChildaccountNodes
(
context
,
filter
,
list
,
ChildaccountRsNavContext
,
ChildaccountRsNavParams
,
ChildaccountRsParams
);
}
else
{
// 填充ChildAccount
let
ChildaccountRsNavContext
:
any
=
{};
let
ChildaccountRsNavParams
:
any
=
{};
let
ChildaccountRsParams
:
any
=
{};
await
this
.
fillChildaccountNodes
(
context
,
filter
,
list
,
ChildaccountRsNavContext
,
ChildaccountRsNavParams
,
ChildaccountRsParams
);
}
}
...
...
app_CRM/src/widgets/account/gradationtreeexpbar-treeexpbar/gradationtreeexpbar-treeexpbar-model.ts
浏览文件 @
2d457186
...
...
@@ -501,6 +501,9 @@ export default class GradationtreeexpbarModel {
{
name
:
'transactioncurrencyname'
,
},
{
name
:
'childaccountcount'
,
},
]
}
...
...
app_CRM/src/widgets/account/infotabexppanel-tabexppanel/infotabexppanel-tabexppanel-model.ts
浏览文件 @
2d457186
...
...
@@ -501,6 +501,9 @@ export default class InfotabexppanelModel {
{
name
:
'transactioncurrencyname'
,
},
{
name
:
'childaccountcount'
,
},
]
}
...
...
app_CRM/src/widgets/account/infotabviewpanel-tabviewpanel/infotabviewpanel-tabviewpanel-model.ts
浏览文件 @
2d457186
...
...
@@ -501,6 +501,9 @@ export default class InfotabviewpanelModel {
{
name
:
'transactioncurrencyname'
,
},
{
name
:
'childaccountcount'
,
},
]
}
...
...
app_CRM/src/widgets/account/infotabviewpanel2-tabviewpanel/infotabviewpanel2-tabviewpanel-model.ts
浏览文件 @
2d457186
...
...
@@ -501,6 +501,9 @@ export default class Infotabviewpanel2Model {
{
name
:
'transactioncurrencyname'
,
},
{
name
:
'childaccountcount'
,
},
]
}
...
...
app_CRM/src/widgets/account/infotabviewpanel3-tabviewpanel/infotabviewpanel3-tabviewpanel-model.ts
浏览文件 @
2d457186
...
...
@@ -501,6 +501,9 @@ export default class Infotabviewpanel3Model {
{
name
:
'transactioncurrencyname'
,
},
{
name
:
'childaccountcount'
,
},
]
}
...
...
app_CRM/src/widgets/account/infotabviewpanel4-tabviewpanel/infotabviewpanel4-tabviewpanel-model.ts
浏览文件 @
2d457186
...
...
@@ -501,6 +501,9 @@ export default class Infotabviewpanel4Model {
{
name
:
'transactioncurrencyname'
,
},
{
name
:
'childaccountcount'
,
},
]
}
...
...
app_CRM/src/widgets/account/inner-pickup-viewpickupviewpanel-pickupviewpanel/inner-pickup-viewpickupviewpanel-pickupviewpanel-model.ts
浏览文件 @
2d457186
...
...
@@ -501,6 +501,9 @@ export default class InnerPickupViewpickupviewpanelModel {
{
name
:
'transactioncurrencyname'
,
},
{
name
:
'childaccountcount'
,
},
]
}
...
...
app_CRM/src/widgets/account/pickup-viewpickupviewpanel-pickupviewpanel/pickup-viewpickupviewpanel-pickupviewpanel-model.ts
浏览文件 @
2d457186
...
...
@@ -501,6 +501,9 @@ export default class PickupViewpickupviewpanelModel {
{
name
:
'transactioncurrencyname'
,
},
{
name
:
'childaccountcount'
,
},
]
}
...
...
app_CRM/src/widgets/account/summary-dashboard/summary-dashboard-model.ts
浏览文件 @
2d457186
...
...
@@ -501,6 +501,9 @@ export default class SummaryModel {
{
name
:
'transactioncurrencyname'
,
},
{
name
:
'childaccountcount'
,
},
]
}
...
...
app_CRM/src/widgets/account/view-account-info-all-portlet/view-account-info-all-portlet-model.ts
浏览文件 @
2d457186
...
...
@@ -501,6 +501,9 @@ export default class View_AccountInfoAllModel {
{
name
:
'transactioncurrencyname'
,
},
{
name
:
'childaccountcount'
,
},
]
}
...
...
businesscentral-core/src/main/java/cn/ibizlab/businesscentral/core/base/domain/Account.java
浏览文件 @
2d457186
...
...
@@ -1259,6 +1259,13 @@ public class Account extends EntityMP implements Serializable {
@JSONField
(
name
=
"transactioncurrencyname"
)
@JsonProperty
(
"transactioncurrencyname"
)
private
String
transactioncurrencyname
;
/**
* 相关客户数量
*/
@TableField
(
value
=
"childaccountcount"
)
@JSONField
(
name
=
"childaccountcount"
)
@JsonProperty
(
"childaccountcount"
)
private
Integer
childaccountcount
;
/**
*
...
...
@@ -2640,6 +2647,14 @@ public class Account extends EntityMP implements Serializable {
this
.
modify
(
"transactioncurrencyname"
,
transactioncurrencyname
);
}
/**
* 设置 [相关客户数量]
*/
public
void
setChildaccountcount
(
Integer
childaccountcount
){
this
.
childaccountcount
=
childaccountcount
;
this
.
modify
(
"childaccountcount"
,
childaccountcount
);
}
}
...
...
businesscentral-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
2d457186
...
...
@@ -4841,6 +4841,8 @@
</column>
<column
name=
"TRANSACTIONCURRENCYNAME"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"CHILDACCOUNTCOUNT"
remarks=
""
type=
"INT"
>
</column>
</createTable>
</changeSet>
...
...
businesscentral-core/src/main/resources/mapper/base/account/AccountMapper.xml
浏览文件 @
2d457186
此差异已折叠。
点击以展开。
businesscentral-provider/businesscentral-provider-centralapi/src/main/java/cn/ibizlab/businesscentral/centralapi/dto/AccountDTO.java
浏览文件 @
2d457186
...
...
@@ -1326,6 +1326,14 @@ public class AccountDTO extends DTOBase implements Serializable {
@JsonProperty
(
"transactioncurrencyname"
)
private
String
transactioncurrencyname
;
/**
* 属性 [CHILDACCOUNTCOUNT]
*
*/
@JSONField
(
name
=
"childaccountcount"
)
@JsonProperty
(
"childaccountcount"
)
private
Integer
childaccountcount
;
/**
* 设置 [ADDRESS1_PRIMARYCONTACTNAME]
...
...
@@ -2583,6 +2591,14 @@ public class AccountDTO extends DTOBase implements Serializable {
this
.
modify
(
"transactioncurrencyname"
,
transactioncurrencyname
);
}
/**
* 设置 [CHILDACCOUNTCOUNT]
*/
public
void
setChildaccountcount
(
Integer
childaccountcount
){
this
.
childaccountcount
=
childaccountcount
;
this
.
modify
(
"childaccountcount"
,
childaccountcount
);
}
}
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录