提交 3033b85a 编写于 作者: ibizdev's avatar ibizdev

xignzi006 发布系统代码

上级 03b3636e
/**
* 价目表项
*
* @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
......@@ -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,
......
......@@ -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,
......
......@@ -679,8 +679,8 @@ export default {
caption: "编辑",
tip: "编辑",
},
tbitem2: {
caption: "-",
seperator4: {
caption: "",
tip: "",
},
deuiaction1: {
......
......@@ -678,8 +678,8 @@ export default {
caption: "编辑",
tip: "编辑",
},
tbitem2: {
caption: "-",
seperator4: {
caption: "",
tip: "",
},
deuiaction1: {
......
......@@ -98,8 +98,8 @@ export default {
caption: "编辑",
tip: "编辑",
},
tbitem2: {
caption: "-",
seperator4: {
caption: "",
tip: "",
},
deuiaction1: {
......
......@@ -97,8 +97,8 @@ export default {
caption: "编辑",
tip: "编辑",
},
tbitem2: {
caption: "-",
seperator4: {
caption: "",
tip: "",
},
deuiaction1: {
......
......@@ -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: {
......
......@@ -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: {
......
......@@ -589,8 +589,8 @@ export default {
caption: "编辑",
tip: "编辑",
},
tbitem2: {
caption: "-",
seperator4: {
caption: "",
tip: "",
},
deuiaction1: {
......
......@@ -588,8 +588,8 @@ export default {
caption: "编辑",
tip: "编辑",
},
tbitem2: {
caption: "-",
seperator4: {
caption: "",
tip: "",
},
deuiaction1: {
......
......@@ -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: "",
},
deuiaction6: {
caption: "无法联系",
tip: "无法联系",
deuiaction1: {
caption: "Remove And Close",
tip: "Remove And Close Window",
},
deuiaction7: {
caption: "不再感兴趣",
tip: "不再感兴趣",
seperator2: {
caption: "",
tip: "",
},
deuiaction8: {
caption: "已取消",
tip: "已取消",
deuiaction2: {
caption: "刷新",
tip: "刷新",
},
tbitem13: {
caption: "-",
seperator1: {
caption: "",
tip: "",
},
tbitem12: {
......
......@@ -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: "",
},
deuiaction6: {
caption: "无法联系",
tip: "无法联系",
deuiaction1: {
caption: "删除并关闭",
tip: "删除并关闭",
},
deuiaction7: {
caption: "不再感兴趣",
tip: "不再感兴趣",
seperator2: {
caption: "",
tip: "",
},
deuiaction8: {
caption: "已取消",
tip: "已取消",
deuiaction2: {
caption: "刷新",
tip: "刷新",
},
tbitem13: {
caption: "-",
seperator1: {
caption: "",
tip: "",
},
tbitem12: {
......
......@@ -95,8 +95,8 @@ export default {
caption: "编辑",
tip: "编辑",
},
tbitem2: {
caption: "-",
seperator4: {
caption: "",
tip: "",
},
deuiaction1: {
......
......@@ -94,8 +94,8 @@ export default {
caption: "编辑",
tip: "编辑",
},
tbitem2: {
caption: "-",
seperator4: {
caption: "",
tip: "",
},
deuiaction1: {
......
......@@ -86,8 +86,8 @@ export default {
caption: "编辑",
tip: "编辑",
},
tbitem2: {
caption: "-",
seperator4: {
caption: "",
tip: "",
},
deuiaction1: {
......
......@@ -85,8 +85,8 @@ export default {
caption: "编辑",
tip: "编辑",
},
tbitem2: {
caption: "-",
seperator4: {
caption: "",
tip: "",
},
deuiaction1: {
......
......@@ -106,8 +106,8 @@ export default {
caption: "编辑",
tip: "编辑",
},
tbitem2: {
caption: "-",
seperator4: {
caption: "",
tip: "",
},
deuiaction1: {
......
......@@ -105,8 +105,8 @@ export default {
caption: "编辑",
tip: "编辑",
},
tbitem2: {
caption: "-",
seperator4: {
caption: "",
tip: "",
},
deuiaction1: {
......
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
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
......@@ -109,12 +109,12 @@ export default {
productnumber: "产品 ID",
validfromdate: "有效期的开始日期",
validtodate: "有效期的结束日期",
description: "说明",
defaultuomschedulename: "计价单位组",
defaultuomname: "默认计价单位",
pricelevelname: "默认价目表",
quantitydecimal: "支持小数",
subjectname: "主题",
description: "说明",
defaultuomid: "默认计价单位",
productid: "产品",
defaultuomscheduleid: "计价单位组",
......
......@@ -108,12 +108,12 @@ export default {
productnumber: "产品 ID",
validfromdate: "有效期的开始日期",
validtodate: "有效期的结束日期",
description: "说明",
defaultuomschedulename: "计价单位组",
defaultuomname: "默认计价单位",
pricelevelname: "默认价目表",
quantitydecimal: "支持小数",
subjectname: "主题",
description: "说明",
defaultuomid: "默认计价单位",
productid: "产品",
defaultuomscheduleid: "计价单位组",
......
......@@ -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';
......
......@@ -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: { } },
......
......@@ -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: { } },
......
......@@ -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: { } },
......
......@@ -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: { } },
......
......@@ -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: { } },
......
......@@ -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: { } },
......
......@@ -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: { } },
......
......@@ -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: { } },
......
......@@ -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'));
......
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
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
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
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
......@@ -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'));
......
......@@ -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
......
......@@ -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"},
......
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> {
}
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册