Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
iBiz企业中心
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
iBiz企业套件
iBiz企业中心
提交
3033b85a
提交
3033b85a
编写于
6月 30, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
xignzi006 发布系统代码
上级
03b3636e
变更
45
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
45 个修改的文件
包含
1995 行增加
和
349 行删除
+1995
-349
product-price-level.ts
app_CRM/src/interface/entity/product-price-level.ts
+256
-0
en-US.ts
app_CRM/src/locale/lang/en-US.ts
+2
-0
zh-CN.ts
app_CRM/src/locale/lang/zh-CN.ts
+2
-0
account_en_US.ts
app_CRM/src/locale/lanres/entities/account/account_en_US.ts
+2
-2
account_zh_CN.ts
app_CRM/src/locale/lanres/entities/account/account_zh_CN.ts
+2
-2
campaign-list_en_US.ts
...cale/lanres/entities/campaign-list/campaign-list_en_US.ts
+2
-2
campaign-list_zh_CN.ts
...cale/lanres/entities/campaign-list/campaign-list_zh_CN.ts
+2
-2
campaign_en_US.ts
...CRM/src/locale/lanres/entities/campaign/campaign_en_US.ts
+4
-4
campaign_zh_CN.ts
...CRM/src/locale/lanres/entities/campaign/campaign_zh_CN.ts
+4
-4
contact_en_US.ts
app_CRM/src/locale/lanres/entities/contact/contact_en_US.ts
+2
-2
contact_zh_CN.ts
app_CRM/src/locale/lanres/entities/contact/contact_zh_CN.ts
+2
-2
lead_en_US.ts
app_CRM/src/locale/lanres/entities/lead/lead_en_US.ts
+25
-37
lead_zh_CN.ts
app_CRM/src/locale/lanres/entities/lead/lead_zh_CN.ts
+25
-37
list-account_en_US.ts
...locale/lanres/entities/list-account/list-account_en_US.ts
+2
-2
list-account_zh_CN.ts
...locale/lanres/entities/list-account/list-account_zh_CN.ts
+2
-2
list-contact_en_US.ts
...locale/lanres/entities/list-contact/list-contact_en_US.ts
+2
-2
list-contact_zh_CN.ts
...locale/lanres/entities/list-contact/list-contact_zh_CN.ts
+2
-2
opportunity-competitor_en_US.ts
...es/opportunity-competitor/opportunity-competitor_en_US.ts
+2
-2
opportunity-competitor_zh_CN.ts
...es/opportunity-competitor/opportunity-competitor_zh_CN.ts
+2
-2
product-price-level_en_US.ts
...entities/product-price-level/product-price-level_en_US.ts
+36
-0
product-price-level_zh_CN.ts
...entities/product-price-level/product-price-level_zh_CN.ts
+35
-0
product_en_US.ts
app_CRM/src/locale/lanres/entities/product/product_en_US.ts
+1
-1
product_zh_CN.ts
app_CRM/src/locale/lanres/entities/product/product_zh_CN.ts
+1
-1
product-price-levels.ts
.../mock/entity/product-price-levels/product-price-levels.ts
+380
-0
index.ts
app_CRM/src/mock/index.ts
+1
-0
account-info-base.tsx
app_CRM/src/pages/base/account-info/account-info-base.tsx
+1
-1
contact-info-base.tsx
app_CRM/src/pages/base/contact-info/contact-info-base.tsx
+1
-1
campaign-info-base.tsx
.../src/pages/marketing/campaign-info/campaign-info-base.tsx
+1
-1
campaign-list-edit-view-base.tsx
.../campaign-list-edit-view/campaign-list-edit-view-base.tsx
+1
-1
campaign-summary-head-base.tsx
...ting/campaign-summary-head/campaign-summary-head-base.tsx
+1
-1
list-account-edit-view-base.tsx
...ng/list-account-edit-view/list-account-edit-view-base.tsx
+1
-1
list-contact-edit-view-base.tsx
...ng/list-contact-edit-view/list-contact-edit-view-base.tsx
+1
-1
lead-info-base.tsx
app_CRM/src/pages/sales/lead-info/lead-info-base.tsx
+76
-233
opportunity-competitor-edit-view-base.tsx
...titor-edit-view/opportunity-competitor-edit-view-base.tsx
+1
-1
entity-service-register.ts
app_CRM/src/service/entity-service-register.ts
+1
-0
product-price-level-service-base.ts
...e/product-price-level/product-price-level-service-base.ts
+177
-0
product-price-level-service.ts
...ervice/product-price-level/product-price-level-service.ts
+25
-0
product-price-level-ui-service-base.ts
...roduct-price-level/product-price-level-ui-service-base.ts
+210
-0
product-price-level-ui-service.ts
...ice/product-price-level/product-price-level-ui-service.ts
+21
-0
ui-service-register.ts
app_CRM/src/uiservice/ui-service-register.ts
+1
-0
application-crm-prod.yml
...ntral-app-crm/src/main/resources/application-crm-prod.yml
+4
-0
systemResource.json
...al-core/src/main/resources/permission/systemResource.json
+8
-0
ProductPriceLevelDTO.java
.../businesscentral/centralapi/dto/ProductPriceLevelDTO.java
+488
-0
ProductPriceLevelMapping.java
...scentral/centralapi/mapping/ProductPriceLevelMapping.java
+16
-0
ProductPriceLevelResource.java
...esscentral/centralapi/rest/ProductPriceLevelResource.java
+164
-0
未找到文件。
app_CRM/src/interface/entity/product-price-level.ts
0 → 100644
浏览文件 @
3033b85a
/**
* 价目表项
*
* @export
* @interface ProductPriceLevel
*/
export
interface
ProductPriceLevel
{
/**
* Import Sequence Number
*
* @returns {*}
* @memberof ProductPriceLevel
*/
importsequencenumber
?:
any
;
/**
* 舍入金额
*
* @returns {*}
* @memberof ProductPriceLevel
*/
roundingoptionamount
?:
any
;
/**
* Version Number
*
* @returns {*}
* @memberof ProductPriceLevel
*/
versionnumber
?:
any
;
/**
* 金额 (Base)
*
* @returns {*}
* @memberof ProductPriceLevel
*/
amount_base
?:
any
;
/**
* Process Id
*
* @returns {*}
* @memberof ProductPriceLevel
*/
processid
?:
any
;
/**
* 金额
*
* @returns {*}
* @memberof ProductPriceLevel
*/
amount
?:
any
;
/**
* 建立时间
*
* @returns {*}
* @memberof ProductPriceLevel
*/
createdate
?:
any
;
/**
* 舍入金额 (Base)
*
* @returns {*}
* @memberof ProductPriceLevel
*/
roundingoptionamount_base
?:
any
;
/**
* 更新人
*
* @returns {*}
* @memberof ProductPriceLevel
*/
updateman
?:
any
;
/**
* Record Created On
*
* @returns {*}
* @memberof ProductPriceLevel
*/
overriddencreatedon
?:
any
;
/**
* 汇率
*
* @returns {*}
* @memberof ProductPriceLevel
*/
exchangerate
?:
any
;
/**
* 组织
*
* @returns {*}
* @memberof ProductPriceLevel
*/
organizationid
?:
any
;
/**
* 百分比
*
* @returns {*}
* @memberof ProductPriceLevel
*/
percentage
?:
any
;
/**
* Traversed Path
*
* @returns {*}
* @memberof ProductPriceLevel
*/
traversedpath
?:
any
;
/**
* 产品 ID
*
* @returns {*}
* @memberof ProductPriceLevel
*/
productnumber
?:
any
;
/**
* 定价方式
*
* @returns {*}
* @memberof ProductPriceLevel
*/
pricingmethodcode
?:
any
;
/**
* 舍入选项
*
* @returns {*}
* @memberof ProductPriceLevel
*/
roundingoptioncode
?:
any
;
/**
* Time Zone Rule Version Number
*
* @returns {*}
* @memberof ProductPriceLevel
*/
timezoneruleversionnumber
?:
any
;
/**
* UTC Conversion Time Zone Code
*
* @returns {*}
* @memberof ProductPriceLevel
*/
utcconversiontimezonecode
?:
any
;
/**
* 产品价目表
*
* @returns {*}
* @memberof ProductPriceLevel
*/
productpricelevelid
?:
any
;
/**
* 销售数量控制
*
* @returns {*}
* @memberof ProductPriceLevel
*/
quantitysellingcode
?:
any
;
/**
* 更新时间
*
* @returns {*}
* @memberof ProductPriceLevel
*/
updatedate
?:
any
;
/**
* 舍入原则
*
* @returns {*}
* @memberof ProductPriceLevel
*/
roundingpolicycode
?:
any
;
/**
* 建立人
*
* @returns {*}
* @memberof ProductPriceLevel
*/
createman
?:
any
;
/**
* Stage Id
*
* @returns {*}
* @memberof ProductPriceLevel
*/
stageid
?:
any
;
/**
* 产品
*
* @returns {*}
* @memberof ProductPriceLevel
*/
productid
?:
any
;
/**
* 单位计划 ID
*
* @returns {*}
* @memberof ProductPriceLevel
*/
uomscheduleid
?:
any
;
/**
* 货币
*
* @returns {*}
* @memberof ProductPriceLevel
*/
transactioncurrencyid
?:
any
;
/**
* 计价单位
*
* @returns {*}
* @memberof ProductPriceLevel
*/
uomid
?:
any
;
/**
* 折扣表
*
* @returns {*}
* @memberof ProductPriceLevel
*/
discounttypeid
?:
any
;
/**
* 价目表
*
* @returns {*}
* @memberof ProductPriceLevel
*/
pricelevelid
?:
any
;
}
\ No newline at end of file
app_CRM/src/locale/lang/en-US.ts
浏览文件 @
3033b85a
...
...
@@ -26,6 +26,7 @@ import campaigncampaign_en_US from '@locale/lanres/entities/campaign-campaign/ca
import
salesliterature_en_US
from
'@locale/lanres/entities/sales-literature/sales-literature_en_US'
;
import
activitypointer_en_US
from
'@locale/lanres/entities/activity-pointer/activity-pointer_en_US'
;
import
listaccount_en_US
from
'@locale/lanres/entities/list-account/list-account_en_US'
;
import
productpricelevel_en_US
from
'@locale/lanres/entities/product-price-level/product-price-level_en_US'
;
import
fax_en_US
from
'@locale/lanres/entities/fax/fax_en_US'
;
import
quote_en_US
from
'@locale/lanres/entities/quote/quote_en_US'
;
import
campaignactivity_en_US
from
'@locale/lanres/entities/campaign-activity/campaign-activity_en_US'
;
...
...
@@ -174,6 +175,7 @@ export default {
salesliterature
:
salesliterature_en_US
,
activitypointer
:
activitypointer_en_US
,
listaccount
:
listaccount_en_US
,
productpricelevel
:
productpricelevel_en_US
,
fax
:
fax_en_US
,
quote
:
quote_en_US
,
campaignactivity
:
campaignactivity_en_US
,
...
...
app_CRM/src/locale/lang/zh-CN.ts
浏览文件 @
3033b85a
...
...
@@ -26,6 +26,7 @@ import campaigncampaign_zh_CN from '@locale/lanres/entities/campaign-campaign/ca
import
salesliterature_zh_CN
from
'@locale/lanres/entities/sales-literature/sales-literature_zh_CN'
;
import
activitypointer_zh_CN
from
'@locale/lanres/entities/activity-pointer/activity-pointer_zh_CN'
;
import
listaccount_zh_CN
from
'@locale/lanres/entities/list-account/list-account_zh_CN'
;
import
productpricelevel_zh_CN
from
'@locale/lanres/entities/product-price-level/product-price-level_zh_CN'
;
import
fax_zh_CN
from
'@locale/lanres/entities/fax/fax_zh_CN'
;
import
quote_zh_CN
from
'@locale/lanres/entities/quote/quote_zh_CN'
;
import
campaignactivity_zh_CN
from
'@locale/lanres/entities/campaign-activity/campaign-activity_zh_CN'
;
...
...
@@ -174,6 +175,7 @@ export default {
salesliterature
:
salesliterature_zh_CN
,
activitypointer
:
activitypointer_zh_CN
,
listaccount
:
listaccount_zh_CN
,
productpricelevel
:
productpricelevel_zh_CN
,
fax
:
fax_zh_CN
,
quote
:
quote_zh_CN
,
campaignactivity
:
campaignactivity_zh_CN
,
...
...
app_CRM/src/locale/lanres/entities/account/account_en_US.ts
浏览文件 @
3033b85a
...
...
@@ -679,8 +679,8 @@ export default {
caption
:
"编辑"
,
tip
:
"编辑"
,
},
tbitem2
:
{
caption
:
"
-
"
,
seperator4
:
{
caption
:
""
,
tip
:
""
,
},
deuiaction1
:
{
...
...
app_CRM/src/locale/lanres/entities/account/account_zh_CN.ts
浏览文件 @
3033b85a
...
...
@@ -678,8 +678,8 @@ export default {
caption
:
"编辑"
,
tip
:
"编辑"
,
},
tbitem2
:
{
caption
:
"
-
"
,
seperator4
:
{
caption
:
""
,
tip
:
""
,
},
deuiaction1
:
{
...
...
app_CRM/src/locale/lanres/entities/campaign-list/campaign-list_en_US.ts
浏览文件 @
3033b85a
...
...
@@ -98,8 +98,8 @@ export default {
caption
:
"编辑"
,
tip
:
"编辑"
,
},
tbitem2
:
{
caption
:
"
-
"
,
seperator4
:
{
caption
:
""
,
tip
:
""
,
},
deuiaction1
:
{
...
...
app_CRM/src/locale/lanres/entities/campaign-list/campaign-list_zh_CN.ts
浏览文件 @
3033b85a
...
...
@@ -97,8 +97,8 @@ export default {
caption
:
"编辑"
,
tip
:
"编辑"
,
},
tbitem2
:
{
caption
:
"
-
"
,
seperator4
:
{
caption
:
""
,
tip
:
""
,
},
deuiaction1
:
{
...
...
app_CRM/src/locale/lanres/entities/campaign/campaign_en_US.ts
浏览文件 @
3033b85a
...
...
@@ -344,8 +344,8 @@ export default {
caption
:
"编辑"
,
tip
:
"编辑"
,
},
tbitem2
:
{
caption
:
"
-
"
,
seperator4
:
{
caption
:
""
,
tip
:
""
,
},
deuiaction1
:
{
...
...
@@ -374,8 +374,8 @@ export default {
caption
:
"编辑"
,
tip
:
"编辑"
,
},
tbitem2
:
{
caption
:
"
-
"
,
seperator4
:
{
caption
:
""
,
tip
:
""
,
},
deuiaction1
:
{
...
...
app_CRM/src/locale/lanres/entities/campaign/campaign_zh_CN.ts
浏览文件 @
3033b85a
...
...
@@ -343,8 +343,8 @@ export default {
caption
:
"编辑"
,
tip
:
"编辑"
,
},
tbitem2
:
{
caption
:
"
-
"
,
seperator4
:
{
caption
:
""
,
tip
:
""
,
},
deuiaction1
:
{
...
...
@@ -373,8 +373,8 @@ export default {
caption
:
"编辑"
,
tip
:
"编辑"
,
},
tbitem2
:
{
caption
:
"
-
"
,
seperator4
:
{
caption
:
""
,
tip
:
""
,
},
deuiaction1
:
{
...
...
app_CRM/src/locale/lanres/entities/contact/contact_en_US.ts
浏览文件 @
3033b85a
...
...
@@ -589,8 +589,8 @@ export default {
caption
:
"编辑"
,
tip
:
"编辑"
,
},
tbitem2
:
{
caption
:
"
-
"
,
seperator4
:
{
caption
:
""
,
tip
:
""
,
},
deuiaction1
:
{
...
...
app_CRM/src/locale/lanres/entities/contact/contact_zh_CN.ts
浏览文件 @
3033b85a
...
...
@@ -588,8 +588,8 @@ export default {
caption
:
"编辑"
,
tip
:
"编辑"
,
},
tbitem2
:
{
caption
:
"
-
"
,
seperator4
:
{
caption
:
""
,
tip
:
""
,
},
deuiaction1
:
{
...
...
app_CRM/src/locale/lanres/entities/lead/lead_en_US.ts
浏览文件 @
3033b85a
...
...
@@ -410,60 +410,48 @@ export default {
},
},
infotoolbar_toolbar
:
{
tbitem3
:
{
caption
:
"Save"
,
tip
:
"Save"
,
},
tbitem5
:
{
caption
:
"Save And Close"
,
tip
:
"Save And Close Window"
,
deuiaction4
:
{
caption
:
"编辑"
,
tip
:
"编辑"
,
},
tbitem6
:
{
caption
:
"
-
"
,
seperator4
:
{
caption
:
""
,
tip
:
""
,
},
deuiaction1
:
{
caption
:
"Remove And Close"
,
tip
:
"Remove And Close Window"
,
},
deuiaction2
:
{
caption
:
"刷新"
,
tip
:
"刷新"
,
},
seperator1
:
{
tbitem17_qualification_sep
:
{
caption
:
""
,
tip
:
""
,
},
deuiaction4
:
{
tbitem17_qualification
:
{
caption
:
"授予资格"
,
tip
:
"授予资格"
,
},
deuiaction9
:
{
caption
:
"
取消资格
"
,
tip
:
"
取消资格
"
,
tbitem17_disqualification_sep
:
{
caption
:
""
,
tip
:
""
,
},
items1
:
{
tbitem17_disqualification
:
{
caption
:
"取消资格"
,
tip
:
"取消资格"
,
},
deuiaction5
:
{
caption
:
"
丢单
"
,
tip
:
"
丢单
"
,
tbitem2
:
{
caption
:
"
-
"
,
tip
:
""
,
},
deuiaction
6
:
{
caption
:
"
无法联系
"
,
tip
:
"
无法联系
"
,
deuiaction
1
:
{
caption
:
"
Remove And Close
"
,
tip
:
"
Remove And Close Window
"
,
},
deuiaction7
:
{
caption
:
"
不再感兴趣
"
,
tip
:
"
不再感兴趣
"
,
seperator2
:
{
caption
:
""
,
tip
:
""
,
},
deuiaction
8
:
{
caption
:
"
已取消
"
,
tip
:
"
已取消
"
,
deuiaction
2
:
{
caption
:
"
刷新
"
,
tip
:
"
刷新
"
,
},
tbitem13
:
{
caption
:
"
-
"
,
seperator1
:
{
caption
:
""
,
tip
:
""
,
},
tbitem12
:
{
...
...
app_CRM/src/locale/lanres/entities/lead/lead_zh_CN.ts
浏览文件 @
3033b85a
...
...
@@ -409,60 +409,48 @@ export default {
},
},
infotoolbar_toolbar
:
{
tbitem3
:
{
caption
:
"保存"
,
tip
:
"保存"
,
},
tbitem5
:
{
caption
:
"保存并关闭"
,
tip
:
"保存并关闭"
,
deuiaction4
:
{
caption
:
"编辑"
,
tip
:
"编辑"
,
},
tbitem6
:
{
caption
:
"
-
"
,
seperator4
:
{
caption
:
""
,
tip
:
""
,
},
deuiaction1
:
{
caption
:
"删除并关闭"
,
tip
:
"删除并关闭"
,
},
deuiaction2
:
{
caption
:
"刷新"
,
tip
:
"刷新"
,
},
seperator1
:
{
tbitem17_qualification_sep
:
{
caption
:
""
,
tip
:
""
,
},
deuiaction4
:
{
tbitem17_qualification
:
{
caption
:
"授予资格"
,
tip
:
"授予资格"
,
},
deuiaction9
:
{
caption
:
"
取消资格
"
,
tip
:
"
取消资格
"
,
tbitem17_disqualification_sep
:
{
caption
:
""
,
tip
:
""
,
},
items1
:
{
tbitem17_disqualification
:
{
caption
:
"取消资格"
,
tip
:
"取消资格"
,
},
deuiaction5
:
{
caption
:
"
丢单
"
,
tip
:
"
丢单
"
,
tbitem2
:
{
caption
:
"
-
"
,
tip
:
""
,
},
deuiaction
6
:
{
caption
:
"
无法联系
"
,
tip
:
"
无法联系
"
,
deuiaction
1
:
{
caption
:
"
删除并关闭
"
,
tip
:
"
删除并关闭
"
,
},
deuiaction7
:
{
caption
:
"
不再感兴趣
"
,
tip
:
"
不再感兴趣
"
,
seperator2
:
{
caption
:
""
,
tip
:
""
,
},
deuiaction
8
:
{
caption
:
"
已取消
"
,
tip
:
"
已取消
"
,
deuiaction
2
:
{
caption
:
"
刷新
"
,
tip
:
"
刷新
"
,
},
tbitem13
:
{
caption
:
"
-
"
,
seperator1
:
{
caption
:
""
,
tip
:
""
,
},
tbitem12
:
{
...
...
app_CRM/src/locale/lanres/entities/list-account/list-account_en_US.ts
浏览文件 @
3033b85a
...
...
@@ -95,8 +95,8 @@ export default {
caption
:
"编辑"
,
tip
:
"编辑"
,
},
tbitem2
:
{
caption
:
"
-
"
,
seperator4
:
{
caption
:
""
,
tip
:
""
,
},
deuiaction1
:
{
...
...
app_CRM/src/locale/lanres/entities/list-account/list-account_zh_CN.ts
浏览文件 @
3033b85a
...
...
@@ -94,8 +94,8 @@ export default {
caption
:
"编辑"
,
tip
:
"编辑"
,
},
tbitem2
:
{
caption
:
"
-
"
,
seperator4
:
{
caption
:
""
,
tip
:
""
,
},
deuiaction1
:
{
...
...
app_CRM/src/locale/lanres/entities/list-contact/list-contact_en_US.ts
浏览文件 @
3033b85a
...
...
@@ -86,8 +86,8 @@ export default {
caption
:
"编辑"
,
tip
:
"编辑"
,
},
tbitem2
:
{
caption
:
"
-
"
,
seperator4
:
{
caption
:
""
,
tip
:
""
,
},
deuiaction1
:
{
...
...
app_CRM/src/locale/lanres/entities/list-contact/list-contact_zh_CN.ts
浏览文件 @
3033b85a
...
...
@@ -85,8 +85,8 @@ export default {
caption
:
"编辑"
,
tip
:
"编辑"
,
},
tbitem2
:
{
caption
:
"
-
"
,
seperator4
:
{
caption
:
""
,
tip
:
""
,
},
deuiaction1
:
{
...
...
app_CRM/src/locale/lanres/entities/opportunity-competitor/opportunity-competitor_en_US.ts
浏览文件 @
3033b85a
...
...
@@ -106,8 +106,8 @@ export default {
caption
:
"编辑"
,
tip
:
"编辑"
,
},
tbitem2
:
{
caption
:
"
-
"
,
seperator4
:
{
caption
:
""
,
tip
:
""
,
},
deuiaction1
:
{
...
...
app_CRM/src/locale/lanres/entities/opportunity-competitor/opportunity-competitor_zh_CN.ts
浏览文件 @
3033b85a
...
...
@@ -105,8 +105,8 @@ export default {
caption
:
"编辑"
,
tip
:
"编辑"
,
},
tbitem2
:
{
caption
:
"
-
"
,
seperator4
:
{
caption
:
""
,
tip
:
""
,
},
deuiaction1
:
{
...
...
app_CRM/src/locale/lanres/entities/product-price-level/product-price-level_en_US.ts
0 → 100644
浏览文件 @
3033b85a
export
default
{
fields
:
{
importsequencenumber
:
"Import Sequence Number"
,
roundingoptionamount
:
"舍入金额"
,
versionnumber
:
"Version Number"
,
amount_base
:
"金额 (Base)"
,
processid
:
"Process Id"
,
amount
:
"金额"
,
createdate
:
"建立时间"
,
roundingoptionamount_base
:
"舍入金额 (Base)"
,
updateman
:
"更新人"
,
overriddencreatedon
:
"Record Created On"
,
exchangerate
:
"汇率"
,
organizationid
:
"组织"
,
percentage
:
"百分比"
,
traversedpath
:
"Traversed Path"
,
productnumber
:
"产品 ID"
,
pricingmethodcode
:
"定价方式"
,
roundingoptioncode
:
"舍入选项"
,
timezoneruleversionnumber
:
"Time Zone Rule Version Number"
,
utcconversiontimezonecode
:
"UTC Conversion Time Zone Code"
,
productpricelevelid
:
"产品价目表"
,
quantitysellingcode
:
"销售数量控制"
,
updatedate
:
"更新时间"
,
roundingpolicycode
:
"舍入原则"
,
createman
:
"建立人"
,
stageid
:
"Stage Id"
,
productid
:
"产品"
,
uomscheduleid
:
"单位计划 ID"
,
transactioncurrencyid
:
"货币"
,
uomid
:
"计价单位"
,
discounttypeid
:
"折扣表"
,
pricelevelid
:
"价目表"
,
},
};
\ No newline at end of file
app_CRM/src/locale/lanres/entities/product-price-level/product-price-level_zh_CN.ts
0 → 100644
浏览文件 @
3033b85a
export
default
{
fields
:
{
importsequencenumber
:
"Import Sequence Number"
,
roundingoptionamount
:
"舍入金额"
,
versionnumber
:
"Version Number"
,
amount_base
:
"金额 (Base)"
,
processid
:
"Process Id"
,
amount
:
"金额"
,
createdate
:
"建立时间"
,
roundingoptionamount_base
:
"舍入金额 (Base)"
,
updateman
:
"更新人"
,
overriddencreatedon
:
"Record Created On"
,
exchangerate
:
"汇率"
,
organizationid
:
"组织"
,
percentage
:
"百分比"
,
traversedpath
:
"Traversed Path"
,
productnumber
:
"产品 ID"
,
pricingmethodcode
:
"定价方式"
,
roundingoptioncode
:
"舍入选项"
,
timezoneruleversionnumber
:
"Time Zone Rule Version Number"
,
utcconversiontimezonecode
:
"UTC Conversion Time Zone Code"
,
productpricelevelid
:
"产品价目表"
,
quantitysellingcode
:
"销售数量控制"
,
updatedate
:
"更新时间"
,
roundingpolicycode
:
"舍入原则"
,
createman
:
"建立人"
,
stageid
:
"Stage Id"
,
productid
:
"产品"
,
uomscheduleid
:
"单位计划 ID"
,
transactioncurrencyid
:
"货币"
,
uomid
:
"计价单位"
,
discounttypeid
:
"折扣表"
,
pricelevelid
:
"价目表"
,
},
};
\ No newline at end of file
app_CRM/src/locale/lanres/entities/product/product_en_US.ts
浏览文件 @
3033b85a
...
...
@@ -109,12 +109,12 @@ export default {
productnumber
:
"产品 ID"
,
validfromdate
:
"有效期的开始日期"
,
validtodate
:
"有效期的结束日期"
,
description
:
"说明"
,
defaultuomschedulename
:
"计价单位组"
,
defaultuomname
:
"默认计价单位"
,
pricelevelname
:
"默认价目表"
,
quantitydecimal
:
"支持小数"
,
subjectname
:
"主题"
,
description
:
"说明"
,
defaultuomid
:
"默认计价单位"
,
productid
:
"产品"
,
defaultuomscheduleid
:
"计价单位组"
,
...
...
app_CRM/src/locale/lanres/entities/product/product_zh_CN.ts
浏览文件 @
3033b85a
...
...
@@ -108,12 +108,12 @@ export default {
productnumber
:
"产品 ID"
,
validfromdate
:
"有效期的开始日期"
,
validtodate
:
"有效期的结束日期"
,
description
:
"说明"
,
defaultuomschedulename
:
"计价单位组"
,
defaultuomname
:
"默认计价单位"
,
pricelevelname
:
"默认价目表"
,
quantitydecimal
:
"支持小数"
,
subjectname
:
"主题"
,
description
:
"说明"
,
defaultuomid
:
"默认计价单位"
,
productid
:
"产品"
,
defaultuomscheduleid
:
"计价单位组"
,
...
...
app_CRM/src/mock/entity/product-price-levels/product-price-levels.ts
0 → 100644
浏览文件 @
3033b85a
此差异已折叠。
点击以展开。
app_CRM/src/mock/index.ts
浏览文件 @
3033b85a
...
...
@@ -35,6 +35,7 @@ import './entity/campaign-campaigns/campaign-campaigns';
import
'./entity/sales-literatures/sales-literatures'
;
import
'./entity/activity-pointers/activity-pointers'
;
import
'./entity/list-accounts/list-accounts'
;
import
'./entity/product-price-levels/product-price-levels'
;
import
'./entity/faxs/faxs'
;
import
'./entity/quotes/quotes'
;
import
'./entity/campaign-activitys/campaign-activitys'
;
...
...
app_CRM/src/pages/base/account-info/account-info-base.tsx
浏览文件 @
3033b85a
...
...
@@ -69,7 +69,7 @@ export class AccountInfoBase extends TabExpViewBase {
seperator3
:
{
name
:
'seperator3'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
deuiaction4
:
{
name
:
'deuiaction4'
,
caption
:
'编辑'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'编辑'
,
iconcls
:
'fa fa-edit'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'OpenEditMode'
,
target
:
'SINGLEKEY'
},
class
:
''
},
tbitem2
:
{
name
:
'tbitem2
'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
seperator4
:
{
name
:
'seperator4
'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
deuiaction1
:
{
name
:
'deuiaction1'
,
caption
:
'删除并关闭'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'删除并关闭'
,
iconcls
:
'fa fa-remove'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'RemoveAndExit'
,
target
:
'SINGLEKEY'
},
class
:
''
},
seperator2
:
{
name
:
'seperator2'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
...
...
app_CRM/src/pages/base/contact-info/contact-info-base.tsx
浏览文件 @
3033b85a
...
...
@@ -65,7 +65,7 @@ export class ContactInfoBase extends TabExpViewBase {
public
toolBarModels
:
any
=
{
deuiaction4
:
{
name
:
'deuiaction4'
,
caption
:
'编辑'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'编辑'
,
iconcls
:
'fa fa-edit'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'OpenEditMode'
,
target
:
'SINGLEKEY'
},
class
:
''
},
tbitem2
:
{
name
:
'tbitem2
'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
seperator4
:
{
name
:
'seperator4
'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
deuiaction1
:
{
name
:
'deuiaction1'
,
caption
:
'删除并关闭'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'删除并关闭'
,
iconcls
:
'fa fa-remove'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'RemoveAndExit'
,
target
:
'SINGLEKEY'
},
class
:
''
},
seperator2
:
{
name
:
'seperator2'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
...
...
app_CRM/src/pages/marketing/campaign-info/campaign-info-base.tsx
浏览文件 @
3033b85a
...
...
@@ -65,7 +65,7 @@ export class CampaignInfoBase extends TabExpViewBase {
public
toolBarModels
:
any
=
{
deuiaction4
:
{
name
:
'deuiaction4'
,
caption
:
'编辑'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'编辑'
,
iconcls
:
'fa fa-edit'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'OpenEditMode'
,
target
:
'SINGLEKEY'
},
class
:
''
},
tbitem2
:
{
name
:
'tbitem2
'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
seperator4
:
{
name
:
'seperator4
'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
deuiaction1
:
{
name
:
'deuiaction1'
,
caption
:
'删除并关闭'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'删除并关闭'
,
iconcls
:
'fa fa-remove'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'RemoveAndExit'
,
target
:
'SINGLEKEY'
},
class
:
''
},
seperator2
:
{
name
:
'seperator2'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
...
...
app_CRM/src/pages/marketing/campaign-list-edit-view/campaign-list-edit-view-base.tsx
浏览文件 @
3033b85a
...
...
@@ -65,7 +65,7 @@ export class CampaignListEditViewBase extends EditViewBase {
public
toolBarModels
:
any
=
{
deuiaction4
:
{
name
:
'deuiaction4'
,
caption
:
'编辑'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'编辑'
,
iconcls
:
'fa fa-edit'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'OpenEditMode'
,
target
:
'SINGLEKEY'
},
class
:
''
},
tbitem2
:
{
name
:
'tbitem2
'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
seperator4
:
{
name
:
'seperator4
'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
deuiaction1
:
{
name
:
'deuiaction1'
,
caption
:
'删除并关闭'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'删除并关闭'
,
iconcls
:
'fa fa-remove'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'RemoveAndExit'
,
target
:
'SINGLEKEY'
},
class
:
''
},
seperator2
:
{
name
:
'seperator2'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
...
...
app_CRM/src/pages/marketing/campaign-summary-head/campaign-summary-head-base.tsx
浏览文件 @
3033b85a
...
...
@@ -65,7 +65,7 @@ export class CampaignSummary_HeadBase extends DashboardViewBase {
public
toolBarModels
:
any
=
{
deuiaction4
:
{
name
:
'deuiaction4'
,
caption
:
'编辑'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'编辑'
,
iconcls
:
'fa fa-edit'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'OpenEditMode'
,
target
:
'SINGLEKEY'
},
class
:
''
},
tbitem2
:
{
name
:
'tbitem2
'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
seperator4
:
{
name
:
'seperator4
'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
deuiaction1
:
{
name
:
'deuiaction1'
,
caption
:
'删除并关闭'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'删除并关闭'
,
iconcls
:
'fa fa-remove'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'RemoveAndExit'
,
target
:
'SINGLEKEY'
},
class
:
''
},
seperator2
:
{
name
:
'seperator2'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
...
...
app_CRM/src/pages/marketing/list-account-edit-view/list-account-edit-view-base.tsx
浏览文件 @
3033b85a
...
...
@@ -65,7 +65,7 @@ export class ListAccountEditViewBase extends EditViewBase {
public
toolBarModels
:
any
=
{
deuiaction4
:
{
name
:
'deuiaction4'
,
caption
:
'编辑'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'编辑'
,
iconcls
:
'fa fa-edit'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'OpenEditMode'
,
target
:
'SINGLEKEY'
},
class
:
''
},
tbitem2
:
{
name
:
'tbitem2
'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
seperator4
:
{
name
:
'seperator4
'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
deuiaction1
:
{
name
:
'deuiaction1'
,
caption
:
'删除并关闭'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'删除并关闭'
,
iconcls
:
'fa fa-remove'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'RemoveAndExit'
,
target
:
'SINGLEKEY'
},
class
:
''
},
seperator2
:
{
name
:
'seperator2'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
...
...
app_CRM/src/pages/marketing/list-contact-edit-view/list-contact-edit-view-base.tsx
浏览文件 @
3033b85a
...
...
@@ -65,7 +65,7 @@ export class ListContactEditViewBase extends EditViewBase {
public
toolBarModels
:
any
=
{
deuiaction4
:
{
name
:
'deuiaction4'
,
caption
:
'编辑'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'编辑'
,
iconcls
:
'fa fa-edit'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'OpenEditMode'
,
target
:
'SINGLEKEY'
},
class
:
''
},
tbitem2
:
{
name
:
'tbitem2
'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
seperator4
:
{
name
:
'seperator4
'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
deuiaction1
:
{
name
:
'deuiaction1'
,
caption
:
'删除并关闭'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'删除并关闭'
,
iconcls
:
'fa fa-remove'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'RemoveAndExit'
,
target
:
'SINGLEKEY'
},
class
:
''
},
seperator2
:
{
name
:
'seperator2'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
...
...
app_CRM/src/pages/sales/lead-info/lead-info-base.tsx
浏览文件 @
3033b85a
此差异已折叠。
点击以展开。
app_CRM/src/pages/sales/opportunity-competitor-edit-view/opportunity-competitor-edit-view-base.tsx
浏览文件 @
3033b85a
...
...
@@ -65,7 +65,7 @@ export class OpportunityCompetitorEditViewBase extends EditViewBase {
public
toolBarModels
:
any
=
{
deuiaction4
:
{
name
:
'deuiaction4'
,
caption
:
'编辑'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'编辑'
,
iconcls
:
'fa fa-edit'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'OpenEditMode'
,
target
:
'SINGLEKEY'
},
class
:
''
},
tbitem2
:
{
name
:
'tbitem2
'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
seperator4
:
{
name
:
'seperator4
'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
deuiaction1
:
{
name
:
'deuiaction1'
,
caption
:
'删除并关闭'
,
'isShowCaption'
:
true
,
'isShowIcon'
:
true
,
tooltip
:
'删除并关闭'
,
iconcls
:
'fa fa-remove'
,
icon
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'RemoveAndExit'
,
target
:
'SINGLEKEY'
},
class
:
''
},
seperator2
:
{
name
:
'seperator2'
,
type
:
'SEPERATOR'
,
visabled
:
true
,
dataaccaction
:
''
,
uiaction
:
{
}
},
...
...
app_CRM/src/service/entity-service-register.ts
浏览文件 @
3033b85a
...
...
@@ -67,6 +67,7 @@ export class EntityServiceRegister {
this
.
allEntityService
.
set
(
'salesliterature'
,
()
=>
import
(
'@/service/sales-literature/sales-literature-service'
));
this
.
allEntityService
.
set
(
'activitypointer'
,
()
=>
import
(
'@/service/activity-pointer/activity-pointer-service'
));
this
.
allEntityService
.
set
(
'listaccount'
,
()
=>
import
(
'@/service/list-account/list-account-service'
));
this
.
allEntityService
.
set
(
'productpricelevel'
,
()
=>
import
(
'@/service/product-price-level/product-price-level-service'
));
this
.
allEntityService
.
set
(
'fax'
,
()
=>
import
(
'@/service/fax/fax-service'
));
this
.
allEntityService
.
set
(
'quote'
,
()
=>
import
(
'@/service/quote/quote-service'
));
this
.
allEntityService
.
set
(
'campaignactivity'
,
()
=>
import
(
'@/service/campaign-activity/campaign-activity-service'
));
...
...
app_CRM/src/service/product-price-level/product-price-level-service-base.ts
0 → 100644
浏览文件 @
3033b85a
import
{
Http
,
Util
}
from
'@/utils'
;
import
EntityService
from
'../entity-service'
;
/**
* 价目表项服务对象基类
*
* @export
* @class ProductPriceLevelServiceBase
* @extends {EntityServie}
*/
export
default
class
ProductPriceLevelServiceBase
extends
EntityService
{
/**
* Creates an instance of ProductPriceLevelServiceBase.
*
* @param {*} [opts={}]
* @memberof ProductPriceLevelServiceBase
*/
constructor
(
opts
:
any
=
{})
{
super
(
opts
);
}
/**
* 初始化基础数据
*
* @memberof ProductPriceLevelServiceBase
*/
public
initBasicData
(){
this
.
APPLYDEKEY
=
'productpricelevel'
;
this
.
APPDEKEY
=
'productpricelevelid'
;
this
.
APPDENAME
=
'productpricelevels'
;
this
.
APPDETEXT
=
''
;
this
.
APPNAME
=
'crm'
;
this
.
SYSTEMNAME
=
'ibizbusinesscentral'
;
}
// 实体接口
/**
* Select接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof ProductPriceLevelServiceBase
*/
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
return
Http
.
getInstance
().
get
(
`/productpricelevels/
${
context
.
productpricelevel
}
/select`
,
isloading
);
}
/**
* Create接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof ProductPriceLevelServiceBase
*/
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
(
`/productpricelevels`
,
data
,
isloading
);
return
res
;
}
/**
* Update接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof ProductPriceLevelServiceBase
*/
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
(
`/productpricelevels/
${
context
.
productpricelevel
}
`
,
data
,
isloading
);
return
res
;
}
/**
* Remove接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof ProductPriceLevelServiceBase
*/
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
return
Http
.
getInstance
().
delete
(
`/productpricelevels/
${
context
.
productpricelevel
}
`
,
isloading
);
}
/**
* Get接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof ProductPriceLevelServiceBase
*/
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/productpricelevels/
${
context
.
productpricelevel
}
`
,
isloading
);
return
res
;
}
/**
* GetDraft接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof ProductPriceLevelServiceBase
*/
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/productpricelevels/getdraft`
,
isloading
);
res
.
data
.
productpricelevel
=
data
.
productpricelevel
;
return
res
;
}
/**
* CheckKey接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof ProductPriceLevelServiceBase
*/
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
return
Http
.
getInstance
().
post
(
`/productpricelevels/
${
context
.
productpricelevel
}
/checkkey`
,
data
,
isloading
);
}
/**
* Save接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof ProductPriceLevelServiceBase
*/
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
(
`/productpricelevels/
${
context
.
productpricelevel
}
/save`
,
data
,
isloading
);
return
res
;
}
/**
* FetchDefault接口方法
*
* @param {*} [context={}]
* @param {*} [data={}]
* @param {boolean} [isloading]
* @returns {Promise<any>}
* @memberof ProductPriceLevelServiceBase
*/
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
Http
.
getInstance
().
get
(
`/productpricelevels/fetchdefault`
,
tempData
,
isloading
);
}
}
\ No newline at end of file
app_CRM/src/service/product-price-level/product-price-level-service.ts
0 → 100644
浏览文件 @
3033b85a
import
{
Http
,
Util
}
from
'@/utils'
;
import
ProductPriceLevelServiceBase
from
'./product-price-level-service-base'
;
/**
* 价目表项服务对象
*
* @export
* @class ProductPriceLevelService
* @extends {ProductPriceLevelServiceBase}
*/
export
default
class
ProductPriceLevelService
extends
ProductPriceLevelServiceBase
{
/**
* Creates an instance of ProductPriceLevelService.
*
* @param {*} [opts={}]
* @memberof ProductPriceLevelService
*/
constructor
(
opts
:
any
=
{})
{
super
(
opts
);
}
}
\ No newline at end of file
app_CRM/src/uiservice/product-price-level/product-price-level-ui-service-base.ts
0 → 100644
浏览文件 @
3033b85a
import
{
Environment
}
from
'@/environments/environment'
;
import
{
UIActionTool
,
Util
}
from
'@/utils'
;
import
UIService
from
'../ui-service'
;
import
{
Subject
}
from
'rxjs'
;
import
ProductPriceLevelService
from
'@/service/product-price-level/product-price-level-service'
;
/**
* 价目表项UI服务对象基类
*
* @export
* @class ProductPriceLevelUIServiceBase
*/
export
default
class
ProductPriceLevelUIServiceBase
extends
UIService
{
/**
* 是否支持工作流
*
* @memberof ProductPriceLevelUIServiceBase
*/
public
isEnableWorkflow
:
boolean
=
false
;
/**
* 当前UI服务对应的数据服务对象
*
* @memberof ProductPriceLevelUIServiceBase
*/
public
dataService
:
ProductPriceLevelService
=
new
ProductPriceLevelService
();
/**
* 所有关联视图
*
* @memberof ProductPriceLevelUIServiceBase
*/
public
allViewMap
:
Map
<
string
,
Object
>
=
new
Map
();
/**
* 状态值
*
* @memberof ProductPriceLevelUIServiceBase
*/
public
stateValue
:
number
=
0
;
/**
* 状态属性
*
* @memberof ProductPriceLevelUIServiceBase
*/
public
stateField
:
string
=
""
;
/**
* 主状态属性集合
*
* @memberof ProductPriceLevelUIServiceBase
*/
public
mainStateFields
:
Array
<
any
>
=
[];
/**
* 主状态集合Map
*
* @memberof ProductPriceLevelUIServiceBase
*/
public
allDeMainStateMap
:
Map
<
string
,
string
>
=
new
Map
();
/**
* Creates an instance of ProductPriceLevelUIServiceBase.
*
* @param {*} [opts={}]
* @memberof ProductPriceLevelUIServiceBase
*/
constructor
(
opts
:
any
=
{})
{
super
(
opts
);
this
.
initViewMap
();
this
.
initDeMainStateMap
();
}
/**
* 初始化视图Map
*
* @memberof ProductPriceLevelUIServiceBase
*/
public
initViewMap
(){
}
/**
* 初始化主状态集合
*
* @memberof ProductPriceLevelUIServiceBase
*/
public
initDeMainStateMap
(){
}
/**
* 获取指定数据的重定向页面
*
* @param srfkey 数据主键
* @param isEnableWorkflow 重定向视图是否需要处理流程中的数据
* @memberof ProductPriceLevelUIServiceBase
*/
public
async
getRDAppView
(
srfkey
:
string
,
isEnableWorkflow
:
boolean
){
this
.
isEnableWorkflow
=
isEnableWorkflow
;
// 进行数据查询
let
result
:
any
=
await
this
.
dataService
.
Get
({
productpricelevel
:
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 ProductPriceLevelUIServiceBase
*/
public
getRealDEType
(
entity
:
any
){
}
/**
* 获取实体单数据实体视图预定义参数
*
* @param curData 当前数据
* @param bDataInWF 是否有数据在工作流中
* @param bWFMode 是否工作流模式
* @memberof ProductPriceLevelUIServiceBase
*/
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 ProductPriceLevelUIServiceBase
*/
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_CRM/src/uiservice/product-price-level/product-price-level-ui-service.ts
0 → 100644
浏览文件 @
3033b85a
import
ProductPriceLevelUIServiceBase
from
'./product-price-level-ui-service-base'
;
/**
* 价目表项UI服务对象
*
* @export
* @class ProductPriceLevelUIService
*/
export
default
class
ProductPriceLevelUIService
extends
ProductPriceLevelUIServiceBase
{
/**
* Creates an instance of ProductPriceLevelUIService.
*
* @param {*} [opts={}]
* @memberof ProductPriceLevelUIService
*/
constructor
(
opts
:
any
=
{})
{
super
(
opts
);
}
}
\ No newline at end of file
app_CRM/src/uiservice/ui-service-register.ts
浏览文件 @
3033b85a
...
...
@@ -67,6 +67,7 @@ export class UIServiceRegister {
this
.
allUIService
.
set
(
'salesliterature'
,
()
=>
import
(
'@/uiservice/sales-literature/sales-literature-ui-service'
));
this
.
allUIService
.
set
(
'activitypointer'
,
()
=>
import
(
'@/uiservice/activity-pointer/activity-pointer-ui-service'
));
this
.
allUIService
.
set
(
'listaccount'
,
()
=>
import
(
'@/uiservice/list-account/list-account-ui-service'
));
this
.
allUIService
.
set
(
'productpricelevel'
,
()
=>
import
(
'@/uiservice/product-price-level/product-price-level-ui-service'
));
this
.
allUIService
.
set
(
'fax'
,
()
=>
import
(
'@/uiservice/fax/fax-ui-service'
));
this
.
allUIService
.
set
(
'quote'
,
()
=>
import
(
'@/uiservice/quote/quote-ui-service'
));
this
.
allUIService
.
set
(
'campaignactivity'
,
()
=>
import
(
'@/uiservice/campaign-activity/campaign-activity-ui-service'
));
...
...
businesscentral-app/businesscentral-app-crm/src/main/resources/application-crm-prod.yml
浏览文件 @
3033b85a
...
...
@@ -119,6 +119,10 @@ zuul:
path
:
/listaccounts/**
serviceId
:
ibizbusinesscentral-centralapi
stripPrefix
:
false
productpricelevel
:
path
:
/productpricelevels/**
serviceId
:
ibizbusinesscentral-centralapi
stripPrefix
:
false
fax
:
path
:
/faxes/**
serviceId
:
ibizbusinesscentral-centralapi
...
...
businesscentral-core/src/main/resources/permission/systemResource.json
浏览文件 @
3033b85a
...
...
@@ -228,6 +228,14 @@
"datascope"
:[{
"id"
:
"all"
,
"name"
:
"全部数据"
},
{
"id"
:
"createman"
,
"name"
:
"创建人"
}]
}
,
{
"dename"
:
"ProductPriceLevel"
,
"delogicname"
:
"价目表项"
,
"sysmoudle"
:{
"id"
:
"PRODUCT"
,
"name"
:
"Product"
},
"dedataset"
:[{
"id"
:
"Default"
,
"name"
:
"DEFAULT"
}],
"deaction"
:[{
"id"
:
"Create"
,
"name"
:
"Create"
,
"type"
:
"BUILTIN"
},{
"id"
:
"Update"
,
"name"
:
"Update"
,
"type"
:
"BUILTIN"
},{
"id"
:
"Remove"
,
"name"
:
"Remove"
,
"type"
:
"BUILTIN"
},{
"id"
:
"Get"
,
"name"
:
"Get"
,
"type"
:
"BUILTIN"
},{
"id"
:
"GetDraft"
,
"name"
:
"GetDraft"
,
"type"
:
"BUILTIN"
},{
"id"
:
"CheckKey"
,
"name"
:
"CheckKey"
,
"type"
:
"BUILTIN"
},{
"id"
:
"Save"
,
"name"
:
"Save"
,
"type"
:
"BUILTIN"
}],
"datascope"
:[{
"id"
:
"all"
,
"name"
:
"全部数据"
},
{
"id"
:
"createman"
,
"name"
:
"创建人"
}]
}
,
{
"dename"
:
"Fax"
,
"delogicname"
:
"传真"
,
"sysmoudle"
:{
"id"
:
"BASE"
,
"name"
:
"Base"
},
...
...
businesscentral-provider/businesscentral-provider-centralapi/src/main/java/cn/ibizlab/businesscentral/centralapi/dto/ProductPriceLevelDTO.java
0 → 100644
浏览文件 @
3033b85a
此差异已折叠。
点击以展开。
businesscentral-provider/businesscentral-provider-centralapi/src/main/java/cn/ibizlab/businesscentral/centralapi/mapping/ProductPriceLevelMapping.java
0 → 100644
浏览文件 @
3033b85a
package
cn
.
ibizlab
.
businesscentral
.
centralapi
.
mapping
;
import
org.mapstruct.*
;
import
cn.ibizlab.businesscentral.core.product.domain.ProductPriceLevel
;
import
cn.ibizlab.businesscentral.centralapi.dto.ProductPriceLevelDTO
;
import
cn.ibizlab.businesscentral.util.domain.MappingBase
;
import
org.mapstruct.factory.Mappers
;
@Mapper
(
componentModel
=
"spring"
,
uses
=
{},
nullValuePropertyMappingStrategy
=
NullValuePropertyMappingStrategy
.
IGNORE
,
nullValueCheckStrategy
=
NullValueCheckStrategy
.
ALWAYS
)
public
interface
ProductPriceLevelMapping
extends
MappingBase
<
ProductPriceLevelDTO
,
ProductPriceLevel
>
{
}
businesscentral-provider/businesscentral-provider-centralapi/src/main/java/cn/ibizlab/businesscentral/centralapi/rest/ProductPriceLevelResource.java
0 → 100644
浏览文件 @
3033b85a
此差异已折叠。
点击以展开。
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录