提交 458e6996 编写于 作者: ibizdev's avatar ibizdev

lab_gzf 发布系统代码

上级 a498185d
......@@ -455,6 +455,53 @@
}
]
},
{
"srfkey": "Productsubstitute__SalesRelationshipType",
"emptytext": "未定义",
"codelisttype":"static",
"items": [
{
"id": "1",
"label": "交叉销售",
"text": "交叉销售",
"data":"",
"codename":"Item_1",
"value": "1",
"disabled": false
}
, {
"id": "3",
"label": "替代品",
"text": "替代品",
"data":"",
"codename":"Item_3",
"value": "3",
"disabled": false
}
, {
"id": "0",
"label": "追加销售",
"text": "追加销售",
"data":"",
"codename":"Item_0",
"value": "0",
"disabled": false
}
, {
"id": "2",
"label": "配件",
"text": "配件",
"data":"",
"codename":"Item_2",
"value": "2",
"disabled": false
}
]
},
{
"srfkey": "Lead__PurchaseTimeFrame",
"emptytext": "未定义",
......@@ -1187,6 +1234,33 @@
}
]
},
{
"srfkey": "Productsubstitute__Direction",
"emptytext": "未定义",
"codelisttype":"static",
"items": [
{
"id": "0",
"label": "单向",
"text": "单向",
"data":"",
"codename":"Item_0",
"value": "0",
"disabled": false
}
, {
"id": "1",
"label": "双向",
"text": "双向",
"data":"",
"codename":"Item_1",
"value": "1",
"disabled": false
}
]
},
{
"srfkey": "Contact__StateCode",
"emptytext": "未定义",
......@@ -2171,6 +2245,73 @@
}
]
},
{
"srfkey": "Productpricelevel__PricingMethodCode",
"emptytext": "未定义",
"codelisttype":"static",
"items": [
{
"id": "2",
"label": "定价百分比",
"text": "定价百分比",
"data":"",
"codename":"Item_2",
"value": "2",
"disabled": false
}
, {
"id": "5",
"label": "成本加成百分比 - 标准成本",
"text": "成本加成百分比 - 标准成本",
"data":"",
"codename":"Item_5",
"value": "5",
"disabled": false
}
, {
"id": "3",
"label": "成本加成百分比 – 当前成本",
"text": "成本加成百分比 – 当前成本",
"data":"",
"codename":"Item_3",
"value": "3",
"disabled": false
}
, {
"id": "1",
"label": "货币金额",
"text": "货币金额",
"data":"",
"codename":"Item_1",
"value": "1",
"disabled": false
}
, {
"id": "4",
"label": "边际百分比 – 当前成本",
"text": "边际百分比 – 当前成本",
"data":"",
"codename":"Item_4",
"value": "4",
"disabled": false
}
, {
"id": "6",
"label": "边际百分比 – 标准成本",
"text": "边际百分比 – 标准成本",
"data":"",
"codename":"Item_6",
"value": "6",
"disabled": false
}
]
},
{
"srfkey": "Account__Address1_ShippingMethodCode",
"emptytext": "未定义",
......@@ -2248,6 +2389,43 @@
}
]
},
{
"srfkey": "Productpricelevel__QuantitySellingCode",
"emptytext": "未定义",
"codelisttype":"static",
"items": [
{
"id": "2",
"label": "整数",
"text": "整数",
"data":"",
"codename":"Item_2",
"value": "2",
"disabled": false
}
, {
"id": "3",
"label": "整数和小数",
"text": "整数和小数",
"data":"",
"codename":"Item_3",
"value": "3",
"disabled": false
}
, {
"id": "1",
"label": "无控制",
"text": "无控制",
"data":"",
"codename":"Item_1",
"value": "1",
"disabled": false
}
]
},
{
"srfkey": "Activitypointer__PriorityCode",
"emptytext": "未定义",
......
{
"productsubstituteeditview": {
"title": "产品关系编辑视图",
"caption": "产品替换",
"viewtype": "DEEDITVIEW",
"viewmodule": "Product",
"viewname": "ProductSubstituteEditView",
"viewfilename": "product-substitute-edit-view",
"viewtag": "00b46653e7146942634692ebe4fb43eb",
"memo": "系统自动添加"
},
"salesliteraturesummaryview": {
"title": "销售宣传资料数据看板视图",
"caption": "销售宣传资料",
......@@ -89,6 +99,16 @@
"viewtag": "0707e5c30c6ebfff55c733f4185d212e",
"memo": ""
},
"productassociationeditview": {
"title": "产品关联编辑视图",
"caption": "产品关联",
"viewtype": "DEEDITVIEW",
"viewmodule": "Product",
"viewname": "ProductAssociationEditView",
"viewfilename": "product-association-edit-view",
"viewtag": "070af269c3f5741163950bc770637f18",
"memo": "系统自动添加"
},
"campaigninfo_head": {
"title": "头信息",
"caption": "头信息",
......@@ -159,6 +179,16 @@
"viewtag": "10c5d33db64f3a1bda18c7571a679438",
"memo": "系统自动添加"
},
"productassociationgridview": {
"title": "产品关联表格视图",
"caption": "产品关联",
"viewtype": "DEGRIDVIEW",
"viewmodule": "Product",
"viewname": "ProductAssociationGridView",
"viewfilename": "product-association-grid-view",
"viewtag": "126557fa1bd6d770b471b1c9d211f07c",
"memo": "系统自动添加"
},
"quotegridview": {
"title": "报价单信息",
"caption": "报价单",
......@@ -259,6 +289,16 @@
"viewtag": "1d3b94223a5d3f8ab1d2fe334c8c4afd",
"memo": "系统自动添加"
},
"productpricelevelproprilveditview": {
"title": "产品价目表项",
"caption": "价目表项",
"viewtype": "DEEDITVIEW",
"viewmodule": "Product",
"viewname": "ProductPriceLevelProPrilvEditView",
"viewfilename": "product-price-level-pro-prilv-edit-view",
"viewtag": "2100f4eccfde24bb1307d636c396d51f",
"memo": ""
},
"contactinfo_person": {
"title": "联系人编辑视图",
"caption": "联系人",
......@@ -329,6 +369,16 @@
"viewtag": "2ac0427fe43e02ce2aade11aad712eb5",
"memo": ""
},
"productinfoview": {
"title": "产品信息",
"caption": "产品",
"viewtype": "DETABEXPVIEW",
"viewmodule": "Product",
"viewname": "ProductInfoView",
"viewfilename": "product-info-view",
"viewtag": "2ac7842ebbc9cb4c0d523ffaf94df3db",
"memo": ""
},
"contactinfo_book": {
"title": "联系人编辑视图",
"caption": "联系人",
......@@ -359,6 +409,16 @@
"viewtag": "2c6be792e84450585986e22f75dffa52",
"memo": "系统自动添加"
},
"discounttypepickupgridview": {
"title": "折扣表选择表格视图",
"caption": "折扣表",
"viewtype": "DEPICKUPGRIDVIEW",
"viewmodule": "Sales",
"viewname": "DiscountTypePickupGridView",
"viewfilename": "discount-type-pickup-grid-view",
"viewtag": "2d955c4717c71ba3a811efa464f1b9f4",
"memo": "系统自动添加"
},
"leadeditview": {
"title": "潜在顾客编辑视图",
"caption": "潜在顾客",
......@@ -459,6 +519,16 @@
"viewtag": "3b3a9dc75518028c6577a3634f853bdc",
"memo": ""
},
"productpricelevelproprilvgridview": {
"title": "产品价目表项",
"caption": "价目表项",
"viewtype": "DEGRIDVIEW",
"viewmodule": "Product",
"viewname": "ProductPriceLevelProPrilvGridView",
"viewfilename": "product-price-level-pro-prilv-grid-view",
"viewtag": "3c8bbe79d569f27ef675664d32a91c0d",
"memo": ""
},
"contactinfo_abstract": {
"title": "联系人编辑视图",
"caption": "联系人",
......@@ -1059,6 +1129,16 @@
"viewtag": "8d3e0363ae4532310000143fd6d61aae",
"memo": ""
},
"productsubstitutegridview": {
"title": "产品关系表格视图",
"caption": "产品替换",
"viewtype": "DEGRIDVIEW",
"viewmodule": "Product",
"viewname": "ProductSubstituteGridView",
"viewfilename": "product-substitute-grid-view",
"viewtag": "90289db866d87ff28979dfdfd2ce583d",
"memo": "系统自动添加"
},
"salesliteraturegridview": {
"title": "销售宣传资料信息",
"caption": "销售宣传资料",
......@@ -1259,6 +1339,16 @@
"viewtag": "a243cd62accb02ceba4fb128703128f0",
"memo": ""
},
"discounttypepickupview": {
"title": "折扣表数据选择视图",
"caption": "折扣表",
"viewtype": "DEPICKUPVIEW",
"viewmodule": "Sales",
"viewname": "DiscountTypePickupView",
"viewfilename": "discount-type-pickup-view",
"viewtag": "a417dead23bae1ec249aef3b3f313c93",
"memo": "系统自动添加"
},
"appointmenteditview": {
"title": "约会编辑视图",
"caption": "约会",
......@@ -1430,7 +1520,7 @@
"memo": "系统自动添加"
},
"productgridview": {
"title": "产品表格视图",
"title": "产品信息",
"caption": "产品",
"viewtype": "DEGRIDVIEW",
"viewmodule": "Product",
......
/**
* 折扣表
*
* @export
* @interface DiscountType
*/
export interface DiscountType {
/**
* Time Zone Rule Version Number
*
* @returns {*}
* @memberof DiscountType
*/
timezoneruleversionnumber?: any;
/**
* 状态描述
*
* @returns {*}
* @memberof DiscountType
*/
statuscode?: any;
/**
* 折扣表
*
* @returns {*}
* @memberof DiscountType
*/
discounttypeid?: any;
/**
* 建立时间
*
* @returns {*}
* @memberof DiscountType
*/
createdate?: any;
/**
* 更新人
*
* @returns {*}
* @memberof DiscountType
*/
updateman?: any;
/**
* 类型
*
* @returns {*}
* @memberof DiscountType
*/
amounttype?: any;
/**
* Version Number
*
* @returns {*}
* @memberof DiscountType
*/
versionnumber?: any;
/**
* 建立人
*
* @returns {*}
* @memberof DiscountType
*/
createman?: any;
/**
* 折扣类型名称
*
* @returns {*}
* @memberof DiscountType
*/
discounttypename?: any;
/**
* 更新时间
*
* @returns {*}
* @memberof DiscountType
*/
updatedate?: any;
/**
* 说明
*
* @returns {*}
* @memberof DiscountType
*/
description?: any;
/**
* UTC Conversion Time Zone Code
*
* @returns {*}
* @memberof DiscountType
*/
utcconversiontimezonecode?: any;
/**
* Record Created On
*
* @returns {*}
* @memberof DiscountType
*/
overriddencreatedon?: any;
/**
* Import Sequence Number
*
* @returns {*}
* @memberof DiscountType
*/
importsequencenumber?: any;
/**
* 状态
*
* @returns {*}
* @memberof DiscountType
*/
statecode?: any;
/**
* 货币
*
* @returns {*}
* @memberof DiscountType
*/
transactioncurrencyid?: any;
}
\ No newline at end of file
/**
* 产品关联
*
* @export
* @interface ProductAssociation
*/
export interface ProductAssociation {
/**
* 更新时间
*
* @returns {*}
* @memberof ProductAssociation
*/
updatedate?: any;
/**
* 数量
*
* @returns {*}
* @memberof ProductAssociation
*/
quantity?: any;
/**
* 更新人
*
* @returns {*}
* @memberof ProductAssociation
*/
updateman?: any;
/**
* UTC Conversion Time Zone Code
*
* @returns {*}
* @memberof ProductAssociation
*/
utcconversiontimezonecode?: any;
/**
* Version Number
*
* @returns {*}
* @memberof ProductAssociation
*/
versionnumber?: any;
/**
* 属性自定义
*
* @returns {*}
* @memberof ProductAssociation
*/
propertycustomizationstatus?: any;
/**
* Import Sequence Number
*
* @returns {*}
* @memberof ProductAssociation
*/
importsequencenumber?: any;
/**
* Time Zone Rule Version Number
*
* @returns {*}
* @memberof ProductAssociation
*/
timezoneruleversionnumber?: any;
/**
* 必填
*
* @returns {*}
* @memberof ProductAssociation
*/
productisrequired?: any;
/**
* 仅供内部使用
*
* @returns {*}
* @memberof ProductAssociation
*/
dmtimportstate?: any;
/**
* 状态描述
*
* @returns {*}
* @memberof ProductAssociation
*/
statuscode?: any;
/**
* 产品关联 ID
*
* @returns {*}
* @memberof ProductAssociation
*/
productassociationid?: any;
/**
* 汇率
*
* @returns {*}
* @memberof ProductAssociation
*/
exchangerate?: any;
/**
* Record Created On
*
* @returns {*}
* @memberof ProductAssociation
*/
overriddencreatedon?: any;
/**
* 建立时间
*
* @returns {*}
* @memberof ProductAssociation
*/
createdate?: any;
/**
* 建立人
*
* @returns {*}
* @memberof ProductAssociation
*/
createman?: any;
/**
* 状态
*
* @returns {*}
* @memberof ProductAssociation
*/
statecode?: any;
/**
* 产品
*
* @returns {*}
* @memberof ProductAssociation
*/
productid?: any;
/**
* 计价单位
*
* @returns {*}
* @memberof ProductAssociation
*/
uomid?: any;
/**
* 货币
*
* @returns {*}
* @memberof ProductAssociation
*/
transactioncurrencyid?: any;
/**
* 关联的产品
*
* @returns {*}
* @memberof ProductAssociation
*/
associatedproduct?: any;
/**
* 关联的产品
*
* @returns {*}
* @memberof ProductAssociation
*/
associatedproductname?: any;
/**
* 产品名称
*
* @returns {*}
* @memberof ProductAssociation
*/
productname?: any;
/**
* 货币名称
*
* @returns {*}
* @memberof ProductAssociation
*/
currencyname?: any;
/**
* 计量单位
*
* @returns {*}
* @memberof ProductAssociation
*/
uomname?: any;
}
\ No newline at end of file
......@@ -255,7 +255,7 @@ export interface ProductPriceLevel {
pricelevelid?: any;
/**
* 价格水平名称
* 价目表
*
* @returns {*}
* @memberof ProductPriceLevel
......@@ -279,10 +279,26 @@ export interface ProductPriceLevel {
uomname?: any;
/**
* 折扣类型名称
* 折扣
*
* @returns {*}
* @memberof ProductPriceLevel
*/
discounttypename?: any;
/**
* 计量单位组
*
* @returns {*}
* @memberof ProductPriceLevel
*/
uomschedulename?: any;
/**
* 货币
*
* @returns {*}
* @memberof ProductPriceLevel
*/
currencyname?: any;
}
\ No newline at end of file
/**
* 产品替换
*
* @export
* @interface ProductSubstitute
*/
export interface ProductSubstitute {
/**
* 产品子套件名称
*
* @returns {*}
* @memberof ProductSubstitute
*/
productsubstitutename?: any;
/**
* 状态描述
*
* @returns {*}
* @memberof ProductSubstitute
*/
statuscode?: any;
/**
* Version Number
*
* @returns {*}
* @memberof ProductSubstitute
*/
versionnumber?: any;
/**
* 建立人
*
* @returns {*}
* @memberof ProductSubstitute
*/
createman?: any;
/**
* 更新人
*
* @returns {*}
* @memberof ProductSubstitute
*/
updateman?: any;
/**
* Import Sequence Number
*
* @returns {*}
* @memberof ProductSubstitute
*/
importsequencenumber?: any;
/**
* 汇率
*
* @returns {*}
* @memberof ProductSubstitute
*/
exchangerate?: any;
/**
* UTC Conversion Time Zone Code
*
* @returns {*}
* @memberof ProductSubstitute
*/
utcconversiontimezonecode?: any;
/**
* Record Created On
*
* @returns {*}
* @memberof ProductSubstitute
*/
overriddencreatedon?: any;
/**
* 建立时间
*
* @returns {*}
* @memberof ProductSubstitute
*/
createdate?: any;
/**
* 方向
*
* @returns {*}
* @memberof ProductSubstitute
*/
direction?: any;
/**
* 销售关系类型
*
* @returns {*}
* @memberof ProductSubstitute
*/
salesrelationshiptype?: any;
/**
* Time Zone Rule Version Number
*
* @returns {*}
* @memberof ProductSubstitute
*/
timezoneruleversionnumber?: any;
/**
* 产品关系 ID
*
* @returns {*}
* @memberof ProductSubstitute
*/
productsubstituteid?: any;
/**
* 状态
*
* @returns {*}
* @memberof ProductSubstitute
*/
statecode?: any;
/**
* 更新时间
*
* @returns {*}
* @memberof ProductSubstitute
*/
updatedate?: any;
/**
* 产品
*
* @returns {*}
* @memberof ProductSubstitute
*/
productid?: any;
/**
* 相关产品
*
* @returns {*}
* @memberof ProductSubstitute
*/
substitutedproductid?: any;
/**
* 货币
*
* @returns {*}
* @memberof ProductSubstitute
*/
transactioncurrencyid?: any;
/**
* 产品
*
* @returns {*}
* @memberof ProductSubstitute
*/
productname?: any;
/**
* 相关产品
*
* @returns {*}
* @memberof ProductSubstitute
*/
substitutedproductname?: any;
/**
* 货币
*
* @returns {*}
* @memberof ProductSubstitute
*/
currencyname?: any;
}
\ No newline at end of file
......@@ -23,11 +23,13 @@ import salesorderdetail_en_US from '@locale/lanres/entities/sales-order-detail/s
import listcontact_en_US from '@locale/lanres/entities/list-contact/list-contact_en_US';
import appointment_en_US from '@locale/lanres/entities/appointment/appointment_en_US';
import campaigncampaign_en_US from '@locale/lanres/entities/campaign-campaign/campaign-campaign_en_US';
import productassociation_en_US from '@locale/lanres/entities/product-association/product-association_en_US';
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 productsubstitute_en_US from '@locale/lanres/entities/product-substitute/product-substitute_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';
import listlead_en_US from '@locale/lanres/entities/list-lead/list-lead_en_US';
......@@ -41,6 +43,7 @@ import account_en_US from '@locale/lanres/entities/account/account_en_US';
import salesorder_en_US from '@locale/lanres/entities/sales-order/sales-order_en_US';
import quotedetail_en_US from '@locale/lanres/entities/quote-detail/quote-detail_en_US';
import productsalesliterature_en_US from '@locale/lanres/entities/product-sales-literature/product-sales-literature_en_US';
import discounttype_en_US from '@locale/lanres/entities/discount-type/discount-type_en_US';
import subject_en_US from '@locale/lanres/entities/subject/subject_en_US';
import components_en_US from '@locale/lanres/components/components_en_US';
import codelist_en_US from '@locale/lanres/codelist/codelist_en_US';
......@@ -172,11 +175,13 @@ export default {
listcontact: listcontact_en_US,
appointment: appointment_en_US,
campaigncampaign: campaigncampaign_en_US,
productassociation: productassociation_en_US,
salesliterature: salesliterature_en_US,
activitypointer: activitypointer_en_US,
listaccount: listaccount_en_US,
productpricelevel: productpricelevel_en_US,
fax: fax_en_US,
productsubstitute: productsubstitute_en_US,
quote: quote_en_US,
campaignactivity: campaignactivity_en_US,
listlead: listlead_en_US,
......@@ -190,6 +195,7 @@ export default {
salesorder: salesorder_en_US,
quotedetail: quotedetail_en_US,
productsalesliterature: productsalesliterature_en_US,
discounttype: discounttype_en_US,
subject: subject_en_US,
},
components: components_en_US,
......
......@@ -23,11 +23,13 @@ import salesorderdetail_zh_CN from '@locale/lanres/entities/sales-order-detail/s
import listcontact_zh_CN from '@locale/lanres/entities/list-contact/list-contact_zh_CN';
import appointment_zh_CN from '@locale/lanres/entities/appointment/appointment_zh_CN';
import campaigncampaign_zh_CN from '@locale/lanres/entities/campaign-campaign/campaign-campaign_zh_CN';
import productassociation_zh_CN from '@locale/lanres/entities/product-association/product-association_zh_CN';
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 productsubstitute_zh_CN from '@locale/lanres/entities/product-substitute/product-substitute_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';
import listlead_zh_CN from '@locale/lanres/entities/list-lead/list-lead_zh_CN';
......@@ -41,6 +43,7 @@ import account_zh_CN from '@locale/lanres/entities/account/account_zh_CN';
import salesorder_zh_CN from '@locale/lanres/entities/sales-order/sales-order_zh_CN';
import quotedetail_zh_CN from '@locale/lanres/entities/quote-detail/quote-detail_zh_CN';
import productsalesliterature_zh_CN from '@locale/lanres/entities/product-sales-literature/product-sales-literature_zh_CN';
import discounttype_zh_CN from '@locale/lanres/entities/discount-type/discount-type_zh_CN';
import subject_zh_CN from '@locale/lanres/entities/subject/subject_zh_CN';
import components_zh_CN from '@locale/lanres/components/components_zh_CN';
import codelist_zh_CN from '@locale/lanres/codelist/codelist_zh_CN';
......@@ -172,11 +175,13 @@ export default {
listcontact: listcontact_zh_CN,
appointment: appointment_zh_CN,
campaigncampaign: campaigncampaign_zh_CN,
productassociation: productassociation_zh_CN,
salesliterature: salesliterature_zh_CN,
activitypointer: activitypointer_zh_CN,
listaccount: listaccount_zh_CN,
productpricelevel: productpricelevel_zh_CN,
fax: fax_zh_CN,
productsubstitute: productsubstitute_zh_CN,
quote: quote_zh_CN,
campaignactivity: campaignactivity_zh_CN,
listlead: listlead_zh_CN,
......@@ -190,6 +195,7 @@ export default {
salesorder: salesorder_zh_CN,
quotedetail: quotedetail_zh_CN,
productsalesliterature: productsalesliterature_zh_CN,
discounttype: discounttype_zh_CN,
subject: subject_zh_CN,
},
components: components_zh_CN,
......
......@@ -63,6 +63,13 @@ export default {
"1": "默认值",
"empty": ""
},
Productsubstitute__SalesRelationshipType: {
"1": "交叉销售",
"3": "替代品",
"0": "追加销售",
"2": "配件",
"empty": ""
},
Lead__PurchaseTimeFrame: {
"2": "下一季度",
"3": "今年",
......@@ -166,6 +173,11 @@ export default {
"5": "邮递",
"empty": ""
},
Productsubstitute__Direction: {
"0": "单向",
"1": "双向",
"empty": ""
},
Contact__StateCode: {
"1": "停用",
"0": "可用",
......@@ -292,6 +304,15 @@ export default {
"16": "金融业",
"empty": ""
},
Productpricelevel__PricingMethodCode: {
"2": "定价百分比",
"5": "成本加成百分比 - 标准成本",
"3": "成本加成百分比 – 当前成本",
"1": "货币金额",
"4": "边际百分比 – 当前成本",
"6": "边际百分比 – 标准成本",
"empty": ""
},
Account__Address1_ShippingMethodCode: {
"2": "DHL",
"3": "FedEx",
......@@ -302,6 +323,12 @@ export default {
"5": "邮递",
"empty": ""
},
Productpricelevel__QuantitySellingCode: {
"2": "整数",
"3": "整数和小数",
"1": "无控制",
"empty": ""
},
Activitypointer__PriorityCode: {
"0": "低",
"1": "正常",
......
......@@ -63,6 +63,13 @@ export default {
"1": "默认值",
"empty": "",
},
Productsubstitute__SalesRelationshipType: {
"1": "交叉销售",
"3": "替代品",
"0": "追加销售",
"2": "配件",
"empty": "",
},
Lead__PurchaseTimeFrame: {
"2": "下一季度",
"3": "今年",
......@@ -166,6 +173,11 @@ export default {
"5": "邮递",
"empty": "",
},
Productsubstitute__Direction: {
"0": "单向",
"1": "双向",
"empty": "",
},
Contact__StateCode: {
"1": "停用",
"0": "可用",
......@@ -292,6 +304,15 @@ export default {
"16": "金融业",
"empty": "",
},
Productpricelevel__PricingMethodCode: {
"2": "定价百分比",
"5": "成本加成百分比 - 标准成本",
"3": "成本加成百分比 – 当前成本",
"1": "货币金额",
"4": "边际百分比 – 当前成本",
"6": "边际百分比 – 标准成本",
"empty": "",
},
Account__Address1_ShippingMethodCode: {
"2": "DHL",
"3": "FedEx",
......@@ -302,6 +323,12 @@ export default {
"5": "邮递",
"empty": "",
},
Productpricelevel__QuantitySellingCode: {
"2": "整数",
"3": "整数和小数",
"1": "无控制",
"empty": "",
},
Activitypointer__PriorityCode: {
"0": "低",
"1": "正常",
......
......@@ -676,8 +676,8 @@ export default {
tip: "",
},
deuiaction4: {
caption: "编辑",
tip: "编辑",
caption: "Edit",
tip: "Edit {0}",
},
seperator4: {
caption: "",
......
......@@ -138,10 +138,6 @@ export default {
caption: "电话联络",
tip: "电话联络",
},
deuiaction1: {
caption: "Filter",
tip: "Filter",
},
tbitem4: {
caption: "Edit",
tip: "Edit {0}",
......@@ -154,6 +150,14 @@ export default {
caption: "Remove",
tip: "Remove {0}",
},
seperator1: {
caption: "",
tip: "",
},
deuiaction1: {
caption: "Filter",
tip: "Filter",
},
},
editviewtoolbar_toolbar: {
tbitem3: {
......@@ -214,10 +218,6 @@ export default {
caption: "电话联络",
tip: "电话联络",
},
deuiaction1: {
caption: "Filter",
tip: "Filter",
},
tbitem4: {
caption: "Edit",
tip: "Edit {0}",
......@@ -230,5 +230,13 @@ export default {
caption: "Remove",
tip: "Remove {0}",
},
seperator1: {
caption: "",
tip: "",
},
deuiaction1: {
caption: "Filter",
tip: "Filter",
},
},
};
\ No newline at end of file
......@@ -137,10 +137,6 @@ export default {
caption: "电话联络",
tip: "电话联络",
},
deuiaction1: {
caption: "过滤",
tip: "过滤",
},
tbitem4: {
caption: "编辑",
tip: "编辑",
......@@ -153,6 +149,14 @@ export default {
caption: "删除",
tip: "删除",
},
seperator1: {
caption: "",
tip: "",
},
deuiaction1: {
caption: "过滤",
tip: "过滤",
},
},
editviewtoolbar_toolbar: {
tbitem3: {
......@@ -213,10 +217,6 @@ export default {
caption: "电话联络",
tip: "电话联络",
},
deuiaction1: {
caption: "过滤",
tip: "过滤",
},
tbitem4: {
caption: "编辑",
tip: "编辑",
......@@ -229,5 +229,13 @@ export default {
caption: "删除",
tip: "删除",
},
seperator1: {
caption: "",
tip: "",
},
deuiaction1: {
caption: "过滤",
tip: "过滤",
},
},
};
\ No newline at end of file
......@@ -95,8 +95,8 @@ export default {
},
editviewtoolbar_toolbar: {
deuiaction4: {
caption: "编辑",
tip: "编辑",
caption: "Edit",
tip: "Edit {0}",
},
seperator4: {
caption: "",
......
......@@ -341,8 +341,8 @@ export default {
},
infotoolbar_toolbar: {
deuiaction4: {
caption: "编辑",
tip: "编辑",
caption: "Edit",
tip: "Edit {0}",
},
seperator4: {
caption: "",
......@@ -371,8 +371,8 @@ export default {
},
summary_headtoolbar_toolbar: {
deuiaction4: {
caption: "编辑",
tip: "编辑",
caption: "Edit",
tip: "Edit {0}",
},
seperator4: {
caption: "",
......
......@@ -586,8 +586,8 @@ export default {
},
infotoolbar_toolbar: {
deuiaction4: {
caption: "编辑",
tip: "编辑",
caption: "Edit",
tip: "Edit {0}",
},
seperator4: {
caption: "",
......
export default {
fields: {
timezoneruleversionnumber: "Time Zone Rule Version Number",
statuscode: "状态描述",
discounttypeid: "折扣表",
createdate: "建立时间",
updateman: "更新人",
amounttype: "类型",
versionnumber: "Version Number",
createman: "建立人",
discounttypename: "折扣类型名称",
updatedate: "更新时间",
description: "说明",
utcconversiontimezonecode: "UTC Conversion Time Zone Code",
overriddencreatedon: "Record Created On",
importsequencenumber: "Import Sequence Number",
statecode: "状态",
transactioncurrencyid: "货币",
},
views: {
pickupgridview: {
caption: "折扣表",
title: "折扣表选择表格视图",
},
pickupview: {
caption: "折扣表",
title: "折扣表数据选择视图",
},
},
main_grid: {
columns: {
discounttypename: "折扣类型名称",
updateman: "更新人",
updatedate: "更新时间",
},
uiactions: {
},
},
default_searchform: {
details: {
formpage1: "常规条件",
},
uiactions: {
},
},
};
\ No newline at end of file
export default {
fields: {
timezoneruleversionnumber: "Time Zone Rule Version Number",
statuscode: "状态描述",
discounttypeid: "折扣表",
createdate: "建立时间",
updateman: "更新人",
amounttype: "类型",
versionnumber: "Version Number",
createman: "建立人",
discounttypename: "折扣类型名称",
updatedate: "更新时间",
description: "说明",
utcconversiontimezonecode: "UTC Conversion Time Zone Code",
overriddencreatedon: "Record Created On",
importsequencenumber: "Import Sequence Number",
statecode: "状态",
transactioncurrencyid: "货币",
},
views: {
pickupgridview: {
caption: "折扣表",
title: "折扣表选择表格视图",
},
pickupview: {
caption: "折扣表",
title: "折扣表数据选择视图",
},
},
main_grid: {
columns: {
discounttypename: "折扣类型名称",
updateman: "更新人",
updatedate: "更新时间",
},
uiactions: {
},
},
default_searchform: {
details: {
formpage1: "常规条件",
},
uiactions: {
},
},
};
\ No newline at end of file
......@@ -411,8 +411,8 @@ export default {
},
infotoolbar_toolbar: {
deuiaction4: {
caption: "编辑",
tip: "编辑",
caption: "Edit",
tip: "Edit {0}",
},
seperator4: {
caption: "",
......
......@@ -92,8 +92,8 @@ export default {
},
editviewtoolbar_toolbar: {
deuiaction4: {
caption: "编辑",
tip: "编辑",
caption: "Edit",
tip: "Edit {0}",
},
seperator4: {
caption: "",
......
......@@ -83,8 +83,8 @@ export default {
},
editviewtoolbar_toolbar: {
deuiaction4: {
caption: "编辑",
tip: "编辑",
caption: "Edit",
tip: "Edit {0}",
},
seperator4: {
caption: "",
......
......@@ -103,8 +103,8 @@ export default {
},
editviewtoolbar_toolbar: {
deuiaction4: {
caption: "编辑",
tip: "编辑",
caption: "Edit",
tip: "Edit {0}",
},
seperator4: {
caption: "",
......
......@@ -350,8 +350,8 @@ export default {
tip: "",
},
deuiaction4: {
caption: "编辑",
tip: "编辑",
caption: "Edit",
tip: "Edit {0}",
},
seperator4: {
caption: "",
......
export default {
fields: {
updatedate: "更新时间",
quantity: "数量",
updateman: "更新人",
utcconversiontimezonecode: "UTC Conversion Time Zone Code",
versionnumber: "Version Number",
propertycustomizationstatus: "属性自定义",
importsequencenumber: "Import Sequence Number",
timezoneruleversionnumber: "Time Zone Rule Version Number",
productisrequired: "必填",
dmtimportstate: "仅供内部使用",
statuscode: "状态描述",
productassociationid: "产品关联 ID",
exchangerate: "汇率",
overriddencreatedon: "Record Created On",
createdate: "建立时间",
createman: "建立人",
statecode: "状态",
productid: "产品",
uomid: "计价单位",
transactioncurrencyid: "货币",
associatedproduct: "关联的产品",
associatedproductname: "关联的产品",
productname: "产品名称",
currencyname: "货币名称",
uomname: "计量单位",
},
views: {
editview: {
caption: "产品关联",
title: "产品关联编辑视图",
},
gridview: {
caption: "产品关联",
title: "产品关联表格视图",
},
},
main_form: {
details: {
group1: "productassociation基本信息",
formpage1: "基本信息",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "产品关联 ID",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
productid: "产品",
associatedproductname: "关联的产品",
quantity: "数量",
uomname: "计量单位",
associatedproduct: "关联的产品",
productassociationid: "产品关联 ID",
uomid: "计价单位",
},
uiactions: {
},
},
main_grid: {
columns: {
associatedproductname: "关联的产品",
quantity: "数量",
uomname: "计量单位",
},
uiactions: {
},
},
default_searchform: {
details: {
formpage1: "常规条件",
},
uiactions: {
},
},
editviewtoolbar_toolbar: {
tbitem1: {
caption: "Save And Close",
tip: "Save And Close Window",
},
tbitem2: {
caption: "关闭",
tip: "关闭",
},
},
gridviewtoolbar_toolbar: {
deuiaction1: {
caption: "New",
tip: "New",
},
tbitem2: {
caption: "-",
tip: "",
},
tbitem4: {
caption: "Edit",
tip: "Edit {0}",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "Remove",
tip: "Remove {0}",
},
tbitem9: {
caption: "-",
tip: "",
},
tbitem13: {
caption: "Export",
tip: "Export {0} Data To Excel",
},
tbitem10: {
caption: "-",
tip: "",
},
tbitem19: {
caption: "Filter",
tip: "Filter",
},
},
};
\ No newline at end of file
export default {
fields: {
updatedate: "更新时间",
quantity: "数量",
updateman: "更新人",
utcconversiontimezonecode: "UTC Conversion Time Zone Code",
versionnumber: "Version Number",
propertycustomizationstatus: "属性自定义",
importsequencenumber: "Import Sequence Number",
timezoneruleversionnumber: "Time Zone Rule Version Number",
productisrequired: "必填",
dmtimportstate: "仅供内部使用",
statuscode: "状态描述",
productassociationid: "产品关联 ID",
exchangerate: "汇率",
overriddencreatedon: "Record Created On",
createdate: "建立时间",
createman: "建立人",
statecode: "状态",
productid: "产品",
uomid: "计价单位",
transactioncurrencyid: "货币",
associatedproduct: "关联的产品",
associatedproductname: "关联的产品",
productname: "产品名称",
currencyname: "货币名称",
uomname: "计量单位",
},
views: {
editview: {
caption: "产品关联",
title: "产品关联编辑视图",
},
gridview: {
caption: "产品关联",
title: "产品关联表格视图",
},
},
main_form: {
details: {
group1: "productassociation基本信息",
formpage1: "基本信息",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "产品关联 ID",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
productid: "产品",
associatedproductname: "关联的产品",
quantity: "数量",
uomname: "计量单位",
associatedproduct: "关联的产品",
productassociationid: "产品关联 ID",
uomid: "计价单位",
},
uiactions: {
},
},
main_grid: {
columns: {
associatedproductname: "关联的产品",
quantity: "数量",
uomname: "计量单位",
},
uiactions: {
},
},
default_searchform: {
details: {
formpage1: "常规条件",
},
uiactions: {
},
},
editviewtoolbar_toolbar: {
tbitem1: {
caption: "保存并关闭",
tip: "保存并关闭",
},
tbitem2: {
caption: "关闭",
tip: "关闭",
},
},
gridviewtoolbar_toolbar: {
deuiaction1: {
caption: "新建",
tip: "新建",
},
tbitem2: {
caption: "-",
tip: "",
},
tbitem4: {
caption: "编辑",
tip: "编辑",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "删除",
tip: "删除",
},
tbitem9: {
caption: "-",
tip: "",
},
tbitem13: {
caption: "导出",
tip: "导出",
},
tbitem10: {
caption: "-",
tip: "",
},
tbitem19: {
caption: "过滤",
tip: "过滤",
},
},
};
\ No newline at end of file
......@@ -32,9 +32,115 @@ export default {
uomid: "计价单位",
discounttypeid: "折扣表",
pricelevelid: "价目表",
pricelevelname: "价格水平名称",
pricelevelname: "价目表",
productname: "产品名称",
uomname: "计量单位",
discounttypename: "折扣类型名称",
discounttypename: "折扣表",
uomschedulename: "计量单位组",
currencyname: "货币",
},
views: {
proprilveditview: {
caption: "价目表项",
title: "产品价目表项",
},
proprilvgridview: {
caption: "价目表项",
title: "产品价目表项",
},
},
proprilv_form: {
details: {
group1: "价目表项基本信息",
formpage1: "基本信息",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "产品价目表",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
productname: "产品名称",
pricelevelname: "价目表",
uomname: "计量单位",
currencyname: "货币",
discounttypename: "折扣表",
quantitysellingcode: "销售数量控制",
pricingmethodcode: "定价方式",
amount: "金额",
productid: "产品",
transactioncurrencyid: "货币",
uomid: "计价单位",
discounttypeid: "折扣表",
pricelevelid: "价目表",
productpricelevelid: "产品价目表",
},
uiactions: {
},
},
main_grid: {
columns: {
pricelevelname: "价目表",
uomname: "计量单位",
pricingmethodcode: "定价方式",
amount: "金额",
},
uiactions: {
},
},
default_searchform: {
details: {
formpage1: "常规条件",
},
uiactions: {
},
},
proprilveditviewtoolbar_toolbar: {
tbitem1: {
caption: "Save And Close",
tip: "Save And Close Window",
},
tbitem2: {
caption: "关闭",
tip: "关闭",
},
},
proprilvgridviewtoolbar_toolbar: {
deuiaction1: {
caption: "New",
tip: "New",
},
tbitem2: {
caption: "-",
tip: "",
},
tbitem4: {
caption: "Edit",
tip: "Edit {0}",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "Remove",
tip: "Remove {0}",
},
tbitem9: {
caption: "-",
tip: "",
},
tbitem13: {
caption: "Export",
tip: "Export {0} Data To Excel",
},
tbitem10: {
caption: "-",
tip: "",
},
tbitem19: {
caption: "Filter",
tip: "Filter",
},
},
};
\ No newline at end of file
......@@ -31,9 +31,115 @@ export default {
uomid: "计价单位",
discounttypeid: "折扣表",
pricelevelid: "价目表",
pricelevelname: "价格水平名称",
pricelevelname: "价目表",
productname: "产品名称",
uomname: "计量单位",
discounttypename: "折扣类型名称",
discounttypename: "折扣表",
uomschedulename: "计量单位组",
currencyname: "货币",
},
views: {
proprilveditview: {
caption: "价目表项",
title: "产品价目表项",
},
proprilvgridview: {
caption: "价目表项",
title: "产品价目表项",
},
},
proprilv_form: {
details: {
group1: "价目表项基本信息",
formpage1: "基本信息",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "产品价目表",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
productname: "产品名称",
pricelevelname: "价目表",
uomname: "计量单位",
currencyname: "货币",
discounttypename: "折扣表",
quantitysellingcode: "销售数量控制",
pricingmethodcode: "定价方式",
amount: "金额",
productid: "产品",
transactioncurrencyid: "货币",
uomid: "计价单位",
discounttypeid: "折扣表",
pricelevelid: "价目表",
productpricelevelid: "产品价目表",
},
uiactions: {
},
},
main_grid: {
columns: {
pricelevelname: "价目表",
uomname: "计量单位",
pricingmethodcode: "定价方式",
amount: "金额",
},
uiactions: {
},
},
default_searchform: {
details: {
formpage1: "常规条件",
},
uiactions: {
},
},
proprilveditviewtoolbar_toolbar: {
tbitem1: {
caption: "保存并关闭",
tip: "保存并关闭",
},
tbitem2: {
caption: "关闭",
tip: "关闭",
},
},
proprilvgridviewtoolbar_toolbar: {
deuiaction1: {
caption: "新建",
tip: "新建",
},
tbitem2: {
caption: "-",
tip: "",
},
tbitem4: {
caption: "编辑",
tip: "编辑",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "删除",
tip: "删除",
},
tbitem9: {
caption: "-",
tip: "",
},
tbitem13: {
caption: "导出",
tip: "导出",
},
tbitem10: {
caption: "-",
tip: "",
},
tbitem19: {
caption: "过滤",
tip: "过滤",
},
},
};
\ No newline at end of file
export default {
fields: {
productsubstitutename: "产品子套件名称",
statuscode: "状态描述",
versionnumber: "Version Number",
createman: "建立人",
updateman: "更新人",
importsequencenumber: "Import Sequence Number",
exchangerate: "汇率",
utcconversiontimezonecode: "UTC Conversion Time Zone Code",
overriddencreatedon: "Record Created On",
createdate: "建立时间",
direction: "方向",
salesrelationshiptype: "销售关系类型",
timezoneruleversionnumber: "Time Zone Rule Version Number",
productsubstituteid: "产品关系 ID",
statecode: "状态",
updatedate: "更新时间",
productid: "产品",
substitutedproductid: "相关产品",
transactioncurrencyid: "货币",
productname: "产品",
substitutedproductname: "相关产品",
currencyname: "货币",
},
views: {
editview: {
caption: "产品替换",
title: "产品关系编辑视图",
},
gridview: {
caption: "产品替换",
title: "产品关系表格视图",
},
},
main_form: {
details: {
group1: "productsubstitute基本信息",
formpage1: "基本信息",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "产品关系 ID",
srfmajortext: "产品子套件名称",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
productid: "产品",
substitutedproductname: "相关产品",
salesrelationshiptype: "销售关系类型",
direction: "方向",
substitutedproductid: "相关产品",
productsubstituteid: "产品关系 ID",
},
uiactions: {
},
},
main_grid: {
columns: {
substitutedproductname: "相关产品",
salesrelationshiptype: "销售关系类型",
direction: "方向",
},
uiactions: {
},
},
default_searchform: {
details: {
formpage1: "常规条件",
},
uiactions: {
},
},
editviewtoolbar_toolbar: {
tbitem1: {
caption: "Save And Close",
tip: "Save And Close Window",
},
tbitem2: {
caption: "关闭",
tip: "关闭",
},
},
gridviewtoolbar_toolbar: {
deuiaction1: {
caption: "New",
tip: "New",
},
tbitem2: {
caption: "-",
tip: "",
},
tbitem4: {
caption: "Edit",
tip: "Edit {0}",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "Remove",
tip: "Remove {0}",
},
tbitem9: {
caption: "-",
tip: "",
},
tbitem13: {
caption: "Export",
tip: "Export {0} Data To Excel",
},
tbitem10: {
caption: "-",
tip: "",
},
tbitem19: {
caption: "Filter",
tip: "Filter",
},
},
};
\ No newline at end of file
export default {
fields: {
productsubstitutename: "产品子套件名称",
statuscode: "状态描述",
versionnumber: "Version Number",
createman: "建立人",
updateman: "更新人",
importsequencenumber: "Import Sequence Number",
exchangerate: "汇率",
utcconversiontimezonecode: "UTC Conversion Time Zone Code",
overriddencreatedon: "Record Created On",
createdate: "建立时间",
direction: "方向",
salesrelationshiptype: "销售关系类型",
timezoneruleversionnumber: "Time Zone Rule Version Number",
productsubstituteid: "产品关系 ID",
statecode: "状态",
updatedate: "更新时间",
productid: "产品",
substitutedproductid: "相关产品",
transactioncurrencyid: "货币",
productname: "产品",
substitutedproductname: "相关产品",
currencyname: "货币",
},
views: {
editview: {
caption: "产品替换",
title: "产品关系编辑视图",
},
gridview: {
caption: "产品替换",
title: "产品关系表格视图",
},
},
main_form: {
details: {
group1: "productsubstitute基本信息",
formpage1: "基本信息",
srfupdatedate: "更新时间",
srforikey: "",
srfkey: "产品关系 ID",
srfmajortext: "产品子套件名称",
srftempmode: "",
srfuf: "",
srfdeid: "",
srfsourcekey: "",
productid: "产品",
substitutedproductname: "相关产品",
salesrelationshiptype: "销售关系类型",
direction: "方向",
substitutedproductid: "相关产品",
productsubstituteid: "产品关系 ID",
},
uiactions: {
},
},
main_grid: {
columns: {
substitutedproductname: "相关产品",
salesrelationshiptype: "销售关系类型",
direction: "方向",
},
uiactions: {
},
},
default_searchform: {
details: {
formpage1: "常规条件",
},
uiactions: {
},
},
editviewtoolbar_toolbar: {
tbitem1: {
caption: "保存并关闭",
tip: "保存并关闭",
},
tbitem2: {
caption: "关闭",
tip: "关闭",
},
},
gridviewtoolbar_toolbar: {
deuiaction1: {
caption: "新建",
tip: "新建",
},
tbitem2: {
caption: "-",
tip: "",
},
tbitem4: {
caption: "编辑",
tip: "编辑",
},
tbitem7: {
caption: "-",
tip: "",
},
tbitem8: {
caption: "删除",
tip: "删除",
},
tbitem9: {
caption: "-",
tip: "",
},
tbitem13: {
caption: "导出",
tip: "导出",
},
tbitem10: {
caption: "-",
tip: "",
},
tbitem19: {
caption: "过滤",
tip: "过滤",
},
},
};
\ No newline at end of file
......@@ -63,6 +63,10 @@ export default {
subjectname: "主题",
},
views: {
infoview: {
caption: "产品",
title: "产品信息",
},
info_proinfo: {
caption: "产品",
title: "产品编辑视图",
......@@ -85,7 +89,7 @@ export default {
},
gridview: {
caption: "产品",
title: "产品表格视图",
title: "产品信息",
},
pickupview: {
caption: "产品",
......
......@@ -62,6 +62,10 @@ export default {
subjectname: "主题",
},
views: {
infoview: {
caption: "产品",
title: "产品信息",
},
info_proinfo: {
caption: "产品",
title: "产品编辑视图",
......@@ -84,7 +88,7 @@ export default {
},
gridview: {
caption: "产品",
title: "产品表格视图",
title: "产品信息",
},
pickupview: {
caption: "产品",
......
......@@ -463,6 +463,53 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
},
]
},
{
srfkey: "Productsubstitute__SalesRelationshipType",
emptytext: "未定义",
"codelisttype":"static",
items: [
{
id: "1",
label: "交叉销售",
text: "交叉销售",
"data":"",
"codename":"Item_1",
value: "1",
disabled: false,
},
{
id: "3",
label: "替代品",
text: "替代品",
"data":"",
"codename":"Item_3",
value: "3",
disabled: false,
},
{
id: "0",
label: "追加销售",
text: "追加销售",
"data":"",
"codename":"Item_0",
value: "0",
disabled: false,
},
{
id: "2",
label: "配件",
text: "配件",
"data":"",
"codename":"Item_2",
value: "2",
disabled: false,
},
]
},
{
srfkey: "Lead__PurchaseTimeFrame",
emptytext: "未定义",
......@@ -1195,6 +1242,33 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
},
]
},
{
srfkey: "Productsubstitute__Direction",
emptytext: "未定义",
"codelisttype":"static",
items: [
{
id: "0",
label: "单向",
text: "单向",
"data":"",
"codename":"Item_0",
value: "0",
disabled: false,
},
{
id: "1",
label: "双向",
text: "双向",
"data":"",
"codename":"Item_1",
value: "1",
disabled: false,
},
]
},
{
srfkey: "Contact__StateCode",
emptytext: "未定义",
......@@ -2179,6 +2253,73 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
},
]
},
{
srfkey: "Productpricelevel__PricingMethodCode",
emptytext: "未定义",
"codelisttype":"static",
items: [
{
id: "2",
label: "定价百分比",
text: "定价百分比",
"data":"",
"codename":"Item_2",
value: "2",
disabled: false,
},
{
id: "5",
label: "成本加成百分比 - 标准成本",
text: "成本加成百分比 - 标准成本",
"data":"",
"codename":"Item_5",
value: "5",
disabled: false,
},
{
id: "3",
label: "成本加成百分比 – 当前成本",
text: "成本加成百分比 – 当前成本",
"data":"",
"codename":"Item_3",
value: "3",
disabled: false,
},
{
id: "1",
label: "货币金额",
text: "货币金额",
"data":"",
"codename":"Item_1",
value: "1",
disabled: false,
},
{
id: "4",
label: "边际百分比 – 当前成本",
text: "边际百分比 – 当前成本",
"data":"",
"codename":"Item_4",
value: "4",
disabled: false,
},
{
id: "6",
label: "边际百分比 – 标准成本",
text: "边际百分比 – 标准成本",
"data":"",
"codename":"Item_6",
value: "6",
disabled: false,
},
]
},
{
srfkey: "Account__Address1_ShippingMethodCode",
emptytext: "未定义",
......@@ -2256,6 +2397,43 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
},
]
},
{
srfkey: "Productpricelevel__QuantitySellingCode",
emptytext: "未定义",
"codelisttype":"static",
items: [
{
id: "2",
label: "整数",
text: "整数",
"data":"",
"codename":"Item_2",
value: "2",
disabled: false,
},
{
id: "3",
label: "整数和小数",
text: "整数和小数",
"data":"",
"codename":"Item_3",
value: "3",
disabled: false,
},
{
id: "1",
label: "无控制",
text: "无控制",
"data":"",
"codename":"Item_1",
value: "1",
disabled: false,
},
]
},
{
srfkey: "Activitypointer__PriorityCode",
emptytext: "未定义",
......
......@@ -32,11 +32,13 @@ import './entity/sales-order-details/sales-order-details';
import './entity/list-contacts/list-contacts';
import './entity/appointments/appointments';
import './entity/campaign-campaigns/campaign-campaigns';
import './entity/product-associations/product-associations';
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/product-substitutes/product-substitutes';
import './entity/quotes/quotes';
import './entity/campaign-activitys/campaign-activitys';
import './entity/list-leads/list-leads';
......@@ -50,4 +52,5 @@ import './entity/accounts/accounts';
import './entity/sales-orders/sales-orders';
import './entity/quote-details/quote-details';
import './entity/product-sales-literatures/product-sales-literatures';
import './entity/discount-types/discount-types';
import './entity/subjects/subjects';
......@@ -7,7 +7,15 @@ import Mock from 'mockjs'
mock.onGet('./assets/json/view-config.json').reply((config: any) => {
let status = MockAdapter.mockStatus(config);
return [status,{
"salesliteraturesummaryview": {
"productsubstituteeditview": {
"title": "产品关系编辑视图",
"caption": "产品替换",
"viewtype": "DEEDITVIEW",
"viewmodule": "Product",
"viewname": "ProductSubstituteEditView",
"viewtag": "00b46653e7146942634692ebe4fb43eb"
},
"salesliteraturesummaryview": {
"title": "销售宣传资料数据看板视图",
"caption": "销售宣传资料",
"viewtype": "DEPORTALVIEW",
......@@ -79,6 +87,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "IBizListOptionView",
"viewtag": "0707e5c30c6ebfff55c733f4185d212e"
},
"productassociationeditview": {
"title": "产品关联编辑视图",
"caption": "产品关联",
"viewtype": "DEEDITVIEW",
"viewmodule": "Product",
"viewname": "ProductAssociationEditView",
"viewtag": "070af269c3f5741163950bc770637f18"
},
"campaigninfo_head": {
"title": "头信息",
"caption": "头信息",
......@@ -135,6 +151,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "CampaignResponseByParentKey",
"viewtag": "10c5d33db64f3a1bda18c7571a679438"
},
"productassociationgridview": {
"title": "产品关联表格视图",
"caption": "产品关联",
"viewtype": "DEGRIDVIEW",
"viewmodule": "Product",
"viewname": "ProductAssociationGridView",
"viewtag": "126557fa1bd6d770b471b1c9d211f07c"
},
"quotegridview": {
"title": "报价单信息",
"caption": "报价单",
......@@ -215,6 +239,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "AccountInfo_Account",
"viewtag": "1d3b94223a5d3f8ab1d2fe334c8c4afd"
},
"productpricelevelproprilveditview": {
"title": "产品价目表项",
"caption": "价目表项",
"viewtype": "DEEDITVIEW",
"viewmodule": "Product",
"viewname": "ProductPriceLevelProPrilvEditView",
"viewtag": "2100f4eccfde24bb1307d636c396d51f"
},
"contactinfo_person": {
"title": "联系人编辑视图",
"caption": "联系人",
......@@ -271,6 +303,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "QuoteSummary",
"viewtag": "2ac0427fe43e02ce2aade11aad712eb5"
},
"productinfoview": {
"title": "产品信息",
"caption": "产品",
"viewtype": "DETABEXPVIEW",
"viewmodule": "Product",
"viewname": "ProductInfoView",
"viewtag": "2ac7842ebbc9cb4c0d523ffaf94df3db"
},
"contactinfo_book": {
"title": "联系人编辑视图",
"caption": "联系人",
......@@ -295,6 +335,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "ListLeadByList",
"viewtag": "2c6be792e84450585986e22f75dffa52"
},
"discounttypepickupgridview": {
"title": "折扣表选择表格视图",
"caption": "折扣表",
"viewtype": "DEPICKUPGRIDVIEW",
"viewmodule": "Sales",
"viewname": "DiscountTypePickupGridView",
"viewtag": "2d955c4717c71ba3a811efa464f1b9f4"
},
"leadeditview": {
"title": "潜在顾客编辑视图",
"caption": "潜在顾客",
......@@ -375,6 +423,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "CompetitorInfo_Abstract",
"viewtag": "3b3a9dc75518028c6577a3634f853bdc"
},
"productpricelevelproprilvgridview": {
"title": "产品价目表项",
"caption": "价目表项",
"viewtype": "DEGRIDVIEW",
"viewmodule": "Product",
"viewname": "ProductPriceLevelProPrilvGridView",
"viewtag": "3c8bbe79d569f27ef675664d32a91c0d"
},
"contactinfo_abstract": {
"title": "联系人编辑视图",
"caption": "联系人",
......@@ -855,6 +911,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "ListLeadQuickCreateByList",
"viewtag": "8d3e0363ae4532310000143fd6d61aae"
},
"productsubstitutegridview": {
"title": "产品关系表格视图",
"caption": "产品替换",
"viewtype": "DEGRIDVIEW",
"viewmodule": "Product",
"viewname": "ProductSubstituteGridView",
"viewtag": "90289db866d87ff28979dfdfd2ce583d"
},
"salesliteraturegridview": {
"title": "销售宣传资料信息",
"caption": "销售宣传资料",
......@@ -1015,6 +1079,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "OpportunityQuickCreate",
"viewtag": "a243cd62accb02ceba4fb128703128f0"
},
"discounttypepickupview": {
"title": "折扣表数据选择视图",
"caption": "折扣表",
"viewtype": "DEPICKUPVIEW",
"viewmodule": "Sales",
"viewname": "DiscountTypePickupView",
"viewtag": "a417dead23bae1ec249aef3b3f313c93"
},
"appointmenteditview": {
"title": "约会编辑视图",
"caption": "约会",
......@@ -1152,7 +1224,7 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewtag": "b153b539b40b2ff7a9d81b6c0329cf25"
},
"productgridview": {
"title": "产品表格视图",
"title": "产品信息",
"caption": "产品",
"viewtype": "DEGRIDVIEW",
"viewmodule": "Product",
......
......@@ -67,7 +67,7 @@ export class AccountInfoBase extends TabExpViewBase {
tbitem1_openmaineditview: { name: 'tbitem1_openmaineditview', caption: '编辑','isShowCaption':true,'isShowIcon':true, tooltip: '编辑', iconcls: 'fa fa-edit', icon: '', disabled: false, type: 'DEUIACTION', visabled: true, dataaccaction: '', uiaction: { tag: 'OpenMainEditView', target: 'SINGLEKEY' }, class: '' },
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: '' },
deuiaction4: { name: 'deuiaction4', caption: '编辑','isShowCaption':true,'isShowIcon':true, tooltip: '编辑', iconcls: 'fa fa-edit', icon: '', disabled: false, type: 'DEUIACTION', visabled: true, dataaccaction: '', uiaction: { tag: 'Edit', target: 'SINGLEKEY' }, class: '' },
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: '' },
......@@ -193,7 +193,7 @@ export class AccountInfoBase extends TabExpViewBase {
datas = [params];
}
// 界面行为
this.OpenEditMode(datas, contextJO,paramJO, $event, xData,this,"Account");
this.Edit(datas, contextJO,paramJO, $event, xData,this,"Account");
}
/**
......@@ -281,69 +281,28 @@ export class AccountInfoBase extends TabExpViewBase {
* 编辑
*
* @param {any[]} args 当前数据
* @param {any} context 行为附加上下文
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @param {*} [srfParentDeName] 父实体名称
* @returns {Promise<any>}
* @memberof AccountInfoBase
*/
public async OpenEditMode(args: any[], context:any = {} ,params: any={}, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
xData = $event;
$event = params;
params = context;
let context2: any = {};
let data: any = {};
let parentContext:any = {};
let parentViewParam:any = {};
const _args: any[] = this.$util.deepCopy(args);
const _this: any = this;
const actionTarget: string | null = 'SINGLEKEY';
Object.assign(context2, { res_partner: '%id%' });
Object.assign(params, { id: '%id%' });
Object.assign(params, { name: '%name%' })
if(actionContext.context){
parentContext = actionContext.context;
public Edit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
if (args.length === 0) {
return;
}
if(actionContext.viewparams){
parentViewParam = actionContext.viewparams;
}
context = UIActionTool.handleContextParam(actionTarget,_args,parentContext,parentViewParam,context);
data = UIActionTool.handleActionParam(actionTarget,_args,parentContext,parentViewParam,params);
Object.assign(context,this.context,context);
if(context && context.srfsessionid){
context.srfsessionkey = context.srfsessionid;
delete context.srfsessionid;
}
const parameters: any[] = [
{ pathName: 'res_partners', parameterName: 'res_partner' },
];
const openDrawer = (view: any, data: any) => {
let container: Subject<any> = this.$appdrawer.openDrawer(view, context,data);
container.subscribe((result: any) => {
if (!result || !Object.is(result.ret, 'OK')) {
return;
}
const _this: any = this;
if (xData && xData.refresh && xData.refresh instanceof Function) {
xData.refresh(args);
}
return result.datas;
});
const _this: any = this;
if (_this.opendata && _this.opendata instanceof Function) {
const data: any = { };
if (args.length > 0) {
Object.assign(data, { account: args[0].account })
}
_this.opendata([{ ...data }], params, $event, xData);
} else {
_this.$Notice.error({ title: '错误', desc: 'opendata 视图处理逻辑不存在,请添加!' });
}
const view: any = {
viewname: 'account-info-edit-mode',
height: 0,
width: 0,
title: '客户信息',
placement: 'DRAWER_TOP',
};
openDrawer(view, data);
}
/**
* 删除并关闭
*
......
......@@ -81,8 +81,6 @@ export class ActivityPointerByParentKeyBase extends GridViewBase {
deuiaction5: { name: 'deuiaction5', caption: '电话联络','isShowCaption':true,'isShowIcon':true, tooltip: '电话联络', disabled: false, type: 'DEUIACTION', visabled: true, dataaccaction: '', uiaction: { tag: 'Create', target: 'NONE' }, class: '' },
deuiaction1: { name: 'deuiaction1', caption: '过滤','isShowCaption':true,'isShowIcon':true, tooltip: '过滤', iconcls: 'fa fa-filter', icon: '', disabled: false, type: 'DEUIACTION', visabled: true, dataaccaction: '', uiaction: { tag: 'ToggleFilter', target: '' }, class: '' },
}
},
tbitem4: { name: 'tbitem4', caption: '编辑','isShowCaption':true,'isShowIcon':true, tooltip: '编辑', iconcls: 'fa fa-edit', icon: '', disabled: false, type: 'DEUIACTION', visabled: true, dataaccaction: '', uiaction: { tag: 'Edit', target: 'SINGLEKEY' }, class: '' },
......@@ -90,6 +88,9 @@ export class ActivityPointerByParentKeyBase extends GridViewBase {
tbitem26: { name: 'tbitem26', type: 'SEPERATOR', visabled: true, dataaccaction: '', uiaction: { } },
tbitem8: { name: 'tbitem8', caption: '删除','isShowCaption':true,'isShowIcon':true, tooltip: '删除', iconcls: 'fa fa-remove', icon: '', disabled: false, type: 'DEUIACTION', visabled: true, dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' }, class: '' },
seperator1: { name: 'seperator1', type: 'SEPERATOR', visabled: true, dataaccaction: '', uiaction: { } },
deuiaction1: { name: 'deuiaction1', caption: '过滤','isShowCaption':true,'isShowIcon':true, tooltip: '过滤', iconcls: 'fa fa-filter', icon: '', disabled: false, type: 'DEUIACTION', visabled: true, dataaccaction: '', uiaction: { tag: 'ToggleFilter', target: '' }, class: '' },
};
......@@ -156,15 +157,15 @@ export class ActivityPointerByParentKeyBase extends GridViewBase {
if (Object.is($event.tag, 'deuiaction5')) {
this.toolbar_deuiaction5_click(null, '', $event2);
}
if (Object.is($event.tag, 'deuiaction1')) {
this.toolbar_deuiaction1_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem4')) {
this.toolbar_tbitem4_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem8')) {
this.toolbar_tbitem8_click(null, '', $event2);
}
if (Object.is($event.tag, 'deuiaction1')) {
this.toolbar_deuiaction1_click(null, '', $event2);
}
}
/**
......@@ -379,7 +380,7 @@ export class ActivityPointerByParentKeyBase extends GridViewBase {
* @param {*} [$event]
* @memberof
*/
public toolbar_deuiaction1_click(params: any = {}, tag?: any, $event?: any) {
public toolbar_tbitem4_click(params: any = {}, tag?: any, $event?: any) {
// 参数
// 取数
let datas: any[] = [];
......@@ -396,7 +397,7 @@ export class ActivityPointerByParentKeyBase extends GridViewBase {
datas = [params];
}
// 界面行为
this.ToggleFilter(datas, contextJO,paramJO, $event, xData,this,"ActivityPointer");
this.Edit(datas, contextJO,paramJO, $event, xData,this,"ActivityPointer");
}
/**
......@@ -407,7 +408,7 @@ export class ActivityPointerByParentKeyBase extends GridViewBase {
* @param {*} [$event]
* @memberof
*/
public toolbar_tbitem4_click(params: any = {}, tag?: any, $event?: any) {
public toolbar_tbitem8_click(params: any = {}, tag?: any, $event?: any) {
// 参数
// 取数
let datas: any[] = [];
......@@ -424,7 +425,7 @@ export class ActivityPointerByParentKeyBase extends GridViewBase {
datas = [params];
}
// 界面行为
this.Edit(datas, contextJO,paramJO, $event, xData,this,"ActivityPointer");
this.Remove(datas, contextJO,paramJO, $event, xData,this,"ActivityPointer");
}
/**
......@@ -435,7 +436,7 @@ export class ActivityPointerByParentKeyBase extends GridViewBase {
* @param {*} [$event]
* @memberof
*/
public toolbar_tbitem8_click(params: any = {}, tag?: any, $event?: any) {
public toolbar_deuiaction1_click(params: any = {}, tag?: any, $event?: any) {
// 参数
// 取数
let datas: any[] = [];
......@@ -452,7 +453,7 @@ export class ActivityPointerByParentKeyBase extends GridViewBase {
datas = [params];
}
// 界面行为
this.Remove(datas, contextJO,paramJO, $event, xData,this,"ActivityPointer");
this.ToggleFilter(datas, contextJO,paramJO, $event, xData,this,"ActivityPointer");
}
/**
......@@ -504,23 +505,6 @@ export class ActivityPointerByParentKeyBase extends GridViewBase {
}
/**
* 过滤
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof ActivityPointerByParentKeyBase
*/
public ToggleFilter(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
if (_this.hasOwnProperty('isExpandSearchForm')) {
_this.isExpandSearchForm = !_this.isExpandSearchForm;
}
}
/**
* 编辑
*
......@@ -566,6 +550,23 @@ export class ActivityPointerByParentKeyBase extends GridViewBase {
xData.remove(args);
}
/**
* 过滤
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof ActivityPointerByParentKeyBase
*/
public ToggleFilter(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
if (_this.hasOwnProperty('isExpandSearchForm')) {
_this.isExpandSearchForm = !_this.isExpandSearchForm;
}
}
/**
* 加载快速分组模型
......
......@@ -81,8 +81,6 @@ export class ActivityPointerGridViewBase extends GridViewBase {
deuiaction5: { name: 'deuiaction5', caption: '电话联络','isShowCaption':true,'isShowIcon':true, tooltip: '电话联络', disabled: false, type: 'DEUIACTION', visabled: true, dataaccaction: '', uiaction: { tag: 'Create', target: 'NONE' }, class: '' },
deuiaction1: { name: 'deuiaction1', caption: '过滤','isShowCaption':true,'isShowIcon':true, tooltip: '过滤', iconcls: 'fa fa-filter', icon: '', disabled: false, type: 'DEUIACTION', visabled: true, dataaccaction: '', uiaction: { tag: 'ToggleFilter', target: '' }, class: '' },
}
},
tbitem4: { name: 'tbitem4', caption: '编辑','isShowCaption':true,'isShowIcon':true, tooltip: '编辑', iconcls: 'fa fa-edit', icon: '', disabled: false, type: 'DEUIACTION', visabled: true, dataaccaction: '', uiaction: { tag: 'Edit', target: 'SINGLEKEY' }, class: '' },
......@@ -90,6 +88,9 @@ export class ActivityPointerGridViewBase extends GridViewBase {
tbitem26: { name: 'tbitem26', type: 'SEPERATOR', visabled: true, dataaccaction: '', uiaction: { } },
tbitem8: { name: 'tbitem8', caption: '删除','isShowCaption':true,'isShowIcon':true, tooltip: '删除', iconcls: 'fa fa-remove', icon: '', disabled: false, type: 'DEUIACTION', visabled: true, dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' }, class: '' },
seperator1: { name: 'seperator1', type: 'SEPERATOR', visabled: true, dataaccaction: '', uiaction: { } },
deuiaction1: { name: 'deuiaction1', caption: '过滤','isShowCaption':true,'isShowIcon':true, tooltip: '过滤', iconcls: 'fa fa-filter', icon: '', disabled: false, type: 'DEUIACTION', visabled: true, dataaccaction: '', uiaction: { tag: 'ToggleFilter', target: '' }, class: '' },
};
......@@ -156,15 +157,15 @@ export class ActivityPointerGridViewBase extends GridViewBase {
if (Object.is($event.tag, 'deuiaction5')) {
this.toolbar_deuiaction5_click(null, '', $event2);
}
if (Object.is($event.tag, 'deuiaction1')) {
this.toolbar_deuiaction1_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem4')) {
this.toolbar_tbitem4_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem8')) {
this.toolbar_tbitem8_click(null, '', $event2);
}
if (Object.is($event.tag, 'deuiaction1')) {
this.toolbar_deuiaction1_click(null, '', $event2);
}
}
/**
......@@ -379,7 +380,7 @@ export class ActivityPointerGridViewBase extends GridViewBase {
* @param {*} [$event]
* @memberof
*/
public toolbar_deuiaction1_click(params: any = {}, tag?: any, $event?: any) {
public toolbar_tbitem4_click(params: any = {}, tag?: any, $event?: any) {
// 参数
// 取数
let datas: any[] = [];
......@@ -396,7 +397,7 @@ export class ActivityPointerGridViewBase extends GridViewBase {
datas = [params];
}
// 界面行为
this.ToggleFilter(datas, contextJO,paramJO, $event, xData,this,"ActivityPointer");
this.Edit(datas, contextJO,paramJO, $event, xData,this,"ActivityPointer");
}
/**
......@@ -407,7 +408,7 @@ export class ActivityPointerGridViewBase extends GridViewBase {
* @param {*} [$event]
* @memberof
*/
public toolbar_tbitem4_click(params: any = {}, tag?: any, $event?: any) {
public toolbar_tbitem8_click(params: any = {}, tag?: any, $event?: any) {
// 参数
// 取数
let datas: any[] = [];
......@@ -424,7 +425,7 @@ export class ActivityPointerGridViewBase extends GridViewBase {
datas = [params];
}
// 界面行为
this.Edit(datas, contextJO,paramJO, $event, xData,this,"ActivityPointer");
this.Remove(datas, contextJO,paramJO, $event, xData,this,"ActivityPointer");
}
/**
......@@ -435,7 +436,7 @@ export class ActivityPointerGridViewBase extends GridViewBase {
* @param {*} [$event]
* @memberof
*/
public toolbar_tbitem8_click(params: any = {}, tag?: any, $event?: any) {
public toolbar_deuiaction1_click(params: any = {}, tag?: any, $event?: any) {
// 参数
// 取数
let datas: any[] = [];
......@@ -452,7 +453,7 @@ export class ActivityPointerGridViewBase extends GridViewBase {
datas = [params];
}
// 界面行为
this.Remove(datas, contextJO,paramJO, $event, xData,this,"ActivityPointer");
this.ToggleFilter(datas, contextJO,paramJO, $event, xData,this,"ActivityPointer");
}
/**
......@@ -496,23 +497,6 @@ export class ActivityPointerGridViewBase extends GridViewBase {
}
/**
* 过滤
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof ActivityPointerGridViewBase
*/
public ToggleFilter(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
if (_this.hasOwnProperty('isExpandSearchForm')) {
_this.isExpandSearchForm = !_this.isExpandSearchForm;
}
}
/**
* 编辑
*
......@@ -558,6 +542,23 @@ export class ActivityPointerGridViewBase extends GridViewBase {
xData.remove(args);
}
/**
* 过滤
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof ActivityPointerGridViewBase
*/
public ToggleFilter(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
if (_this.hasOwnProperty('isExpandSearchForm')) {
_this.isExpandSearchForm = !_this.isExpandSearchForm;
}
}
/**
* 加载快速分组模型
......
......@@ -63,7 +63,7 @@ export class ContactInfoBase extends TabExpViewBase {
* @memberof ContactInfo
*/
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: '' },
deuiaction4: { name: 'deuiaction4', caption: '编辑','isShowCaption':true,'isShowIcon':true, tooltip: '编辑', iconcls: 'fa fa-edit', icon: '', disabled: false, type: 'DEUIACTION', visabled: true, dataaccaction: '', uiaction: { tag: 'Edit', target: 'SINGLEKEY' }, class: '' },
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: '' },
......@@ -158,7 +158,7 @@ export class ContactInfoBase extends TabExpViewBase {
datas = [params];
}
// 界面行为
this.OpenEditMode(datas, contextJO,paramJO, $event, xData,this,"Contact");
this.Edit(datas, contextJO,paramJO, $event, xData,this,"Contact");
}
/**
......@@ -246,69 +246,28 @@ export class ContactInfoBase extends TabExpViewBase {
* 编辑
*
* @param {any[]} args 当前数据
* @param {any} context 行为附加上下文
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @param {*} [srfParentDeName] 父实体名称
* @returns {Promise<any>}
* @memberof ContactInfoBase
*/
public async OpenEditMode(args: any[], context:any = {} ,params: any={}, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
xData = $event;
$event = params;
params = context;
let context2: any = {};
let data: any = {};
let parentContext:any = {};
let parentViewParam:any = {};
const _args: any[] = this.$util.deepCopy(args);
const _this: any = this;
const actionTarget: string | null = 'SINGLEKEY';
Object.assign(context2, { res_partner: '%id%' });
Object.assign(params, { id: '%id%' });
Object.assign(params, { name: '%name%' })
if(actionContext.context){
parentContext = actionContext.context;
public Edit(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
if (args.length === 0) {
return;
}
if(actionContext.viewparams){
parentViewParam = actionContext.viewparams;
}
context = UIActionTool.handleContextParam(actionTarget,_args,parentContext,parentViewParam,context);
data = UIActionTool.handleActionParam(actionTarget,_args,parentContext,parentViewParam,params);
Object.assign(context,this.context,context);
if(context && context.srfsessionid){
context.srfsessionkey = context.srfsessionid;
delete context.srfsessionid;
}
const parameters: any[] = [
{ pathName: 'res_partners', parameterName: 'res_partner' },
];
const openDrawer = (view: any, data: any) => {
let container: Subject<any> = this.$appdrawer.openDrawer(view, context,data);
container.subscribe((result: any) => {
if (!result || !Object.is(result.ret, 'OK')) {
return;
}
const _this: any = this;
if (xData && xData.refresh && xData.refresh instanceof Function) {
xData.refresh(args);
}
return result.datas;
});
const _this: any = this;
if (_this.opendata && _this.opendata instanceof Function) {
const data: any = { };
if (args.length > 0) {
Object.assign(data, { contact: args[0].contact })
}
_this.opendata([{ ...data }], params, $event, xData);
} else {
_this.$Notice.error({ title: '错误', desc: 'opendata 视图处理逻辑不存在,请添加!' });
}
const view: any = {
viewname: 'contact-info-edit-mode',
height: 0,
width: 0,
title: '联系人信息',
placement: 'DRAWER_TOP',
};
openDrawer(view, data);
}
/**
* 删除并关闭
*
......
<studio-view-style2 viewName="productgridview" viewTitle="产品表格视图" class='degridview product-grid-view'>
<studio-view-style2 viewName="productgridview" viewTitle="产品信息" class='degridview product-grid-view'>
<template slot='title'>
<span class='caption-info'>{{$t(model.srfTitle)}}</span>
</template>
<i-input slot="quickSearch" v-show="!isExpandSearchForm" v-model="query" search @on-search="onSearch($event)"/>
<template slot="toolbar">
<view-toolbar mode="STYLE2" :model="toolBarModels" @item-click="toolbar_click($event)"/> </template>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册