Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz企业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz企业中心
提交
e16e8a18
提交
e16e8a18
编写于
6月 16, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
xignzi006 发布系统代码
上级
2e6fcc7d
变更
10
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
10 个修改的文件
包含
1434 行增加
和
665 行删除
+1434
-665
account_en_US.ts
...ntral/src/locale/lanres/entities/account/account_en_US.ts
+75
-48
account_zh_CN.ts
...ntral/src/locale/lanres/entities/account/account_zh_CN.ts
+75
-48
page-register.ts
...usinessCentral/src/pages/ungroup/central/page-register.ts
+20
-27
router.ts
app_BusinessCentral/src/pages/ungroup/central/router.ts
+174
-363
state.ts
app_BusinessCentral/src/store/modules/view-action/state.ts
+3
-70
infotabviewpanel-tabviewpanel-base.vue
...panel-tabviewpanel/infotabviewpanel-tabviewpanel-base.vue
+2
-2
main-form-base.vue
...sCentral/src/widgets/account/main-form/main-form-base.vue
+920
-87
main-form-model.ts
...sCentral/src/widgets/account/main-form/main-form-model.ts
+140
-10
main-form-service.ts
...entral/src/widgets/account/main-form/main-form-service.ts
+15
-0
h2_table.xml
...esscentral-core/src/main/resources/liquibase/h2_table.xml
+10
-10
未找到文件。
app_BusinessCentral/src/locale/lanres/entities/account/account_en_US.ts
浏览文件 @
e16e8a18
...
...
@@ -364,9 +364,12 @@ export default {
uiactions
:
{
},
},
quickcreate
_form
:
{
main
_form
:
{
details
:
{
group1
:
"客户基本信息"
,
group1
:
"账户信息"
,
grouppanel3
:
"简介"
,
grouppanel1
:
"地址信息"
,
grouppanel2
:
"联系人首选项"
,
formpage1
:
"基本信息"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
...
...
@@ -384,6 +387,27 @@ export default {
tickersymbol
:
"股票代号"
,
customertypecode
:
"关系类型"
,
defaultpricelevelname
:
"价目表"
,
industrycode
:
"行业"
,
sic
:
"行业编码"
,
ownershipcode
:
"所有权"
,
description
:
"说明"
,
address1_addressid
:
"地址 1: ID"
,
address1_name
:
"地址 1: 名称"
,
address1_addresstypecode
:
"地址 1: 地址类型"
,
address1_country
:
"地址 1: 国家/地区"
,
address1_stateorprovince
:
"地址 1: 省/市/自治区"
,
address1_city
:
"地址 1: 市/县"
,
address1_county
:
"地址 1: 县"
,
address1_line1
:
"地址 1: 街道 1"
,
address1_fax
:
"地址 1: 传真"
,
address1_freighttermscode
:
"地址 1: 货运条款"
,
address1_postalcode
:
"地址 1: 邮政编码"
,
preferredcontactmethodcode
:
"首选联系方式"
,
donotemail
:
"不允许使用电子邮件"
,
donotbulkemail
:
"不允许使用批量电子邮件"
,
donotphone
:
"不允许电话联络"
,
donotfax
:
"不允许使用传真"
,
donotpostalmail
:
"不允许使用邮件"
,
defaultpricelevelid
:
"价目表"
,
parentaccountid
:
"上级单位"
,
accountid
:
"客户"
,
...
...
@@ -391,12 +415,10 @@ export default {
uiactions
:
{
},
},
main
_form
:
{
quickcreate
_form
:
{
details
:
{
group1
:
"
account
基本信息"
,
group1
:
"
客户
基本信息"
,
formpage1
:
"基本信息"
,
group2
:
"操作信息"
,
formpage2
:
"其它"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"客户"
,
...
...
@@ -406,10 +428,15 @@ export default {
srfdeid
:
""
,
srfsourcekey
:
""
,
accountname
:
"客户名称"
,
createman
:
"建立人"
,
createdate
:
"建立时间"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
telephone1
:
"主要电话"
,
fax
:
"传真"
,
websiteurl
:
"网站"
,
parentaccountname
:
"上级单位"
,
tickersymbol
:
"股票代号"
,
customertypecode
:
"关系类型"
,
defaultpricelevelname
:
"价目表"
,
defaultpricelevelid
:
"价目表"
,
parentaccountid
:
"上级单位"
,
accountid
:
"客户"
,
},
uiactions
:
{
...
...
@@ -433,6 +460,44 @@ export default {
uiactions
:
{
},
},
editviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
"Save"
,
tip
:
"Save"
,
},
tbitem4
:
{
caption
:
"Save And New"
,
tip
:
"Save And New"
,
},
tbitem5
:
{
caption
:
"Save And Close"
,
tip
:
"Save And Close Window"
,
},
tbitem6
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem7
:
{
caption
:
"Remove And Close"
,
tip
:
"Remove And Close Window"
,
},
tbitem8
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem12
:
{
caption
:
"New"
,
tip
:
"New"
,
},
tbitem13
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem14
:
{
caption
:
"Copy"
,
tip
:
"Copy {0}"
,
},
},
gridviewtoolbar_toolbar
:
{
tbitem1_openquickcreateview
:
{
caption
:
"新建"
,
...
...
@@ -475,42 +540,4 @@ export default {
tip
:
"Filter"
,
},
},
editviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
"Save"
,
tip
:
"Save"
,
},
tbitem4
:
{
caption
:
"Save And New"
,
tip
:
"Save And New"
,
},
tbitem5
:
{
caption
:
"Save And Close"
,
tip
:
"Save And Close Window"
,
},
tbitem6
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem7
:
{
caption
:
"Remove And Close"
,
tip
:
"Remove And Close Window"
,
},
tbitem8
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem12
:
{
caption
:
"New"
,
tip
:
"New"
,
},
tbitem13
:
{
caption
:
"-"
,
tip
:
""
,
},
tbitem14
:
{
caption
:
"Copy"
,
tip
:
"Copy {0}"
,
},
},
};
\ No newline at end of file
app_BusinessCentral/src/locale/lanres/entities/account/account_zh_CN.ts
浏览文件 @
e16e8a18
...
...
@@ -363,9 +363,12 @@ export default {
uiactions
:
{
},
},
quickcreate
_form
:
{
main
_form
:
{
details
:
{
group1
:
'客户基本信息'
,
group1
:
'账户信息'
,
grouppanel3
:
'简介'
,
grouppanel1
:
'地址信息'
,
grouppanel2
:
'联系人首选项'
,
formpage1
:
'基本信息'
,
srfupdatedate
:
'更新时间'
,
srforikey
:
''
,
...
...
@@ -383,6 +386,27 @@ export default {
tickersymbol
:
'股票代号'
,
customertypecode
:
'关系类型'
,
defaultpricelevelname
:
'价目表'
,
industrycode
:
'行业'
,
sic
:
'行业编码'
,
ownershipcode
:
'所有权'
,
description
:
'说明'
,
address1_addressid
:
'地址 1: ID'
,
address1_name
:
'地址 1: 名称'
,
address1_addresstypecode
:
'地址 1: 地址类型'
,
address1_country
:
'地址 1: 国家/地区'
,
address1_stateorprovince
:
'地址 1: 省/市/自治区'
,
address1_city
:
'地址 1: 市/县'
,
address1_county
:
'地址 1: 县'
,
address1_line1
:
'地址 1: 街道 1'
,
address1_fax
:
'地址 1: 传真'
,
address1_freighttermscode
:
'地址 1: 货运条款'
,
address1_postalcode
:
'地址 1: 邮政编码'
,
preferredcontactmethodcode
:
'首选联系方式'
,
donotemail
:
'不允许使用电子邮件'
,
donotbulkemail
:
'不允许使用批量电子邮件'
,
donotphone
:
'不允许电话联络'
,
donotfax
:
'不允许使用传真'
,
donotpostalmail
:
'不允许使用邮件'
,
defaultpricelevelid
:
'价目表'
,
parentaccountid
:
'上级单位'
,
accountid
:
'客户'
,
...
...
@@ -390,12 +414,10 @@ export default {
uiactions
:
{
},
},
main
_form
:
{
quickcreate
_form
:
{
details
:
{
group1
:
'
account
基本信息'
,
group1
:
'
客户
基本信息'
,
formpage1
:
'基本信息'
,
group2
:
'操作信息'
,
formpage2
:
'其它'
,
srfupdatedate
:
'更新时间'
,
srforikey
:
''
,
srfkey
:
'客户'
,
...
...
@@ -405,10 +427,15 @@ export default {
srfdeid
:
''
,
srfsourcekey
:
''
,
accountname
:
'客户名称'
,
createman
:
'建立人'
,
createdate
:
'建立时间'
,
updateman
:
'更新人'
,
updatedate
:
'更新时间'
,
telephone1
:
'主要电话'
,
fax
:
'传真'
,
websiteurl
:
'网站'
,
parentaccountname
:
'上级单位'
,
tickersymbol
:
'股票代号'
,
customertypecode
:
'关系类型'
,
defaultpricelevelname
:
'价目表'
,
defaultpricelevelid
:
'价目表'
,
parentaccountid
:
'上级单位'
,
accountid
:
'客户'
,
},
uiactions
:
{
...
...
@@ -432,6 +459,44 @@ export default {
uiactions
:
{
},
},
editviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
'保存'
,
tip
:
'保存'
,
},
tbitem4
:
{
caption
:
'保存并新建'
,
tip
:
'保存并新建'
,
},
tbitem5
:
{
caption
:
'保存并关闭'
,
tip
:
'保存并关闭'
,
},
tbitem6
:
{
caption
:
'-'
,
tip
:
''
,
},
tbitem7
:
{
caption
:
'删除并关闭'
,
tip
:
'删除并关闭'
,
},
tbitem8
:
{
caption
:
'-'
,
tip
:
''
,
},
tbitem12
:
{
caption
:
'新建'
,
tip
:
'新建'
,
},
tbitem13
:
{
caption
:
'-'
,
tip
:
''
,
},
tbitem14
:
{
caption
:
'拷贝'
,
tip
:
'拷贝'
,
},
},
gridviewtoolbar_toolbar
:
{
tbitem1_openquickcreateview
:
{
caption
:
'新建'
,
...
...
@@ -474,42 +539,4 @@ export default {
tip
:
'过滤'
,
},
},
editviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
'保存'
,
tip
:
'保存'
,
},
tbitem4
:
{
caption
:
'保存并新建'
,
tip
:
'保存并新建'
,
},
tbitem5
:
{
caption
:
'保存并关闭'
,
tip
:
'保存并关闭'
,
},
tbitem6
:
{
caption
:
'-'
,
tip
:
''
,
},
tbitem7
:
{
caption
:
'删除并关闭'
,
tip
:
'删除并关闭'
,
},
tbitem8
:
{
caption
:
'-'
,
tip
:
''
,
},
tbitem12
:
{
caption
:
'新建'
,
tip
:
'新建'
,
},
tbitem13
:
{
caption
:
'-'
,
tip
:
''
,
},
tbitem14
:
{
caption
:
'拷贝'
,
tip
:
'拷贝'
,
},
},
};
\ No newline at end of file
app_BusinessCentral/src/pages/ungroup/central/page-register.ts
浏览文件 @
e16e8a18
export
const
PageComponents
=
{
install
(
Vue
:
any
,
opt
:
any
)
{
Vue
.
component
(
'account-option-view'
,
()
=>
import
(
'@pages/base/account-option-view/account-option-view.vue'
));
Vue
.
component
(
'ibiz-list-grid-view'
,
()
=>
import
(
'@pages/marketing/ibiz-list-grid-view/ibiz-list-grid-view.vue'
));
Vue
.
component
(
'appointment-quick-create'
,
()
=>
import
(
'@pages/base/appointment-quick-create/appointment-quick-create.vue'
));
Vue
.
component
(
'
account-introduction'
,
()
=>
import
(
'@pages/base/account-introduction/account-introduction
.vue'
));
Vue
.
component
(
'
campaign-response-edit-view'
,
()
=>
import
(
'@pages/marketing/campaign-response-edit-view/campaign-response-edit
-view.vue'
));
Vue
.
component
(
'
sales-literature-edit-view'
,
()
=>
import
(
'@pages/sales/sales-literature-edit-view/sales-literature-edit-view
.vue'
));
Vue
.
component
(
'
product-grid-view'
,
()
=>
import
(
'@pages/product/product-grid-view/product-grid
-view.vue'
));
Vue
.
component
(
'sales-order-edit-view'
,
()
=>
import
(
'@pages/sales/sales-order-edit-view/sales-order-edit-view.vue'
));
Vue
.
component
(
'campaign-response-edit-view'
,
()
=>
import
(
'@pages/marketing/campaign-response-edit-view/campaign-response-edit-view.vue'
));
Vue
.
component
(
'account-edit-view'
,
()
=>
import
(
'@pages/base/account-edit-view/account-edit-view.vue'
));
Vue
.
component
(
'fax-edit-view'
,
()
=>
import
(
'@pages/base/fax-edit-view/fax-edit-view.vue'
));
Vue
.
component
(
'incident-edit-view'
,
()
=>
import
(
'@pages/service/incident-edit-view/incident-edit-view.vue'
));
Vue
.
component
(
'ac
tivity-pointer-edit-view'
,
()
=>
import
(
'@pages/base/activity-pointer-edit-view/activity-pointer-edit
-view.vue'
));
Vue
.
component
(
'ac
count-pickup-grid-view'
,
()
=>
import
(
'@pages/base/account-pickup-grid-view/account-pickup-grid
-view.vue'
));
Vue
.
component
(
'lead-grid-view'
,
()
=>
import
(
'@pages/sales/lead-grid-view/lead-grid-view.vue'
));
Vue
.
component
(
'activity-pointer-edit-view'
,
()
=>
import
(
'@pages/base/activity-pointer-edit-view/activity-pointer-edit-view.vue'
));
Vue
.
component
(
'account-info'
,
()
=>
import
(
'@pages/base/account-info/account-info.vue'
));
Vue
.
component
(
'sales-literature-grid-view'
,
()
=>
import
(
'@pages/sales/sales-literature-grid-view/sales-literature-grid-view.vue'
));
Vue
.
component
(
'competitor-edit-view'
,
()
=>
import
(
'@pages/sales/competitor-edit-view/competitor-edit-view.vue'
));
Vue
.
component
(
'centeral-portal'
,
()
=>
import
(
'@pages/ungroup/centeral-portal/centeral-portal.vue'
));
Vue
.
component
(
'product-edit-view'
,
()
=>
import
(
'@pages/product/product-edit-view/product-edit-view.vue'
));
Vue
.
component
(
'quote-grid-view'
,
()
=>
import
(
'@pages/sales/quote-grid-view/quote-grid-view.vue'
));
Vue
.
component
(
'task-quick-create'
,
()
=>
import
(
'@pages/base/task-quick-create/task-quick-create.vue'
));
Vue
.
component
(
'
account-account-info'
,
()
=>
import
(
'@pages/base/account-account-info/account-account-info
.vue'
));
Vue
.
component
(
'
quote-grid-view'
,
()
=>
import
(
'@pages/sales/quote-grid-view/quote-grid-view
.vue'
));
Vue
.
component
(
'invoice-edit-view'
,
()
=>
import
(
'@pages/finance/invoice-edit-view/invoice-edit-view.vue'
));
Vue
.
component
(
'account-summary'
,
()
=>
import
(
'@pages/base/account-summary/account-summary.vue'
));
Vue
.
component
(
'account-contact-setting'
,
()
=>
import
(
'@pages/base/account-contact-setting/account-contact-setting.vue'
));
Vue
.
component
(
'sales-order-grid-view'
,
()
=>
import
(
'@pages/sales/sales-order-grid-view/sales-order-grid-view.vue'
));
Vue
.
component
(
'opportunity-grid-view'
,
()
=>
import
(
'@pages/sales/opportunity-grid-view/opportunity-grid-view.vue'
));
Vue
.
component
(
'letter-edit-view'
,
()
=>
import
(
'@pages/base/letter-edit-view/letter-edit-view.vue'
));
Vue
.
component
(
'goal-edit-view'
,
()
=>
import
(
'@pages/sales/goal-edit-view/goal-edit-view.vue'
));
Vue
.
component
(
'contact-option-view'
,
()
=>
import
(
'@pages/base/contact-option-view/contact-option-view.vue'
));
Vue
.
component
(
'letter-edit-view'
,
()
=>
import
(
'@pages/base/letter-edit-view/letter-edit-view.vue'
));
Vue
.
component
(
'activity-pointer-by-parent-key'
,
()
=>
import
(
'@pages/base/activity-pointer-by-parent-key/activity-pointer-by-parent-key.vue'
));
Vue
.
component
(
'contact-edit-view'
,
()
=>
import
(
'@pages/base/contact-edit-view/contact-edit-view.vue'
));
Vue
.
component
(
'account-address'
,
()
=>
import
(
'@pages/base/account-address/account-address.vue'
));
Vue
.
component
(
'lead-edit-view'
,
()
=>
import
(
'@pages/sales/lead-edit-view/lead-edit-view.vue'
));
Vue
.
component
(
'phone-call-edit-view'
,
()
=>
import
(
'@pages/base/phone-call-edit-view/phone-call-edit-view.vue'
));
Vue
.
component
(
'appointment-edit-view'
,
()
=>
import
(
'@pages/base/appointment-edit-view/appointment-edit-view.vue'
));
Vue
.
component
(
'task-edit-view'
,
()
=>
import
(
'@pages/base/task-edit-view/task-edit-view.vue'
));
Vue
.
component
(
'email-edit-view'
,
()
=>
import
(
'@pages/base/email-edit-view/email-edit-view.vue'
));
Vue
.
component
(
'price-level-pickup-view'
,
()
=>
import
(
'@pages/product/price-level-pickup-view/price-level-pickup-view.vue'
));
Vue
.
component
(
'goal-grid-view'
,
()
=>
import
(
'@pages/sales/goal-grid-view/goal-grid-view.vue'
));
Vue
.
component
(
'
contact-grid-view'
,
()
=>
import
(
'@pages/base/contact-grid-view/contact-grid
-view.vue'
));
Vue
.
component
(
'
opportunity-edit-view'
,
()
=>
import
(
'@pages/sales/opportunity-edit-view/opportunity-edit
-view.vue'
));
Vue
.
component
(
'service-appointment-edit-view'
,
()
=>
import
(
'@pages/service/service-appointment-edit-view/service-appointment-edit-view.vue'
));
Vue
.
component
(
'contact-grid-view'
,
()
=>
import
(
'@pages/base/contact-grid-view/contact-grid-view.vue'
));
Vue
.
component
(
'account-grid-view'
,
()
=>
import
(
'@pages/base/account-grid-view/account-grid-view.vue'
));
Vue
.
component
(
'activity-pointer-grid-view'
,
()
=>
import
(
'@pages/base/activity-pointer-grid-view/activity-pointer-grid-view.vue'
));
Vue
.
component
(
'ibiz-list-edit-view'
,
()
=>
import
(
'@pages/marketing/ibiz-list-edit-view/ibiz-list-edit-view.vue'
));
Vue
.
component
(
'invoice-grid-view'
,
()
=>
import
(
'@pages/finance/invoice-grid-view/invoice-grid-view.vue'
));
Vue
.
component
(
'
account-distribution'
,
()
=>
import
(
'@pages/base/account-distribution/account-distribution
.vue'
));
Vue
.
component
(
'
competitor-grid-view'
,
()
=>
import
(
'@pages/sales/competitor-grid-view/competitor-grid-view
.vue'
));
Vue
.
component
(
'account-pickup-view'
,
()
=>
import
(
'@pages/base/account-pickup-view/account-pickup-view.vue'
));
Vue
.
component
(
'price-level-pickup-grid-view'
,
()
=>
import
(
'@pages/product/price-level-pickup-grid-view/price-level-pickup-grid-view.vue'
));
Vue
.
component
(
'ibiz-list-grid-view'
,
()
=>
import
(
'@pages/marketing/ibiz-list-grid-view/ibiz-list-grid-view.vue'
));
Vue
.
component
(
'product-grid-view'
,
()
=>
import
(
'@pages/product/product-grid-view/product-grid-view.vue'
));
Vue
.
component
(
'sales-literature-edit-view'
,
()
=>
import
(
'@pages/sales/sales-literature-edit-view/sales-literature-edit-view.vue'
));
Vue
.
component
(
'account-pickup-grid-view'
,
()
=>
import
(
'@pages/base/account-pickup-grid-view/account-pickup-grid-view.vue'
));
Vue
.
component
(
'account-info'
,
()
=>
import
(
'@pages/base/account-info/account-info.vue'
));
Vue
.
component
(
'account-major-contact'
,
()
=>
import
(
'@pages/base/account-major-contact/account-major-contact.vue'
));
Vue
.
component
(
'sales-order-grid-view'
,
()
=>
import
(
'@pages/sales/sales-order-grid-view/sales-order-grid-view.vue'
));
Vue
.
component
(
'contact-option-view'
,
()
=>
import
(
'@pages/base/contact-option-view/contact-option-view.vue'
));
Vue
.
component
(
'activity-pointer-by-parent-key'
,
()
=>
import
(
'@pages/base/activity-pointer-by-parent-key/activity-pointer-by-parent-key.vue'
));
Vue
.
component
(
'lead-edit-view'
,
()
=>
import
(
'@pages/sales/lead-edit-view/lead-edit-view.vue'
));
Vue
.
component
(
'phone-call-edit-view'
,
()
=>
import
(
'@pages/base/phone-call-edit-view/phone-call-edit-view.vue'
));
Vue
.
component
(
'task-edit-view'
,
()
=>
import
(
'@pages/base/task-edit-view/task-edit-view.vue'
));
Vue
.
component
(
'price-level-pickup-view'
,
()
=>
import
(
'@pages/product/price-level-pickup-view/price-level-pickup-view.vue'
));
Vue
.
component
(
'opportunity-edit-view'
,
()
=>
import
(
'@pages/sales/opportunity-edit-view/opportunity-edit-view.vue'
));
Vue
.
component
(
'competitor-grid-view'
,
()
=>
import
(
'@pages/sales/competitor-grid-view/competitor-grid-view.vue'
));
Vue
.
component
(
'ibiz-list-edit-view'
,
()
=>
import
(
'@pages/marketing/ibiz-list-edit-view/ibiz-list-edit-view.vue'
));
Vue
.
component
(
'quote-edit-view'
,
()
=>
import
(
'@pages/sales/quote-edit-view/quote-edit-view.vue'
));
Vue
.
component
(
'incident-grid-view'
,
()
=>
import
(
'@pages/service/incident-grid-view/incident-grid-view.vue'
));
}
...
...
app_BusinessCentral/src/pages/ungroup/central/router.ts
浏览文件 @
e16e8a18
此差异已折叠。
点击以展开。
app_BusinessCentral/src/store/modules/view-action/state.ts
浏览文件 @
e16e8a18
...
...
@@ -61,15 +61,6 @@ export const viewstate: any = {
'2e17cb1d009dd49ac529319ac15319cd'
,
],
},
{
viewtag
:
'1d3b94223a5d3f8ab1d2fe334c8c4afd'
,
viewmodule
:
'Base'
,
viewname
:
'AccountAccountInfo'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
],
},
{
viewtag
:
'24a93674ec4c976c08902a3e95421ca6'
,
viewmodule
:
'Marketing'
,
...
...
@@ -99,21 +90,6 @@ export const viewstate: any = {
'ef9fea872a6a21e7566033fafcc0ccb5'
,
],
},
{
viewtag
:
'2becf7bda3a6d70cbe9a4e254093e84e'
,
viewmodule
:
'Base'
,
viewname
:
'AccountSummary'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'e38e7b53a449e0f112cb545d2c5d4b85'
,
'fb06f2c1cea1ac2a5a70c20f4a277ae5'
,
'73bb9f7e653384ca09f8bbbfd580d892'
,
'c607e5bc2c07ab2aca084e275ce677b7'
,
'916febbb65be1c54dd42ccb9914fe973'
,
'1d3b94223a5d3f8ab1d2fe334c8c4afd'
,
],
},
{
viewtag
:
'2e17cb1d009dd49ac529319ac15319cd'
,
viewmodule
:
'Sales'
,
...
...
@@ -131,7 +107,7 @@ export const viewstate: any = {
viewdatachange
:
false
,
refviews
:
[
'bae77557d2f7a7852b634dc5d5a93435'
,
'
2becf7bda3a6d70cbe9a4e254093e84e
'
,
'
6e18ac74e5685439110f9b4e534ee005
'
,
],
},
{
...
...
@@ -239,15 +215,8 @@ export const viewstate: any = {
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
],
},
{
viewtag
:
'73bb9f7e653384ca09f8bbbfd580d892'
,
viewmodule
:
'Base'
,
viewname
:
'AccountIntroduction'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'8b806fb12589b2fc17d1bb90f4b5422e'
,
'29bfcd628ab25e297248ff0524d12908'
,
],
},
{
...
...
@@ -330,15 +299,6 @@ export const viewstate: any = {
'303fcfed216ca770612be2c0a97be789'
,
],
},
{
viewtag
:
'916febbb65be1c54dd42ccb9914fe973'
,
viewmodule
:
'Base'
,
viewname
:
'AccountAddress'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
],
},
{
viewtag
:
'99d4a530c13b03a98cd143f341394354'
,
viewmodule
:
'Service'
,
...
...
@@ -461,15 +421,6 @@ export const viewstate: any = {
'a5213905238dbc5d8e1a505029105cc9'
,
],
},
{
viewtag
:
'c607e5bc2c07ab2aca084e275ce677b7'
,
viewmodule
:
'Base'
,
viewname
:
'AccountDistribution'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
],
},
{
viewtag
:
'd1c35f3c52010e1428d7dc1a6bc82f63'
,
viewmodule
:
'Sales'
,
...
...
@@ -509,15 +460,6 @@ export const viewstate: any = {
'01c28e25ad9d42977cb91ee890731b64'
,
],
},
{
viewtag
:
'e38e7b53a449e0f112cb545d2c5d4b85'
,
viewmodule
:
'Base'
,
viewname
:
'AccountContactSetting'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
],
},
{
viewtag
:
'e404dc93e70d6284d4e1a083017625ed'
,
viewmodule
:
'Base'
,
...
...
@@ -545,15 +487,6 @@ export const viewstate: any = {
refviews
:
[
],
},
{
viewtag
:
'fb06f2c1cea1ac2a5a70c20f4a277ae5'
,
viewmodule
:
'Base'
,
viewname
:
'AccountMajorContact'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
],
},
{
viewtag
:
'fc2117de593df9cc982bd802cbdb2154'
,
viewmodule
:
'Sales'
,
...
...
app_BusinessCentral/src/widgets/account/infotabviewpanel-tabviewpanel/infotabviewpanel-tabviewpanel-base.vue
浏览文件 @
e16e8a18
<
template
>
<div
class=
'tabviewpanel'
style=
"height:100%;"
v-if =
'isActivied'
>
<account-
summary
<account-
edit-view
class=
'viewcontainer2'
:viewdata=
"viewdata"
:viewparam=
"viewparam"
@
viewload=
"viewDatasChange($event)"
:viewDefaultUsage=
"false"
>
</account-
summary
>
</account-
edit-view
>
</div>
</
template
>
<
script
lang=
'tsx'
>
...
...
app_BusinessCentral/src/widgets/account/main-form/main-form-base.vue
浏览文件 @
e16e8a18
此差异已折叠。
点击以展开。
app_BusinessCentral/src/widgets/account/main-form/main-form-model.ts
浏览文件 @
e16e8a18
...
...
@@ -61,24 +61,154 @@ export default class MainModel {
dataType
:
'TEXT'
,
},
{
name
:
'
createman
'
,
prop
:
'
createman
'
,
name
:
'
telephone1
'
,
prop
:
'
telephone1
'
,
dataType
:
'TEXT'
,
},
{
name
:
'
createdate
'
,
prop
:
'
createdate
'
,
dataType
:
'
DATETIME
'
,
name
:
'
fax
'
,
prop
:
'
fax
'
,
dataType
:
'
TEXT
'
,
},
{
name
:
'
updateman
'
,
prop
:
'
updateman
'
,
name
:
'
websiteurl
'
,
prop
:
'
websiteurl
'
,
dataType
:
'TEXT'
,
},
{
name
:
'updatedate'
,
prop
:
'updatedate'
,
dataType
:
'DATETIME'
,
name
:
'parentaccountname'
,
prop
:
'parentaccountname'
,
dataType
:
'PICKUPTEXT'
,
},
{
name
:
'tickersymbol'
,
prop
:
'tickersymbol'
,
dataType
:
'TEXT'
,
},
{
name
:
'customertypecode'
,
prop
:
'customertypecode'
,
dataType
:
'SSCODELIST'
,
},
{
name
:
'defaultpricelevelname'
,
prop
:
'defaultpricelevelname'
,
dataType
:
'PICKUPTEXT'
,
},
{
name
:
'industrycode'
,
prop
:
'industrycode'
,
dataType
:
'SSCODELIST'
,
},
{
name
:
'sic'
,
prop
:
'sic'
,
dataType
:
'TEXT'
,
},
{
name
:
'ownershipcode'
,
prop
:
'ownershipcode'
,
dataType
:
'SSCODELIST'
,
},
{
name
:
'description'
,
prop
:
'description'
,
dataType
:
'TEXT'
,
},
{
name
:
'address1_addressid'
,
prop
:
'address1_addressid'
,
dataType
:
'TEXT'
,
},
{
name
:
'address1_name'
,
prop
:
'address1_name'
,
dataType
:
'TEXT'
,
},
{
name
:
'address1_addresstypecode'
,
prop
:
'address1_addresstypecode'
,
dataType
:
'SSCODELIST'
,
},
{
name
:
'address1_country'
,
prop
:
'address1_country'
,
dataType
:
'TEXT'
,
},
{
name
:
'address1_stateorprovince'
,
prop
:
'address1_stateorprovince'
,
dataType
:
'TEXT'
,
},
{
name
:
'address1_city'
,
prop
:
'address1_city'
,
dataType
:
'TEXT'
,
},
{
name
:
'address1_county'
,
prop
:
'address1_county'
,
dataType
:
'TEXT'
,
},
{
name
:
'address1_line1'
,
prop
:
'address1_line1'
,
dataType
:
'TEXT'
,
},
{
name
:
'address1_fax'
,
prop
:
'address1_fax'
,
dataType
:
'TEXT'
,
},
{
name
:
'address1_freighttermscode'
,
prop
:
'address1_freighttermscode'
,
dataType
:
'SSCODELIST'
,
},
{
name
:
'address1_postalcode'
,
prop
:
'address1_postalcode'
,
dataType
:
'TEXT'
,
},
{
name
:
'preferredcontactmethodcode'
,
prop
:
'preferredcontactmethodcode'
,
dataType
:
'SSCODELIST'
,
},
{
name
:
'donotemail'
,
prop
:
'donotemail'
,
dataType
:
'YESNO'
,
},
{
name
:
'donotbulkemail'
,
prop
:
'donotbulkemail'
,
dataType
:
'YESNO'
,
},
{
name
:
'donotphone'
,
prop
:
'donotphone'
,
dataType
:
'YESNO'
,
},
{
name
:
'donotfax'
,
prop
:
'donotfax'
,
dataType
:
'YESNO'
,
},
{
name
:
'donotpostalmail'
,
prop
:
'donotpostalmail'
,
dataType
:
'YESNO'
,
},
{
name
:
'defaultpricelevelid'
,
prop
:
'defaultpricelevelid'
,
dataType
:
'PICKUP'
,
},
{
name
:
'parentaccountid'
,
prop
:
'parentaccountid'
,
dataType
:
'PICKUP'
,
},
{
name
:
'accountid'
,
...
...
app_BusinessCentral/src/widgets/account/main-form/main-form-service.ts
浏览文件 @
e16e8a18
...
...
@@ -2,6 +2,7 @@ import { Http,Util,Errorlog } from '@/utils';
import
ControlService
from
'@/widgets/control-service'
;
import
AccountService
from
'@/service/account/account-service'
;
import
MainModel
from
'./main-form-model'
;
import
PriceLevelService
from
'@/service/price-level/price-level-service'
;
/**
...
...
@@ -41,6 +42,14 @@ export default class MainService extends ControlService {
this
.
model
=
new
MainModel
();
}
/**
* 价目表服务对象
*
* @type {PriceLevelService}
* @memberof MainService
*/
public
pricelevelService
:
PriceLevelService
=
new
PriceLevelService
();
/**
* 处理数据
*
...
...
@@ -80,6 +89,12 @@ export default class MainService extends ControlService {
*/
@
Errorlog
public
getItems
(
serviceName
:
string
,
interfaceName
:
string
,
context
:
any
=
{},
data
:
any
,
isloading
?:
boolean
):
Promise
<
any
[]
>
{
if
(
Object
.
is
(
serviceName
,
'AccountService'
)
&&
Object
.
is
(
interfaceName
,
'FetchDefault'
))
{
return
this
.
doItems
(
this
.
appEntityService
.
FetchDefault
(
JSON
.
parse
(
JSON
.
stringify
(
context
)),
data
,
isloading
),
'accountid'
,
'account'
);
}
if
(
Object
.
is
(
serviceName
,
'PriceLevelService'
)
&&
Object
.
is
(
interfaceName
,
'FetchDefault'
))
{
return
this
.
doItems
(
this
.
pricelevelService
.
FetchDefault
(
JSON
.
parse
(
JSON
.
stringify
(
context
)),
data
,
isloading
),
'pricelevelid'
,
'pricelevel'
);
}
return
Promise
.
reject
([])
}
...
...
businesscentral-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
e16e8a18
...
...
@@ -4480,7 +4480,7 @@
<!--输出实体[ACCOUNT]数据结构 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-account-
96
-53"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-account-
118
-53"
>
<createTable
tableName=
"ACCOUNT"
>
<column
name=
"ADDRESS1_PRIMARYCONTACTNAME"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
...
...
@@ -11074,31 +11074,31 @@
<addForeignKeyConstraint
baseColumnNames=
"METRICID"
baseTableName=
"GOAL"
constraintName=
"DER1N_GOAL__METRIC__METRICID"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"METRICID"
referencedTableName=
"METRIC"
validate=
"true"
/>
</changeSet>
<!--输出实体[ACCOUNT]外键关系 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-
96
-246"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-
118
-246"
>
<addForeignKeyConstraint
baseColumnNames=
"PARENTACCOUNTID"
baseTableName=
"ACCOUNT"
constraintName=
"DER1N_ACCOUNT__ACCOUNT__PARENT"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"ACCOUNTID"
referencedTableName=
"ACCOUNT"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-
96
-247"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-
118
-247"
>
<addForeignKeyConstraint
baseColumnNames=
"PRIMARYCONTACTID"
baseTableName=
"ACCOUNT"
constraintName=
"DER1N_ACCOUNT__CONTACT__PRIMAR"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"CONTACTID"
referencedTableName=
"CONTACT"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-
96
-248"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-
118
-248"
>
<addForeignKeyConstraint
baseColumnNames=
"PREFERREDEQUIPMENTID"
baseTableName=
"ACCOUNT"
constraintName=
"DER1N_ACCOUNT__EQUIPMENT__PREF"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"EQUIPMENTID"
referencedTableName=
"EQUIPMENT"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-
96
-249"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-
118
-249"
>
<addForeignKeyConstraint
baseColumnNames=
"ORIGINATINGLEADID"
baseTableName=
"ACCOUNT"
constraintName=
"DER1N_ACCOUNT__LEAD__ORIGINATI"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"LEADID"
referencedTableName=
"LEAD"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-
96
-250"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-
118
-250"
>
<addForeignKeyConstraint
baseColumnNames=
"DEFAULTPRICELEVELID"
baseTableName=
"ACCOUNT"
constraintName=
"DER1N_ACCOUNT__PRICELEVEL__DEF"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"PRICELEVELID"
referencedTableName=
"PRICELEVEL"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-
96
-251"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-
118
-251"
>
<addForeignKeyConstraint
baseColumnNames=
"PREFERREDSERVICEID"
baseTableName=
"ACCOUNT"
constraintName=
"DER1N_ACCOUNT__SERVICE__PREFER"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"SERVICEID"
referencedTableName=
"SERVICE"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-
96
-252"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-
118
-252"
>
<addForeignKeyConstraint
baseColumnNames=
"SLAID"
baseTableName=
"ACCOUNT"
constraintName=
"DER1N_ACCOUNT__SLA__SLAID"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"SLAID"
referencedTableName=
"SLA"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-
96
-253"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-
118
-253"
>
<addForeignKeyConstraint
baseColumnNames=
"TERRITORYID"
baseTableName=
"ACCOUNT"
constraintName=
"DER1N_ACCOUNT__TERRITORY__TERR"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"TERRITORYID"
referencedTableName=
"TERRITORY"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-
96
-254"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-account-
118
-254"
>
<addForeignKeyConstraint
baseColumnNames=
"TRANSACTIONCURRENCYID"
baseTableName=
"ACCOUNT"
constraintName=
"DER1N_ACCOUNT__TRANSACTIONCURR"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"TRANSACTIONCURRENCYID"
referencedTableName=
"TRANSACTIONCURRENCY"
validate=
"true"
/>
</changeSet>
<!--输出实体[KNOWLEDGEARTICLEVIEWS]外键关系 -->
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录