@bit-sun/business-component 4.0.11-alpha.17 → 4.0.11-alpha.19

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.
@@ -21,20 +21,17 @@ declare class SearchItemTable extends React.Component {
21
21
  title: string;
22
22
  dataIndex: string;
23
23
  className: string;
24
- width: number;
25
24
  render?: undefined;
26
25
  } | {
27
26
  title: string;
28
27
  dataIndex: string;
29
28
  render: (text: any, record: any) => React.JSX.Element;
30
29
  className?: undefined;
31
- width?: undefined;
32
30
  } | {
33
31
  title: string;
34
32
  dataIndex: string;
35
33
  className: string;
36
34
  render: () => React.JSX.Element;
37
- width?: undefined;
38
35
  })[];
39
36
  showModal: () => void;
40
37
  handleOk: (e?: React.MouseEvent<HTMLElement>) => void;
package/dist/index.esm.js CHANGED
@@ -5272,7 +5272,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5272
5272
  }
5273
5273
  return getShowValueStr(kongValue);
5274
5274
  };
5275
- var isShouldShowStr = disabled && ctx || (ctx === null || ctx === void 0 ? void 0 : ctx.mode) == 'view';
5275
+ var isShouldShowStr = props.disabled && ctx || (ctx === null || ctx === void 0 ? void 0 : ctx.mode) == 'view';
5276
5276
  return /*#__PURE__*/React$1.createElement("div", {
5277
5277
  className: 'search_select'
5278
5278
  }, fieldComponent ? (/*#__PURE__*/React$1.createElement("div", {
@@ -8602,9 +8602,9 @@ function commonFun(type, prefixUrl, parentProps) {
8602
8602
  var requestConfig = _objectSpread2({
8603
8603
  url: "".concat(prefixUrl.selectPrefix, "/supplier"),
8604
8604
  filter: 'qp-name,code-orGroup,like',
8605
- otherParams: {
8605
+ otherParams: _objectSpread2({
8606
8606
  sorter: 'desc-id'
8607
- }
8607
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {})
8608
8608
  }, requestConfigProp);
8609
8609
  var selectProps = selectConfigProps;
8610
8610
  /*
@@ -8898,9 +8898,9 @@ function commonFun(type, prefixUrl, parentProps) {
8898
8898
  mappingTextField: 'name',
8899
8899
  mappingValueField: 'skuCode',
8900
8900
  mappingTextShowTextField: ['name', 'propertyNameAndValue'],
8901
- otherParams: {
8902
- // 'qp-type-eq': 10, // 查唯一国际条码【有些项目不需要必须要有国际条码,故注释,需要的项目自己定义otherParams补充上这个条件】
8903
- },
8901
+ otherParams: _objectSpread2({
8902
+ 'ownOrgSign': getCurrentTargetBgId()
8903
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
8904
8904
  sourceName: 'skuCode'
8905
8905
  }, requestConfigProp);
8906
8906
  selectProps = _objectSpread2({
@@ -9061,10 +9061,10 @@ function commonFun(type, prefixUrl, parentProps) {
9061
9061
  filter: 'qp-itemCode,name-orGroup,like',
9062
9062
  mappingTextField: 'name',
9063
9063
  mappingValueField: 'itemCode',
9064
- otherParams: {
9064
+ otherParams: _objectSpread2({
9065
9065
  'qp-approveStatus-eq': 1,
9066
9066
  sorter: 'desc-id'
9067
- },
9067
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
9068
9068
  sourceName: 'itemCode'
9069
9069
  }, requestConfigProp);
9070
9070
  tableSearchForm = [{
@@ -9322,9 +9322,9 @@ function commonFun(type, prefixUrl, parentProps) {
9322
9322
  filter: 'qp-code,name-orGroup,like',
9323
9323
  mappingTextField: 'name',
9324
9324
  mappingValueField: 'code',
9325
- otherParams: {
9326
- 'qp-skcStatus-eq': 1 // 状态:0禁用 1启用
9327
- },
9325
+ otherParams: _objectSpread2({
9326
+ 'qp-skcStatus-eq': 1
9327
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
9328
9328
  sourceName: 'qp-skcCode-eq'
9329
9329
  }, requestConfigProp);
9330
9330
  Promise.all(fieldLoadSource).then(function (x) {
@@ -9386,9 +9386,9 @@ function commonFun(type, prefixUrl, parentProps) {
9386
9386
  mappingTextField: 'value',
9387
9387
  mappingTextShowKeyField: 'propertyValueCode',
9388
9388
  mappingValueField: 'propertyValueCode',
9389
- otherParams: {
9389
+ otherParams: _objectSpread2({
9390
9390
  sorter: 'desc-id'
9391
- },
9391
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
9392
9392
  sourceName: 'qp-propertyValueCode-in'
9393
9393
  }, requestConfigProp);
9394
9394
  needModalTable = false;
@@ -9416,7 +9416,7 @@ function commonFun(type, prefixUrl, parentProps) {
9416
9416
  'qp-isEnable-eq': 1
9417
9417
  }), {}, {
9418
9418
  sorter: 'desc-id'
9419
- }),
9419
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
9420
9420
  sourceName: 'warehouseIds'
9421
9421
  }, requestConfigProp);
9422
9422
  tableSearchForm = [{
@@ -9519,7 +9519,7 @@ function commonFun(type, prefixUrl, parentProps) {
9519
9519
  'qp-isEnable-eq': 1
9520
9520
  }), {}, {
9521
9521
  sorter: 'desc-id'
9522
- }),
9522
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
9523
9523
  sourceName: 'warehouseIds'
9524
9524
  }, requestConfigProp);
9525
9525
  tableSearchForm = [{
@@ -9593,7 +9593,7 @@ function commonFun(type, prefixUrl, parentProps) {
9593
9593
  'qp-status-eq': 1
9594
9594
  }), {}, {
9595
9595
  sorter: 'desc-id'
9596
- }),
9596
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
9597
9597
  sourceName: 'qp-operationWarehouseCode-in'
9598
9598
  }, requestConfigProp);
9599
9599
  tableSearchForm = [{
@@ -9680,10 +9680,10 @@ function commonFun(type, prefixUrl, parentProps) {
9680
9680
  mappingTextField: 'virtualWarehouseName',
9681
9681
  mappingTextShowKeyField: 'virtualWarehouseCode',
9682
9682
  mappingValueField: 'id',
9683
- otherParams: {
9683
+ otherParams: _objectSpread2({
9684
9684
  'qp-isEnable-eq': 1,
9685
9685
  sorter: 'desc-id'
9686
- },
9686
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
9687
9687
  sourceName: 'warehouseIds'
9688
9688
  }, requestConfigProp);
9689
9689
  needModalTable = false;
@@ -9706,10 +9706,10 @@ function commonFun(type, prefixUrl, parentProps) {
9706
9706
  mappingTextField: 'channelWarehouseName',
9707
9707
  mappingTextShowKeyField: 'channelWarehouseCode',
9708
9708
  mappingValueField: 'id',
9709
- otherParams: {
9709
+ otherParams: _objectSpread2({
9710
9710
  'qp-isEnable-eq': 1,
9711
9711
  sorter: 'desc-id'
9712
- },
9712
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
9713
9713
  sourceName: 'warehouseIds'
9714
9714
  }, requestConfigProp);
9715
9715
  needModalTable = false;
@@ -9732,10 +9732,10 @@ function commonFun(type, prefixUrl, parentProps) {
9732
9732
  filter: 'qp-name,code-orGroup,like',
9733
9733
  mappingTextField: 'name',
9734
9734
  mappingValueField: 'code',
9735
- otherParams: {
9735
+ otherParams: _objectSpread2({
9736
9736
  'qp-status-eq': 10,
9737
9737
  sorter: 'desc-id'
9738
- },
9738
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
9739
9739
  sourceName: 'customCode'
9740
9740
  }, requestConfigProp);
9741
9741
  tableSearchForm = [{
@@ -9879,11 +9879,11 @@ function commonFun(type, prefixUrl, parentProps) {
9879
9879
  filter: 'qp-name,code-orGroup,like',
9880
9880
  mappingTextField: 'name',
9881
9881
  mappingValueField: 'code',
9882
- otherParams: {
9882
+ otherParams: _objectSpread2({
9883
9883
  'qp-isMain-eq': 1,
9884
9884
  'qp-status-eq': 1,
9885
9885
  sorter: 'desc-id'
9886
- },
9886
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
9887
9887
  sourceName: 'customCode'
9888
9888
  }, requestConfigProp);
9889
9889
  tableSearchForm = [{
@@ -9976,13 +9976,14 @@ function commonFun(type, prefixUrl, parentProps) {
9976
9976
  }]
9977
9977
  }, selectConfigProps);
9978
9978
  requestConfig = _objectSpread2({
9979
+ init: true,
9979
9980
  url: "".concat(prefixUrl.selectPrefix, "/store"),
9980
9981
  filter: 'qp-name,code-orGroup,like',
9981
9982
  mappingTextField: 'name',
9982
9983
  mappingValueField: 'code',
9983
- otherParams: {
9984
+ otherParams: _objectSpread2({
9984
9985
  sorter: 'desc-id'
9985
- },
9986
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
9986
9987
  sourceName: 'code'
9987
9988
  }, requestConfigProp);
9988
9989
  tableSearchForm = [{
@@ -10170,13 +10171,14 @@ function commonFun(type, prefixUrl, parentProps) {
10170
10171
  }]
10171
10172
  }, selectConfigProps);
10172
10173
  requestConfig = _objectSpread2({
10174
+ init: true,
10173
10175
  url: "".concat(prefixUrl.selectPrefix, "/store/page"),
10174
10176
  filter: 'qp-name,code-orGroup,like',
10175
10177
  mappingTextField: 'name',
10176
10178
  mappingValueField: 'code',
10177
- otherParams: {
10179
+ otherParams: _objectSpread2({
10178
10180
  sorter: 'desc-id'
10179
- },
10181
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
10180
10182
  sourceName: 'code'
10181
10183
  }, requestConfigProp);
10182
10184
  tableSearchForm = [{
@@ -10281,9 +10283,9 @@ function commonFun(type, prefixUrl, parentProps) {
10281
10283
  mappingTextField: 'name',
10282
10284
  mappingTextShowKeyField: 'code',
10283
10285
  mappingValueField: 'id',
10284
- otherParams: {
10286
+ otherParams: _objectSpread2({
10285
10287
  sorter: 'desc-id'
10286
- },
10288
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
10287
10289
  sourceName: 'accountingSubjectCode'
10288
10290
  }, requestConfigProp);
10289
10291
  needModalTable = false;
@@ -10306,9 +10308,9 @@ function commonFun(type, prefixUrl, parentProps) {
10306
10308
  mappingTextField: 'name',
10307
10309
  mappingTextShowKeyField: 'code',
10308
10310
  mappingValueField: 'id',
10309
- otherParams: {
10311
+ otherParams: _objectSpread2({
10310
10312
  sorter: 'desc-id'
10311
- },
10313
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
10312
10314
  sourceName: 'inventoryOrgCode'
10313
10315
  }, requestConfigProp);
10314
10316
  needModalTable = false;
@@ -10331,9 +10333,9 @@ function commonFun(type, prefixUrl, parentProps) {
10331
10333
  mappingTextField: 'name',
10332
10334
  mappingTextShowKeyField: 'code',
10333
10335
  mappingValueField: 'id',
10334
- otherParams: {
10336
+ otherParams: _objectSpread2({
10335
10337
  sorter: 'desc-id'
10336
- },
10338
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
10337
10339
  sourceName: 'corporationCompany'
10338
10340
  }, requestConfigProp);
10339
10341
  needModalTable = false;
@@ -10356,9 +10358,9 @@ function commonFun(type, prefixUrl, parentProps) {
10356
10358
  mappingTextField: 'name',
10357
10359
  mappingTextShowKeyField: 'socialCreditCode',
10358
10360
  mappingValueField: 'socialCreditCode',
10359
- otherParams: {
10361
+ otherParams: _objectSpread2({
10360
10362
  sorter: 'desc-id'
10361
- },
10363
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
10362
10364
  sourceName: 'platCompany'
10363
10365
  }, requestConfigProp);
10364
10366
  needModalTable = false;
@@ -10381,11 +10383,11 @@ function commonFun(type, prefixUrl, parentProps) {
10381
10383
  mappingTextField: 'name',
10382
10384
  mappingTextShowKeyField: 'employeeNumber',
10383
10385
  mappingValueField: 'employeeNumber',
10384
- otherParams: {
10386
+ otherParams: _objectSpread2({
10385
10387
  'qp-enable-eq': 10,
10386
10388
  'qp-employmentType-eq': 20,
10387
10389
  sorter: 'desc-id'
10388
- },
10390
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
10389
10391
  sourceName: 'employeeNumber'
10390
10392
  }, requestConfigProp);
10391
10393
  tableSearchForm = [{
@@ -10481,7 +10483,7 @@ function commonFun(type, prefixUrl, parentProps) {
10481
10483
  'qp-employmentType-eq': 20
10482
10484
  }), {}, {
10483
10485
  sorter: 'desc-id'
10484
- }),
10486
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
10485
10487
  sourceName: 'employeeNumber'
10486
10488
  }, requestConfigProp);
10487
10489
  tableSearchForm = [{
@@ -10616,9 +10618,9 @@ function commonFun(type, prefixUrl, parentProps) {
10616
10618
  mappingTextField: 'name',
10617
10619
  mappingTextShowKeyField: 'code',
10618
10620
  mappingValueField: 'code',
10619
- otherParams: {
10621
+ otherParams: _objectSpread2({
10620
10622
  sorter: 'desc-id'
10621
- },
10623
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
10622
10624
  sourceName: 'deliveryModeCode'
10623
10625
  }, requestConfigProp);
10624
10626
  tableSearchForm = [{
@@ -10752,9 +10754,9 @@ function commonFun(type, prefixUrl, parentProps) {
10752
10754
  mappingTextField: 'name',
10753
10755
  mappingTextShowKeyField: 'code',
10754
10756
  mappingValueField: 'code',
10755
- otherParams: {
10757
+ otherParams: _objectSpread2({
10756
10758
  sorter: 'desc-id'
10757
- },
10759
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
10758
10760
  sourceName: 'ruleTemplateCode'
10759
10761
  }, requestConfigProp);
10760
10762
  tableSearchForm = [{
@@ -10823,10 +10825,10 @@ function commonFun(type, prefixUrl, parentProps) {
10823
10825
  mappingTextField: 'name',
10824
10826
  mappingTextShowKeyField: 'code',
10825
10827
  mappingValueField: 'code',
10826
- otherParams: {
10828
+ otherParams: _objectSpread2({
10827
10829
  'qp-status-eq': 10,
10828
10830
  sorter: 'desc-id'
10829
- },
10831
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
10830
10832
  sourceName: 'roleCode'
10831
10833
  }, requestConfigProp);
10832
10834
  tableSearchForm = [{
@@ -10919,12 +10921,12 @@ function commonFun(type, prefixUrl, parentProps) {
10919
10921
  mappingTextField: 'name',
10920
10922
  mappingTextShowKeyField: 'code',
10921
10923
  mappingValueField: 'code',
10922
- otherParams: {
10924
+ otherParams: _objectSpread2({
10923
10925
  'qp-type-eq': 1,
10924
10926
  'qp-isMain-eq': 1,
10925
10927
  'qp-status-eq': 10,
10926
10928
  sorter: 'desc-id'
10927
- },
10929
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
10928
10930
  sourceName: 'marketChannelCode'
10929
10931
  }, requestConfigProp);
10930
10932
  tableSearchForm = [{
@@ -11006,9 +11008,9 @@ function commonFun(type, prefixUrl, parentProps) {
11006
11008
  mappingTextField: 'name',
11007
11009
  mappingTextShowKeyField: 'code',
11008
11010
  mappingValueField: 'code',
11009
- otherParams: {
11011
+ otherParams: _objectSpread2({
11010
11012
  sorter: 'desc-createTime'
11011
- },
11013
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
11012
11014
  sourceName: 'organizationCode'
11013
11015
  }, requestConfigProp), tableSearchForm = [{
11014
11016
  name: 'qp-name-like',
@@ -11134,9 +11136,9 @@ function commonFun(type, prefixUrl, parentProps) {
11134
11136
  mappingTextField: 'name',
11135
11137
  mappingTextShowKeyField: 'code',
11136
11138
  mappingValueField: 'code',
11137
- otherParams: {
11139
+ otherParams: _objectSpread2({
11138
11140
  sorter: 'desc-id'
11139
- },
11141
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
11140
11142
  sourceName: 'personCode'
11141
11143
  }, requestConfigProp);
11142
11144
  tableSearchForm = [{
@@ -11194,16 +11196,17 @@ function commonFun(type, prefixUrl, parentProps) {
11194
11196
  }]
11195
11197
  }, selectConfigProps);
11196
11198
  requestConfig = _objectSpread2({
11199
+ init: true,
11197
11200
  url: "".concat(prefixUrl.selectPrefix, "/brand/list"),
11198
11201
  filter: 'qp-brandCode,name-orGroup,like',
11199
11202
  mappingTextField: 'name',
11200
11203
  mappingTextShowKeyField: 'brandCode',
11201
11204
  mappingValueField: 'brandCode',
11202
- otherParams: {
11205
+ otherParams: _objectSpread2({
11203
11206
  'ctl-withAuth': true,
11204
11207
  'qp-status-in': '1',
11205
11208
  sorter: 'desc-id'
11206
- },
11209
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
11207
11210
  sourceName: 'brandCode'
11208
11211
  }, requestConfigProp);
11209
11212
  tableSearchForm = [{
@@ -11268,10 +11271,10 @@ function commonFun(type, prefixUrl, parentProps) {
11268
11271
  mappingTextField: 'name',
11269
11272
  mappingTextShowKeyField: 'code',
11270
11273
  mappingValueField: 'code',
11271
- otherParams: {
11274
+ otherParams: _objectSpread2({
11272
11275
  'qp-enabled-eq': true,
11273
11276
  sorter: 'desc-id'
11274
- },
11277
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
11275
11278
  sourceName: 'priceCode'
11276
11279
  }, requestConfigProp);
11277
11280
  tableSearchForm = [{
@@ -11329,11 +11332,11 @@ function commonFun(type, prefixUrl, parentProps) {
11329
11332
  mappingTextField: 'name',
11330
11333
  mappingTextShowKeyField: 'code',
11331
11334
  mappingValueField: 'code',
11332
- otherParams: {
11335
+ otherParams: _objectSpread2({
11333
11336
  'qp-orgViewCode-eq': 'sales-organizational-view',
11334
11337
  'qp-status-eq': 10,
11335
11338
  sorter: 'desc-createTime'
11336
- },
11339
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
11337
11340
  sourceName: 'supplierCode'
11338
11341
  }, requestConfigProp), tableSearchForm = [{
11339
11342
  name: 'qp-name-like',
@@ -14723,7 +14726,7 @@ var getDetailMatchRoute = function getDetailMatchRoute(path, routeObj, hideRoute
14723
14726
  return undefined;
14724
14727
  };
14725
14728
 
14726
- var css_248z$c = ".detail_page_head {\n height: 32px;\n z-index: 5;\n display: flex;\n align-items: center;\n background-color: #FFFFFF;\n font-weight: 500;\n}\n.detail_page_head .ant-breadcrumb {\n display: block !important;\n}\n.detail_page_head .ant-breadcrumb .ant-breadcrumb-separator {\n margin: 0 2px;\n}\n.detail_page_head .ant-breadcrumb li .bread_name {\n color: #8B8B8B;\n font-size: 12px;\n cursor: pointer;\n}\n.detail_page_head .ant-breadcrumb li .bread_name_last {\n color: #282828;\n}\n.detail_page_head .ant-breadcrumb li .bread_name:hover {\n color: #000000d9;\n}\n.detail_page_wrapper {\n height: calc(100vh - 80px);\n}\n.back_home_img_content {\n display: inline-block;\n height: 16px;\n width: 16px;\n border: 1px solid #BABABA;\n margin: 0 8px 0 10px;\n border-radius: 14px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n}\n.back_home_img_content .anticon-arrow-left {\n color: #BABABA;\n}\n.back_home_img_content:hover {\n background-color: #005cff;\n border: 1px solid #005cff;\n}\n.back_home_img_content:hover .anticon-arrow-left {\n color: #FFFFFF;\n}\n.detail_page_title_box {\n flex-grow: 1;\n display: flex;\n align-items: center;\n}\n.detail_page_title {\n height: 20px;\n font-family: PingFangSC;\n font-weight: 600;\n font-size: 14px;\n padding-right: 10px;\n color: #000000;\n letter-spacing: 0;\n line-height: 20px;\n display: none;\n}\n.detail_page_btns {\n display: flex;\n gap: 8px;\n margin-right: 20px;\n}\n.detail_page_btns button {\n height: 24px !important;\n display: flex;\n align-items: center;\n gap: 2px;\n border-radius: 3px;\n padding: 0 10px;\n}\n.detail_page_btns .ant-btn-dangerous {\n background-color: #EC5246 !important;\n}\n";
14729
+ var css_248z$c = ".bs_detail_page_head_wrapper {\n height: 32px;\n position: sticky;\n background: #fff;\n width: 100%;\n top: 0px;\n z-index: 10;\n}\n.detail_page_head {\n height: 32px;\n z-index: 5;\n display: flex;\n align-items: center;\n background-color: #FFFFFF;\n font-weight: 500;\n}\n.detail_page_head .ant-breadcrumb {\n display: block !important;\n}\n.detail_page_head .ant-breadcrumb .ant-breadcrumb-separator {\n margin: 0 2px;\n}\n.detail_page_head .ant-breadcrumb li .bread_name {\n color: #8B8B8B;\n font-size: 12px;\n cursor: pointer;\n}\n.detail_page_head .ant-breadcrumb li .bread_name_last {\n color: #282828;\n}\n.detail_page_head .ant-breadcrumb li .bread_name:hover {\n color: #000000d9;\n}\n.detail_page_wrapper {\n height: calc(100vh - 80px);\n}\n.back_home_img_content {\n display: inline-block;\n height: 16px;\n width: 16px;\n border: 1px solid #BABABA;\n margin: 0 8px 0 10px;\n border-radius: 14px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n}\n.back_home_img_content .anticon-arrow-left {\n color: #BABABA;\n}\n.back_home_img_content:hover {\n background-color: #005cff;\n border: 1px solid #005cff;\n}\n.back_home_img_content:hover .anticon-arrow-left {\n color: #FFFFFF;\n}\n.detail_page_title_box {\n flex-grow: 1;\n display: flex;\n align-items: center;\n}\n.detail_page_title {\n height: 20px;\n font-family: PingFangSC;\n font-weight: 600;\n font-size: 14px;\n padding-right: 10px;\n color: #000000;\n letter-spacing: 0;\n line-height: 20px;\n display: none;\n}\n.detail_page_btns {\n display: flex;\n gap: 8px;\n margin-right: 20px;\n}\n.detail_page_btns button {\n height: 24px !important;\n display: flex;\n align-items: center;\n gap: 2px;\n border-radius: 3px;\n padding: 0 10px;\n}\n.detail_page_btns .ant-btn-dangerous {\n background-color: #EC5246 !important;\n}\n";
14727
14730
  styleInject(css_248z$c);
14728
14731
 
14729
14732
  var quanping = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2234px%22%20height%3D%2234px%22%20viewBox%3D%220%200%2034%2034%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%9F%A9%E5%BD%A2%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E5%88%97%E8%A1%A8%E5%8A%9F%E8%83%BD%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E6%98%9F%E6%BE%9C-%E6%90%9C%E7%B4%A2-%E6%90%9C%E7%B4%A2%E5%8A%9F%E8%83%BD%22%20transform%3D%22translate%28-1823.000000%2C%20-297.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E6%90%9C%E7%B4%A2%E7%BB%84%E4%BB%B6-%E6%A0%B7%E5%BC%8F%E4%B8%80%22%20transform%3D%22translate%28230.000000%2C%20284.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%A1%AE%E5%AE%9A%E5%A4%87%E4%BB%BD-2%22%20transform%3D%22translate%281593.000000%2C%2013.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M5.55801813%2C1%20L28.4419819%2C1%20C30.0269041%2C1%2030.6016352%2C1.16502331%2031.181059%2C1.47490258%20C31.7604829%2C1.78478186%2032.2152181%2C2.2395171%2032.5250974%2C2.81894097%20C32.8349767%2C3.39836484%2033%2C3.97309593%2033%2C5.55801813%20L33%2C28.4419819%20C33%2C30.0269041%2032.8349767%2C30.6016352%2032.5250974%2C31.181059%20C32.2152181%2C31.7604829%2031.7604829%2C32.2152181%2031.181059%2C32.5250974%20C30.6016352%2C32.8349767%2030.0269041%2C33%2028.4419819%2C33%20L5.55801813%2C33%20C3.97309593%2C33%203.39836484%2C32.8349767%202.81894097%2C32.5250974%20C2.2395171%2C32.2152181%201.78478186%2C31.7604829%201.47490258%2C31.181059%20C1.16502331%2C30.6016352%201%2C30.0269041%201%2C28.4419819%20L1%2C5.55801813%20C1%2C3.97309593%201.16502331%2C3.39836484%201.47490258%2C2.81894097%20C1.78478186%2C2.2395171%202.2395171%2C1.78478186%202.81894097%2C1.47490258%20C3.39836484%2C1.16502331%203.97309593%2C1%205.55801813%2C1%20Z%22%20id%3D%22%E7%9F%A9%E5%BD%A2%22%20stroke%3D%22%23D9D9D9%22%20stroke-width%3D%220.888888889%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22scanning%22%20transform%3D%22translate%289.000000%2C%209.000000%29%22%20fill%3D%22%23000000%22%20fill-rule%3D%22nonzero%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M5.21873562%2C9.69278114%20L6.28954184%2C10.7432953%20L2.532%2C14.5%20L5.24949999%2C14.5%20L5.24949999%2C16%20L1.5%2C16%20C0.671572876%2C16%200%2C15.3284271%200%2C14.5%20L0%2C11%20L1.5%2C11%20L1.5%2C13.41%20L5.21873562%2C9.69278114%20Z%20M10.7898541%2C9.72266777%20L14.499%2C13.431%20L14.5%2C11%20L16%2C11%20L16%2C14.5%20C16%2C15.3284271%2015.3284271%2C16%2014.5%2C16%20L10.7495%2C16%20L10.7495%2C14.5%20L13.446%2C14.5%20L9.71904783%2C10.7731819%20L10.7898541%2C9.72266777%20Z%20M14.5%2C0%20C15.3284271%2C0%2016%2C0.671572876%2016%2C1.5%20L16%2C5%20L14.5%2C5%20L14.499%2C2.588%20L10.779708%2C6.3074783%20L9.71904783%2C5.24681813%20L13.465%2C1.5%20L10.75%2C1.5%20L10.75%2C0%20L14.5%2C0%20Z%20M5.25000001%2C0%20L5.25000001%2C1.5%20L2.567%2C1.5%20L6.31400442%2C5.24681813%20L5.25334424%2C6.3074783%20L1.5%2C2.554%20L1.5%2C5%20L0%2C5%20L0%2C1.5%20C0%2C0.671572876%200.671572876%2C0%201.5%2C0%20L5.25000001%2C0%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
@@ -14936,7 +14939,8 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
14936
14939
  }))));
14937
14940
  };
14938
14941
  return /*#__PURE__*/React$1.createElement("div", {
14939
- ref: wrapperContainerRef
14942
+ ref: wrapperContainerRef,
14943
+ className: 'bs_detail_page_head_wrapper'
14940
14944
  }, /*#__PURE__*/React$1.createElement("div", {
14941
14945
  className: 'detail_page_head',
14942
14946
  style: {
@@ -14991,7 +14995,7 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
14991
14995
  return true;
14992
14996
  });
14993
14997
 
14994
- var css_248z$e = ".home_page_head {\n display: flex;\n justify-content: space-between;\n align-items: center;\n background-color: #FFFFFF;\n border-bottom: 1px solid #f0f0f0;\n padding: 6px 16px 5px;\n font-weight: 500;\n}\n.home_page_head .home_page_title_wrapper {\n display: flex;\n align-items: center;\n height: 20px;\n line-height: 20px;\n}\n.home_page_head .home_page_title {\n font-family: PingFangSC-Medium;\n font-weight: 600;\n font-size: 16px;\n color: #000000;\n letter-spacing: 0;\n flex-grow: 1;\n padding-right: 10px;\n display: none;\n}\n.home_page_head .ant-breadcrumb {\n display: block !important;\n}\n.home_page_head .ant-breadcrumb .ant-breadcrumb-separator {\n margin: 0 2px;\n}\n.home_page_head .ant-breadcrumb li .bread_name {\n color: #8B8B8B;\n font-size: 12px;\n line-height: 16px;\n cursor: pointer;\n}\n.home_page_head .ant-breadcrumb li .bread_name_last {\n color: #282828;\n}\n";
14998
+ var css_248z$e = ".bs_home_page_head_wrapper {\n height: 32px;\n position: sticky;\n background: #fff;\n width: 100%;\n top: 0px;\n z-index: 10;\n}\n.home_page_head {\n display: flex;\n justify-content: space-between;\n align-items: center;\n background-color: #FFFFFF;\n border-bottom: 1px solid #f0f0f0;\n padding: 6px 16px 5px;\n font-weight: 500;\n}\n.home_page_head .home_page_title_wrapper {\n display: flex;\n align-items: center;\n height: 20px;\n line-height: 20px;\n}\n.home_page_head .home_page_title {\n font-family: PingFangSC-Medium;\n font-weight: 600;\n font-size: 16px;\n color: #000000;\n letter-spacing: 0;\n flex-grow: 1;\n padding-right: 10px;\n display: none;\n}\n.home_page_head .ant-breadcrumb {\n display: block !important;\n}\n.home_page_head .ant-breadcrumb .ant-breadcrumb-separator {\n margin: 0 2px;\n}\n.home_page_head .ant-breadcrumb li .bread_name {\n color: #8B8B8B;\n font-size: 12px;\n line-height: 16px;\n cursor: pointer;\n}\n.home_page_head .ant-breadcrumb li .bread_name_last {\n color: #282828;\n}\n";
14995
14999
  styleInject(css_248z$e);
14996
15000
 
14997
15001
  var _excluded$d = ["children"];
@@ -15056,7 +15060,9 @@ var HeaderWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
15056
15060
  return getPageTitle(pathname);
15057
15061
  }, [pathname, title]);
15058
15062
  useEffect(function () {}, [pathname]);
15059
- return /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
15063
+ return /*#__PURE__*/React$1.createElement("div", {
15064
+ className: 'bs_home_page_head_wrapper'
15065
+ }, /*#__PURE__*/React$1.createElement("div", {
15060
15066
  className: 'home_page_head'
15061
15067
  }, /*#__PURE__*/React$1.createElement("div", {
15062
15068
  className: 'home_page_title_wrapper'
@@ -16031,13 +16037,15 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
16031
16037
  _this.columns = [{
16032
16038
  title: '搜索字段名称',
16033
16039
  dataIndex: 'label',
16034
- className: 'drag-visible',
16035
- width: 100
16040
+ className: 'drag-visible'
16036
16041
  }, {
16037
16042
  title: '删除',
16038
16043
  dataIndex: 'title1',
16039
16044
  render: function render(text, record) {
16040
16045
  return /*#__PURE__*/React$1.createElement("span", {
16046
+ style: {
16047
+ paddingLeft: '46px'
16048
+ },
16041
16049
  onClick: function onClick() {
16042
16050
  _this.setState({
16043
16051
  sortDataSource: _this.state.sortDataSource.filter(function (item) {
package/dist/index.js CHANGED
@@ -5295,7 +5295,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
5295
5295
  }
5296
5296
  return getShowValueStr(kongValue);
5297
5297
  };
5298
- var isShouldShowStr = disabled && ctx || (ctx === null || ctx === void 0 ? void 0 : ctx.mode) == 'view';
5298
+ var isShouldShowStr = props.disabled && ctx || (ctx === null || ctx === void 0 ? void 0 : ctx.mode) == 'view';
5299
5299
  return /*#__PURE__*/React__default['default'].createElement("div", {
5300
5300
  className: 'search_select'
5301
5301
  }, fieldComponent ? (/*#__PURE__*/React__default['default'].createElement("div", {
@@ -8625,9 +8625,9 @@ function commonFun(type, prefixUrl, parentProps) {
8625
8625
  var requestConfig = _objectSpread2({
8626
8626
  url: "".concat(prefixUrl.selectPrefix, "/supplier"),
8627
8627
  filter: 'qp-name,code-orGroup,like',
8628
- otherParams: {
8628
+ otherParams: _objectSpread2({
8629
8629
  sorter: 'desc-id'
8630
- }
8630
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {})
8631
8631
  }, requestConfigProp);
8632
8632
  var selectProps = selectConfigProps;
8633
8633
  /*
@@ -8921,9 +8921,9 @@ function commonFun(type, prefixUrl, parentProps) {
8921
8921
  mappingTextField: 'name',
8922
8922
  mappingValueField: 'skuCode',
8923
8923
  mappingTextShowTextField: ['name', 'propertyNameAndValue'],
8924
- otherParams: {
8925
- // 'qp-type-eq': 10, // 查唯一国际条码【有些项目不需要必须要有国际条码,故注释,需要的项目自己定义otherParams补充上这个条件】
8926
- },
8924
+ otherParams: _objectSpread2({
8925
+ 'ownOrgSign': getCurrentTargetBgId()
8926
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
8927
8927
  sourceName: 'skuCode'
8928
8928
  }, requestConfigProp);
8929
8929
  selectProps = _objectSpread2({
@@ -9084,10 +9084,10 @@ function commonFun(type, prefixUrl, parentProps) {
9084
9084
  filter: 'qp-itemCode,name-orGroup,like',
9085
9085
  mappingTextField: 'name',
9086
9086
  mappingValueField: 'itemCode',
9087
- otherParams: {
9087
+ otherParams: _objectSpread2({
9088
9088
  'qp-approveStatus-eq': 1,
9089
9089
  sorter: 'desc-id'
9090
- },
9090
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
9091
9091
  sourceName: 'itemCode'
9092
9092
  }, requestConfigProp);
9093
9093
  tableSearchForm = [{
@@ -9345,9 +9345,9 @@ function commonFun(type, prefixUrl, parentProps) {
9345
9345
  filter: 'qp-code,name-orGroup,like',
9346
9346
  mappingTextField: 'name',
9347
9347
  mappingValueField: 'code',
9348
- otherParams: {
9349
- 'qp-skcStatus-eq': 1 // 状态:0禁用 1启用
9350
- },
9348
+ otherParams: _objectSpread2({
9349
+ 'qp-skcStatus-eq': 1
9350
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
9351
9351
  sourceName: 'qp-skcCode-eq'
9352
9352
  }, requestConfigProp);
9353
9353
  Promise.all(fieldLoadSource).then(function (x) {
@@ -9409,9 +9409,9 @@ function commonFun(type, prefixUrl, parentProps) {
9409
9409
  mappingTextField: 'value',
9410
9410
  mappingTextShowKeyField: 'propertyValueCode',
9411
9411
  mappingValueField: 'propertyValueCode',
9412
- otherParams: {
9412
+ otherParams: _objectSpread2({
9413
9413
  sorter: 'desc-id'
9414
- },
9414
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
9415
9415
  sourceName: 'qp-propertyValueCode-in'
9416
9416
  }, requestConfigProp);
9417
9417
  needModalTable = false;
@@ -9439,7 +9439,7 @@ function commonFun(type, prefixUrl, parentProps) {
9439
9439
  'qp-isEnable-eq': 1
9440
9440
  }), {}, {
9441
9441
  sorter: 'desc-id'
9442
- }),
9442
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
9443
9443
  sourceName: 'warehouseIds'
9444
9444
  }, requestConfigProp);
9445
9445
  tableSearchForm = [{
@@ -9542,7 +9542,7 @@ function commonFun(type, prefixUrl, parentProps) {
9542
9542
  'qp-isEnable-eq': 1
9543
9543
  }), {}, {
9544
9544
  sorter: 'desc-id'
9545
- }),
9545
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
9546
9546
  sourceName: 'warehouseIds'
9547
9547
  }, requestConfigProp);
9548
9548
  tableSearchForm = [{
@@ -9616,7 +9616,7 @@ function commonFun(type, prefixUrl, parentProps) {
9616
9616
  'qp-status-eq': 1
9617
9617
  }), {}, {
9618
9618
  sorter: 'desc-id'
9619
- }),
9619
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
9620
9620
  sourceName: 'qp-operationWarehouseCode-in'
9621
9621
  }, requestConfigProp);
9622
9622
  tableSearchForm = [{
@@ -9703,10 +9703,10 @@ function commonFun(type, prefixUrl, parentProps) {
9703
9703
  mappingTextField: 'virtualWarehouseName',
9704
9704
  mappingTextShowKeyField: 'virtualWarehouseCode',
9705
9705
  mappingValueField: 'id',
9706
- otherParams: {
9706
+ otherParams: _objectSpread2({
9707
9707
  'qp-isEnable-eq': 1,
9708
9708
  sorter: 'desc-id'
9709
- },
9709
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
9710
9710
  sourceName: 'warehouseIds'
9711
9711
  }, requestConfigProp);
9712
9712
  needModalTable = false;
@@ -9729,10 +9729,10 @@ function commonFun(type, prefixUrl, parentProps) {
9729
9729
  mappingTextField: 'channelWarehouseName',
9730
9730
  mappingTextShowKeyField: 'channelWarehouseCode',
9731
9731
  mappingValueField: 'id',
9732
- otherParams: {
9732
+ otherParams: _objectSpread2({
9733
9733
  'qp-isEnable-eq': 1,
9734
9734
  sorter: 'desc-id'
9735
- },
9735
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
9736
9736
  sourceName: 'warehouseIds'
9737
9737
  }, requestConfigProp);
9738
9738
  needModalTable = false;
@@ -9755,10 +9755,10 @@ function commonFun(type, prefixUrl, parentProps) {
9755
9755
  filter: 'qp-name,code-orGroup,like',
9756
9756
  mappingTextField: 'name',
9757
9757
  mappingValueField: 'code',
9758
- otherParams: {
9758
+ otherParams: _objectSpread2({
9759
9759
  'qp-status-eq': 10,
9760
9760
  sorter: 'desc-id'
9761
- },
9761
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
9762
9762
  sourceName: 'customCode'
9763
9763
  }, requestConfigProp);
9764
9764
  tableSearchForm = [{
@@ -9902,11 +9902,11 @@ function commonFun(type, prefixUrl, parentProps) {
9902
9902
  filter: 'qp-name,code-orGroup,like',
9903
9903
  mappingTextField: 'name',
9904
9904
  mappingValueField: 'code',
9905
- otherParams: {
9905
+ otherParams: _objectSpread2({
9906
9906
  'qp-isMain-eq': 1,
9907
9907
  'qp-status-eq': 1,
9908
9908
  sorter: 'desc-id'
9909
- },
9909
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
9910
9910
  sourceName: 'customCode'
9911
9911
  }, requestConfigProp);
9912
9912
  tableSearchForm = [{
@@ -9999,13 +9999,14 @@ function commonFun(type, prefixUrl, parentProps) {
9999
9999
  }]
10000
10000
  }, selectConfigProps);
10001
10001
  requestConfig = _objectSpread2({
10002
+ init: true,
10002
10003
  url: "".concat(prefixUrl.selectPrefix, "/store"),
10003
10004
  filter: 'qp-name,code-orGroup,like',
10004
10005
  mappingTextField: 'name',
10005
10006
  mappingValueField: 'code',
10006
- otherParams: {
10007
+ otherParams: _objectSpread2({
10007
10008
  sorter: 'desc-id'
10008
- },
10009
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
10009
10010
  sourceName: 'code'
10010
10011
  }, requestConfigProp);
10011
10012
  tableSearchForm = [{
@@ -10193,13 +10194,14 @@ function commonFun(type, prefixUrl, parentProps) {
10193
10194
  }]
10194
10195
  }, selectConfigProps);
10195
10196
  requestConfig = _objectSpread2({
10197
+ init: true,
10196
10198
  url: "".concat(prefixUrl.selectPrefix, "/store/page"),
10197
10199
  filter: 'qp-name,code-orGroup,like',
10198
10200
  mappingTextField: 'name',
10199
10201
  mappingValueField: 'code',
10200
- otherParams: {
10202
+ otherParams: _objectSpread2({
10201
10203
  sorter: 'desc-id'
10202
- },
10204
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
10203
10205
  sourceName: 'code'
10204
10206
  }, requestConfigProp);
10205
10207
  tableSearchForm = [{
@@ -10304,9 +10306,9 @@ function commonFun(type, prefixUrl, parentProps) {
10304
10306
  mappingTextField: 'name',
10305
10307
  mappingTextShowKeyField: 'code',
10306
10308
  mappingValueField: 'id',
10307
- otherParams: {
10309
+ otherParams: _objectSpread2({
10308
10310
  sorter: 'desc-id'
10309
- },
10311
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
10310
10312
  sourceName: 'accountingSubjectCode'
10311
10313
  }, requestConfigProp);
10312
10314
  needModalTable = false;
@@ -10329,9 +10331,9 @@ function commonFun(type, prefixUrl, parentProps) {
10329
10331
  mappingTextField: 'name',
10330
10332
  mappingTextShowKeyField: 'code',
10331
10333
  mappingValueField: 'id',
10332
- otherParams: {
10334
+ otherParams: _objectSpread2({
10333
10335
  sorter: 'desc-id'
10334
- },
10336
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
10335
10337
  sourceName: 'inventoryOrgCode'
10336
10338
  }, requestConfigProp);
10337
10339
  needModalTable = false;
@@ -10354,9 +10356,9 @@ function commonFun(type, prefixUrl, parentProps) {
10354
10356
  mappingTextField: 'name',
10355
10357
  mappingTextShowKeyField: 'code',
10356
10358
  mappingValueField: 'id',
10357
- otherParams: {
10359
+ otherParams: _objectSpread2({
10358
10360
  sorter: 'desc-id'
10359
- },
10361
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
10360
10362
  sourceName: 'corporationCompany'
10361
10363
  }, requestConfigProp);
10362
10364
  needModalTable = false;
@@ -10379,9 +10381,9 @@ function commonFun(type, prefixUrl, parentProps) {
10379
10381
  mappingTextField: 'name',
10380
10382
  mappingTextShowKeyField: 'socialCreditCode',
10381
10383
  mappingValueField: 'socialCreditCode',
10382
- otherParams: {
10384
+ otherParams: _objectSpread2({
10383
10385
  sorter: 'desc-id'
10384
- },
10386
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
10385
10387
  sourceName: 'platCompany'
10386
10388
  }, requestConfigProp);
10387
10389
  needModalTable = false;
@@ -10404,11 +10406,11 @@ function commonFun(type, prefixUrl, parentProps) {
10404
10406
  mappingTextField: 'name',
10405
10407
  mappingTextShowKeyField: 'employeeNumber',
10406
10408
  mappingValueField: 'employeeNumber',
10407
- otherParams: {
10409
+ otherParams: _objectSpread2({
10408
10410
  'qp-enable-eq': 10,
10409
10411
  'qp-employmentType-eq': 20,
10410
10412
  sorter: 'desc-id'
10411
- },
10413
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
10412
10414
  sourceName: 'employeeNumber'
10413
10415
  }, requestConfigProp);
10414
10416
  tableSearchForm = [{
@@ -10504,7 +10506,7 @@ function commonFun(type, prefixUrl, parentProps) {
10504
10506
  'qp-employmentType-eq': 20
10505
10507
  }), {}, {
10506
10508
  sorter: 'desc-id'
10507
- }),
10509
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
10508
10510
  sourceName: 'employeeNumber'
10509
10511
  }, requestConfigProp);
10510
10512
  tableSearchForm = [{
@@ -10639,9 +10641,9 @@ function commonFun(type, prefixUrl, parentProps) {
10639
10641
  mappingTextField: 'name',
10640
10642
  mappingTextShowKeyField: 'code',
10641
10643
  mappingValueField: 'code',
10642
- otherParams: {
10644
+ otherParams: _objectSpread2({
10643
10645
  sorter: 'desc-id'
10644
- },
10646
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
10645
10647
  sourceName: 'deliveryModeCode'
10646
10648
  }, requestConfigProp);
10647
10649
  tableSearchForm = [{
@@ -10775,9 +10777,9 @@ function commonFun(type, prefixUrl, parentProps) {
10775
10777
  mappingTextField: 'name',
10776
10778
  mappingTextShowKeyField: 'code',
10777
10779
  mappingValueField: 'code',
10778
- otherParams: {
10780
+ otherParams: _objectSpread2({
10779
10781
  sorter: 'desc-id'
10780
- },
10782
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
10781
10783
  sourceName: 'ruleTemplateCode'
10782
10784
  }, requestConfigProp);
10783
10785
  tableSearchForm = [{
@@ -10846,10 +10848,10 @@ function commonFun(type, prefixUrl, parentProps) {
10846
10848
  mappingTextField: 'name',
10847
10849
  mappingTextShowKeyField: 'code',
10848
10850
  mappingValueField: 'code',
10849
- otherParams: {
10851
+ otherParams: _objectSpread2({
10850
10852
  'qp-status-eq': 10,
10851
10853
  sorter: 'desc-id'
10852
- },
10854
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
10853
10855
  sourceName: 'roleCode'
10854
10856
  }, requestConfigProp);
10855
10857
  tableSearchForm = [{
@@ -10942,12 +10944,12 @@ function commonFun(type, prefixUrl, parentProps) {
10942
10944
  mappingTextField: 'name',
10943
10945
  mappingTextShowKeyField: 'code',
10944
10946
  mappingValueField: 'code',
10945
- otherParams: {
10947
+ otherParams: _objectSpread2({
10946
10948
  'qp-type-eq': 1,
10947
10949
  'qp-isMain-eq': 1,
10948
10950
  'qp-status-eq': 10,
10949
10951
  sorter: 'desc-id'
10950
- },
10952
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
10951
10953
  sourceName: 'marketChannelCode'
10952
10954
  }, requestConfigProp);
10953
10955
  tableSearchForm = [{
@@ -11029,9 +11031,9 @@ function commonFun(type, prefixUrl, parentProps) {
11029
11031
  mappingTextField: 'name',
11030
11032
  mappingTextShowKeyField: 'code',
11031
11033
  mappingValueField: 'code',
11032
- otherParams: {
11034
+ otherParams: _objectSpread2({
11033
11035
  sorter: 'desc-createTime'
11034
- },
11036
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
11035
11037
  sourceName: 'organizationCode'
11036
11038
  }, requestConfigProp), tableSearchForm = [{
11037
11039
  name: 'qp-name-like',
@@ -11157,9 +11159,9 @@ function commonFun(type, prefixUrl, parentProps) {
11157
11159
  mappingTextField: 'name',
11158
11160
  mappingTextShowKeyField: 'code',
11159
11161
  mappingValueField: 'code',
11160
- otherParams: {
11162
+ otherParams: _objectSpread2({
11161
11163
  sorter: 'desc-id'
11162
- },
11164
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
11163
11165
  sourceName: 'personCode'
11164
11166
  }, requestConfigProp);
11165
11167
  tableSearchForm = [{
@@ -11217,16 +11219,17 @@ function commonFun(type, prefixUrl, parentProps) {
11217
11219
  }]
11218
11220
  }, selectConfigProps);
11219
11221
  requestConfig = _objectSpread2({
11222
+ init: true,
11220
11223
  url: "".concat(prefixUrl.selectPrefix, "/brand/list"),
11221
11224
  filter: 'qp-brandCode,name-orGroup,like',
11222
11225
  mappingTextField: 'name',
11223
11226
  mappingTextShowKeyField: 'brandCode',
11224
11227
  mappingValueField: 'brandCode',
11225
- otherParams: {
11228
+ otherParams: _objectSpread2({
11226
11229
  'ctl-withAuth': true,
11227
11230
  'qp-status-in': '1',
11228
11231
  sorter: 'desc-id'
11229
- },
11232
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
11230
11233
  sourceName: 'brandCode'
11231
11234
  }, requestConfigProp);
11232
11235
  tableSearchForm = [{
@@ -11291,10 +11294,10 @@ function commonFun(type, prefixUrl, parentProps) {
11291
11294
  mappingTextField: 'name',
11292
11295
  mappingTextShowKeyField: 'code',
11293
11296
  mappingValueField: 'code',
11294
- otherParams: {
11297
+ otherParams: _objectSpread2({
11295
11298
  'qp-enabled-eq': true,
11296
11299
  sorter: 'desc-id'
11297
- },
11300
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
11298
11301
  sourceName: 'priceCode'
11299
11302
  }, requestConfigProp);
11300
11303
  tableSearchForm = [{
@@ -11352,11 +11355,11 @@ function commonFun(type, prefixUrl, parentProps) {
11352
11355
  mappingTextField: 'name',
11353
11356
  mappingTextShowKeyField: 'code',
11354
11357
  mappingValueField: 'code',
11355
- otherParams: {
11358
+ otherParams: _objectSpread2({
11356
11359
  'qp-orgViewCode-eq': 'sales-organizational-view',
11357
11360
  'qp-status-eq': 10,
11358
11361
  sorter: 'desc-createTime'
11359
- },
11362
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
11360
11363
  sourceName: 'supplierCode'
11361
11364
  }, requestConfigProp), tableSearchForm = [{
11362
11365
  name: 'qp-name-like',
@@ -14746,7 +14749,7 @@ var getDetailMatchRoute = function getDetailMatchRoute(path, routeObj, hideRoute
14746
14749
  return undefined;
14747
14750
  };
14748
14751
 
14749
- var css_248z$c = ".detail_page_head {\n height: 32px;\n z-index: 5;\n display: flex;\n align-items: center;\n background-color: #FFFFFF;\n font-weight: 500;\n}\n.detail_page_head .ant-breadcrumb {\n display: block !important;\n}\n.detail_page_head .ant-breadcrumb .ant-breadcrumb-separator {\n margin: 0 2px;\n}\n.detail_page_head .ant-breadcrumb li .bread_name {\n color: #8B8B8B;\n font-size: 12px;\n cursor: pointer;\n}\n.detail_page_head .ant-breadcrumb li .bread_name_last {\n color: #282828;\n}\n.detail_page_head .ant-breadcrumb li .bread_name:hover {\n color: #000000d9;\n}\n.detail_page_wrapper {\n height: calc(100vh - 80px);\n}\n.back_home_img_content {\n display: inline-block;\n height: 16px;\n width: 16px;\n border: 1px solid #BABABA;\n margin: 0 8px 0 10px;\n border-radius: 14px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n}\n.back_home_img_content .anticon-arrow-left {\n color: #BABABA;\n}\n.back_home_img_content:hover {\n background-color: #005cff;\n border: 1px solid #005cff;\n}\n.back_home_img_content:hover .anticon-arrow-left {\n color: #FFFFFF;\n}\n.detail_page_title_box {\n flex-grow: 1;\n display: flex;\n align-items: center;\n}\n.detail_page_title {\n height: 20px;\n font-family: PingFangSC;\n font-weight: 600;\n font-size: 14px;\n padding-right: 10px;\n color: #000000;\n letter-spacing: 0;\n line-height: 20px;\n display: none;\n}\n.detail_page_btns {\n display: flex;\n gap: 8px;\n margin-right: 20px;\n}\n.detail_page_btns button {\n height: 24px !important;\n display: flex;\n align-items: center;\n gap: 2px;\n border-radius: 3px;\n padding: 0 10px;\n}\n.detail_page_btns .ant-btn-dangerous {\n background-color: #EC5246 !important;\n}\n";
14752
+ var css_248z$c = ".bs_detail_page_head_wrapper {\n height: 32px;\n position: sticky;\n background: #fff;\n width: 100%;\n top: 0px;\n z-index: 10;\n}\n.detail_page_head {\n height: 32px;\n z-index: 5;\n display: flex;\n align-items: center;\n background-color: #FFFFFF;\n font-weight: 500;\n}\n.detail_page_head .ant-breadcrumb {\n display: block !important;\n}\n.detail_page_head .ant-breadcrumb .ant-breadcrumb-separator {\n margin: 0 2px;\n}\n.detail_page_head .ant-breadcrumb li .bread_name {\n color: #8B8B8B;\n font-size: 12px;\n cursor: pointer;\n}\n.detail_page_head .ant-breadcrumb li .bread_name_last {\n color: #282828;\n}\n.detail_page_head .ant-breadcrumb li .bread_name:hover {\n color: #000000d9;\n}\n.detail_page_wrapper {\n height: calc(100vh - 80px);\n}\n.back_home_img_content {\n display: inline-block;\n height: 16px;\n width: 16px;\n border: 1px solid #BABABA;\n margin: 0 8px 0 10px;\n border-radius: 14px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n}\n.back_home_img_content .anticon-arrow-left {\n color: #BABABA;\n}\n.back_home_img_content:hover {\n background-color: #005cff;\n border: 1px solid #005cff;\n}\n.back_home_img_content:hover .anticon-arrow-left {\n color: #FFFFFF;\n}\n.detail_page_title_box {\n flex-grow: 1;\n display: flex;\n align-items: center;\n}\n.detail_page_title {\n height: 20px;\n font-family: PingFangSC;\n font-weight: 600;\n font-size: 14px;\n padding-right: 10px;\n color: #000000;\n letter-spacing: 0;\n line-height: 20px;\n display: none;\n}\n.detail_page_btns {\n display: flex;\n gap: 8px;\n margin-right: 20px;\n}\n.detail_page_btns button {\n height: 24px !important;\n display: flex;\n align-items: center;\n gap: 2px;\n border-radius: 3px;\n padding: 0 10px;\n}\n.detail_page_btns .ant-btn-dangerous {\n background-color: #EC5246 !important;\n}\n";
14750
14753
  styleInject(css_248z$c);
14751
14754
 
14752
14755
  var quanping = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2234px%22%20height%3D%2234px%22%20viewBox%3D%220%200%2034%2034%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%9F%A9%E5%BD%A2%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E5%88%97%E8%A1%A8%E5%8A%9F%E8%83%BD%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E6%98%9F%E6%BE%9C-%E6%90%9C%E7%B4%A2-%E6%90%9C%E7%B4%A2%E5%8A%9F%E8%83%BD%22%20transform%3D%22translate%28-1823.000000%2C%20-297.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E6%90%9C%E7%B4%A2%E7%BB%84%E4%BB%B6-%E6%A0%B7%E5%BC%8F%E4%B8%80%22%20transform%3D%22translate%28230.000000%2C%20284.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%A1%AE%E5%AE%9A%E5%A4%87%E4%BB%BD-2%22%20transform%3D%22translate%281593.000000%2C%2013.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M5.55801813%2C1%20L28.4419819%2C1%20C30.0269041%2C1%2030.6016352%2C1.16502331%2031.181059%2C1.47490258%20C31.7604829%2C1.78478186%2032.2152181%2C2.2395171%2032.5250974%2C2.81894097%20C32.8349767%2C3.39836484%2033%2C3.97309593%2033%2C5.55801813%20L33%2C28.4419819%20C33%2C30.0269041%2032.8349767%2C30.6016352%2032.5250974%2C31.181059%20C32.2152181%2C31.7604829%2031.7604829%2C32.2152181%2031.181059%2C32.5250974%20C30.6016352%2C32.8349767%2030.0269041%2C33%2028.4419819%2C33%20L5.55801813%2C33%20C3.97309593%2C33%203.39836484%2C32.8349767%202.81894097%2C32.5250974%20C2.2395171%2C32.2152181%201.78478186%2C31.7604829%201.47490258%2C31.181059%20C1.16502331%2C30.6016352%201%2C30.0269041%201%2C28.4419819%20L1%2C5.55801813%20C1%2C3.97309593%201.16502331%2C3.39836484%201.47490258%2C2.81894097%20C1.78478186%2C2.2395171%202.2395171%2C1.78478186%202.81894097%2C1.47490258%20C3.39836484%2C1.16502331%203.97309593%2C1%205.55801813%2C1%20Z%22%20id%3D%22%E7%9F%A9%E5%BD%A2%22%20stroke%3D%22%23D9D9D9%22%20stroke-width%3D%220.888888889%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22scanning%22%20transform%3D%22translate%289.000000%2C%209.000000%29%22%20fill%3D%22%23000000%22%20fill-rule%3D%22nonzero%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M5.21873562%2C9.69278114%20L6.28954184%2C10.7432953%20L2.532%2C14.5%20L5.24949999%2C14.5%20L5.24949999%2C16%20L1.5%2C16%20C0.671572876%2C16%200%2C15.3284271%200%2C14.5%20L0%2C11%20L1.5%2C11%20L1.5%2C13.41%20L5.21873562%2C9.69278114%20Z%20M10.7898541%2C9.72266777%20L14.499%2C13.431%20L14.5%2C11%20L16%2C11%20L16%2C14.5%20C16%2C15.3284271%2015.3284271%2C16%2014.5%2C16%20L10.7495%2C16%20L10.7495%2C14.5%20L13.446%2C14.5%20L9.71904783%2C10.7731819%20L10.7898541%2C9.72266777%20Z%20M14.5%2C0%20C15.3284271%2C0%2016%2C0.671572876%2016%2C1.5%20L16%2C5%20L14.5%2C5%20L14.499%2C2.588%20L10.779708%2C6.3074783%20L9.71904783%2C5.24681813%20L13.465%2C1.5%20L10.75%2C1.5%20L10.75%2C0%20L14.5%2C0%20Z%20M5.25000001%2C0%20L5.25000001%2C1.5%20L2.567%2C1.5%20L6.31400442%2C5.24681813%20L5.25334424%2C6.3074783%20L1.5%2C2.554%20L1.5%2C5%20L0%2C5%20L0%2C1.5%20C0%2C0.671572876%200.671572876%2C0%201.5%2C0%20L5.25000001%2C0%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
@@ -14959,7 +14962,8 @@ var DetailWrapper = /*#__PURE__*/React__default['default'].memo(function (_ref)
14959
14962
  }))));
14960
14963
  };
14961
14964
  return /*#__PURE__*/React__default['default'].createElement("div", {
14962
- ref: wrapperContainerRef
14965
+ ref: wrapperContainerRef,
14966
+ className: 'bs_detail_page_head_wrapper'
14963
14967
  }, /*#__PURE__*/React__default['default'].createElement("div", {
14964
14968
  className: 'detail_page_head',
14965
14969
  style: {
@@ -15014,7 +15018,7 @@ var DetailWrapper = /*#__PURE__*/React__default['default'].memo(function (_ref)
15014
15018
  return true;
15015
15019
  });
15016
15020
 
15017
- var css_248z$e = ".home_page_head {\n display: flex;\n justify-content: space-between;\n align-items: center;\n background-color: #FFFFFF;\n border-bottom: 1px solid #f0f0f0;\n padding: 6px 16px 5px;\n font-weight: 500;\n}\n.home_page_head .home_page_title_wrapper {\n display: flex;\n align-items: center;\n height: 20px;\n line-height: 20px;\n}\n.home_page_head .home_page_title {\n font-family: PingFangSC-Medium;\n font-weight: 600;\n font-size: 16px;\n color: #000000;\n letter-spacing: 0;\n flex-grow: 1;\n padding-right: 10px;\n display: none;\n}\n.home_page_head .ant-breadcrumb {\n display: block !important;\n}\n.home_page_head .ant-breadcrumb .ant-breadcrumb-separator {\n margin: 0 2px;\n}\n.home_page_head .ant-breadcrumb li .bread_name {\n color: #8B8B8B;\n font-size: 12px;\n line-height: 16px;\n cursor: pointer;\n}\n.home_page_head .ant-breadcrumb li .bread_name_last {\n color: #282828;\n}\n";
15021
+ var css_248z$e = ".bs_home_page_head_wrapper {\n height: 32px;\n position: sticky;\n background: #fff;\n width: 100%;\n top: 0px;\n z-index: 10;\n}\n.home_page_head {\n display: flex;\n justify-content: space-between;\n align-items: center;\n background-color: #FFFFFF;\n border-bottom: 1px solid #f0f0f0;\n padding: 6px 16px 5px;\n font-weight: 500;\n}\n.home_page_head .home_page_title_wrapper {\n display: flex;\n align-items: center;\n height: 20px;\n line-height: 20px;\n}\n.home_page_head .home_page_title {\n font-family: PingFangSC-Medium;\n font-weight: 600;\n font-size: 16px;\n color: #000000;\n letter-spacing: 0;\n flex-grow: 1;\n padding-right: 10px;\n display: none;\n}\n.home_page_head .ant-breadcrumb {\n display: block !important;\n}\n.home_page_head .ant-breadcrumb .ant-breadcrumb-separator {\n margin: 0 2px;\n}\n.home_page_head .ant-breadcrumb li .bread_name {\n color: #8B8B8B;\n font-size: 12px;\n line-height: 16px;\n cursor: pointer;\n}\n.home_page_head .ant-breadcrumb li .bread_name_last {\n color: #282828;\n}\n";
15018
15022
  styleInject(css_248z$e);
15019
15023
 
15020
15024
  var _excluded$d = ["children"];
@@ -15079,7 +15083,9 @@ var HeaderWrapper = /*#__PURE__*/React__default['default'].memo(function (_ref)
15079
15083
  return getPageTitle(pathname);
15080
15084
  }, [pathname, title]);
15081
15085
  React$1.useEffect(function () {}, [pathname]);
15082
- return /*#__PURE__*/React__default['default'].createElement("div", null, /*#__PURE__*/React__default['default'].createElement("div", {
15086
+ return /*#__PURE__*/React__default['default'].createElement("div", {
15087
+ className: 'bs_home_page_head_wrapper'
15088
+ }, /*#__PURE__*/React__default['default'].createElement("div", {
15083
15089
  className: 'home_page_head'
15084
15090
  }, /*#__PURE__*/React__default['default'].createElement("div", {
15085
15091
  className: 'home_page_title_wrapper'
@@ -16054,13 +16060,15 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
16054
16060
  _this.columns = [{
16055
16061
  title: '搜索字段名称',
16056
16062
  dataIndex: 'label',
16057
- className: 'drag-visible',
16058
- width: 100
16063
+ className: 'drag-visible'
16059
16064
  }, {
16060
16065
  title: '删除',
16061
16066
  dataIndex: 'title1',
16062
16067
  render: function render(text, record) {
16063
16068
  return /*#__PURE__*/React__default['default'].createElement("span", {
16069
+ style: {
16070
+ paddingLeft: '46px'
16071
+ },
16064
16072
  onClick: function onClick() {
16065
16073
  _this.setState({
16066
16074
  sortDataSource: _this.state.sortDataSource.filter(function (item) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bit-sun/business-component",
3
- "version": "4.0.11-alpha.17",
3
+ "version": "4.0.11-alpha.19",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",
@@ -204,7 +204,6 @@ class SearchItemTable extends React.Component {
204
204
  title: '搜索字段名称',
205
205
  dataIndex: 'label',
206
206
  className: 'drag-visible',
207
- width: 100,
208
207
  },
209
208
  {
210
209
  title: '删除',
@@ -212,6 +211,7 @@ class SearchItemTable extends React.Component {
212
211
  render: (text, record) => {
213
212
  return (
214
213
  <span
214
+ style={{paddingLeft: '46px'}}
215
215
  onClick={() => {
216
216
  this.setState({
217
217
  sortDataSource: this.state.sortDataSource.filter((item) => {
@@ -1,3 +1,12 @@
1
+ .bs_detail_page_head_wrapper{
2
+ height: 32px;
3
+ position: sticky;
4
+ background: #fff;
5
+ width: 100%;
6
+ top: 0px;
7
+ z-index: 10;
8
+ }
9
+
1
10
  .detail_page_head {
2
11
  height: 32px;
3
12
  z-index: 5;
@@ -221,7 +221,7 @@ const DetailWrapper = React.memo(
221
221
  };
222
222
 
223
223
  return (
224
- <div ref={wrapperContainerRef}>
224
+ <div ref={wrapperContainerRef} className='bs_detail_page_head_wrapper'>
225
225
  <div
226
226
  className={'detail_page_head'}
227
227
  style={{
@@ -1,3 +1,12 @@
1
+ .bs_home_page_head_wrapper{
2
+ height: 32px;
3
+ position: sticky;
4
+ background: #fff;
5
+ width: 100%;
6
+ top: 0px;
7
+ z-index: 10;
8
+ }
9
+
1
10
  .home_page_head {
2
11
  display: flex;
3
12
  justify-content: space-between;
@@ -84,7 +84,7 @@ const HeaderWrapper = React.memo(
84
84
  useEffect(() => {}, [pathname]);
85
85
 
86
86
  return (
87
- <div>
87
+ <div className='bs_home_page_head_wrapper'>
88
88
  <div className={'home_page_head'}>
89
89
  <div className='home_page_title_wrapper'>
90
90
  {/* <div className={'home_page_title'}>{pageTitle}</div> */}
@@ -4,7 +4,7 @@ import { shopFileType, arrivalPaySupportList, sharingType, shopFile2Type, shopFi
4
4
  import { getDictionarySource, getDictionaryTextByValue, loadSelectSource, handleHiddenFields, handleHiddenFieldsRequest, getFieldIndex } from './utils';
5
5
  import { handleTextOverflow, tableColumnsImage, handleTooltip } from '@/components/Business/BsSulaQueryTable/utils';
6
6
  import { getSkuImg } from '@/utils/TableUtils';
7
- import { getEmployeeCode } from '@/utils/LocalstorageUtils';
7
+ import { getEmployeeCode, getCurrentTargetBgId } from '@/utils/LocalstorageUtils';
8
8
  import { Image } from 'antd';
9
9
 
10
10
  const hasDictSharingType = getDictionarySource('UC000013')?.length;
@@ -18,7 +18,8 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
18
18
  url: `${prefixUrl.selectPrefix}/supplier`,
19
19
  filter: 'qp-name,code-orGroup,like', // 过滤参数
20
20
  otherParams: {
21
- sorter: 'desc-id'
21
+ sorter: 'desc-id',
22
+ ...(requestConfigProp?.addOtherParams || {}),
22
23
  }, // 默认参数
23
24
  ...requestConfigProp
24
25
  }
@@ -300,7 +301,9 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
300
301
  mappingValueField: 'skuCode',
301
302
  mappingTextShowTextField: ['name', 'propertyNameAndValue'],
302
303
  otherParams: {
304
+ 'ownOrgSign': getCurrentTargetBgId(),
303
305
  // 'qp-type-eq': 10, // 查唯一国际条码【有些项目不需要必须要有国际条码,故注释,需要的项目自己定义otherParams补充上这个条件】
306
+ ...(requestConfigProp?.addOtherParams || {}),
304
307
  }, // 默认参数
305
308
  sourceName: 'skuCode',
306
309
  ...requestConfigProp,
@@ -467,7 +470,8 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
467
470
  mappingValueField: 'itemCode',
468
471
  otherParams: {
469
472
  'qp-approveStatus-eq': 1, // 审核状态(0.待审批;1.审批通过;2.驳回;3.审批未通过)
470
- sorter: 'desc-id'
473
+ sorter: 'desc-id',
474
+ ...(requestConfigProp?.addOtherParams || {}),
471
475
  }, // 默认参数
472
476
  sourceName: 'itemCode',
473
477
  ...requestConfigProp,
@@ -704,6 +708,7 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
704
708
  mappingValueField: 'code',
705
709
  otherParams: {
706
710
  'qp-skcStatus-eq': 1, // 状态:0禁用 1启用
711
+ ...(requestConfigProp?.addOtherParams || {}),
707
712
  }, // 默认参数
708
713
  sourceName: 'qp-skcCode-eq',
709
714
  ...requestConfigProp,
@@ -784,7 +789,8 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
784
789
  mappingTextShowKeyField: 'propertyValueCode',
785
790
  mappingValueField: 'propertyValueCode',
786
791
  otherParams: {
787
- sorter: 'desc-id'
792
+ sorter: 'desc-id',
793
+ ...(requestConfigProp?.addOtherParams || {}),
788
794
  }, // 默认参数
789
795
  sourceName: 'qp-propertyValueCode-in',
790
796
  ...requestConfigProp,
@@ -817,7 +823,8 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
817
823
  mappingValueField: 'id',
818
824
  otherParams: {
819
825
  ...(modalTableBusProps?.needStatusSearch?{}:{'qp-isEnable-eq': 1}),
820
- sorter: 'desc-id'
826
+ sorter: 'desc-id',
827
+ ...(requestConfigProp?.addOtherParams || {}),
821
828
  }, // 默认参数
822
829
  sourceName: 'warehouseIds',
823
830
  ...requestConfigProp,
@@ -914,7 +921,8 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
914
921
  mappingValueField: 'id',
915
922
  otherParams: {
916
923
  ...(modalTableBusProps?.needStatusSearch?{}:{'qp-isEnable-eq': 1}),
917
- sorter: 'desc-id'
924
+ sorter: 'desc-id',
925
+ ...(requestConfigProp?.addOtherParams || {}),
918
926
  }, // 默认参数
919
927
  sourceName: 'warehouseIds',
920
928
  ...requestConfigProp,
@@ -984,7 +992,8 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
984
992
  mappingValueField: 'operationWarehouseCode',
985
993
  otherParams: {
986
994
  ...(modalTableBusProps?.needStatusSearch?{}:{'qp-status-eq': 1}),
987
- sorter: 'desc-id'
995
+ sorter: 'desc-id',
996
+ ...(requestConfigProp?.addOtherParams || {}),
988
997
  }, // 默认参数
989
998
  sourceName: 'qp-operationWarehouseCode-in',
990
999
  ...requestConfigProp,
@@ -1073,7 +1082,8 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
1073
1082
  mappingValueField: 'id',
1074
1083
  otherParams: {
1075
1084
  'qp-isEnable-eq': 1,
1076
- sorter: 'desc-id'
1085
+ sorter: 'desc-id',
1086
+ ...(requestConfigProp?.addOtherParams || {}),
1077
1087
  }, // 默认参数
1078
1088
  sourceName: 'warehouseIds',
1079
1089
  ...requestConfigProp,
@@ -1104,7 +1114,8 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
1104
1114
  mappingValueField: 'id',
1105
1115
  otherParams: {
1106
1116
  'qp-isEnable-eq': 1,
1107
- sorter: 'desc-id'
1117
+ sorter: 'desc-id',
1118
+ ...(requestConfigProp?.addOtherParams || {}),
1108
1119
  }, // 默认参数
1109
1120
  sourceName: 'warehouseIds',
1110
1121
  ...requestConfigProp,
@@ -1136,7 +1147,8 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
1136
1147
  mappingValueField: 'code',
1137
1148
  otherParams: {
1138
1149
  'qp-status-eq': 10,
1139
- sorter: 'desc-id'
1150
+ sorter: 'desc-id',
1151
+ ...(requestConfigProp?.addOtherParams || {}),
1140
1152
  }, // 默认参数
1141
1153
  sourceName: 'customCode',
1142
1154
  ...requestConfigProp,
@@ -1275,7 +1287,8 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
1275
1287
  otherParams: {
1276
1288
  'qp-isMain-eq': 1, // 员工权限过滤,若不需要不要加
1277
1289
  'qp-status-eq': 1, // 1启用 0禁用
1278
- sorter: 'desc-id'
1290
+ sorter: 'desc-id',
1291
+ ...(requestConfigProp?.addOtherParams || {}),
1279
1292
  }, // 默认参数
1280
1293
  sourceName: 'customCode',
1281
1294
  ...requestConfigProp,
@@ -1371,12 +1384,14 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
1371
1384
  ...selectConfigProps,
1372
1385
  }
1373
1386
  requestConfig = {
1387
+ init: true,
1374
1388
  url: `${prefixUrl.selectPrefix}/store`,
1375
1389
  filter: 'qp-name,code-orGroup,like', // 过滤参数
1376
1390
  mappingTextField: 'name',
1377
1391
  mappingValueField: 'code',
1378
1392
  otherParams: {
1379
- sorter: 'desc-id'
1393
+ sorter: 'desc-id',
1394
+ ...(requestConfigProp?.addOtherParams || {}),
1380
1395
  }, // 默认参数
1381
1396
  sourceName: 'code',
1382
1397
  ...requestConfigProp,
@@ -1549,12 +1564,14 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
1549
1564
  ...selectConfigProps,
1550
1565
  }
1551
1566
  requestConfig = {
1567
+ init: true,
1552
1568
  url: `${prefixUrl.selectPrefix}/store/page`,
1553
1569
  filter: 'qp-name,code-orGroup,like', // 过滤参数
1554
1570
  mappingTextField: 'name',
1555
1571
  mappingValueField: 'code',
1556
1572
  otherParams: {
1557
- sorter: 'desc-id'
1573
+ sorter: 'desc-id',
1574
+ ...(requestConfigProp?.addOtherParams || {}),
1558
1575
  }, // 默认参数
1559
1576
  sourceName: 'code',
1560
1577
  ...requestConfigProp,
@@ -1651,7 +1668,8 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
1651
1668
  mappingTextShowKeyField: 'code',
1652
1669
  mappingValueField: 'id',
1653
1670
  otherParams: {
1654
- sorter: 'desc-id'
1671
+ sorter: 'desc-id',
1672
+ ...(requestConfigProp?.addOtherParams || {}),
1655
1673
  }, // 默认参数
1656
1674
  sourceName: 'accountingSubjectCode',
1657
1675
  ...requestConfigProp,
@@ -1681,7 +1699,8 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
1681
1699
  mappingTextShowKeyField: 'code',
1682
1700
  mappingValueField: 'id',
1683
1701
  otherParams: {
1684
- sorter: 'desc-id'
1702
+ sorter: 'desc-id',
1703
+ ...(requestConfigProp?.addOtherParams || {}),
1685
1704
  }, // 默认参数
1686
1705
  sourceName: 'inventoryOrgCode',
1687
1706
  ...requestConfigProp,
@@ -1712,7 +1731,8 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
1712
1731
  mappingTextShowKeyField: 'code',
1713
1732
  mappingValueField: 'id',
1714
1733
  otherParams: {
1715
- sorter: 'desc-id'
1734
+ sorter: 'desc-id',
1735
+ ...(requestConfigProp?.addOtherParams || {}),
1716
1736
  }, // 默认参数
1717
1737
  sourceName: 'corporationCompany',
1718
1738
  ...requestConfigProp,
@@ -1743,7 +1763,8 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
1743
1763
  mappingTextShowKeyField: 'socialCreditCode',
1744
1764
  mappingValueField: 'socialCreditCode',
1745
1765
  otherParams: {
1746
- sorter: 'desc-id'
1766
+ sorter: 'desc-id',
1767
+ ...(requestConfigProp?.addOtherParams || {}),
1747
1768
  }, // 默认参数
1748
1769
  sourceName: 'platCompany',
1749
1770
  ...requestConfigProp,
@@ -1776,7 +1797,8 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
1776
1797
  otherParams: {
1777
1798
  'qp-enable-eq': 10, // 启用状态 10-启用,20-禁用
1778
1799
  'qp-employmentType-eq': 20,
1779
- sorter: 'desc-id'
1800
+ sorter: 'desc-id',
1801
+ ...(requestConfigProp?.addOtherParams || {}),
1780
1802
  }, // 默认参数
1781
1803
  sourceName: 'employeeNumber',
1782
1804
  ...requestConfigProp,
@@ -1873,7 +1895,8 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
1873
1895
  'qp-enable-eq': 10, // 启用状态 10-启用,20-禁用
1874
1896
  'qp-orgViewIds-like': 'administrative-organization-view', // 为了兼容 搜素所属组织机构时候需要传此参数
1875
1897
  ...(modalTableBusProps?.needTypeSearch?{}:{'qp-employmentType-eq': 20}), // 10外部员工;20内部员工
1876
- sorter: 'desc-id'
1898
+ sorter: 'desc-id',
1899
+ ...(requestConfigProp?.addOtherParams || {}),
1877
1900
  }, // 默认参数
1878
1901
  sourceName: 'employeeNumber',
1879
1902
  ...requestConfigProp,
@@ -1990,7 +2013,8 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
1990
2013
  mappingTextShowKeyField: 'code',
1991
2014
  mappingValueField: 'code',
1992
2015
  otherParams: {
1993
- sorter: 'desc-id'
2016
+ sorter: 'desc-id',
2017
+ ...(requestConfigProp?.addOtherParams || {}),
1994
2018
  }, // 默认参数
1995
2019
  sourceName: 'deliveryModeCode',
1996
2020
  ...requestConfigProp
@@ -2116,7 +2140,8 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
2116
2140
  mappingTextShowKeyField: 'code',
2117
2141
  mappingValueField: 'code',
2118
2142
  otherParams: {
2119
- sorter: 'desc-id'
2143
+ sorter: 'desc-id',
2144
+ ...(requestConfigProp?.addOtherParams || {}),
2120
2145
  }, // 默认参数
2121
2146
  sourceName: 'ruleTemplateCode',
2122
2147
  ...requestConfigProp
@@ -2192,6 +2217,7 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
2192
2217
  otherParams: {
2193
2218
  'qp-status-eq': 10, // 10启用 20禁用
2194
2219
  sorter: 'desc-id',
2220
+ ...(requestConfigProp?.addOtherParams || {}),
2195
2221
  }, // 默认参数
2196
2222
  sourceName: 'roleCode',
2197
2223
  ...requestConfigProp
@@ -2291,6 +2317,7 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
2291
2317
  'qp-isMain-eq': 1,
2292
2318
  'qp-status-eq': 10, // 10启用 20禁用
2293
2319
  sorter: 'desc-id',
2320
+ ...(requestConfigProp?.addOtherParams || {}),
2294
2321
  }, // 默认参数
2295
2322
  sourceName: 'marketChannelCode',
2296
2323
  ...requestConfigProp
@@ -2377,6 +2404,7 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
2377
2404
  mappingValueField: 'code',
2378
2405
  otherParams: {
2379
2406
  sorter: 'desc-createTime',
2407
+ ...(requestConfigProp?.addOtherParams || {}),
2380
2408
  }, // 默认参数
2381
2409
  sourceName: 'organizationCode',
2382
2410
  ...requestConfigProp
@@ -2508,7 +2536,8 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
2508
2536
  mappingTextShowKeyField: 'code',
2509
2537
  mappingValueField: 'code',
2510
2538
  otherParams: {
2511
- sorter: 'desc-id'
2539
+ sorter: 'desc-id',
2540
+ ...(requestConfigProp?.addOtherParams || {}),
2512
2541
  }, // 默认参数
2513
2542
  sourceName: 'personCode',
2514
2543
  ...requestConfigProp,
@@ -2570,6 +2599,7 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
2570
2599
  ...selectConfigProps,
2571
2600
  }
2572
2601
  requestConfig = {
2602
+ init: true,
2573
2603
  url: `${prefixUrl.selectPrefix}/brand/list`,
2574
2604
  filter: 'qp-brandCode,name-orGroup,like', // 过滤参数
2575
2605
  mappingTextField: 'name',
@@ -2578,7 +2608,8 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
2578
2608
  otherParams: {
2579
2609
  'ctl-withAuth': true,
2580
2610
  'qp-status-in': '1', // 1启用 0禁用
2581
- sorter: 'desc-id'
2611
+ sorter: 'desc-id',
2612
+ ...(requestConfigProp?.addOtherParams || {}),
2582
2613
  }, // 默认参数
2583
2614
  sourceName: 'brandCode',
2584
2615
  ...requestConfigProp,
@@ -2662,7 +2693,8 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
2662
2693
  mappingValueField: 'code',
2663
2694
  otherParams: {
2664
2695
  'qp-enabled-eq': true, // true启用 false禁用
2665
- sorter: 'desc-id'
2696
+ sorter: 'desc-id',
2697
+ ...(requestConfigProp?.addOtherParams || {}),
2666
2698
  }, // 默认参数
2667
2699
  sourceName: 'priceCode',
2668
2700
  ...requestConfigProp,
@@ -2733,6 +2765,7 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
2733
2765
  'qp-orgViewCode-eq': 'sales-organizational-view',
2734
2766
  'qp-status-eq': 10,
2735
2767
  sorter: 'desc-createTime',
2768
+ ...(requestConfigProp?.addOtherParams || {}),
2736
2769
  }, // 默认参数
2737
2770
  sourceName: 'supplierCode',
2738
2771
  ...requestConfigProp
@@ -997,7 +997,7 @@ const SearchSelect = forwardRef((props: any, ref: any) => {
997
997
  return getShowValueStr(kongValue);
998
998
  }
999
999
 
1000
- const isShouldShowStr = (disabled && ctx) || ctx?.mode == 'view'
1000
+ const isShouldShowStr = (props.disabled && ctx) || ctx?.mode == 'view'
1001
1001
  return (
1002
1002
  <div className={'search_select'}>
1003
1003
  {fieldComponent ? (