@bit-sun/business-component 4.2.1-alpha.13-aiwei → 4.2.1-alpha.14-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
@@ -11610,8 +11610,7 @@ function commonFun(type, prefixUrl, parentProps) {
11610
11610
  },
11611
11611
  showCheckedStrategy: 'TreeSelect.SHOW_ALL'
11612
11612
  }
11613
- },
11614
- initialSource: getDictionarySource$1('BASIC_OPS_WH_TYPE')
11613
+ }
11615
11614
  }].concat(_toConsumableArray((modalTableBusProps === null || modalTableBusProps === void 0 ? void 0 : modalTableBusProps.needStatusSearch) ? [{
11616
11615
  name: 'qp-status-eq',
11617
11616
  type: 'select',
@@ -11632,9 +11631,12 @@ function commonFun(type, prefixUrl, parentProps) {
11632
11631
  'qp-type-in': '1,2'
11633
11632
  }, {
11634
11633
  headers: _objectSpread2({}, extralHeaders)
11634
+ }), loadSelectSource$1("/stock/ownerWarehouse/operationWarehouseClassificationList", {}, {
11635
+ headers: _objectSpread2({}, extralHeaders)
11635
11636
  })]).then(function (x) {
11636
11637
  var _x$2, _x$2$data$, _x$2$data$$channelInf;
11637
11638
  formatSource(x, 0, 2, tableSearchForm, ['groupCode', 'groupName']);
11639
+ formatSource(x, 2, 3, tableSearchForm, ['operationWarehouseClassification', 'operationWarehouseClassificationName']);
11638
11640
  var newData1 = [];
11639
11641
  (_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
11642
  newData1.push({
package/dist/index.js CHANGED
@@ -11633,8 +11633,7 @@ function commonFun(type, prefixUrl, parentProps) {
11633
11633
  },
11634
11634
  showCheckedStrategy: 'TreeSelect.SHOW_ALL'
11635
11635
  }
11636
- },
11637
- initialSource: getDictionarySource$1('BASIC_OPS_WH_TYPE')
11636
+ }
11638
11637
  }].concat(_toConsumableArray((modalTableBusProps === null || modalTableBusProps === void 0 ? void 0 : modalTableBusProps.needStatusSearch) ? [{
11639
11638
  name: 'qp-status-eq',
11640
11639
  type: 'select',
@@ -11655,9 +11654,12 @@ function commonFun(type, prefixUrl, parentProps) {
11655
11654
  'qp-type-in': '1,2'
11656
11655
  }, {
11657
11656
  headers: _objectSpread2({}, extralHeaders)
11657
+ }), loadSelectSource$1("/stock/ownerWarehouse/operationWarehouseClassificationList", {}, {
11658
+ headers: _objectSpread2({}, extralHeaders)
11658
11659
  })]).then(function (x) {
11659
11660
  var _x$2, _x$2$data$, _x$2$data$$channelInf;
11660
11661
  formatSource(x, 0, 2, tableSearchForm, ['groupCode', 'groupName']);
11662
+ formatSource(x, 2, 3, tableSearchForm, ['operationWarehouseClassification', 'operationWarehouseClassificationName']);
11661
11663
  var newData1 = [];
11662
11664
  (_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
11665
  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.14-aiwei",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",
@@ -1556,7 +1556,6 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
1556
1556
  showCheckedStrategy: 'TreeSelect.SHOW_ALL',
1557
1557
  },
1558
1558
  },
1559
- initialSource: getDictionarySource('BASIC_OPS_WH_TYPE')
1560
1559
  },
1561
1560
  ...(modalTableBusProps?.needStatusSearch?[{ name: 'qp-status-eq', type: 'select', label: '运营仓状态', initialSource: getDictionarySource('SC00001') }]:[]),
1562
1561
  ]
@@ -1576,8 +1575,14 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
1576
1575
  ...extralHeaders
1577
1576
  }
1578
1577
  }),
1578
+ loadSelectSource(`/stock/ownerWarehouse/operationWarehouseClassificationList`, {}, {
1579
+ headers: {
1580
+ ...extralHeaders
1581
+ }
1582
+ }),
1579
1583
  ]).then((x: any)=>{
1580
1584
  formatSource(x,0, 2, tableSearchForm,['groupCode','groupName']);
1585
+ formatSource(x,2, 3, tableSearchForm,['operationWarehouseClassification','operationWarehouseClassificationName']);
1581
1586
  const newData1: any[] = [];
1582
1587
  x[1]?.data[0]?.channelInfoSon?.forEach((item: any) => {
1583
1588
  newData1.push({ code: item.code, name: item.name })