@bit-sun/business-component 2.2.19 → 2.2.20

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
@@ -12938,10 +12938,10 @@ function commonFun(type, prefixUrl, requestConfigProp, modalTableBusProps) {
12938
12938
  }
12939
12939
  }
12940
12940
  }];
12941
- Promise.all([loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/item/propertyValue"), {
12942
- pageSize: 5000,
12941
+ Promise.all([loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/item/propertyValue/sizeBySkcConfig"), {
12942
+ pageSize: 10000,
12943
12943
  currentPage: 1,
12944
- 'qp-propertyId-eq': '1467042217951883265'
12944
+ type: 2 // 类型:1尺码;2颜色
12945
12945
  }), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/category/queryCategoryTree"), {
12946
12946
  pageSize: 5000,
12947
12947
  currentPage: 1
@@ -14505,7 +14505,9 @@ var AddSkcSelect = function AddSkcSelect(parProps) {
14505
14505
  requestConfig: _objectSpread2({
14506
14506
  url: "/items/skc/skcSelect",
14507
14507
  filter: 'qp-name-like',
14508
- otherParams: {},
14508
+ otherParams: {
14509
+ 'qp-skcStatus-eq': 1
14510
+ },
14509
14511
  mappingTextField: 'name',
14510
14512
  mappingValueField: 'code'
14511
14513
  }, parProps.requestConfig),
package/dist/index.js CHANGED
@@ -12956,10 +12956,10 @@ function commonFun(type, prefixUrl, requestConfigProp, modalTableBusProps) {
12956
12956
  }
12957
12957
  }
12958
12958
  }];
12959
- Promise.all([loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/item/propertyValue"), {
12960
- pageSize: 5000,
12959
+ Promise.all([loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/item/propertyValue/sizeBySkcConfig"), {
12960
+ pageSize: 10000,
12961
12961
  currentPage: 1,
12962
- 'qp-propertyId-eq': '1467042217951883265'
12962
+ type: 2 // 类型:1尺码;2颜色
12963
12963
  }), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/category/queryCategoryTree"), {
12964
12964
  pageSize: 5000,
12965
12965
  currentPage: 1
@@ -14523,7 +14523,9 @@ var AddSkcSelect = function AddSkcSelect(parProps) {
14523
14523
  requestConfig: _objectSpread2({
14524
14524
  url: "/items/skc/skcSelect",
14525
14525
  filter: 'qp-name-like',
14526
- otherParams: {},
14526
+ otherParams: {
14527
+ 'qp-skcStatus-eq': 1
14528
+ },
14527
14529
  mappingTextField: 'name',
14528
14530
  mappingValueField: 'code'
14529
14531
  }, parProps.requestConfig),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bit-sun/business-component",
3
- "version": "2.2.19",
3
+ "version": "2.2.20",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",
@@ -423,7 +423,7 @@ export const AddSkcSelect = (parProps: any) => {
423
423
  requestConfig: {
424
424
  url: `/items/skc/skcSelect`,
425
425
  filter: 'qp-name-like', // 过滤参数 支持'qp-name-like'和['qp-name-like', 'qp-code-like']两种结构
426
- otherParams: {}, // 默认参数
426
+ otherParams: { 'qp-skcStatus-eq': 1, }, // 默认参数
427
427
  mappingTextField: 'name',
428
428
  mappingValueField: 'code',
429
429
  ...parProps.requestConfig
@@ -688,10 +688,10 @@ export function commonFun (type?: string, prefixUrl: any, requestConfigProp?: an
688
688
  } },
689
689
  ]
690
690
  Promise.all([
691
- loadSelectSource(`${prefixUrl.formSelectFix}/item/propertyValue`, {
692
- pageSize: 5000,
691
+ loadSelectSource(`${prefixUrl.formSelectFix}/item/propertyValue/sizeBySkcConfig`, {
692
+ pageSize: 10000,
693
693
  currentPage: 1,
694
- 'qp-propertyId-eq': '1467042217951883265'
694
+ type: 2, // 类型:1尺码;2颜色
695
695
  }),
696
696
  loadSelectSource(`${prefixUrl.formSelectFix}/category/queryCategoryTree`, {
697
697
  pageSize: 5000,