@bit-sun/business-component 4.2.1-alpha.13-aiwei → 4.2.1-alpha.15-aiwei

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
@@ -11368,11 +11368,15 @@ function commonFun(type, prefixUrl, parentProps) {
11368
11368
  });
11369
11369
  Promise.all([loadSelectSource$1("/channel-manage/channelInfo/tree", {
11370
11370
  'qp-status-eq': 10,
11371
- 'qp-isMain-eq': 1,
11371
+ // 'qp-isMain-eq': 1,
11372
11372
  'qp-type-in': '1,2'
11373
- }, getQueryHeadersItem(_queryHeaderParams7, 'qp-orgCode-in')), loadSelectSource$1("/channel-manage/tagNode/getTree/10", {
11373
+ }, {
11374
+ headers: _objectSpread2({}, extralHeaders)
11375
+ }), loadSelectSource$1("/channel-manage/tagNode/getTree/10", {
11374
11376
  'qp-status-eq': 1
11375
- }, getQueryHeadersItem(_queryHeaderParams7, 'qp-orgCode-in'))]).then(function (x) {
11377
+ }, {
11378
+ headers: _objectSpread2({}, extralHeaders)
11379
+ })]).then(function (x) {
11376
11380
  var _x$, _x$$data$, _x$$data$$channelInfo;
11377
11381
  debugger;
11378
11382
  // 战区限制一级数据
@@ -11610,8 +11614,7 @@ function commonFun(type, prefixUrl, parentProps) {
11610
11614
  },
11611
11615
  showCheckedStrategy: 'TreeSelect.SHOW_ALL'
11612
11616
  }
11613
- },
11614
- initialSource: getDictionarySource$1('BASIC_OPS_WH_TYPE')
11617
+ }
11615
11618
  }].concat(_toConsumableArray((modalTableBusProps === null || modalTableBusProps === void 0 ? void 0 : modalTableBusProps.needStatusSearch) ? [{
11616
11619
  name: 'qp-status-eq',
11617
11620
  type: 'select',
@@ -11632,9 +11635,12 @@ function commonFun(type, prefixUrl, parentProps) {
11632
11635
  'qp-type-in': '1,2'
11633
11636
  }, {
11634
11637
  headers: _objectSpread2({}, extralHeaders)
11638
+ }), loadSelectSource$1("/stock/ownerWarehouse/operationWarehouseClassificationList", {}, {
11639
+ headers: _objectSpread2({}, extralHeaders)
11635
11640
  })]).then(function (x) {
11636
11641
  var _x$2, _x$2$data$, _x$2$data$$channelInf;
11637
11642
  formatSource(x, 0, 2, tableSearchForm, ['groupCode', 'groupName']);
11643
+ formatSource(x, 2, 3, tableSearchForm, ['operationWarehouseClassification', 'operationWarehouseClassificationName']);
11638
11644
  var newData1 = [];
11639
11645
  (_x$2 = x[1]) === null || _x$2 === void 0 ? void 0 : (_x$2$data$ = _x$2.data[0]) === null || _x$2$data$ === void 0 ? void 0 : (_x$2$data$$channelInf = _x$2$data$.channelInfoSon) === null || _x$2$data$$channelInf === void 0 ? void 0 : _x$2$data$$channelInf.forEach(function (item) {
11640
11646
  newData1.push({
package/dist/index.js CHANGED
@@ -11391,11 +11391,15 @@ function commonFun(type, prefixUrl, parentProps) {
11391
11391
  });
11392
11392
  Promise.all([loadSelectSource$1("/channel-manage/channelInfo/tree", {
11393
11393
  'qp-status-eq': 10,
11394
- 'qp-isMain-eq': 1,
11394
+ // 'qp-isMain-eq': 1,
11395
11395
  'qp-type-in': '1,2'
11396
- }, getQueryHeadersItem(_queryHeaderParams7, 'qp-orgCode-in')), loadSelectSource$1("/channel-manage/tagNode/getTree/10", {
11396
+ }, {
11397
+ headers: _objectSpread2({}, extralHeaders)
11398
+ }), loadSelectSource$1("/channel-manage/tagNode/getTree/10", {
11397
11399
  'qp-status-eq': 1
11398
- }, getQueryHeadersItem(_queryHeaderParams7, 'qp-orgCode-in'))]).then(function (x) {
11400
+ }, {
11401
+ headers: _objectSpread2({}, extralHeaders)
11402
+ })]).then(function (x) {
11399
11403
  var _x$, _x$$data$, _x$$data$$channelInfo;
11400
11404
  debugger;
11401
11405
  // 战区限制一级数据
@@ -11633,8 +11637,7 @@ function commonFun(type, prefixUrl, parentProps) {
11633
11637
  },
11634
11638
  showCheckedStrategy: 'TreeSelect.SHOW_ALL'
11635
11639
  }
11636
- },
11637
- initialSource: getDictionarySource$1('BASIC_OPS_WH_TYPE')
11640
+ }
11638
11641
  }].concat(_toConsumableArray((modalTableBusProps === null || modalTableBusProps === void 0 ? void 0 : modalTableBusProps.needStatusSearch) ? [{
11639
11642
  name: 'qp-status-eq',
11640
11643
  type: 'select',
@@ -11655,9 +11658,12 @@ function commonFun(type, prefixUrl, parentProps) {
11655
11658
  'qp-type-in': '1,2'
11656
11659
  }, {
11657
11660
  headers: _objectSpread2({}, extralHeaders)
11661
+ }), loadSelectSource$1("/stock/ownerWarehouse/operationWarehouseClassificationList", {}, {
11662
+ headers: _objectSpread2({}, extralHeaders)
11658
11663
  })]).then(function (x) {
11659
11664
  var _x$2, _x$2$data$, _x$2$data$$channelInf;
11660
11665
  formatSource(x, 0, 2, tableSearchForm, ['groupCode', 'groupName']);
11666
+ formatSource(x, 2, 3, tableSearchForm, ['operationWarehouseClassification', 'operationWarehouseClassificationName']);
11661
11667
  var newData1 = [];
11662
11668
  (_x$2 = x[1]) === null || _x$2 === void 0 ? void 0 : (_x$2$data$ = _x$2.data[0]) === null || _x$2$data$ === void 0 ? void 0 : (_x$2$data$$channelInf = _x$2$data$.channelInfoSon) === null || _x$2$data$$channelInf === void 0 ? void 0 : _x$2$data$$channelInf.forEach(function (item) {
11663
11669
  newData1.push({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bit-sun/business-component",
3
- "version": "4.2.1-alpha.13-aiwei",
3
+ "version": "4.2.1-alpha.15-aiwei",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",
@@ -1344,12 +1344,20 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
1344
1344
  Promise.all([
1345
1345
  loadSelectSource(`/channel-manage/channelInfo/tree`, {
1346
1346
  'qp-status-eq': 10,
1347
- 'qp-isMain-eq': 1,
1347
+ // 'qp-isMain-eq': 1,
1348
1348
  'qp-type-in': '1,2',
1349
- },getQueryHeadersItem(queryHeaderParams,'qp-orgCode-in')),
1349
+ }, {
1350
+ headers: {
1351
+ ...extralHeaders
1352
+ }
1353
+ }),
1350
1354
  loadSelectSource(`/channel-manage/tagNode/getTree/10`, {
1351
1355
  'qp-status-eq': 1,
1352
- },getQueryHeadersItem(queryHeaderParams,'qp-orgCode-in')),
1356
+ },{
1357
+ headers: {
1358
+ ...extralHeaders
1359
+ }
1360
+ }),
1353
1361
  ]).then((x: any)=>{
1354
1362
  debugger
1355
1363
  // 战区限制一级数据
@@ -1556,7 +1564,6 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
1556
1564
  showCheckedStrategy: 'TreeSelect.SHOW_ALL',
1557
1565
  },
1558
1566
  },
1559
- initialSource: getDictionarySource('BASIC_OPS_WH_TYPE')
1560
1567
  },
1561
1568
  ...(modalTableBusProps?.needStatusSearch?[{ name: 'qp-status-eq', type: 'select', label: '运营仓状态', initialSource: getDictionarySource('SC00001') }]:[]),
1562
1569
  ]
@@ -1576,8 +1583,14 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
1576
1583
  ...extralHeaders
1577
1584
  }
1578
1585
  }),
1586
+ loadSelectSource(`/stock/ownerWarehouse/operationWarehouseClassificationList`, {}, {
1587
+ headers: {
1588
+ ...extralHeaders
1589
+ }
1590
+ }),
1579
1591
  ]).then((x: any)=>{
1580
1592
  formatSource(x,0, 2, tableSearchForm,['groupCode','groupName']);
1593
+ formatSource(x,2, 3, tableSearchForm,['operationWarehouseClassification','operationWarehouseClassificationName']);
1581
1594
  const newData1: any[] = [];
1582
1595
  x[1]?.data[0]?.channelInfoSon?.forEach((item: any) => {
1583
1596
  newData1.push({ code: item.code, name: item.name })