@bit-sun/business-component 4.0.11-alpha.16 → 4.0.11-alpha.18
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
|
@@ -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
|
-
|
|
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
|
|
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 = [{
|
|
@@ -9980,9 +9980,9 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
9980
9980
|
filter: 'qp-name,code-orGroup,like',
|
|
9981
9981
|
mappingTextField: 'name',
|
|
9982
9982
|
mappingValueField: 'code',
|
|
9983
|
-
otherParams: {
|
|
9983
|
+
otherParams: _objectSpread2({
|
|
9984
9984
|
sorter: 'desc-id'
|
|
9985
|
-
},
|
|
9985
|
+
}, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
|
|
9986
9986
|
sourceName: 'code'
|
|
9987
9987
|
}, requestConfigProp);
|
|
9988
9988
|
tableSearchForm = [{
|
|
@@ -10174,9 +10174,9 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10174
10174
|
filter: 'qp-name,code-orGroup,like',
|
|
10175
10175
|
mappingTextField: 'name',
|
|
10176
10176
|
mappingValueField: 'code',
|
|
10177
|
-
otherParams: {
|
|
10177
|
+
otherParams: _objectSpread2({
|
|
10178
10178
|
sorter: 'desc-id'
|
|
10179
|
-
},
|
|
10179
|
+
}, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
|
|
10180
10180
|
sourceName: 'code'
|
|
10181
10181
|
}, requestConfigProp);
|
|
10182
10182
|
tableSearchForm = [{
|
|
@@ -10281,9 +10281,9 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10281
10281
|
mappingTextField: 'name',
|
|
10282
10282
|
mappingTextShowKeyField: 'code',
|
|
10283
10283
|
mappingValueField: 'id',
|
|
10284
|
-
otherParams: {
|
|
10284
|
+
otherParams: _objectSpread2({
|
|
10285
10285
|
sorter: 'desc-id'
|
|
10286
|
-
},
|
|
10286
|
+
}, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
|
|
10287
10287
|
sourceName: 'accountingSubjectCode'
|
|
10288
10288
|
}, requestConfigProp);
|
|
10289
10289
|
needModalTable = false;
|
|
@@ -10306,9 +10306,9 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10306
10306
|
mappingTextField: 'name',
|
|
10307
10307
|
mappingTextShowKeyField: 'code',
|
|
10308
10308
|
mappingValueField: 'id',
|
|
10309
|
-
otherParams: {
|
|
10309
|
+
otherParams: _objectSpread2({
|
|
10310
10310
|
sorter: 'desc-id'
|
|
10311
|
-
},
|
|
10311
|
+
}, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
|
|
10312
10312
|
sourceName: 'inventoryOrgCode'
|
|
10313
10313
|
}, requestConfigProp);
|
|
10314
10314
|
needModalTable = false;
|
|
@@ -10331,9 +10331,9 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10331
10331
|
mappingTextField: 'name',
|
|
10332
10332
|
mappingTextShowKeyField: 'code',
|
|
10333
10333
|
mappingValueField: 'id',
|
|
10334
|
-
otherParams: {
|
|
10334
|
+
otherParams: _objectSpread2({
|
|
10335
10335
|
sorter: 'desc-id'
|
|
10336
|
-
},
|
|
10336
|
+
}, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
|
|
10337
10337
|
sourceName: 'corporationCompany'
|
|
10338
10338
|
}, requestConfigProp);
|
|
10339
10339
|
needModalTable = false;
|
|
@@ -10356,9 +10356,9 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10356
10356
|
mappingTextField: 'name',
|
|
10357
10357
|
mappingTextShowKeyField: 'socialCreditCode',
|
|
10358
10358
|
mappingValueField: 'socialCreditCode',
|
|
10359
|
-
otherParams: {
|
|
10359
|
+
otherParams: _objectSpread2({
|
|
10360
10360
|
sorter: 'desc-id'
|
|
10361
|
-
},
|
|
10361
|
+
}, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
|
|
10362
10362
|
sourceName: 'platCompany'
|
|
10363
10363
|
}, requestConfigProp);
|
|
10364
10364
|
needModalTable = false;
|
|
@@ -10381,11 +10381,11 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10381
10381
|
mappingTextField: 'name',
|
|
10382
10382
|
mappingTextShowKeyField: 'employeeNumber',
|
|
10383
10383
|
mappingValueField: 'employeeNumber',
|
|
10384
|
-
otherParams: {
|
|
10384
|
+
otherParams: _objectSpread2({
|
|
10385
10385
|
'qp-enable-eq': 10,
|
|
10386
10386
|
'qp-employmentType-eq': 20,
|
|
10387
10387
|
sorter: 'desc-id'
|
|
10388
|
-
},
|
|
10388
|
+
}, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
|
|
10389
10389
|
sourceName: 'employeeNumber'
|
|
10390
10390
|
}, requestConfigProp);
|
|
10391
10391
|
tableSearchForm = [{
|
|
@@ -10481,7 +10481,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10481
10481
|
'qp-employmentType-eq': 20
|
|
10482
10482
|
}), {}, {
|
|
10483
10483
|
sorter: 'desc-id'
|
|
10484
|
-
}),
|
|
10484
|
+
}, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
|
|
10485
10485
|
sourceName: 'employeeNumber'
|
|
10486
10486
|
}, requestConfigProp);
|
|
10487
10487
|
tableSearchForm = [{
|
|
@@ -10616,9 +10616,9 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10616
10616
|
mappingTextField: 'name',
|
|
10617
10617
|
mappingTextShowKeyField: 'code',
|
|
10618
10618
|
mappingValueField: 'code',
|
|
10619
|
-
otherParams: {
|
|
10619
|
+
otherParams: _objectSpread2({
|
|
10620
10620
|
sorter: 'desc-id'
|
|
10621
|
-
},
|
|
10621
|
+
}, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
|
|
10622
10622
|
sourceName: 'deliveryModeCode'
|
|
10623
10623
|
}, requestConfigProp);
|
|
10624
10624
|
tableSearchForm = [{
|
|
@@ -10752,9 +10752,9 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10752
10752
|
mappingTextField: 'name',
|
|
10753
10753
|
mappingTextShowKeyField: 'code',
|
|
10754
10754
|
mappingValueField: 'code',
|
|
10755
|
-
otherParams: {
|
|
10755
|
+
otherParams: _objectSpread2({
|
|
10756
10756
|
sorter: 'desc-id'
|
|
10757
|
-
},
|
|
10757
|
+
}, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
|
|
10758
10758
|
sourceName: 'ruleTemplateCode'
|
|
10759
10759
|
}, requestConfigProp);
|
|
10760
10760
|
tableSearchForm = [{
|
|
@@ -10823,10 +10823,10 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10823
10823
|
mappingTextField: 'name',
|
|
10824
10824
|
mappingTextShowKeyField: 'code',
|
|
10825
10825
|
mappingValueField: 'code',
|
|
10826
|
-
otherParams: {
|
|
10826
|
+
otherParams: _objectSpread2({
|
|
10827
10827
|
'qp-status-eq': 10,
|
|
10828
10828
|
sorter: 'desc-id'
|
|
10829
|
-
},
|
|
10829
|
+
}, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
|
|
10830
10830
|
sourceName: 'roleCode'
|
|
10831
10831
|
}, requestConfigProp);
|
|
10832
10832
|
tableSearchForm = [{
|
|
@@ -10919,12 +10919,12 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10919
10919
|
mappingTextField: 'name',
|
|
10920
10920
|
mappingTextShowKeyField: 'code',
|
|
10921
10921
|
mappingValueField: 'code',
|
|
10922
|
-
otherParams: {
|
|
10922
|
+
otherParams: _objectSpread2({
|
|
10923
10923
|
'qp-type-eq': 1,
|
|
10924
10924
|
'qp-isMain-eq': 1,
|
|
10925
10925
|
'qp-status-eq': 10,
|
|
10926
10926
|
sorter: 'desc-id'
|
|
10927
|
-
},
|
|
10927
|
+
}, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
|
|
10928
10928
|
sourceName: 'marketChannelCode'
|
|
10929
10929
|
}, requestConfigProp);
|
|
10930
10930
|
tableSearchForm = [{
|
|
@@ -11006,9 +11006,9 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
11006
11006
|
mappingTextField: 'name',
|
|
11007
11007
|
mappingTextShowKeyField: 'code',
|
|
11008
11008
|
mappingValueField: 'code',
|
|
11009
|
-
otherParams: {
|
|
11009
|
+
otherParams: _objectSpread2({
|
|
11010
11010
|
sorter: 'desc-createTime'
|
|
11011
|
-
},
|
|
11011
|
+
}, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
|
|
11012
11012
|
sourceName: 'organizationCode'
|
|
11013
11013
|
}, requestConfigProp), tableSearchForm = [{
|
|
11014
11014
|
name: 'qp-name-like',
|
|
@@ -11134,9 +11134,9 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
11134
11134
|
mappingTextField: 'name',
|
|
11135
11135
|
mappingTextShowKeyField: 'code',
|
|
11136
11136
|
mappingValueField: 'code',
|
|
11137
|
-
otherParams: {
|
|
11137
|
+
otherParams: _objectSpread2({
|
|
11138
11138
|
sorter: 'desc-id'
|
|
11139
|
-
},
|
|
11139
|
+
}, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
|
|
11140
11140
|
sourceName: 'personCode'
|
|
11141
11141
|
}, requestConfigProp);
|
|
11142
11142
|
tableSearchForm = [{
|
|
@@ -11199,11 +11199,11 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
11199
11199
|
mappingTextField: 'name',
|
|
11200
11200
|
mappingTextShowKeyField: 'brandCode',
|
|
11201
11201
|
mappingValueField: 'brandCode',
|
|
11202
|
-
otherParams: {
|
|
11202
|
+
otherParams: _objectSpread2({
|
|
11203
11203
|
'ctl-withAuth': true,
|
|
11204
11204
|
'qp-status-in': '1',
|
|
11205
11205
|
sorter: 'desc-id'
|
|
11206
|
-
},
|
|
11206
|
+
}, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
|
|
11207
11207
|
sourceName: 'brandCode'
|
|
11208
11208
|
}, requestConfigProp);
|
|
11209
11209
|
tableSearchForm = [{
|
|
@@ -11268,10 +11268,10 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
11268
11268
|
mappingTextField: 'name',
|
|
11269
11269
|
mappingTextShowKeyField: 'code',
|
|
11270
11270
|
mappingValueField: 'code',
|
|
11271
|
-
otherParams: {
|
|
11271
|
+
otherParams: _objectSpread2({
|
|
11272
11272
|
'qp-enabled-eq': true,
|
|
11273
11273
|
sorter: 'desc-id'
|
|
11274
|
-
},
|
|
11274
|
+
}, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
|
|
11275
11275
|
sourceName: 'priceCode'
|
|
11276
11276
|
}, requestConfigProp);
|
|
11277
11277
|
tableSearchForm = [{
|
|
@@ -11329,11 +11329,11 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
11329
11329
|
mappingTextField: 'name',
|
|
11330
11330
|
mappingTextShowKeyField: 'code',
|
|
11331
11331
|
mappingValueField: 'code',
|
|
11332
|
-
otherParams: {
|
|
11332
|
+
otherParams: _objectSpread2({
|
|
11333
11333
|
'qp-orgViewCode-eq': 'sales-organizational-view',
|
|
11334
11334
|
'qp-status-eq': 10,
|
|
11335
11335
|
sorter: 'desc-createTime'
|
|
11336
|
-
},
|
|
11336
|
+
}, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
|
|
11337
11337
|
sourceName: 'supplierCode'
|
|
11338
11338
|
}, requestConfigProp), tableSearchForm = [{
|
|
11339
11339
|
name: 'qp-name-like',
|
|
@@ -15754,7 +15754,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
15754
15754
|
allowClear: true,
|
|
15755
15755
|
onChange: this.onSearch,
|
|
15756
15756
|
style: {
|
|
15757
|
-
width:
|
|
15757
|
+
width: 525,
|
|
15758
15758
|
height: 24
|
|
15759
15759
|
}
|
|
15760
15760
|
}), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (/*#__PURE__*/React$1.createElement(Checkbox, {
|
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
|
-
|
|
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
|
|
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 = [{
|
|
@@ -10003,9 +10003,9 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10003
10003
|
filter: 'qp-name,code-orGroup,like',
|
|
10004
10004
|
mappingTextField: 'name',
|
|
10005
10005
|
mappingValueField: 'code',
|
|
10006
|
-
otherParams: {
|
|
10006
|
+
otherParams: _objectSpread2({
|
|
10007
10007
|
sorter: 'desc-id'
|
|
10008
|
-
},
|
|
10008
|
+
}, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
|
|
10009
10009
|
sourceName: 'code'
|
|
10010
10010
|
}, requestConfigProp);
|
|
10011
10011
|
tableSearchForm = [{
|
|
@@ -10197,9 +10197,9 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10197
10197
|
filter: 'qp-name,code-orGroup,like',
|
|
10198
10198
|
mappingTextField: 'name',
|
|
10199
10199
|
mappingValueField: 'code',
|
|
10200
|
-
otherParams: {
|
|
10200
|
+
otherParams: _objectSpread2({
|
|
10201
10201
|
sorter: 'desc-id'
|
|
10202
|
-
},
|
|
10202
|
+
}, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
|
|
10203
10203
|
sourceName: 'code'
|
|
10204
10204
|
}, requestConfigProp);
|
|
10205
10205
|
tableSearchForm = [{
|
|
@@ -10304,9 +10304,9 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10304
10304
|
mappingTextField: 'name',
|
|
10305
10305
|
mappingTextShowKeyField: 'code',
|
|
10306
10306
|
mappingValueField: 'id',
|
|
10307
|
-
otherParams: {
|
|
10307
|
+
otherParams: _objectSpread2({
|
|
10308
10308
|
sorter: 'desc-id'
|
|
10309
|
-
},
|
|
10309
|
+
}, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
|
|
10310
10310
|
sourceName: 'accountingSubjectCode'
|
|
10311
10311
|
}, requestConfigProp);
|
|
10312
10312
|
needModalTable = false;
|
|
@@ -10329,9 +10329,9 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10329
10329
|
mappingTextField: 'name',
|
|
10330
10330
|
mappingTextShowKeyField: 'code',
|
|
10331
10331
|
mappingValueField: 'id',
|
|
10332
|
-
otherParams: {
|
|
10332
|
+
otherParams: _objectSpread2({
|
|
10333
10333
|
sorter: 'desc-id'
|
|
10334
|
-
},
|
|
10334
|
+
}, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
|
|
10335
10335
|
sourceName: 'inventoryOrgCode'
|
|
10336
10336
|
}, requestConfigProp);
|
|
10337
10337
|
needModalTable = false;
|
|
@@ -10354,9 +10354,9 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10354
10354
|
mappingTextField: 'name',
|
|
10355
10355
|
mappingTextShowKeyField: 'code',
|
|
10356
10356
|
mappingValueField: 'id',
|
|
10357
|
-
otherParams: {
|
|
10357
|
+
otherParams: _objectSpread2({
|
|
10358
10358
|
sorter: 'desc-id'
|
|
10359
|
-
},
|
|
10359
|
+
}, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
|
|
10360
10360
|
sourceName: 'corporationCompany'
|
|
10361
10361
|
}, requestConfigProp);
|
|
10362
10362
|
needModalTable = false;
|
|
@@ -10379,9 +10379,9 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10379
10379
|
mappingTextField: 'name',
|
|
10380
10380
|
mappingTextShowKeyField: 'socialCreditCode',
|
|
10381
10381
|
mappingValueField: 'socialCreditCode',
|
|
10382
|
-
otherParams: {
|
|
10382
|
+
otherParams: _objectSpread2({
|
|
10383
10383
|
sorter: 'desc-id'
|
|
10384
|
-
},
|
|
10384
|
+
}, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
|
|
10385
10385
|
sourceName: 'platCompany'
|
|
10386
10386
|
}, requestConfigProp);
|
|
10387
10387
|
needModalTable = false;
|
|
@@ -10404,11 +10404,11 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10404
10404
|
mappingTextField: 'name',
|
|
10405
10405
|
mappingTextShowKeyField: 'employeeNumber',
|
|
10406
10406
|
mappingValueField: 'employeeNumber',
|
|
10407
|
-
otherParams: {
|
|
10407
|
+
otherParams: _objectSpread2({
|
|
10408
10408
|
'qp-enable-eq': 10,
|
|
10409
10409
|
'qp-employmentType-eq': 20,
|
|
10410
10410
|
sorter: 'desc-id'
|
|
10411
|
-
},
|
|
10411
|
+
}, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
|
|
10412
10412
|
sourceName: 'employeeNumber'
|
|
10413
10413
|
}, requestConfigProp);
|
|
10414
10414
|
tableSearchForm = [{
|
|
@@ -10504,7 +10504,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10504
10504
|
'qp-employmentType-eq': 20
|
|
10505
10505
|
}), {}, {
|
|
10506
10506
|
sorter: 'desc-id'
|
|
10507
|
-
}),
|
|
10507
|
+
}, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
|
|
10508
10508
|
sourceName: 'employeeNumber'
|
|
10509
10509
|
}, requestConfigProp);
|
|
10510
10510
|
tableSearchForm = [{
|
|
@@ -10639,9 +10639,9 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10639
10639
|
mappingTextField: 'name',
|
|
10640
10640
|
mappingTextShowKeyField: 'code',
|
|
10641
10641
|
mappingValueField: 'code',
|
|
10642
|
-
otherParams: {
|
|
10642
|
+
otherParams: _objectSpread2({
|
|
10643
10643
|
sorter: 'desc-id'
|
|
10644
|
-
},
|
|
10644
|
+
}, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
|
|
10645
10645
|
sourceName: 'deliveryModeCode'
|
|
10646
10646
|
}, requestConfigProp);
|
|
10647
10647
|
tableSearchForm = [{
|
|
@@ -10775,9 +10775,9 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10775
10775
|
mappingTextField: 'name',
|
|
10776
10776
|
mappingTextShowKeyField: 'code',
|
|
10777
10777
|
mappingValueField: 'code',
|
|
10778
|
-
otherParams: {
|
|
10778
|
+
otherParams: _objectSpread2({
|
|
10779
10779
|
sorter: 'desc-id'
|
|
10780
|
-
},
|
|
10780
|
+
}, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
|
|
10781
10781
|
sourceName: 'ruleTemplateCode'
|
|
10782
10782
|
}, requestConfigProp);
|
|
10783
10783
|
tableSearchForm = [{
|
|
@@ -10846,10 +10846,10 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10846
10846
|
mappingTextField: 'name',
|
|
10847
10847
|
mappingTextShowKeyField: 'code',
|
|
10848
10848
|
mappingValueField: 'code',
|
|
10849
|
-
otherParams: {
|
|
10849
|
+
otherParams: _objectSpread2({
|
|
10850
10850
|
'qp-status-eq': 10,
|
|
10851
10851
|
sorter: 'desc-id'
|
|
10852
|
-
},
|
|
10852
|
+
}, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
|
|
10853
10853
|
sourceName: 'roleCode'
|
|
10854
10854
|
}, requestConfigProp);
|
|
10855
10855
|
tableSearchForm = [{
|
|
@@ -10942,12 +10942,12 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10942
10942
|
mappingTextField: 'name',
|
|
10943
10943
|
mappingTextShowKeyField: 'code',
|
|
10944
10944
|
mappingValueField: 'code',
|
|
10945
|
-
otherParams: {
|
|
10945
|
+
otherParams: _objectSpread2({
|
|
10946
10946
|
'qp-type-eq': 1,
|
|
10947
10947
|
'qp-isMain-eq': 1,
|
|
10948
10948
|
'qp-status-eq': 10,
|
|
10949
10949
|
sorter: 'desc-id'
|
|
10950
|
-
},
|
|
10950
|
+
}, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
|
|
10951
10951
|
sourceName: 'marketChannelCode'
|
|
10952
10952
|
}, requestConfigProp);
|
|
10953
10953
|
tableSearchForm = [{
|
|
@@ -11029,9 +11029,9 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
11029
11029
|
mappingTextField: 'name',
|
|
11030
11030
|
mappingTextShowKeyField: 'code',
|
|
11031
11031
|
mappingValueField: 'code',
|
|
11032
|
-
otherParams: {
|
|
11032
|
+
otherParams: _objectSpread2({
|
|
11033
11033
|
sorter: 'desc-createTime'
|
|
11034
|
-
},
|
|
11034
|
+
}, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
|
|
11035
11035
|
sourceName: 'organizationCode'
|
|
11036
11036
|
}, requestConfigProp), tableSearchForm = [{
|
|
11037
11037
|
name: 'qp-name-like',
|
|
@@ -11157,9 +11157,9 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
11157
11157
|
mappingTextField: 'name',
|
|
11158
11158
|
mappingTextShowKeyField: 'code',
|
|
11159
11159
|
mappingValueField: 'code',
|
|
11160
|
-
otherParams: {
|
|
11160
|
+
otherParams: _objectSpread2({
|
|
11161
11161
|
sorter: 'desc-id'
|
|
11162
|
-
},
|
|
11162
|
+
}, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
|
|
11163
11163
|
sourceName: 'personCode'
|
|
11164
11164
|
}, requestConfigProp);
|
|
11165
11165
|
tableSearchForm = [{
|
|
@@ -11222,11 +11222,11 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
11222
11222
|
mappingTextField: 'name',
|
|
11223
11223
|
mappingTextShowKeyField: 'brandCode',
|
|
11224
11224
|
mappingValueField: 'brandCode',
|
|
11225
|
-
otherParams: {
|
|
11225
|
+
otherParams: _objectSpread2({
|
|
11226
11226
|
'ctl-withAuth': true,
|
|
11227
11227
|
'qp-status-in': '1',
|
|
11228
11228
|
sorter: 'desc-id'
|
|
11229
|
-
},
|
|
11229
|
+
}, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
|
|
11230
11230
|
sourceName: 'brandCode'
|
|
11231
11231
|
}, requestConfigProp);
|
|
11232
11232
|
tableSearchForm = [{
|
|
@@ -11291,10 +11291,10 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
11291
11291
|
mappingTextField: 'name',
|
|
11292
11292
|
mappingTextShowKeyField: 'code',
|
|
11293
11293
|
mappingValueField: 'code',
|
|
11294
|
-
otherParams: {
|
|
11294
|
+
otherParams: _objectSpread2({
|
|
11295
11295
|
'qp-enabled-eq': true,
|
|
11296
11296
|
sorter: 'desc-id'
|
|
11297
|
-
},
|
|
11297
|
+
}, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
|
|
11298
11298
|
sourceName: 'priceCode'
|
|
11299
11299
|
}, requestConfigProp);
|
|
11300
11300
|
tableSearchForm = [{
|
|
@@ -11352,11 +11352,11 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
11352
11352
|
mappingTextField: 'name',
|
|
11353
11353
|
mappingTextShowKeyField: 'code',
|
|
11354
11354
|
mappingValueField: 'code',
|
|
11355
|
-
otherParams: {
|
|
11355
|
+
otherParams: _objectSpread2({
|
|
11356
11356
|
'qp-orgViewCode-eq': 'sales-organizational-view',
|
|
11357
11357
|
'qp-status-eq': 10,
|
|
11358
11358
|
sorter: 'desc-createTime'
|
|
11359
|
-
},
|
|
11359
|
+
}, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
|
|
11360
11360
|
sourceName: 'supplierCode'
|
|
11361
11361
|
}, requestConfigProp), tableSearchForm = [{
|
|
11362
11362
|
name: 'qp-name-like',
|
|
@@ -15777,7 +15777,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
15777
15777
|
allowClear: true,
|
|
15778
15778
|
onChange: this.onSearch,
|
|
15779
15779
|
style: {
|
|
15780
|
-
width:
|
|
15780
|
+
width: 525,
|
|
15781
15781
|
height: 24
|
|
15782
15782
|
}
|
|
15783
15783
|
}), /*#__PURE__*/React__default['default'].createElement("div", null, !searchDataSource && (/*#__PURE__*/React__default['default'].createElement(antd.Checkbox, {
|
package/package.json
CHANGED
|
@@ -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,
|
|
@@ -1376,7 +1389,8 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
|
|
|
1376
1389
|
mappingTextField: 'name',
|
|
1377
1390
|
mappingValueField: 'code',
|
|
1378
1391
|
otherParams: {
|
|
1379
|
-
sorter: 'desc-id'
|
|
1392
|
+
sorter: 'desc-id',
|
|
1393
|
+
...(requestConfigProp?.addOtherParams || {}),
|
|
1380
1394
|
}, // 默认参数
|
|
1381
1395
|
sourceName: 'code',
|
|
1382
1396
|
...requestConfigProp,
|
|
@@ -1554,7 +1568,8 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
|
|
|
1554
1568
|
mappingTextField: 'name',
|
|
1555
1569
|
mappingValueField: 'code',
|
|
1556
1570
|
otherParams: {
|
|
1557
|
-
sorter: 'desc-id'
|
|
1571
|
+
sorter: 'desc-id',
|
|
1572
|
+
...(requestConfigProp?.addOtherParams || {}),
|
|
1558
1573
|
}, // 默认参数
|
|
1559
1574
|
sourceName: 'code',
|
|
1560
1575
|
...requestConfigProp,
|
|
@@ -1651,7 +1666,8 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
|
|
|
1651
1666
|
mappingTextShowKeyField: 'code',
|
|
1652
1667
|
mappingValueField: 'id',
|
|
1653
1668
|
otherParams: {
|
|
1654
|
-
sorter: 'desc-id'
|
|
1669
|
+
sorter: 'desc-id',
|
|
1670
|
+
...(requestConfigProp?.addOtherParams || {}),
|
|
1655
1671
|
}, // 默认参数
|
|
1656
1672
|
sourceName: 'accountingSubjectCode',
|
|
1657
1673
|
...requestConfigProp,
|
|
@@ -1681,7 +1697,8 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
|
|
|
1681
1697
|
mappingTextShowKeyField: 'code',
|
|
1682
1698
|
mappingValueField: 'id',
|
|
1683
1699
|
otherParams: {
|
|
1684
|
-
sorter: 'desc-id'
|
|
1700
|
+
sorter: 'desc-id',
|
|
1701
|
+
...(requestConfigProp?.addOtherParams || {}),
|
|
1685
1702
|
}, // 默认参数
|
|
1686
1703
|
sourceName: 'inventoryOrgCode',
|
|
1687
1704
|
...requestConfigProp,
|
|
@@ -1712,7 +1729,8 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
|
|
|
1712
1729
|
mappingTextShowKeyField: 'code',
|
|
1713
1730
|
mappingValueField: 'id',
|
|
1714
1731
|
otherParams: {
|
|
1715
|
-
sorter: 'desc-id'
|
|
1732
|
+
sorter: 'desc-id',
|
|
1733
|
+
...(requestConfigProp?.addOtherParams || {}),
|
|
1716
1734
|
}, // 默认参数
|
|
1717
1735
|
sourceName: 'corporationCompany',
|
|
1718
1736
|
...requestConfigProp,
|
|
@@ -1743,7 +1761,8 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
|
|
|
1743
1761
|
mappingTextShowKeyField: 'socialCreditCode',
|
|
1744
1762
|
mappingValueField: 'socialCreditCode',
|
|
1745
1763
|
otherParams: {
|
|
1746
|
-
sorter: 'desc-id'
|
|
1764
|
+
sorter: 'desc-id',
|
|
1765
|
+
...(requestConfigProp?.addOtherParams || {}),
|
|
1747
1766
|
}, // 默认参数
|
|
1748
1767
|
sourceName: 'platCompany',
|
|
1749
1768
|
...requestConfigProp,
|
|
@@ -1776,7 +1795,8 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
|
|
|
1776
1795
|
otherParams: {
|
|
1777
1796
|
'qp-enable-eq': 10, // 启用状态 10-启用,20-禁用
|
|
1778
1797
|
'qp-employmentType-eq': 20,
|
|
1779
|
-
sorter: 'desc-id'
|
|
1798
|
+
sorter: 'desc-id',
|
|
1799
|
+
...(requestConfigProp?.addOtherParams || {}),
|
|
1780
1800
|
}, // 默认参数
|
|
1781
1801
|
sourceName: 'employeeNumber',
|
|
1782
1802
|
...requestConfigProp,
|
|
@@ -1873,7 +1893,8 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
|
|
|
1873
1893
|
'qp-enable-eq': 10, // 启用状态 10-启用,20-禁用
|
|
1874
1894
|
'qp-orgViewIds-like': 'administrative-organization-view', // 为了兼容 搜素所属组织机构时候需要传此参数
|
|
1875
1895
|
...(modalTableBusProps?.needTypeSearch?{}:{'qp-employmentType-eq': 20}), // 10外部员工;20内部员工
|
|
1876
|
-
sorter: 'desc-id'
|
|
1896
|
+
sorter: 'desc-id',
|
|
1897
|
+
...(requestConfigProp?.addOtherParams || {}),
|
|
1877
1898
|
}, // 默认参数
|
|
1878
1899
|
sourceName: 'employeeNumber',
|
|
1879
1900
|
...requestConfigProp,
|
|
@@ -1990,7 +2011,8 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
|
|
|
1990
2011
|
mappingTextShowKeyField: 'code',
|
|
1991
2012
|
mappingValueField: 'code',
|
|
1992
2013
|
otherParams: {
|
|
1993
|
-
sorter: 'desc-id'
|
|
2014
|
+
sorter: 'desc-id',
|
|
2015
|
+
...(requestConfigProp?.addOtherParams || {}),
|
|
1994
2016
|
}, // 默认参数
|
|
1995
2017
|
sourceName: 'deliveryModeCode',
|
|
1996
2018
|
...requestConfigProp
|
|
@@ -2116,7 +2138,8 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
|
|
|
2116
2138
|
mappingTextShowKeyField: 'code',
|
|
2117
2139
|
mappingValueField: 'code',
|
|
2118
2140
|
otherParams: {
|
|
2119
|
-
sorter: 'desc-id'
|
|
2141
|
+
sorter: 'desc-id',
|
|
2142
|
+
...(requestConfigProp?.addOtherParams || {}),
|
|
2120
2143
|
}, // 默认参数
|
|
2121
2144
|
sourceName: 'ruleTemplateCode',
|
|
2122
2145
|
...requestConfigProp
|
|
@@ -2192,6 +2215,7 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
|
|
|
2192
2215
|
otherParams: {
|
|
2193
2216
|
'qp-status-eq': 10, // 10启用 20禁用
|
|
2194
2217
|
sorter: 'desc-id',
|
|
2218
|
+
...(requestConfigProp?.addOtherParams || {}),
|
|
2195
2219
|
}, // 默认参数
|
|
2196
2220
|
sourceName: 'roleCode',
|
|
2197
2221
|
...requestConfigProp
|
|
@@ -2291,6 +2315,7 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
|
|
|
2291
2315
|
'qp-isMain-eq': 1,
|
|
2292
2316
|
'qp-status-eq': 10, // 10启用 20禁用
|
|
2293
2317
|
sorter: 'desc-id',
|
|
2318
|
+
...(requestConfigProp?.addOtherParams || {}),
|
|
2294
2319
|
}, // 默认参数
|
|
2295
2320
|
sourceName: 'marketChannelCode',
|
|
2296
2321
|
...requestConfigProp
|
|
@@ -2377,6 +2402,7 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
|
|
|
2377
2402
|
mappingValueField: 'code',
|
|
2378
2403
|
otherParams: {
|
|
2379
2404
|
sorter: 'desc-createTime',
|
|
2405
|
+
...(requestConfigProp?.addOtherParams || {}),
|
|
2380
2406
|
}, // 默认参数
|
|
2381
2407
|
sourceName: 'organizationCode',
|
|
2382
2408
|
...requestConfigProp
|
|
@@ -2508,7 +2534,8 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
|
|
|
2508
2534
|
mappingTextShowKeyField: 'code',
|
|
2509
2535
|
mappingValueField: 'code',
|
|
2510
2536
|
otherParams: {
|
|
2511
|
-
sorter: 'desc-id'
|
|
2537
|
+
sorter: 'desc-id',
|
|
2538
|
+
...(requestConfigProp?.addOtherParams || {}),
|
|
2512
2539
|
}, // 默认参数
|
|
2513
2540
|
sourceName: 'personCode',
|
|
2514
2541
|
...requestConfigProp,
|
|
@@ -2578,7 +2605,8 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
|
|
|
2578
2605
|
otherParams: {
|
|
2579
2606
|
'ctl-withAuth': true,
|
|
2580
2607
|
'qp-status-in': '1', // 1启用 0禁用
|
|
2581
|
-
sorter: 'desc-id'
|
|
2608
|
+
sorter: 'desc-id',
|
|
2609
|
+
...(requestConfigProp?.addOtherParams || {}),
|
|
2582
2610
|
}, // 默认参数
|
|
2583
2611
|
sourceName: 'brandCode',
|
|
2584
2612
|
...requestConfigProp,
|
|
@@ -2662,7 +2690,8 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
|
|
|
2662
2690
|
mappingValueField: 'code',
|
|
2663
2691
|
otherParams: {
|
|
2664
2692
|
'qp-enabled-eq': true, // true启用 false禁用
|
|
2665
|
-
sorter: 'desc-id'
|
|
2693
|
+
sorter: 'desc-id',
|
|
2694
|
+
...(requestConfigProp?.addOtherParams || {}),
|
|
2666
2695
|
}, // 默认参数
|
|
2667
2696
|
sourceName: 'priceCode',
|
|
2668
2697
|
...requestConfigProp,
|
|
@@ -2733,6 +2762,7 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
|
|
|
2733
2762
|
'qp-orgViewCode-eq': 'sales-organizational-view',
|
|
2734
2763
|
'qp-status-eq': 10,
|
|
2735
2764
|
sorter: 'desc-createTime',
|
|
2765
|
+
...(requestConfigProp?.addOtherParams || {}),
|
|
2736
2766
|
}, // 默认参数
|
|
2737
2767
|
sourceName: 'supplierCode',
|
|
2738
2768
|
...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 ? (
|