@bit-sun/business-component 4.2.0-alpha.5 → 4.2.0-alpha.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -11986,7 +11986,7 @@ function commonFun(type, prefixUrl, parentProps) {
11986
11986
  return data['parent'] === '0';
11987
11987
  }; // 所属营销区域 树节点不能点判断
11988
11988
  formatSource(x, 0, 3, tableSearchForm);
11989
- formatTreeDataSource(x, 1, 4, tableSearchForm, ['id', 'name'], 'channelInfoSon', channelDisabledJude);
11989
+ formatTreeDataSource(x, 1, 4, tableSearchForm, ['code', 'name'], 'channelInfoSon', channelDisabledJude);
11990
11990
  formatTreeDataSource(x, 2, 5, tableSearchForm, ['code', 'name'], 'children', areaDisabledJude);
11991
11991
  });
11992
11992
  modalTableProps = _objectSpread2({
package/dist/index.js CHANGED
@@ -12009,7 +12009,7 @@ function commonFun(type, prefixUrl, parentProps) {
12009
12009
  return data['parent'] === '0';
12010
12010
  }; // 所属营销区域 树节点不能点判断
12011
12011
  formatSource(x, 0, 3, tableSearchForm);
12012
- formatTreeDataSource(x, 1, 4, tableSearchForm, ['id', 'name'], 'channelInfoSon', channelDisabledJude);
12012
+ formatTreeDataSource(x, 1, 4, tableSearchForm, ['code', 'name'], 'channelInfoSon', channelDisabledJude);
12013
12013
  formatTreeDataSource(x, 2, 5, tableSearchForm, ['code', 'name'], 'children', areaDisabledJude);
12014
12014
  });
12015
12015
  modalTableProps = _objectSpread2({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bit-sun/business-component",
3
- "version": "4.2.0-alpha.5",
3
+ "version": "4.2.0-alpha.6",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",
@@ -1944,7 +1944,7 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
1944
1944
  const channelDisabledJude = (data: any) => data['parentCode'] === '0'; // 所属销售渠道 树节点不能点判断
1945
1945
  const areaDisabledJude = (data: any) => data['parent'] === '0'; // 所属营销区域 树节点不能点判断
1946
1946
  formatSource(x,0, 3, tableSearchForm);
1947
- formatTreeDataSource(x, 1, 4, tableSearchForm, ['id','name'], 'channelInfoSon', channelDisabledJude)
1947
+ formatTreeDataSource(x, 1, 4, tableSearchForm, ['code','name'], 'channelInfoSon', channelDisabledJude)
1948
1948
  formatTreeDataSource(x, 2, 5, tableSearchForm, ['code', 'name'], 'children', areaDisabledJude)
1949
1949
  })
1950
1950
  modalTableProps = {