xsy-breeze-ui-rpa > CPQPriceSetsExtensionPoint
CPQPriceSetsExtensionPoint class
CPQ 产品配置页面扩展点
Signature:
export declare class CPQPriceSetsExtensionPoint extends ExtensionPointSDKBase<CPQPriceSetsExtensionPointInterface>
Constructors
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(id) | Constructs a new instance of the CPQPriceSetsExtensionPoint class |
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| addCustomAction | (value: { data: any; }) => Promise<any> | 自定义事件,统一处理各种逻辑 | |
| afterPickerSelected | (value: { ids: string[]; }) => Promise<any> | 外部添加明细数据 | |
| clearDetailData | () => Promise<undefined> | 清空行数据(删除) | |
| delDetailData | (value: { detailId: any; detailUuid: any; hide: boolean; }) => Promise<any> | 删除明细的数据 | |
| detailCalculate | (value: { detailUuid: any; detailId: any; itemApiKey: string; newValue: any; }) => Promise<any> | 执行单条明细计算 | |
| disableDefaultCalc | (value: { enabled: boolean; }) => Promise<any> | 开启/禁用系统计算 | |
| getDetailData | (value: { detailUUid?: any; }) => Promise<any> | 获取明细的数据 | |
| getProductFamilyId | () => Promise<any> | 获取价格表Id | |
| getProductsData | () => Promise<object> | 获取已经添加的明细的数据 | |
| hideBatchCalc | (value: { visible: boolean; }) => Promise<any> | 设置批量折扣和目标价格功能隐藏 | |
| hideDetail | (value: { detailUuid: any; detailId: any; visible: boolean; }) => Promise<any> | 设置行数据隐藏 | |
| quickSaveDetails | (value: { afterEvent: "closeWindow" | "closeForm"; }) => Promise<any> | 快捷保存当前明细 | |
| refreshDetail | () => Promise<undefined> | 刷新明细的数据 | |
| setCellEditable | (value: { detailUuid: any; detailId: any; itemApiKey: string; editable: boolean; }) => Promise<any> | 设置单元格是否可编辑 | |
| setCellRequired | (value: { detailUuid: any; detailId: any; itemApiKey: string; required: boolean; /** * 设置明细错误信息 */ }) => Promise<any> | 设置单元格必填 | |
| setCellStyle | (value: { detailUuid: any; detailId: any; itemApiKey: string; fontColor?: string | undefined; backgroundColor?: string | undefined; borderColor?: string | undefined; }) => Promise<any> | 设置单元格样式 | |
| setCellVisible | (value: { detailUuid: any; detailId: any; itemApiKey: string; visible: boolean; }) => Promise<any> | 设置单元格是否可见 | |
| setColumnEditable | (value: { config: any[]; }) => Promise<any> | 设置列只读 | |
| setColumnRequired | (value: { config: any[]; }) => Promise<any> | 设置列必填 | |
| setColumnStyle | (value: { itemApiKey: string; fontColor?: string | undefined; backgroundColor?: string | undefined; borderColor?: string | undefined; removeStyle?: boolean | undefined; }) => Promise<any> | 设置列样式 | |
| setColumnVisible | (value: { config: any[]; }) => Promise<any> | 设置列可见 | |
| setDetailButtonVisible | (value: { detailUuid: any; detailId: any; buttonType: String; visible: boolean; }) => Promise<any> | 设置行按钮隐藏 | |
| setDetailData | (value: { data: any; detailId: any; detailUuid: any; apiKey: string; value: any; }) => Promise<any> | 设置明细的数据值 | |
| setDetailDataTotal | (value: { data: any; }) => Promise<any> | 角标不变,覆盖明细数据 | |
| setDetailError | (value: { detailUuid: any; detailId: any; errorMsg: string; }) => Promise<any> | 设置明细错误信息 | |
| setFieldSetMoreShowed | (value: { visible: boolean; }) => Promise<any> | 设置价格配置页更多字段集的显示和隐藏 | |
| setOptionsError | (value: { errors: any; }) => Promise<any> | 设置产品选项页面错误信息 | |
| setOptionsFilterCondition | (value: { value: any; itemApiKey: string; }) => Promise<any> | 添加产品选项页面筛选条件 data: {value, itemApiKey} | |
| setProductFamilyId | (value: { id: any; }) => Promise<any> | 设置价格表Id | |
| setProductFamilyReadonly | (value: boolean) => Promise<any> | 设置价格表只读 | |
| showCustomBtnForDetail | (value: { data: any; }) => Promise<any> | 设置明细自定义按钮 |
