Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz企业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz企业中心
提交
63429034
提交
63429034
编写于
6月 16, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
xignzi006 发布系统代码
上级
3c640382
变更
51
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
51 个修改的文件
包含
9170 行增加
和
39 行删除
+9170
-39
data-dictionary.json
app_BusinessCentral/public/assets/json/data-dictionary.json
+138
-0
view-config.json
app_BusinessCentral/public/assets/json/view-config.json
+60
-0
transaction-currency.ts
...inessCentral/src/interface/entity/transaction-currency.ts
+168
-0
en-US.ts
app_BusinessCentral/src/locale/lang/en-US.ts
+2
-0
zh-CN.ts
app_BusinessCentral/src/locale/lang/zh-CN.ts
+2
-0
codelist_en_US.ts
...inessCentral/src/locale/lanres/codelist/codelist_en_US.ts
+23
-0
codelist_zh_CN.ts
...inessCentral/src/locale/lanres/codelist/codelist_zh_CN.ts
+23
-0
contact_en_US.ts
...ntral/src/locale/lanres/entities/contact/contact_en_US.ts
+49
-6
contact_zh_CN.ts
...ntral/src/locale/lanres/entities/contact/contact_zh_CN.ts
+49
-6
lead_en_US.ts
...nessCentral/src/locale/lanres/entities/lead/lead_en_US.ts
+8
-0
lead_zh_CN.ts
...nessCentral/src/locale/lanres/entities/lead/lead_zh_CN.ts
+8
-0
transaction-currency_en_US.ts
...tities/transaction-currency/transaction-currency_en_US.ts
+51
-0
transaction-currency_zh_CN.ts
...tities/transaction-currency/transaction-currency_zh_CN.ts
+50
-0
codelist.ts
app_BusinessCentral/src/mock/codelist/codelist.ts
+138
-0
transaction-currencys.ts
...ock/entity/transaction-currencys/transaction-currencys.ts
+380
-0
index.ts
app_BusinessCentral/src/mock/index.ts
+1
-0
viewconfig.ts
app_BusinessCentral/src/mock/viewconfig/viewconfig.ts
+48
-0
account-edit-account-info-base.vue
...ount-edit-account-info/account-edit-account-info-base.vue
+1112
-0
account-edit-account-info.less
.../account-edit-account-info/account-edit-account-info.less
+8
-0
account-edit-account-info.vue
...e/account-edit-account-info/account-edit-account-info.vue
+19
-0
account-edit-address-base.vue
...s/base/account-edit-address/account-edit-address-base.vue
+1112
-0
account-edit-address.less
...pages/base/account-edit-address/account-edit-address.less
+8
-0
account-edit-address.vue
.../pages/base/account-edit-address/account-edit-address.vue
+19
-0
contact-grid-view-base.vue
...c/pages/base/contact-grid-view/contact-grid-view-base.vue
+1
-1
page-register.ts
...usinessCentral/src/pages/ungroup/central/page-register.ts
+9
-3
router.ts
app_BusinessCentral/src/pages/ungroup/central/router.ts
+115
-5
entity-service-register.ts
app_BusinessCentral/src/service/entity-service-register.ts
+1
-0
transaction-currency-service-base.ts
...transaction-currency/transaction-currency-service-base.ts
+179
-0
transaction-currency-service.ts
...vice/transaction-currency/transaction-currency-service.ts
+25
-0
state.ts
app_BusinessCentral/src/store/modules/view-action/state.ts
+21
-1
contact-ui-service-base.ts
...sCentral/src/uiservice/contact/contact-ui-service-base.ts
+2
-0
lead-ui-service-base.ts
...usinessCentral/src/uiservice/lead/lead-ui-service-base.ts
+2
-0
transaction-currency-ui-service-base.ts
...nsaction-currency/transaction-currency-ui-service-base.ts
+212
-0
transaction-currency-ui-service.ts
...e/transaction-currency/transaction-currency-ui-service.ts
+21
-0
ui-service-register.ts
app_BusinessCentral/src/uiservice/ui-service-register.ts
+1
-0
edit-account-info-form-base.vue
...nt/edit-account-info-form/edit-account-info-form-base.vue
+1840
-0
edit-account-info-form-model.ts
...nt/edit-account-info-form/edit-account-info-form-model.ts
+121
-0
edit-account-info-form-service.ts
.../edit-account-info-form/edit-account-info-form-service.ts
+386
-0
edit-account-info-form.less
...ccount/edit-account-info-form/edit-account-info-form.less
+4
-0
edit-account-info-form.vue
...account/edit-account-info-form/edit-account-info-form.vue
+14
-0
edit-address-form-base.vue
...gets/account/edit-address-form/edit-address-form-base.vue
+1726
-0
edit-address-form-model.ts
...gets/account/edit-address-form/edit-address-form-model.ts
+106
-0
edit-address-form-service.ts
...ts/account/edit-address-form/edit-address-form-service.ts
+371
-0
edit-address-form.less
.../widgets/account/edit-address-form/edit-address-form.less
+4
-0
edit-address-form.vue
...c/widgets/account/edit-address-form/edit-address-form.vue
+14
-0
application-businesscentral-prod.yml
...l/src/main/resources/application-businesscentral-prod.yml
+4
-0
h2_table.xml
...esscentral-core/src/main/resources/liquibase/h2_table.xml
+17
-17
systemResource.json
...al-core/src/main/resources/permission/systemResource.json
+8
-0
TransactionCurrencyDTO.java
...usinesscentral/centralapi/dto/TransactionCurrencyDTO.java
+312
-0
TransactionCurrencyMapping.java
...entral/centralapi/mapping/TransactionCurrencyMapping.java
+16
-0
TransactionCurrencyResource.java
...scentral/centralapi/rest/TransactionCurrencyResource.java
+162
-0
未找到文件。
app_BusinessCentral/public/assets/json/data-dictionary.json
浏览文件 @
63429034
...
...
@@ -54,6 +54,23 @@
}
]
},
{
"srfkey"
:
"Contact__ShippingMethodCode"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"static"
,
"items"
:
[
{
"id"
:
"1"
,
"label"
:
"Default Value"
,
"text"
:
"Default Value"
,
"data"
:
""
,
"codename"
:
"Item_1"
,
"value"
:
"1"
,
"disabled"
:
false
}
]
},
{
"srfkey"
:
"YesNo"
,
"emptytext"
:
"未定义"
,
...
...
@@ -81,6 +98,53 @@
}
]
},
{
"srfkey"
:
"Contact__FamilyStatusCode"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"static"
,
"items"
:
[
{
"id"
:
"3"
,
"label"
:
"Divorced"
,
"text"
:
"Divorced"
,
"data"
:
""
,
"codename"
:
"Item_3"
,
"value"
:
"3"
,
"disabled"
:
false
}
,
{
"id"
:
"2"
,
"label"
:
"Married"
,
"text"
:
"Married"
,
"data"
:
""
,
"codename"
:
"Item_2"
,
"value"
:
"2"
,
"disabled"
:
false
}
,
{
"id"
:
"1"
,
"label"
:
"Single"
,
"text"
:
"Single"
,
"data"
:
""
,
"codename"
:
"Item_1"
,
"value"
:
"1"
,
"disabled"
:
false
}
,
{
"id"
:
"4"
,
"label"
:
"Widowed"
,
"text"
:
"Widowed"
,
"data"
:
""
,
"codename"
:
"Item_4"
,
"value"
:
"4"
,
"disabled"
:
false
}
]
},
{
"srfkey"
:
"Account__CustomerTypeCode"
,
"emptytext"
:
"未定义"
,
...
...
@@ -255,6 +319,53 @@
}
]
},
{
"srfkey"
:
"Contact__PaymentTermsCode"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"static"
,
"items"
:
[
{
"id"
:
"2"
,
"label"
:
"2% 10, Net 30"
,
"text"
:
"2% 10, Net 30"
,
"data"
:
""
,
"codename"
:
"Item_2"
,
"value"
:
"2"
,
"disabled"
:
false
}
,
{
"id"
:
"1"
,
"label"
:
"Net 30"
,
"text"
:
"Net 30"
,
"data"
:
""
,
"codename"
:
"Item_1"
,
"value"
:
"1"
,
"disabled"
:
false
}
,
{
"id"
:
"3"
,
"label"
:
"Net 45"
,
"text"
:
"Net 45"
,
"data"
:
""
,
"codename"
:
"Item_3"
,
"value"
:
"3"
,
"disabled"
:
false
}
,
{
"id"
:
"4"
,
"label"
:
"Net 60"
,
"text"
:
"Net 60"
,
"data"
:
""
,
"codename"
:
"Item_4"
,
"value"
:
"4"
,
"disabled"
:
false
}
]
},
{
"srfkey"
:
"Account__Address1_ShippingMethodCode"
,
"emptytext"
:
"未定义"
,
...
...
@@ -419,6 +530,33 @@
}
]
},
{
"srfkey"
:
"Contact__GenderCode"
,
"emptytext"
:
"未定义"
,
"codelisttype"
:
"static"
,
"items"
:
[
{
"id"
:
"2"
,
"label"
:
"Female"
,
"text"
:
"Female"
,
"data"
:
""
,
"codename"
:
"Item_2"
,
"value"
:
"2"
,
"disabled"
:
false
}
,
{
"id"
:
"1"
,
"label"
:
"Male"
,
"text"
:
"Male"
,
"data"
:
""
,
"codename"
:
"Item_1"
,
"value"
:
"1"
,
"disabled"
:
false
}
]
},
{
"srfkey"
:
"FQG_ActivityPointer"
,
"emptytext"
:
"未定义"
,
...
...
app_BusinessCentral/public/assets/json/view-config.json
浏览文件 @
63429034
...
...
@@ -69,6 +69,16 @@
"viewtag"
:
"15d12c1173fcb6e742b6a6d92cbc53ed"
,
"memo"
:
""
},
"leadpickupview"
:
{
"title"
:
"lead数据选择视图"
,
"caption"
:
"潜在顾客"
,
"viewtype"
:
"DEPICKUPVIEW"
,
"viewmodule"
:
"Sales"
,
"viewname"
:
"LeadPickupView"
,
"viewfilename"
:
"lead-pickup-view"
,
"viewtag"
:
"1bc48b15dbe69c5f30dafe489f58aacb"
,
"memo"
:
"系统自动添加"
},
"accountaccountinfo"
:
{
"title"
:
"account编辑视图"
,
"caption"
:
"客户"
,
...
...
@@ -219,6 +229,16 @@
"viewtag"
:
"5f8f689d5dccc3db6d2b74a24a8b24ef"
,
"memo"
:
""
},
"contactdetailinfoeditview9"
:
{
"title"
:
"联系人编辑视图"
,
"caption"
:
"联系人"
,
"viewtype"
:
"DEEDITVIEW9"
,
"viewmodule"
:
"Base"
,
"viewname"
:
"ContactDetailInfoEditView9"
,
"viewfilename"
:
"contact-detail-info-edit-view9"
,
"viewtag"
:
"60093dd36f07238d7a7e72e9ed372942"
,
"memo"
:
""
},
"goalgridview"
:
{
"title"
:
"goal表格视图"
,
"caption"
:
"目标"
,
...
...
@@ -229,6 +249,16 @@
"viewtag"
:
"631a4276161c551802f3aaf4bd7e607c"
,
"memo"
:
""
},
"transactioncurrencypickupgridview"
:
{
"title"
:
"transactioncurrency选择表格视图"
,
"caption"
:
"货币"
,
"viewtype"
:
"DEPICKUPGRIDVIEW"
,
"viewmodule"
:
"Base"
,
"viewname"
:
"TransactionCurrencyPickupGridView"
,
"viewfilename"
:
"transaction-currency-pickup-grid-view"
,
"viewtag"
:
"6d8a2615030eed5779caea69f7f001aa"
,
"memo"
:
"系统自动添加"
},
"accounteditview"
:
{
"title"
:
"account编辑视图"
,
"caption"
:
"客户"
,
...
...
@@ -279,6 +309,16 @@
"viewtag"
:
"7bf35293fd1d9db7816755a74c4d575e"
,
"memo"
:
"系统自动添加"
},
"leadpickupgridview"
:
{
"title"
:
"lead选择表格视图"
,
"caption"
:
"潜在顾客"
,
"viewtype"
:
"DEPICKUPGRIDVIEW"
,
"viewmodule"
:
"Sales"
,
"viewname"
:
"LeadPickupGridView"
,
"viewfilename"
:
"lead-pickup-grid-view"
,
"viewtag"
:
"7d00f63c306adf3537efeabb3326095d"
,
"memo"
:
"系统自动添加"
},
"centeralportal"
:
{
"title"
:
"仪表盘"
,
"caption"
:
"仪表盘"
,
...
...
@@ -509,6 +549,16 @@
"viewtag"
:
"d1c35f3c52010e1428d7dc1a6bc82f63"
,
"memo"
:
""
},
"transactioncurrencypickupview"
:
{
"title"
:
"transactioncurrency数据选择视图"
,
"caption"
:
"货币"
,
"viewtype"
:
"DEPICKUPVIEW"
,
"viewmodule"
:
"Base"
,
"viewname"
:
"TransactionCurrencyPickupView"
,
"viewfilename"
:
"transaction-currency-pickup-view"
,
"viewtag"
:
"da3f8c1f20f440f3df54d6c13a8de586"
,
"memo"
:
"系统自动添加"
},
"pricelevelpickupgridview"
:
{
"title"
:
"pricelevel选择表格视图"
,
"caption"
:
"价目表"
,
...
...
@@ -598,5 +648,15 @@
"viewfilename"
:
"competitor-edit-view"
,
"viewtag"
:
"fc2117de593df9cc982bd802cbdb2154"
,
"memo"
:
"系统自动添加"
},
"contacttabexpview"
:
{
"title"
:
"联系人分页导航视图"
,
"caption"
:
"联系人"
,
"viewtype"
:
"DETABEXPVIEW"
,
"viewmodule"
:
"Base"
,
"viewname"
:
"ContactTabExpView"
,
"viewfilename"
:
"contact-tab-exp-view"
,
"viewtag"
:
"fcdb236b65d78c4a8ae64e74f9483a63"
,
"memo"
:
""
}
}
\ No newline at end of file
app_BusinessCentral/src/interface/entity/transaction-currency.ts
0 → 100644
浏览文件 @
63429034
/**
* 货币
*
* @export
* @interface TransactionCurrency
*/
export
interface
TransactionCurrency
{
/**
* 更新时间
*
* @returns {*}
* @memberof TransactionCurrency
*/
updatedate
?:
any
;
/**
* 实体图像 ID
*
* @returns {*}
* @memberof TransactionCurrency
*/
entityimageid
?:
any
;
/**
* 交易币种
*
* @returns {*}
* @memberof TransactionCurrency
*/
transactioncurrencyid
?:
any
;
/**
* 版本号
*
* @returns {*}
* @memberof TransactionCurrency
*/
versionnumber
?:
any
;
/**
* EntityImage_URL
*
* @returns {*}
* @memberof TransactionCurrency
*/
entityimage_url
?:
any
;
/**
* 汇率
*
* @returns {*}
* @memberof TransactionCurrency
*/
exchangerate
?:
any
;
/**
* 创建记录的时间
*
* @returns {*}
* @memberof TransactionCurrency
*/
overriddencreatedon
?:
any
;
/**
* 建立时间
*
* @returns {*}
* @memberof TransactionCurrency
*/
createdate
?:
any
;
/**
* UniqueDscId
*
* @returns {*}
* @memberof TransactionCurrency
*/
uniquedscid
?:
any
;
/**
* 状态
*
* @returns {*}
* @memberof TransactionCurrency
*/
statecode
?:
any
;
/**
* 状态描述
*
* @returns {*}
* @memberof TransactionCurrency
*/
statuscode
?:
any
;
/**
* 更新人
*
* @returns {*}
* @memberof TransactionCurrency
*/
updateman
?:
any
;
/**
* 货币精度
*
* @returns {*}
* @memberof TransactionCurrency
*/
currencyprecision
?:
any
;
/**
* 货币名称
*
* @returns {*}
* @memberof TransactionCurrency
*/
currencyname
?:
any
;
/**
* 建立人
*
* @returns {*}
* @memberof TransactionCurrency
*/
createman
?:
any
;
/**
* 实体图像
*
* @returns {*}
* @memberof TransactionCurrency
*/
entityimage
?:
any
;
/**
* 货币代码
*
* @returns {*}
* @memberof TransactionCurrency
*/
isocurrencycode
?:
any
;
/**
* EntityImage_Timestamp
*
* @returns {*}
* @memberof TransactionCurrency
*/
entityimage_timestamp
?:
any
;
/**
* 货币符号
*
* @returns {*}
* @memberof TransactionCurrency
*/
currencysymbol
?:
any
;
/**
* 导入序列号
*
* @returns {*}
* @memberof TransactionCurrency
*/
importsequencenumber
?:
any
;
}
\ No newline at end of file
app_BusinessCentral/src/locale/lang/en-US.ts
浏览文件 @
63429034
...
...
@@ -3,6 +3,7 @@ import letter_en_US from '@locale/lanres/entities/letter/letter_en_US';
import
pricelevel_en_US
from
'@locale/lanres/entities/price-level/price-level_en_US'
;
import
email_en_US
from
'@locale/lanres/entities/email/email_en_US'
;
import
serviceappointment_en_US
from
'@locale/lanres/entities/service-appointment/service-appointment_en_US'
;
import
transactioncurrency_en_US
from
'@locale/lanres/entities/transaction-currency/transaction-currency_en_US'
;
import
opportunity_en_US
from
'@locale/lanres/entities/opportunity/opportunity_en_US'
;
import
goal_en_US
from
'@locale/lanres/entities/goal/goal_en_US'
;
import
invoice_en_US
from
'@locale/lanres/entities/invoice/invoice_en_US'
;
...
...
@@ -130,6 +131,7 @@ export default {
pricelevel
:
pricelevel_en_US
,
email
:
email_en_US
,
serviceappointment
:
serviceappointment_en_US
,
transactioncurrency
:
transactioncurrency_en_US
,
opportunity
:
opportunity_en_US
,
goal
:
goal_en_US
,
invoice
:
invoice_en_US
,
...
...
app_BusinessCentral/src/locale/lang/zh-CN.ts
浏览文件 @
63429034
...
...
@@ -3,6 +3,7 @@ import letter_zh_CN from '@locale/lanres/entities/letter/letter_zh_CN';
import
pricelevel_zh_CN
from
'@locale/lanres/entities/price-level/price-level_zh_CN'
;
import
email_zh_CN
from
'@locale/lanres/entities/email/email_zh_CN'
;
import
serviceappointment_zh_CN
from
'@locale/lanres/entities/service-appointment/service-appointment_zh_CN'
;
import
transactioncurrency_zh_CN
from
'@locale/lanres/entities/transaction-currency/transaction-currency_zh_CN'
;
import
opportunity_zh_CN
from
'@locale/lanres/entities/opportunity/opportunity_zh_CN'
;
import
goal_zh_CN
from
'@locale/lanres/entities/goal/goal_zh_CN'
;
import
invoice_zh_CN
from
'@locale/lanres/entities/invoice/invoice_zh_CN'
;
...
...
@@ -130,6 +131,7 @@ export default {
pricelevel
:
pricelevel_zh_CN
,
email
:
email_zh_CN
,
serviceappointment
:
serviceappointment_zh_CN
,
transactioncurrency
:
transactioncurrency_zh_CN
,
opportunity
:
opportunity_zh_CN
,
goal
:
goal_zh_CN
,
invoice
:
invoice_zh_CN
,
...
...
app_BusinessCentral/src/locale/lanres/codelist/codelist_en_US.ts
浏览文件 @
63429034
...
...
@@ -9,11 +9,22 @@ export default {
'3'
:
'Subsidiary'
,
empty
:
''
,
},
Contact__ShippingMethodCode
:
{
'1'
:
'Default Value'
,
empty
:
''
,
},
YesNo
:
{
'1'
:
'是'
,
'0'
:
'否'
,
empty
:
''
,
},
Contact__FamilyStatusCode
:
{
'3'
:
'Divorced'
,
'2'
:
'Married'
,
'1'
:
'Single'
,
'4'
:
'Widowed'
,
empty
:
''
,
},
Account__CustomerTypeCode
:
{
'1'
:
'Competitor'
,
'2'
:
'Consultant'
,
...
...
@@ -36,6 +47,13 @@ export default {
'2'
:
'Ship To'
,
empty
:
''
,
},
Contact__PaymentTermsCode
:
{
'2'
:
'2% 10, Net 30'
,
'1'
:
'Net 30'
,
'3'
:
'Net 45'
,
'4'
:
'Net 60'
,
empty
:
''
,
},
Account__Address1_ShippingMethodCode
:
{
'1'
:
'Airborne'
,
'2'
:
'DHL'
,
...
...
@@ -57,6 +75,11 @@ export default {
'CAMPAIGNRESPONSE'
:
'市场活动响应'
,
empty
:
''
,
},
Contact__GenderCode
:
{
'2'
:
'Female'
,
'1'
:
'Male'
,
empty
:
''
,
},
FQG_ActivityPointer
:
{
'ALL'
:
'全部活动'
,
'TASK'
:
'任务'
,
...
...
app_BusinessCentral/src/locale/lanres/codelist/codelist_zh_CN.ts
浏览文件 @
63429034
...
...
@@ -9,11 +9,22 @@ export default {
'3'
:
'Subsidiary'
,
empty
:
''
,
},
Contact__ShippingMethodCode
:
{
'1'
:
'Default Value'
,
empty
:
''
,
},
YesNo
:
{
'1'
:
'是'
,
'0'
:
'否'
,
empty
:
''
,
},
Contact__FamilyStatusCode
:
{
'3'
:
'Divorced'
,
'2'
:
'Married'
,
'1'
:
'Single'
,
'4'
:
'Widowed'
,
empty
:
''
,
},
Account__CustomerTypeCode
:
{
'1'
:
'Competitor'
,
'2'
:
'Consultant'
,
...
...
@@ -36,6 +47,13 @@ export default {
'2'
:
'Ship To'
,
empty
:
''
,
},
Contact__PaymentTermsCode
:
{
'2'
:
'2% 10, Net 30'
,
'1'
:
'Net 30'
,
'3'
:
'Net 45'
,
'4'
:
'Net 60'
,
empty
:
''
,
},
Account__Address1_ShippingMethodCode
:
{
'1'
:
'Airborne'
,
'2'
:
'DHL'
,
...
...
@@ -57,6 +75,11 @@ export default {
'CAMPAIGNRESPONSE'
:
'市场活动响应'
,
empty
:
''
,
},
Contact__GenderCode
:
{
'2'
:
'Female'
,
'1'
:
'Male'
,
empty
:
''
,
},
FQG_ActivityPointer
:
{
'ALL'
:
'全部活动'
,
'TASK'
:
'任务'
,
...
...
app_BusinessCentral/src/locale/lanres/entities/contact/contact_en_US.ts
浏览文件 @
63429034
...
...
@@ -206,6 +206,10 @@ export default {
gridview
:
{
caption
:
"联系人"
,
title
:
'contact表格视图'
,
},
detailinfoeditview9
:
{
caption
:
"联系人"
,
title
:
'联系人编辑视图'
,
},
pickupgridview
:
{
caption
:
"联系人"
,
...
...
@@ -227,6 +231,10 @@ export default {
caption
:
"联系人"
,
title
:
'联系人选项操作视图'
,
},
tabexpview
:
{
caption
:
"联系人"
,
title
:
'联系人分页导航视图'
,
},
},
quickcreate_form
:
{
details
:
{
...
...
@@ -257,6 +265,41 @@ export default {
uiactions
:
{
},
},
detailinfo_form
:
{
details
:
{
group1
:
"个人信息"
,
grouppanel1
:
"市场营销"
,
grouppanel2
:
"记账"
,
grouppanel3
:
"送货"
,
formpage1
:
"基本信息"
,
srfupdatedate
:
"更新时间"
,
srforikey
:
""
,
srfkey
:
"联系人"
,
srfmajortext
:
"全名"
,
srftempmode
:
""
,
srfuf
:
""
,
srfdeid
:
""
,
srfsourcekey
:
""
,
gendercode
:
"性别"
,
familystatuscode
:
"婚姻状况"
,
spousesname
:
"配偶/伴侣姓名"
,
birthdate
:
"生日"
,
anniversary
:
"纪念日"
,
originatingleadname
:
"原始潜在顾客"
,
lastusedincampaign
:
"上次参与市场活动的日期"
,
donotsendmm
:
"发送市场营销资料"
,
transactioncurrencyname
:
"货币"
,
creditlimit
:
"信用额度"
,
creditonhold
:
"信用冻结"
,
paymenttermscode
:
"付款方式"
,
shippingmethodcode
:
"送货方式"
,
originatingleadid
:
"原始潜在顾客"
,
transactioncurrencyid
:
"货币"
,
contactid
:
"联系人"
,
},
uiactions
:
{
},
},
main_form
:
{
details
:
{
group1
:
"contact基本信息"
,
...
...
@@ -340,6 +383,12 @@ export default {
tip
:
"Filter"
,
},
},
abstracteditview9toolbar_toolbar
:
{
deuiaction2
:
{
caption
:
"编辑"
,
tip
:
"编辑"
,
},
},
editviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
"Save"
,
...
...
@@ -378,10 +427,4 @@ export default {
tip
:
"Copy {0}"
,
},
},
abstracteditview9toolbar_toolbar
:
{
deuiaction2
:
{
caption
:
"编辑"
,
tip
:
"编辑"
,
},
},
};
\ No newline at end of file
app_BusinessCentral/src/locale/lanres/entities/contact/contact_zh_CN.ts
浏览文件 @
63429034
...
...
@@ -205,6 +205,10 @@ export default {
gridview
:
{
caption
:
'联系人'
,
title
:
'contact表格视图'
,
},
detailinfoeditview9
:
{
caption
:
'联系人'
,
title
:
'联系人编辑视图'
,
},
pickupgridview
:
{
caption
:
'联系人'
,
...
...
@@ -226,6 +230,10 @@ export default {
caption
:
'联系人'
,
title
:
'联系人选项操作视图'
,
},
tabexpview
:
{
caption
:
'联系人'
,
title
:
'联系人分页导航视图'
,
},
},
quickcreate_form
:
{
details
:
{
...
...
@@ -256,6 +264,41 @@ export default {
uiactions
:
{
},
},
detailinfo_form
:
{
details
:
{
group1
:
'个人信息'
,
grouppanel1
:
'市场营销'
,
grouppanel2
:
'记账'
,
grouppanel3
:
'送货'
,
formpage1
:
'基本信息'
,
srfupdatedate
:
'更新时间'
,
srforikey
:
''
,
srfkey
:
'联系人'
,
srfmajortext
:
'全名'
,
srftempmode
:
''
,
srfuf
:
''
,
srfdeid
:
''
,
srfsourcekey
:
''
,
gendercode
:
'性别'
,
familystatuscode
:
'婚姻状况'
,
spousesname
:
'配偶/伴侣姓名'
,
birthdate
:
'生日'
,
anniversary
:
'纪念日'
,
originatingleadname
:
'原始潜在顾客'
,
lastusedincampaign
:
'上次参与市场活动的日期'
,
donotsendmm
:
'发送市场营销资料'
,
transactioncurrencyname
:
'货币'
,
creditlimit
:
'信用额度'
,
creditonhold
:
'信用冻结'
,
paymenttermscode
:
'付款方式'
,
shippingmethodcode
:
'送货方式'
,
originatingleadid
:
'原始潜在顾客'
,
transactioncurrencyid
:
'货币'
,
contactid
:
'联系人'
,
},
uiactions
:
{
},
},
main_form
:
{
details
:
{
group1
:
'contact基本信息'
,
...
...
@@ -339,6 +382,12 @@ export default {
tip
:
'过滤'
,
},
},
abstracteditview9toolbar_toolbar
:
{
deuiaction2
:
{
caption
:
'编辑'
,
tip
:
'编辑'
,
},
},
editviewtoolbar_toolbar
:
{
tbitem3
:
{
caption
:
'保存'
,
...
...
@@ -377,10 +426,4 @@ export default {
tip
:
'拷贝'
,
},
},
abstracteditview9toolbar_toolbar
:
{
deuiaction2
:
{
caption
:
'编辑'
,
tip
:
'编辑'
,
},
},
};
\ No newline at end of file
app_BusinessCentral/src/locale/lanres/entities/lead/lead_en_US.ts
浏览文件 @
63429034
...
...
@@ -161,11 +161,19 @@ export default {
gridview
:
{
caption
:
"潜在顾客"
,
title
:
'lead表格视图'
,
},
pickupview
:
{
caption
:
"潜在顾客"
,
title
:
'lead数据选择视图'
,
},
editview
:
{
caption
:
"潜在顾客"
,
title
:
'lead编辑视图'
,
},
pickupgridview
:
{
caption
:
"潜在顾客"
,
title
:
'lead选择表格视图'
,
},
},
main_form
:
{
details
:
{
...
...
app_BusinessCentral/src/locale/lanres/entities/lead/lead_zh_CN.ts
浏览文件 @
63429034
...
...
@@ -160,11 +160,19 @@ export default {
gridview
:
{
caption
:
'潜在顾客'
,
title
:
'lead表格视图'
,
},
pickupview
:
{
caption
:
'潜在顾客'
,
title
:
'lead数据选择视图'
,
},
editview
:
{
caption
:
'潜在顾客'
,
title
:
'lead编辑视图'
,
},
pickupgridview
:
{
caption
:
'潜在顾客'
,
title
:
'lead选择表格视图'
,
},
},
main_form
:
{
details
:
{
...
...
app_BusinessCentral/src/locale/lanres/entities/transaction-currency/transaction-currency_en_US.ts
0 → 100644
浏览文件 @
63429034
export
default
{
fields
:
{
updatedate
:
'更新时间'
,
entityimageid
:
'实体图像 ID'
,
transactioncurrencyid
:
'交易币种'
,
versionnumber
:
'版本号'
,
entityimage_url
:
'EntityImage_URL'
,
exchangerate
:
'汇率'
,
overriddencreatedon
:
'创建记录的时间'
,
createdate
:
'建立时间'
,
uniquedscid
:
'UniqueDscId'
,
statecode
:
'状态'
,
statuscode
:
'状态描述'
,
updateman
:
'更新人'
,
currencyprecision
:
'货币精度'
,
currencyname
:
'货币名称'
,
createman
:
'建立人'
,
entityimage
:
'实体图像'
,
isocurrencycode
:
'货币代码'
,
entityimage_timestamp
:
'EntityImage_Timestamp'
,
currencysymbol
:
'货币符号'
,
importsequencenumber
:
'导入序列号'
,
},
views
:
{
pickupgridview
:
{
caption
:
"货币"
,
title
:
'transactioncurrency选择表格视图'
,
},
pickupview
:
{
caption
:
"货币"
,
title
:
'transactioncurrency数据选择视图'
,
},
},
main_grid
:
{
columns
:
{
currencyname
:
"货币名称"
,
updateman
:
"更新人"
,
updatedate
:
"更新时间"
,
},
uiactions
:
{
},
},
default_searchform
:
{
details
:
{
formpage1
:
"常规条件"
,
},
uiactions
:
{
},
},
};
\ No newline at end of file
app_BusinessCentral/src/locale/lanres/entities/transaction-currency/transaction-currency_zh_CN.ts
0 → 100644
浏览文件 @
63429034
export
default
{
fields
:
{
updatedate
:
'更新时间'
,
entityimageid
:
'实体图像 ID'
,
transactioncurrencyid
:
'交易币种'
,
versionnumber
:
'版本号'
,
entityimage_url
:
'EntityImage_URL'
,
exchangerate
:
'汇率'
,
overriddencreatedon
:
'创建记录的时间'
,
createdate
:
'建立时间'
,
uniquedscid
:
'UniqueDscId'
,
statecode
:
'状态'
,
statuscode
:
'状态描述'
,
updateman
:
'更新人'
,
currencyprecision
:
'货币精度'
,
currencyname
:
'货币名称'
,
createman
:
'建立人'
,
entityimage
:
'实体图像'
,
isocurrencycode
:
'货币代码'
,
entityimage_timestamp
:
'EntityImage_Timestamp'
,
currencysymbol
:
'货币符号'
,
importsequencenumber
:
'导入序列号'
,
},
views
:
{
pickupgridview
:
{
caption
:
'货币'
,
title
:
'transactioncurrency选择表格视图'
,
},
pickupview
:
{
caption
:
'货币'
,
title
:
'transactioncurrency数据选择视图'
,
},
},
main_grid
:
{
columns
:
{
currencyname
:
'货币名称'
,
updateman
:
'更新人'
,
updatedate
:
'更新时间'
,
},
uiactions
:
{
},
},
default_searchform
:
{
details
:
{
formpage1
:
'常规条件'
,
},
uiactions
:
{
},
},
};
\ No newline at end of file
app_BusinessCentral/src/mock/codelist/codelist.ts
浏览文件 @
63429034
...
...
@@ -62,6 +62,23 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
},
]
},
{
srfkey
:
'Contact__ShippingMethodCode'
,
emptytext
:
'未定义'
,
"codelisttype"
:
"static"
,
items
:
[
{
id
:
'1'
,
label
:
'Default Value'
,
text
:
'Default Value'
,
"data"
:
""
,
"codename"
:
"Item_1"
,
value
:
'1'
,
disabled
:
false
,
},
]
},
{
srfkey
:
'YesNo'
,
emptytext
:
'未定义'
,
...
...
@@ -89,6 +106,53 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
},
]
},
{
srfkey
:
'Contact__FamilyStatusCode'
,
emptytext
:
'未定义'
,
"codelisttype"
:
"static"
,
items
:
[
{
id
:
'3'
,
label
:
'Divorced'
,
text
:
'Divorced'
,
"data"
:
""
,
"codename"
:
"Item_3"
,
value
:
'3'
,
disabled
:
false
,
},
{
id
:
'2'
,
label
:
'Married'
,
text
:
'Married'
,
"data"
:
""
,
"codename"
:
"Item_2"
,
value
:
'2'
,
disabled
:
false
,
},
{
id
:
'1'
,
label
:
'Single'
,
text
:
'Single'
,
"data"
:
""
,
"codename"
:
"Item_1"
,
value
:
'1'
,
disabled
:
false
,
},
{
id
:
'4'
,
label
:
'Widowed'
,
text
:
'Widowed'
,
"data"
:
""
,
"codename"
:
"Item_4"
,
value
:
'4'
,
disabled
:
false
,
},
]
},
{
srfkey
:
'Account__CustomerTypeCode'
,
emptytext
:
'未定义'
,
...
...
@@ -263,6 +327,53 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
},
]
},
{
srfkey
:
'Contact__PaymentTermsCode'
,
emptytext
:
'未定义'
,
"codelisttype"
:
"static"
,
items
:
[
{
id
:
'2'
,
label
:
'2% 10, Net 30'
,
text
:
'2% 10, Net 30'
,
"data"
:
""
,
"codename"
:
"Item_2"
,
value
:
'2'
,
disabled
:
false
,
},
{
id
:
'1'
,
label
:
'Net 30'
,
text
:
'Net 30'
,
"data"
:
""
,
"codename"
:
"Item_1"
,
value
:
'1'
,
disabled
:
false
,
},
{
id
:
'3'
,
label
:
'Net 45'
,
text
:
'Net 45'
,
"data"
:
""
,
"codename"
:
"Item_3"
,
value
:
'3'
,
disabled
:
false
,
},
{
id
:
'4'
,
label
:
'Net 60'
,
text
:
'Net 60'
,
"data"
:
""
,
"codename"
:
"Item_4"
,
value
:
'4'
,
disabled
:
false
,
},
]
},
{
srfkey
:
'Account__Address1_ShippingMethodCode'
,
emptytext
:
'未定义'
,
...
...
@@ -427,6 +538,33 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
},
]
},
{
srfkey
:
'Contact__GenderCode'
,
emptytext
:
'未定义'
,
"codelisttype"
:
"static"
,
items
:
[
{
id
:
'2'
,
label
:
'Female'
,
text
:
'Female'
,
"data"
:
""
,
"codename"
:
"Item_2"
,
value
:
'2'
,
disabled
:
false
,
},
{
id
:
'1'
,
label
:
'Male'
,
text
:
'Male'
,
"data"
:
""
,
"codename"
:
"Item_1"
,
value
:
'1'
,
disabled
:
false
,
},
]
},
{
srfkey
:
'FQG_ActivityPointer'
,
emptytext
:
'未定义'
,
...
...
app_BusinessCentral/src/mock/entity/transaction-currencys/transaction-currencys.ts
0 → 100644
浏览文件 @
63429034
此差异已折叠。
点击以展开。
app_BusinessCentral/src/mock/index.ts
浏览文件 @
63429034
...
...
@@ -12,6 +12,7 @@ import './entity/letters/letters';
import
'./entity/price-levels/price-levels'
;
import
'./entity/emails/emails'
;
import
'./entity/service-appointments/service-appointments'
;
import
'./entity/transaction-currencys/transaction-currencys'
;
import
'./entity/opportunitys/opportunitys'
;
import
'./entity/goals/goals'
;
import
'./entity/invoices/invoices'
;
...
...
app_BusinessCentral/src/mock/viewconfig/viewconfig.ts
浏览文件 @
63429034
...
...
@@ -63,6 +63,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"LeadGridView"
,
"viewtag"
:
"15d12c1173fcb6e742b6a6d92cbc53ed"
},
"leadpickupview"
:
{
"title"
:
"lead数据选择视图"
,
"caption"
:
"潜在顾客"
,
"viewtype"
:
"DEPICKUPVIEW"
,
"viewmodule"
:
"Sales"
,
"viewname"
:
"LeadPickupView"
,
"viewtag"
:
"1bc48b15dbe69c5f30dafe489f58aacb"
},
"accountaccountinfo"
:
{
"title"
:
"account编辑视图"
,
"caption"
:
"客户"
,
...
...
@@ -183,6 +191,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"OpportunityGridView"
,
"viewtag"
:
"5f8f689d5dccc3db6d2b74a24a8b24ef"
},
"contactdetailinfoeditview9"
:
{
"title"
:
"联系人编辑视图"
,
"caption"
:
"联系人"
,
"viewtype"
:
"DEEDITVIEW9"
,
"viewmodule"
:
"Base"
,
"viewname"
:
"ContactDetailInfoEditView9"
,
"viewtag"
:
"60093dd36f07238d7a7e72e9ed372942"
},
"goalgridview"
:
{
"title"
:
"goal表格视图"
,
"caption"
:
"目标"
,
...
...
@@ -191,6 +207,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"GoalGridView"
,
"viewtag"
:
"631a4276161c551802f3aaf4bd7e607c"
},
"transactioncurrencypickupgridview"
:
{
"title"
:
"transactioncurrency选择表格视图"
,
"caption"
:
"货币"
,
"viewtype"
:
"DEPICKUPGRIDVIEW"
,
"viewmodule"
:
"Base"
,
"viewname"
:
"TransactionCurrencyPickupGridView"
,
"viewtag"
:
"6d8a2615030eed5779caea69f7f001aa"
},
"accounteditview"
:
{
"title"
:
"account编辑视图"
,
"caption"
:
"客户"
,
...
...
@@ -231,6 +255,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"OpportunityEditView"
,
"viewtag"
:
"7bf35293fd1d9db7816755a74c4d575e"
},
"leadpickupgridview"
:
{
"title"
:
"lead选择表格视图"
,
"caption"
:
"潜在顾客"
,
"viewtype"
:
"DEPICKUPGRIDVIEW"
,
"viewmodule"
:
"Sales"
,
"viewname"
:
"LeadPickupGridView"
,
"viewtag"
:
"7d00f63c306adf3537efeabb3326095d"
},
"centeralportal"
:
{
"title"
:
"仪表盘"
,
"caption"
:
"仪表盘"
,
...
...
@@ -415,6 +447,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname"
:
"CompetitorGridView"
,
"viewtag"
:
"d1c35f3c52010e1428d7dc1a6bc82f63"
},
"transactioncurrencypickupview"
:
{
"title"
:
"transactioncurrency数据选择视图"
,
"caption"
:
"货币"
,
"viewtype"
:
"DEPICKUPVIEW"
,
"viewmodule"
:
"Base"
,
"viewname"
:
"TransactionCurrencyPickupView"
,
"viewtag"
:
"da3f8c1f20f440f3df54d6c13a8de586"
},
"pricelevelpickupgridview"
:
{
"title"
:
"pricelevel选择表格视图"
,
"caption"
:
"价目表"
,
...
...
@@ -486,6 +526,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewmodule"
:
"Sales"
,
"viewname"
:
"CompetitorEditView"
,
"viewtag"
:
"fc2117de593df9cc982bd802cbdb2154"
},
"contacttabexpview"
:
{
"title"
:
"联系人分页导航视图"
,
"caption"
:
"联系人"
,
"viewtype"
:
"DETABEXPVIEW"
,
"viewmodule"
:
"Base"
,
"viewname"
:
"ContactTabExpView"
,
"viewtag"
:
"fcdb236b65d78c4a8ae64e74f9483a63"
}
}];
});
\ No newline at end of file
app_BusinessCentral/src/pages/base/account-edit-account-info/account-edit-account-info-base.vue
0 → 100644
浏览文件 @
63429034
此差异已折叠。
点击以展开。
app_BusinessCentral/src/pages/base/account-edit-account-info/account-edit-account-info.less
0 → 100644
浏览文件 @
63429034
// 避免空文件,后台不让空文件过
.account-edit-account-info {
--account-edit-account-info: 0;
}
// 视图样式
// this is less
app_BusinessCentral/src/pages/base/account-edit-account-info/account-edit-account-info.vue
0 → 100644
浏览文件 @
63429034
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
AccountEdit_AccountInfoBase
from
'./account-edit-account-info-base.vue'
;
import
view_form
from
'@widgets/account/edit-account-info-form/edit-account-info-form.vue'
;
@
Component
({
components
:
{
view_form
,
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
route
:
to
,
viewtag
:
vm
.
viewtag
});
});
},
})
export
default
class
AccountEdit_AccountInfo
extends
AccountEdit_AccountInfoBase
{
}
</
script
>
\ No newline at end of file
app_BusinessCentral/src/pages/base/account-edit-address/account-edit-address-base.vue
0 → 100644
浏览文件 @
63429034
此差异已折叠。
点击以展开。
app_BusinessCentral/src/pages/base/account-edit-address/account-edit-address.less
0 → 100644
浏览文件 @
63429034
// 避免空文件,后台不让空文件过
.account-edit-address {
--account-edit-address: 0;
}
// 视图样式
// this is less
app_BusinessCentral/src/pages/base/account-edit-address/account-edit-address.vue
0 → 100644
浏览文件 @
63429034
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
AccountEdit_AddressBase
from
'./account-edit-address-base.vue'
;
import
view_form
from
'@widgets/account/edit-address-form/edit-address-form.vue'
;
@
Component
({
components
:
{
view_form
,
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
route
:
to
,
viewtag
:
vm
.
viewtag
});
});
},
})
export
default
class
AccountEdit_Address
extends
AccountEdit_AddressBase
{
}
</
script
>
\ No newline at end of file
app_BusinessCentral/src/pages/base/contact-grid-view/contact-grid-view-base.vue
浏览文件 @
63429034
...
...
@@ -920,7 +920,7 @@ export default class ContactGridViewBase extends Vue {
const
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
{
pathName
:
'
editview'
,
parameterName
:
'edit
view'
},
{
pathName
:
'
tabexpview'
,
parameterName
:
'tabexp
view'
},
];
const
_this
:
any
=
this
;
const
openIndexViewTab
=
(
data
:
any
)
=>
{
...
...
app_BusinessCentral/src/pages/ungroup/central/page-register.ts
浏览文件 @
63429034
...
...
@@ -7,6 +7,8 @@ export const PageComponents = {
Vue
.
component
(
'sales-order-edit-view'
,
()
=>
import
(
'@pages/sales/sales-order-edit-view/sales-order-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
(
'contact-abstract-edit-view9'
,
()
=>
import
(
'@pages/base/contact-abstract-edit-view9/contact-abstract-edit-view9.vue'
));
Vue
.
component
(
'lead-pickup-view'
,
()
=>
import
(
'@pages/sales/lead-pickup-view/lead-pickup-view.vue'
));
Vue
.
component
(
'incident-edit-view'
,
()
=>
import
(
'@pages/service/incident-edit-view/incident-edit-view.vue'
));
Vue
.
component
(
'activity-pointer-edit-view'
,
()
=>
import
(
'@pages/base/activity-pointer-edit-view/activity-pointer-edit-view.vue'
));
Vue
.
component
(
'lead-grid-view'
,
()
=>
import
(
'@pages/sales/lead-grid-view/lead-grid-view.vue'
));
...
...
@@ -23,13 +25,15 @@ export const PageComponents = {
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-edit-view'
,
()
=>
import
(
'@pages/base/contact-edit-view/contact-edit
-view.vue'
));
Vue
.
component
(
'
transaction-currency-pickup-view'
,
()
=>
import
(
'@pages/base/transaction-currency-pickup-view/transaction-currency-pickup
-view.vue'
));
Vue
.
component
(
'account-address'
,
()
=>
import
(
'@pages/base/account-address/account-address.vue'
));
Vue
.
component
(
'contact-detail-info-edit-view9'
,
()
=>
import
(
'@pages/base/contact-detail-info-edit-view9/contact-detail-info-edit-view9.vue'
));
Vue
.
component
(
'appointment-edit-view'
,
()
=>
import
(
'@pages/base/appointment-edit-view/appointment-edit-view.vue'
));
Vue
.
component
(
'
account-edit-address'
,
()
=>
import
(
'@pages/base/account-edit-address/account-edit-address
.vue'
));
Vue
.
component
(
'
contact-tab-exp-view'
,
()
=>
import
(
'@pages/base/contact-tab-exp-view/contact-tab-exp-view
.vue'
));
Vue
.
component
(
'email-edit-view'
,
()
=>
import
(
'@pages/base/email-edit-view/email-edit-view.vue'
));
Vue
.
component
(
'contact-pickup-grid-view'
,
()
=>
import
(
'@pages/base/contact-pickup-grid-view/contact-pickup-grid-view.vue'
));
Vue
.
component
(
'goal-grid-view'
,
()
=>
import
(
'@pages/sales/goal-grid-view/goal-grid-view.vue'
));
Vue
.
component
(
'transaction-currency-pickup-grid-view'
,
()
=>
import
(
'@pages/base/transaction-currency-pickup-grid-view/transaction-currency-pickup-grid-view.vue'
));
Vue
.
component
(
'contact-grid-view'
,
()
=>
import
(
'@pages/base/contact-grid-view/contact-grid-view.vue'
));
Vue
.
component
(
'service-appointment-edit-view'
,
()
=>
import
(
'@pages/service/service-appointment-edit-view/service-appointment-edit-view.vue'
));
Vue
.
component
(
'account-grid-view'
,
()
=>
import
(
'@pages/base/account-grid-view/account-grid-view.vue'
));
...
...
@@ -39,9 +43,9 @@ export const PageComponents = {
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
(
'account-edit-account-info'
,
()
=>
import
(
'@pages/base/account-edit-account-info/account-edit-account-info.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
(
'lead-pickup-grid-view'
,
()
=>
import
(
'@pages/sales/lead-pickup-grid-view/lead-pickup-grid-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'
));
...
...
@@ -57,6 +61,8 @@ export const PageComponents = {
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'
));
Vue
.
component
(
'account-edit-account-info'
,
()
=>
import
(
'@pages/base/account-edit-account-info/account-edit-account-info.vue'
));
Vue
.
component
(
'account-edit-address'
,
()
=>
import
(
'@pages/base/account-edit-address/account-edit-address.vue'
));
Vue
.
component
(
'contact-pickup-view'
,
()
=>
import
(
'@pages/base/contact-pickup-view/contact-pickup-view.vue'
));
}
};
\ No newline at end of file
app_BusinessCentral/src/pages/ungroup/central/router.ts
浏览文件 @
63429034
...
...
@@ -133,6 +133,34 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/base/fax-edit-view/fax-edit-view.vue'
),
},
{
path
:
'contacts/:contact?/abstracteditview9/:abstracteditview9?'
,
meta
:
{
caption
:
'entities.contact.views.abstracteditview9.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
{
pathName
:
'abstracteditview9'
,
parameterName
:
'abstracteditview9'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/contact-abstract-edit-view9/contact-abstract-edit-view9.vue'
),
},
{
path
:
'leads/:lead?/pickupview/:pickupview?'
,
meta
:
{
caption
:
'entities.lead.views.pickupview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'leads'
,
parameterName
:
'lead'
},
{
pathName
:
'pickupview'
,
parameterName
:
'pickupview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sales/lead-pickup-view/lead-pickup-view.vue'
),
},
{
path
:
'incidents/:incident?/editview/:editview?'
,
meta
:
{
...
...
@@ -371,18 +399,18 @@ const router = new Router({
component
:
()
=>
import
(
'@pages/sales/goal-edit-view/goal-edit-view.vue'
),
},
{
path
:
'
contacts/:contact?/editview/:edit
view?'
,
path
:
'
transactioncurrencies/:transactioncurrency?/pickupview/:pickup
view?'
,
meta
:
{
caption
:
'entities.
contact.views.edit
view.title'
,
caption
:
'entities.
transactioncurrency.views.pickup
view.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'
contacts'
,
parameterName
:
'contact
'
},
{
pathName
:
'
editview'
,
parameterName
:
'edit
view'
},
{
pathName
:
'
transactioncurrencies'
,
parameterName
:
'transactioncurrency
'
},
{
pathName
:
'
pickupview'
,
parameterName
:
'pickup
view'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/
contact-edit-view/contact-edit
-view.vue'
),
component
:
()
=>
import
(
'@pages/base/
transaction-currency-pickup-view/transaction-currency-pickup
-view.vue'
),
},
{
path
:
'accounts/:account?/address/:address?'
,
...
...
@@ -398,6 +426,20 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/base/account-address/account-address.vue'
),
},
{
path
:
'contacts/:contact?/detailinfoeditview9/:detailinfoeditview9?'
,
meta
:
{
caption
:
'entities.contact.views.detailinfoeditview9.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
{
pathName
:
'detailinfoeditview9'
,
parameterName
:
'detailinfoeditview9'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/contact-detail-info-edit-view9/contact-detail-info-edit-view9.vue'
),
},
{
path
:
'appointments/:appointment?/editview/:editview?'
,
meta
:
{
...
...
@@ -426,6 +468,20 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/base/account-edit-address/account-edit-address.vue'
),
},
{
path
:
'contacts/:contact?/tabexpview/:tabexpview?'
,
meta
:
{
caption
:
'entities.contact.views.tabexpview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'contacts'
,
parameterName
:
'contact'
},
{
pathName
:
'tabexpview'
,
parameterName
:
'tabexpview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/contact-tab-exp-view/contact-tab-exp-view.vue'
),
},
{
path
:
'emails/:email?/editview/:editview?'
,
meta
:
{
...
...
@@ -468,6 +524,20 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sales/goal-grid-view/goal-grid-view.vue'
),
},
{
path
:
'transactioncurrencies/:transactioncurrency?/pickupgridview/:pickupgridview?'
,
meta
:
{
caption
:
'entities.transactioncurrency.views.pickupgridview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'transactioncurrencies'
,
parameterName
:
'transactioncurrency'
},
{
pathName
:
'pickupgridview'
,
parameterName
:
'pickupgridview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/transaction-currency-pickup-grid-view/transaction-currency-pickup-grid-view.vue'
),
},
{
path
:
'contacts/:contact?/gridview/:gridview?'
,
meta
:
{
...
...
@@ -636,6 +706,20 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/sales/sales-literature-edit-view/sales-literature-edit-view.vue'
),
},
{
path
:
'leads/:lead?/pickupgridview/:pickupgridview?'
,
meta
:
{
caption
:
'entities.lead.views.pickupgridview.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'central'
,
parameterName
:
'central'
},
{
pathName
:
'leads'
,
parameterName
:
'lead'
},
{
pathName
:
'pickupgridview'
,
parameterName
:
'pickupgridview'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/sales/lead-pickup-grid-view/lead-pickup-grid-view.vue'
),
},
{
path
:
'accounts/:account?/pickupgridview/:pickupgridview?'
,
meta
:
{
...
...
@@ -888,6 +972,19 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/service/incident-edit-view/incident-edit-view.vue'
),
},
{
path
:
'/accounts/:account?/edit_accountinfo/:edit_accountinfo?'
,
meta
:
{
caption
:
'entities.account.views.edit_accountinfo.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'accounts'
,
parameterName
:
'account'
},
{
pathName
:
'edit_accountinfo'
,
parameterName
:
'edit_accountinfo'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/account-edit-account-info/account-edit-account-info.vue'
),
},
{
path
:
'/salesorders/:salesorder?/editview/:editview?'
,
meta
:
{
...
...
@@ -1148,6 +1245,19 @@ const router = new Router({
},
component
:
()
=>
import
(
'@pages/base/account-edit-view/account-edit-view.vue'
),
},
{
path
:
'/accounts/:account?/edit_address/:edit_address?'
,
meta
:
{
caption
:
'entities.account.views.edit_address.title'
,
info
:
''
,
parameters
:
[
{
pathName
:
'accounts'
,
parameterName
:
'account'
},
{
pathName
:
'edit_address'
,
parameterName
:
'edit_address'
},
],
requireAuth
:
true
,
},
component
:
()
=>
import
(
'@pages/base/account-edit-address/account-edit-address.vue'
),
},
{
path
:
'/accounts/:account?/introduction/:introduction?'
,
meta
:
{
...
...
app_BusinessCentral/src/service/entity-service-register.ts
浏览文件 @
63429034
...
...
@@ -44,6 +44,7 @@ export class EntityServiceRegister {
this
.
allEntityService
.
set
(
'pricelevel'
,
()
=>
import
(
'@/service/price-level/price-level-service'
));
this
.
allEntityService
.
set
(
'email'
,
()
=>
import
(
'@/service/email/email-service'
));
this
.
allEntityService
.
set
(
'serviceappointment'
,
()
=>
import
(
'@/service/service-appointment/service-appointment-service'
));
this
.
allEntityService
.
set
(
'transactioncurrency'
,
()
=>
import
(
'@/service/transaction-currency/transaction-currency-service'
));
this
.
allEntityService
.
set
(
'opportunity'
,
()
=>
import
(
'@/service/opportunity/opportunity-service'
));
this
.
allEntityService
.
set
(
'goal'
,
()
=>
import
(
'@/service/goal/goal-service'
));
this
.
allEntityService
.
set
(
'invoice'
,
()
=>
import
(
'@/service/invoice/invoice-service'
));
...
...
app_BusinessCentral/src/service/transaction-currency/transaction-currency-service-base.ts
0 → 100644
浏览文件 @
63429034
import
{
Http
,
Util
}
from
'@/utils'
;
import
EntityService
from
'../entity-service'
;
/**
* 货币服务对象基类
*
* @export
* @class TransactionCurrencyServiceBase
* @extends {EntityServie}
*/
export
default
class
TransactionCurrencyServiceBase
extends
EntityService
{
/**
* Creates an instance of TransactionCurrencyServiceBase.
*
* @param {*} [opts={}]
* @memberof TransactionCurrencyServiceBase
*/
constructor
(
opts
:
any
=
{})
{
super
(
opts
);
}
/**
* 初始化基础数据
*
* @memberof TransactionCurrencyServiceBase
*/
public
initBasicData
(){
this
.
APPLYDEKEY
=
'transactioncurrency'
;
this
.
APPDEKEY
=
'transactioncurrencyid'
;
this
.
APPDENAME
=
'transactioncurrencies'
;
this
.
APPDETEXT
=
'currencyname'
;
this
.
APPNAME
=
'businesscentral'
;
this
.
SYSTEMNAME
=
'ibizbusinesscentral'
;
}
// 实体接口
/**
* Select接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof TransactionCurrencyServiceBase
*/
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
return
Http
.
getInstance
().
get
(
`/transactioncurrencies/
${
context
.
transactioncurrency
}
/select`
,
isloading
);
}
/**
* Remove接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof TransactionCurrencyServiceBase
*/
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
return
Http
.
getInstance
().
delete
(
`/transactioncurrencies/
${
context
.
transactioncurrency
}
`
,
isloading
);
}
/**
* Get接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof TransactionCurrencyServiceBase
*/
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/transactioncurrencies/
${
context
.
transactioncurrency
}
`
,
isloading
);
return
res
;
}
/**
* Save接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof TransactionCurrencyServiceBase
*/
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/transactioncurrencies/
${
context
.
transactioncurrency
}
/save`
,
data
,
isloading
);
return
res
;
}
/**
* Update接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof TransactionCurrencyServiceBase
*/
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/transactioncurrencies/
${
context
.
transactioncurrency
}
`
,
data
,
isloading
);
return
res
;
}
/**
* Create接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof TransactionCurrencyServiceBase
*/
public
async
Create
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
if
(
!
data
.
srffrontuf
||
data
.
srffrontuf
!==
"1"
){
data
[
this
.
APPDEKEY
]
=
null
;
}
if
(
data
.
srffrontuf
){
delete
data
.
srffrontuf
;
}
let
tempContext
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
context
));
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/transactioncurrencies`
,
data
,
isloading
);
return
res
;
}
/**
* GetDraft接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof TransactionCurrencyServiceBase
*/
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/transactioncurrencies/getdraft`
,
isloading
);
res
.
data
.
transactioncurrency
=
data
.
transactioncurrency
;
return
res
;
}
/**
* CheckKey接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof TransactionCurrencyServiceBase
*/
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
return
Http
.
getInstance
().
post
(
`/transactioncurrencies/
${
context
.
transactioncurrency
}
/checkkey`
,
data
,
isloading
);
}
/**
* FetchDefault接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof TransactionCurrencyServiceBase
*/
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
Http
.
getInstance
().
get
(
`/transactioncurrencies/fetchdefault`
,
tempData
,
isloading
);
}
}
\ No newline at end of file
app_BusinessCentral/src/service/transaction-currency/transaction-currency-service.ts
0 → 100644
浏览文件 @
63429034
import
{
Http
,
Util
}
from
'@/utils'
;
import
TransactionCurrencyServiceBase
from
'./transaction-currency-service-base'
;
/**
* 货币服务对象
*
* @export
* @class TransactionCurrencyService
* @extends {TransactionCurrencyServiceBase}
*/
export
default
class
TransactionCurrencyService
extends
TransactionCurrencyServiceBase
{
/**
* Creates an instance of TransactionCurrencyService.
*
* @param {*} [opts={}]
* @memberof TransactionCurrencyService
*/
constructor
(
opts
:
any
=
{})
{
super
(
opts
);
}
}
\ No newline at end of file
app_BusinessCentral/src/store/modules/view-action/state.ts
浏览文件 @
63429034
...
...
@@ -20,7 +20,7 @@ export const viewstate: any = {
viewdatachange
:
false
,
refviews
:
[
'e404dc93e70d6284d4e1a083017625ed'
,
'
9a96ebf2e57358b3590b9d4479edb77a
'
,
'
fcdb236b65d78c4a8ae64e74f9483a63
'
,
],
},
{
...
...
@@ -32,6 +32,17 @@ export const viewstate: any = {
refviews
:
[
],
},
{
viewtag
:
'0d25ba75b06acd9c995642d0a45fcd2c'
,
viewmodule
:
'Base'
,
viewname
:
'AccountEdit_AccountInfo'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
'8b806fb12589b2fc17d1bb90f4b5422e'
,
'29bfcd628ab25e297248ff0524d12908'
,
],
},
{
viewtag
:
'0ff3eacd51054572cf899247b1c57018'
,
viewmodule
:
'Sales'
,
...
...
@@ -249,6 +260,15 @@ export const viewstate: any = {
'29bfcd628ab25e297248ff0524d12908'
,
],
},
{
viewtag
:
'728b69e2de09e7920b86712bc17ea963'
,
viewmodule
:
'Base'
,
viewname
:
'AccountEdit_Address'
,
viewaction
:
''
,
viewdatachange
:
false
,
refviews
:
[
],
},
{
viewtag
:
'73bb9f7e653384ca09f8bbbfd580d892'
,
viewmodule
:
'Base'
,
...
...
app_BusinessCentral/src/uiservice/contact/contact-ui-service-base.ts
浏览文件 @
63429034
...
...
@@ -80,11 +80,13 @@ export default class ContactUIServiceBase extends UIService {
*/
public
initViewMap
(){
this
.
allViewMap
.
set
(
'MDATAVIEW:'
,{
viewname
:
'gridview'
,
srfappde
:
'contacts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'detailinfoeditview9'
,
srfappde
:
'contacts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'pickupgridview'
,
srfappde
:
'contacts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'abstracteditview9'
,
srfappde
:
'contacts'
});
this
.
allViewMap
.
set
(
'EDITVIEW:'
,{
viewname
:
'editview'
,
srfappde
:
'contacts'
});
this
.
allViewMap
.
set
(
'PICKUPVIEW:'
,{
viewname
:
'pickupview'
,
srfappde
:
'contacts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'optionview'
,
srfappde
:
'contacts'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'tabexpview'
,
srfappde
:
'contacts'
});
}
/**
...
...
app_BusinessCentral/src/uiservice/lead/lead-ui-service-base.ts
浏览文件 @
63429034
...
...
@@ -80,7 +80,9 @@ export default class LeadUIServiceBase extends UIService {
*/
public
initViewMap
(){
this
.
allViewMap
.
set
(
'MDATAVIEW:'
,{
viewname
:
'gridview'
,
srfappde
:
'leads'
});
this
.
allViewMap
.
set
(
'PICKUPVIEW:'
,{
viewname
:
'pickupview'
,
srfappde
:
'leads'
});
this
.
allViewMap
.
set
(
'EDITVIEW:'
,{
viewname
:
'editview'
,
srfappde
:
'leads'
});
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'pickupgridview'
,
srfappde
:
'leads'
});
}
/**
...
...
app_BusinessCentral/src/uiservice/transaction-currency/transaction-currency-ui-service-base.ts
0 → 100644
浏览文件 @
63429034
import
{
Environment
}
from
'@/environments/environment'
;
import
{
UIActionTool
,
Util
}
from
'@/utils'
;
import
UIService
from
'../ui-service'
;
import
{
Subject
}
from
'rxjs'
;
import
TransactionCurrencyService
from
'@/service/transaction-currency/transaction-currency-service'
;
/**
* 货币UI服务对象基类
*
* @export
* @class TransactionCurrencyUIServiceBase
*/
export
default
class
TransactionCurrencyUIServiceBase
extends
UIService
{
/**
* 是否支持工作流
*
* @memberof TransactionCurrencyUIServiceBase
*/
public
isEnableWorkflow
:
boolean
=
false
;
/**
* 当前UI服务对应的数据服务对象
*
* @memberof TransactionCurrencyUIServiceBase
*/
public
dataService
:
TransactionCurrencyService
=
new
TransactionCurrencyService
();
/**
* 所有关联视图
*
* @memberof TransactionCurrencyUIServiceBase
*/
public
allViewMap
:
Map
<
string
,
Object
>
=
new
Map
();
/**
* 状态值
*
* @memberof TransactionCurrencyUIServiceBase
*/
public
stateValue
:
number
=
0
;
/**
* 状态属性
*
* @memberof TransactionCurrencyUIServiceBase
*/
public
stateField
:
string
=
""
;
/**
* 主状态属性集合
*
* @memberof TransactionCurrencyUIServiceBase
*/
public
mainStateFields
:
Array
<
any
>
=
[];
/**
* 主状态集合Map
*
* @memberof TransactionCurrencyUIServiceBase
*/
public
allDeMainStateMap
:
Map
<
string
,
string
>
=
new
Map
();
/**
* Creates an instance of TransactionCurrencyUIServiceBase.
*
* @param {*} [opts={}]
* @memberof TransactionCurrencyUIServiceBase
*/
constructor
(
opts
:
any
=
{})
{
super
(
opts
);
this
.
initViewMap
();
this
.
initDeMainStateMap
();
}
/**
* 初始化视图Map
*
* @memberof TransactionCurrencyUIServiceBase
*/
public
initViewMap
(){
this
.
allViewMap
.
set
(
':'
,{
viewname
:
'pickupgridview'
,
srfappde
:
'transactioncurrencies'
});
this
.
allViewMap
.
set
(
'PICKUPVIEW:'
,{
viewname
:
'pickupview'
,
srfappde
:
'transactioncurrencies'
});
}
/**
* 初始化主状态集合
*
* @memberof TransactionCurrencyUIServiceBase
*/
public
initDeMainStateMap
(){
}
/**
* 获取指定数据的重定向页面
*
* @param srfkey 数据主键
* @param isEnableWorkflow 重定向视图是否需要处理流程中的数据
* @memberof TransactionCurrencyUIServiceBase
*/
public
async
getRDAppView
(
srfkey
:
string
,
isEnableWorkflow
:
boolean
){
this
.
isEnableWorkflow
=
isEnableWorkflow
;
// 进行数据查询
let
result
:
any
=
await
this
.
dataService
.
Get
({
transactioncurrency
:
srfkey
});
const
curData
:
any
=
result
.
data
;
//判断当前数据模式,默认为true,todo
const
iRealDEModel
:
boolean
=
true
;
let
bDataInWF
:
boolean
=
false
;
let
bWFMode
:
any
=
false
;
// 计算数据模式
if
(
this
.
isEnableWorkflow
)
{
bDataInWF
=
await
this
.
dataService
.
testDataInWF
({
stateValue
:
this
.
stateValue
,
stateField
:
this
.
stateField
},
curData
);
if
(
bDataInWF
)
{
bDataInWF
=
true
;
bWFMode
=
await
this
.
dataService
.
testUserExistWorklist
(
null
,
curData
);
}
}
let
strPDTViewParam
:
string
=
await
this
.
getDESDDEViewPDTParam
(
curData
,
bDataInWF
,
bWFMode
);
//若不是当前数据模式,处理strPDTViewParam,todo
//查找视图
//返回视图
return
this
.
allViewMap
.
get
(
strPDTViewParam
);
}
/**
* 获取实际的数据类型
*
* @memberof TransactionCurrencyUIServiceBase
*/
public
getRealDEType
(
entity
:
any
){
}
/**
* 获取实体单数据实体视图预定义参数
*
* @param curData 当前数据
* @param bDataInWF 是否有数据在工作流中
* @param bWFMode 是否工作流模式
* @memberof TransactionCurrencyUIServiceBase
*/
public
async
getDESDDEViewPDTParam
(
curData
:
any
,
bDataInWF
:
boolean
,
bWFMode
:
boolean
){
let
strPDTParam
:
string
=
''
;
if
(
bDataInWF
)
{
// 判断数据是否在流程中
}
//多表单,todo
const
isEnableMultiForm
:
boolean
=
false
;
const
multiFormDEField
:
string
|
null
=
null
;
if
(
isEnableMultiForm
&&
multiFormDEField
)
{
const
objFormValue
:
string
=
curData
[
multiFormDEField
];
if
(
!
Environment
.
isAppMode
){
return
'MOBEDITVIEW'
+
objFormValue
;
}
return
'EDITVIEW'
+
objFormValue
;
}
if
(
!
Environment
.
isAppMode
){
if
(
this
.
getDEMainStateTag
(
curData
)){
return
`MOBEDITVIEW:MSTAG:
${
await
this
.
getDEMainStateTag
(
curData
)}
`
;
}
return
'MOBEDITVIEW:'
;
}
if
(
this
.
getDEMainStateTag
(
curData
)){
return
`EDITVIEW:MSTAG:
${
await
this
.
getDEMainStateTag
(
curData
)}
`
;
}
return
'EDITVIEW:'
;
}
/**
* 获取数据对象的主状态标识
*
* @param curData 当前数据
* @memberof TransactionCurrencyUIServiceBase
*/
public
async
getDEMainStateTag
(
curData
:
any
){
if
(
this
.
mainStateFields
.
length
===
0
)
return
null
;
this
.
mainStateFields
.
forEach
((
singleMainField
:
any
)
=>
{
if
(
!
(
singleMainField
in
curData
)){
console
.
error
(
`当前数据对象不包含属性singleMainField,可能会发生错误`
);
}
})
let
strTag
:
String
=
""
;
for
(
let
i
=
0
;
i
<=
1
;
i
++
)
{
let
strTag
:
string
=
(
curData
[
this
.
mainStateFields
[
0
]])?(
i
==
0
)
?
curData
[
this
.
mainStateFields
[
0
]]
:
""
:
""
;
if
(
this
.
mainStateFields
.
length
>=
2
)
{
for
(
let
j
=
0
;
j
<=
1
;
j
++
)
{
let
strTag2
:
string
=
(
curData
[
this
.
mainStateFields
[
1
]])?
`
${
strTag
}
__
${(
j
==
0
)
?
curData
[
this
.
mainStateFields
[
1
]]
:
""
}
`
:
strTag
;
if
(
this
.
mainStateFields
.
length
>=
3
)
{
for
(
let
k
=
0
;
k
<=
1
;
k
++
)
{
let
strTag3
:
string
=
(
curData
[
this
.
mainStateFields
[
2
]])?
`
${
strTag2
}
__
${(
k
==
0
)
?
curData
[
this
.
mainStateFields
[
2
]]
:
""
}
`
:
strTag2
;
// 判断是否存在
return
this
.
allDeMainStateMap
.
get
(
strTag3
);
}
}
else
{
return
this
.
allDeMainStateMap
.
get
(
strTag2
);
}
}
}
else
{
return
this
.
allDeMainStateMap
.
get
(
strTag
);
}
}
return
null
;
}
}
\ No newline at end of file
app_BusinessCentral/src/uiservice/transaction-currency/transaction-currency-ui-service.ts
0 → 100644
浏览文件 @
63429034
import
TransactionCurrencyUIServiceBase
from
'./transaction-currency-ui-service-base'
;
/**
* 货币UI服务对象
*
* @export
* @class TransactionCurrencyUIService
*/
export
default
class
TransactionCurrencyUIService
extends
TransactionCurrencyUIServiceBase
{
/**
* Creates an instance of TransactionCurrencyUIService.
*
* @param {*} [opts={}]
* @memberof TransactionCurrencyUIService
*/
constructor
(
opts
:
any
=
{})
{
super
(
opts
);
}
}
\ No newline at end of file
app_BusinessCentral/src/uiservice/ui-service-register.ts
浏览文件 @
63429034
...
...
@@ -44,6 +44,7 @@ export class UIServiceRegister {
this
.
allUIService
.
set
(
'pricelevel'
,
()
=>
import
(
'@/uiservice/price-level/price-level-ui-service'
));
this
.
allUIService
.
set
(
'email'
,
()
=>
import
(
'@/uiservice/email/email-ui-service'
));
this
.
allUIService
.
set
(
'serviceappointment'
,
()
=>
import
(
'@/uiservice/service-appointment/service-appointment-ui-service'
));
this
.
allUIService
.
set
(
'transactioncurrency'
,
()
=>
import
(
'@/uiservice/transaction-currency/transaction-currency-ui-service'
));
this
.
allUIService
.
set
(
'opportunity'
,
()
=>
import
(
'@/uiservice/opportunity/opportunity-ui-service'
));
this
.
allUIService
.
set
(
'goal'
,
()
=>
import
(
'@/uiservice/goal/goal-ui-service'
));
this
.
allUIService
.
set
(
'invoice'
,
()
=>
import
(
'@/uiservice/invoice/invoice-ui-service'
));
...
...
app_BusinessCentral/src/widgets/account/edit-account-info-form/edit-account-info-form-base.vue
0 → 100644
浏览文件 @
63429034
此差异已折叠。
点击以展开。
app_BusinessCentral/src/widgets/account/edit-account-info-form/edit-account-info-form-model.ts
0 → 100644
浏览文件 @
63429034
/**
* Edit_AccountInfo 部件模型
*
* @export
* @class Edit_AccountInfoModel
*/
export
default
class
Edit_AccountInfoModel
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof Edit_AccountInfoModel
*/
public
getDataItems
():
any
[]
{
return
[
{
name
:
'srfwfmemo'
,
prop
:
'srfwfmemo'
,
dataType
:
'TEXT'
,
},
// 前端新增修改标识,新增为"0",修改为"1"或未设值
{
name
:
'srffrontuf'
,
prop
:
'srffrontuf'
,
dataType
:
'TEXT'
,
},
{
name
:
'srfupdatedate'
,
prop
:
'updatedate'
,
dataType
:
'DATETIME'
,
},
{
name
:
'srforikey'
,
},
{
name
:
'srfkey'
,
prop
:
'accountid'
,
dataType
:
'GUID'
,
},
{
name
:
'srfmajortext'
,
prop
:
'accountname'
,
dataType
:
'TEXT'
,
},
{
name
:
'srftempmode'
,
},
{
name
:
'srfuf'
,
},
{
name
:
'srfdeid'
,
},
{
name
:
'srfsourcekey'
,
},
{
name
:
'accountname'
,
prop
:
'accountname'
,
dataType
:
'TEXT'
,
},
{
name
:
'telephone1'
,
prop
:
'telephone1'
,
dataType
:
'TEXT'
,
},
{
name
:
'fax'
,
prop
:
'fax'
,
dataType
:
'TEXT'
,
},
{
name
:
'websiteurl'
,
prop
:
'websiteurl'
,
dataType
:
'TEXT'
,
},
{
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
:
'defaultpricelevelid'
,
prop
:
'defaultpricelevelid'
,
dataType
:
'PICKUP'
,
},
{
name
:
'parentaccountid'
,
prop
:
'parentaccountid'
,
dataType
:
'PICKUP'
,
},
{
name
:
'accountid'
,
prop
:
'accountid'
,
dataType
:
'GUID'
,
},
{
name
:
'account'
,
prop
:
'accountid'
,
dataType
:
'FONTKEY'
,
},
]
}
}
\ No newline at end of file
app_BusinessCentral/src/widgets/account/edit-account-info-form/edit-account-info-form-service.ts
0 → 100644
浏览文件 @
63429034
此差异已折叠。
点击以展开。
app_BusinessCentral/src/widgets/account/edit-account-info-form/edit-account-info-form.less
0 → 100644
浏览文件 @
63429034
.form {
--form: 0px;
}
// this is less
app_BusinessCentral/src/widgets/account/edit-account-info-form/edit-account-info-form.vue
0 → 100644
浏览文件 @
63429034
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
Edit_AccountInfoBase
from
'./edit-account-info-form-base.vue'
;
@
Component
({
components
:
{
}
})
export
default
class
Edit_AccountInfo
extends
Edit_AccountInfoBase
{
}
</
script
>
\ No newline at end of file
app_BusinessCentral/src/widgets/account/edit-address-form/edit-address-form-base.vue
0 → 100644
浏览文件 @
63429034
此差异已折叠。
点击以展开。
app_BusinessCentral/src/widgets/account/edit-address-form/edit-address-form-model.ts
0 → 100644
浏览文件 @
63429034
/**
* Edit_Address 部件模型
*
* @export
* @class Edit_AddressModel
*/
export
default
class
Edit_AddressModel
{
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof Edit_AddressModel
*/
public
getDataItems
():
any
[]
{
return
[
{
name
:
'srfwfmemo'
,
prop
:
'srfwfmemo'
,
dataType
:
'TEXT'
,
},
// 前端新增修改标识,新增为"0",修改为"1"或未设值
{
name
:
'srffrontuf'
,
prop
:
'srffrontuf'
,
dataType
:
'TEXT'
,
},
{
name
:
'srfupdatedate'
,
prop
:
'updatedate'
,
dataType
:
'DATETIME'
,
},
{
name
:
'srforikey'
,
},
{
name
:
'srfkey'
,
prop
:
'accountid'
,
dataType
:
'GUID'
,
},
{
name
:
'srfmajortext'
,
prop
:
'accountname'
,
dataType
:
'TEXT'
,
},
{
name
:
'srftempmode'
,
},
{
name
:
'srfuf'
,
},
{
name
:
'srfdeid'
,
},
{
name
:
'srfsourcekey'
,
},
{
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
:
'accountid'
,
prop
:
'accountid'
,
dataType
:
'GUID'
,
},
{
name
:
'account'
,
prop
:
'accountid'
,
dataType
:
'FONTKEY'
,
},
]
}
}
\ No newline at end of file
app_BusinessCentral/src/widgets/account/edit-address-form/edit-address-form-service.ts
0 → 100644
浏览文件 @
63429034
此差异已折叠。
点击以展开。
app_BusinessCentral/src/widgets/account/edit-address-form/edit-address-form.less
0 → 100644
浏览文件 @
63429034
.form {
--form: 0px;
}
// this is less
app_BusinessCentral/src/widgets/account/edit-address-form/edit-address-form.vue
0 → 100644
浏览文件 @
63429034
<
script
lang=
'tsx'
>
import
{
Component
}
from
'vue-property-decorator'
;
import
Edit_AddressBase
from
'./edit-address-form-base.vue'
;
@
Component
({
components
:
{
}
})
export
default
class
Edit_Address
extends
Edit_AddressBase
{
}
</
script
>
\ No newline at end of file
businesscentral-app/businesscentral-app-businesscentral/src/main/resources/application-businesscentral-prod.yml
浏览文件 @
63429034
...
...
@@ -23,6 +23,10 @@ zuul:
path
:
/serviceappointments/**
serviceId
:
ibizbusinesscentral-centralapi
stripPrefix
:
false
transactioncurrency
:
path
:
/transactioncurrencies/**
serviceId
:
ibizbusinesscentral-centralapi
stripPrefix
:
false
opportunity
:
path
:
/opportunities/**
serviceId
:
ibizbusinesscentral-centralapi
...
...
businesscentral-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
63429034
...
...
@@ -3152,7 +3152,7 @@
<!--输出实体[CONTACT]数据结构 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-contact-
37
-42"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-contact-
42
-42"
>
<createTable
tableName=
"CONTACT"
>
<column
name=
"ADDRESS1_FREIGHTTERMSCODE"
remarks=
""
type=
"VARCHAR(30)"
>
</column>
...
...
@@ -6392,7 +6392,7 @@
<!--输出实体[LEAD]数据结构 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-lead-1
7
-72"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-lead-1
9
-72"
>
<createTable
tableName=
"LEAD"
>
<column
name=
"ADDRESS1_FAX"
remarks=
""
type=
"VARCHAR(50)"
>
</column>
...
...
@@ -9148,7 +9148,7 @@
<!--输出实体[TRANSACTIONCURRENCY]数据结构 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-transactioncurrency-
1
-97"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"tab-transactioncurrency-
4
-97"
>
<createTable
tableName=
"TRANSACTIONCURRENCY"
>
<column
name=
"UPDATEDATE"
remarks=
""
type=
"DATETIME"
>
</column>
...
...
@@ -10973,22 +10973,22 @@
<addForeignKeyConstraint
baseColumnNames=
"TRANSACTIONCURRENCYID"
baseTableName=
"MONTHLYFISCALCALENDAR"
constraintName=
"DER1N_MONTHLYFISCALCALENDAR__T"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"TRANSACTIONCURRENCYID"
referencedTableName=
"TRANSACTIONCURRENCY"
validate=
"true"
/>
</changeSet>
<!--输出实体[CONTACT]外键关系 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-
37
-206"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-
42
-206"
>
<addForeignKeyConstraint
baseColumnNames=
"PREFERREDEQUIPMENTID"
baseTableName=
"CONTACT"
constraintName=
"DER1N_CONTACT__EQUIPMENT__PREF"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"EQUIPMENTID"
referencedTableName=
"EQUIPMENT"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-
37
-207"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-
42
-207"
>
<addForeignKeyConstraint
baseColumnNames=
"ORIGINATINGLEADID"
baseTableName=
"CONTACT"
constraintName=
"DER1N_CONTACT__LEAD__ORIGINATI"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"LEADID"
referencedTableName=
"LEAD"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-
37
-208"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-
42
-208"
>
<addForeignKeyConstraint
baseColumnNames=
"DEFAULTPRICELEVELID"
baseTableName=
"CONTACT"
constraintName=
"DER1N_CONTACT__PRICELEVEL__DEF"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"PRICELEVELID"
referencedTableName=
"PRICELEVEL"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-
37
-209"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-
42
-209"
>
<addForeignKeyConstraint
baseColumnNames=
"PREFERREDSERVICEID"
baseTableName=
"CONTACT"
constraintName=
"DER1N_CONTACT__SERVICE__PREFER"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"SERVICEID"
referencedTableName=
"SERVICE"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-
37
-210"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-
42
-210"
>
<addForeignKeyConstraint
baseColumnNames=
"SLAID"
baseTableName=
"CONTACT"
constraintName=
"DER1N_CONTACT__SLA__SLAID"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"SLAID"
referencedTableName=
"SLA"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-
37
-211"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-contact-
42
-211"
>
<addForeignKeyConstraint
baseColumnNames=
"TRANSACTIONCURRENCYID"
baseTableName=
"CONTACT"
constraintName=
"DER1N_CONTACT__TRANSACTIONCURR"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"TRANSACTIONCURRENCYID"
referencedTableName=
"TRANSACTIONCURRENCY"
validate=
"true"
/>
</changeSet>
<!--输出实体[TEAM]外键关系 -->
...
...
@@ -11243,28 +11243,28 @@
</changeSet>
<!--输出实体[METRIC]外键关系 -->
<!--输出实体[LEAD]外键关系 -->
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-lead-1
7
-300"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-lead-1
9
-300"
>
<addForeignKeyConstraint
baseColumnNames=
"PARENTACCOUNTID"
baseTableName=
"LEAD"
constraintName=
"DER1N_LEAD__ACCOUNT__PARENTACC"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"ACCOUNTID"
referencedTableName=
"ACCOUNT"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-lead-1
7
-301"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-lead-1
9
-301"
>
<addForeignKeyConstraint
baseColumnNames=
"RELATEDOBJECTID"
baseTableName=
"LEAD"
constraintName=
"DER1N_LEAD__CAMPAIGNRESPONSE__"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"ACTIVITYID"
referencedTableName=
"CAMPAIGNRESPONSE"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-lead-1
7
-302"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-lead-1
9
-302"
>
<addForeignKeyConstraint
baseColumnNames=
"CAMPAIGNID"
baseTableName=
"LEAD"
constraintName=
"DER1N_LEAD__CAMPAIGN__CAMPAIGN"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"CAMPAIGNID"
referencedTableName=
"CAMPAIGN"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-lead-1
7
-303"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-lead-1
9
-303"
>
<addForeignKeyConstraint
baseColumnNames=
"PARENTCONTACTID"
baseTableName=
"LEAD"
constraintName=
"DER1N_LEAD__CONTACT__PARENTCON"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"CONTACTID"
referencedTableName=
"CONTACT"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-lead-1
7
-304"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-lead-1
9
-304"
>
<addForeignKeyConstraint
baseColumnNames=
"ORIGINATINGCASEID"
baseTableName=
"LEAD"
constraintName=
"DER1N_LEAD__INCIDENT__ORIGINAT"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"INCIDENTID"
referencedTableName=
"INCIDENT"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-lead-1
7
-305"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-lead-1
9
-305"
>
<addForeignKeyConstraint
baseColumnNames=
"QUALIFYINGOPPORTUNITYID"
baseTableName=
"LEAD"
constraintName=
"DER1N_LEAD__OPPORTUNITY__QUALI"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"OPPORTUNITYID"
referencedTableName=
"OPPORTUNITY"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-lead-1
7
-306"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-lead-1
9
-306"
>
<addForeignKeyConstraint
baseColumnNames=
"SLAID"
baseTableName=
"LEAD"
constraintName=
"DER1N_LEAD__SLA__SLAID"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"SLAID"
referencedTableName=
"SLA"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-lead-1
7
-307"
>
<changeSet
author=
"a_LAB01_e85d8801c"
id=
"fk-lead-1
9
-307"
>
<addForeignKeyConstraint
baseColumnNames=
"TRANSACTIONCURRENCYID"
baseTableName=
"LEAD"
constraintName=
"DER1N_LEAD__TRANSACTIONCURRENC"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"TRANSACTIONCURRENCYID"
referencedTableName=
"TRANSACTIONCURRENCY"
validate=
"true"
/>
</changeSet>
<!--输出实体[TERRITORY]外键关系 -->
...
...
businesscentral-core/src/main/resources/permission/systemResource.json
浏览文件 @
63429034
...
...
@@ -44,6 +44,14 @@
"datascope"
:[{
"id"
:
"all"
,
"name"
:
"全部数据"
},
{
"id"
:
"createman"
,
"name"
:
"创建人"
}]
}
,
{
"dename"
:
"TransactionCurrency"
,
"delogicname"
:
"货币"
,
"sysmoudle"
:{
"id"
:
"BASE"
,
"name"
:
"Base"
},
"dedataset"
:[{
"id"
:
"Default"
,
"name"
:
"DEFAULT"
}],
"deaction"
:[{
"id"
:
"Remove"
,
"name"
:
"Remove"
,
"type"
:
"BUILTIN"
},{
"id"
:
"Get"
,
"name"
:
"Get"
,
"type"
:
"BUILTIN"
},{
"id"
:
"Save"
,
"name"
:
"Save"
,
"type"
:
"BUILTIN"
},{
"id"
:
"Update"
,
"name"
:
"Update"
,
"type"
:
"BUILTIN"
},{
"id"
:
"Create"
,
"name"
:
"Create"
,
"type"
:
"BUILTIN"
},{
"id"
:
"GetDraft"
,
"name"
:
"GetDraft"
,
"type"
:
"BUILTIN"
},{
"id"
:
"CheckKey"
,
"name"
:
"CheckKey"
,
"type"
:
"BUILTIN"
}],
"datascope"
:[{
"id"
:
"all"
,
"name"
:
"全部数据"
},
{
"id"
:
"createman"
,
"name"
:
"创建人"
}]
}
,
{
"dename"
:
"Opportunity"
,
"delogicname"
:
"商机"
,
"sysmoudle"
:{
"id"
:
"SALES"
,
"name"
:
"Sales"
},
...
...
businesscentral-provider/businesscentral-provider-centralapi/src/main/java/cn/ibizlab/businesscentral/centralapi/dto/TransactionCurrencyDTO.java
0 → 100644
浏览文件 @
63429034
此差异已折叠。
点击以展开。
businesscentral-provider/businesscentral-provider-centralapi/src/main/java/cn/ibizlab/businesscentral/centralapi/mapping/TransactionCurrencyMapping.java
0 → 100644
浏览文件 @
63429034
package
cn
.
ibizlab
.
businesscentral
.
centralapi
.
mapping
;
import
org.mapstruct.*
;
import
cn.ibizlab.businesscentral.core.base.domain.TransactionCurrency
;
import
cn.ibizlab.businesscentral.centralapi.dto.TransactionCurrencyDTO
;
import
cn.ibizlab.businesscentral.util.domain.MappingBase
;
import
org.mapstruct.factory.Mappers
;
@Mapper
(
componentModel
=
"spring"
,
uses
=
{},
nullValuePropertyMappingStrategy
=
NullValuePropertyMappingStrategy
.
IGNORE
,
nullValueCheckStrategy
=
NullValueCheckStrategy
.
ALWAYS
)
public
interface
TransactionCurrencyMapping
extends
MappingBase
<
TransactionCurrencyDTO
,
TransactionCurrency
>
{
}
businesscentral-provider/businesscentral-provider-centralapi/src/main/java/cn/ibizlab/businesscentral/centralapi/rest/TransactionCurrencyResource.java
0 → 100644
浏览文件 @
63429034
此差异已折叠。
点击以展开。
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录