@bit-sun/business-component 4.2.1-alpha.14-aiwei → 4.2.1-alpha.16-aiwei
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.esm.js +17 -12
- package/dist/index.js +17 -12
- package/package.json +1 -1
- package/src/components/Business/SearchSelect/BusinessUtils.tsx +22 -13
package/dist/index.esm.js
CHANGED
|
@@ -11368,11 +11368,15 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
11368
11368
|
});
|
|
11369
11369
|
Promise.all([loadSelectSource$1("/channel-manage/channelInfo/tree", {
|
|
11370
11370
|
'qp-status-eq': 10,
|
|
11371
|
-
'qp-isMain-eq': 1,
|
|
11371
|
+
// 'qp-isMain-eq': 1,
|
|
11372
11372
|
'qp-type-in': '1,2'
|
|
11373
|
-
},
|
|
11373
|
+
}, {
|
|
11374
|
+
headers: _objectSpread2({}, extralHeaders)
|
|
11375
|
+
}), loadSelectSource$1("/channel-manage/tagNode/getTree/10", {
|
|
11374
11376
|
'qp-status-eq': 1
|
|
11375
|
-
},
|
|
11377
|
+
}, {
|
|
11378
|
+
headers: _objectSpread2({}, extralHeaders)
|
|
11379
|
+
})]).then(function (x) {
|
|
11376
11380
|
var _x$, _x$$data$, _x$$data$$channelInfo;
|
|
11377
11381
|
debugger;
|
|
11378
11382
|
// 战区限制一级数据
|
|
@@ -12399,7 +12403,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
12399
12403
|
}
|
|
12400
12404
|
}
|
|
12401
12405
|
}, {
|
|
12402
|
-
name: 'qp-manageSupervisor-
|
|
12406
|
+
name: 'qp-manageSupervisor-in',
|
|
12403
12407
|
type: 'select',
|
|
12404
12408
|
label: '管理督导',
|
|
12405
12409
|
field: {
|
|
@@ -12407,9 +12411,9 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
12407
12411
|
props: {
|
|
12408
12412
|
notFoundContent: '暂无数据',
|
|
12409
12413
|
allowClear: true,
|
|
12414
|
+
mode: 'multiple',
|
|
12410
12415
|
showSearch: true,
|
|
12411
12416
|
showArrow: true,
|
|
12412
|
-
maxTagCount: 1,
|
|
12413
12417
|
optionFilterProp: 'children',
|
|
12414
12418
|
filterOption: function filterOption(input, option) {
|
|
12415
12419
|
var _option$value;
|
|
@@ -12419,17 +12423,17 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
12419
12423
|
}
|
|
12420
12424
|
}
|
|
12421
12425
|
}, {
|
|
12422
|
-
name: 'qp-directSupervisor-
|
|
12426
|
+
name: 'qp-directSupervisor-in',
|
|
12423
12427
|
type: 'select',
|
|
12424
12428
|
label: '直接督导',
|
|
12425
12429
|
field: {
|
|
12426
12430
|
type: 'select',
|
|
12427
12431
|
props: {
|
|
12428
12432
|
notFoundContent: '暂无数据',
|
|
12433
|
+
mode: 'multiple',
|
|
12429
12434
|
allowClear: true,
|
|
12430
12435
|
showSearch: true,
|
|
12431
12436
|
showArrow: true,
|
|
12432
|
-
maxTagCount: 1,
|
|
12433
12437
|
optionFilterProp: 'children',
|
|
12434
12438
|
filterOption: function filterOption(input, option) {
|
|
12435
12439
|
var _option$value2;
|
|
@@ -12438,17 +12442,17 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
12438
12442
|
}
|
|
12439
12443
|
}
|
|
12440
12444
|
}, {
|
|
12441
|
-
name: 'qp-distributionItem-
|
|
12445
|
+
name: 'qp-distributionItem-in',
|
|
12442
12446
|
type: 'select',
|
|
12443
12447
|
label: '分销商品',
|
|
12444
12448
|
field: {
|
|
12445
12449
|
type: 'select',
|
|
12446
12450
|
props: {
|
|
12447
12451
|
notFoundContent: '暂无数据',
|
|
12452
|
+
mode: 'multiple',
|
|
12448
12453
|
allowClear: true,
|
|
12449
12454
|
showSearch: true,
|
|
12450
12455
|
showArrow: true,
|
|
12451
|
-
maxTagCount: 1,
|
|
12452
12456
|
optionFilterProp: 'children',
|
|
12453
12457
|
filterOption: function filterOption(input, option) {
|
|
12454
12458
|
var _option$value3;
|
|
@@ -12457,13 +12461,14 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
12457
12461
|
}
|
|
12458
12462
|
}
|
|
12459
12463
|
}, {
|
|
12460
|
-
name: 'qp-headItem-
|
|
12464
|
+
name: 'qp-headItem-in',
|
|
12461
12465
|
type: 'select',
|
|
12462
12466
|
label: '总部商品',
|
|
12463
12467
|
field: {
|
|
12464
12468
|
type: 'select',
|
|
12465
12469
|
props: {
|
|
12466
12470
|
notFoundContent: '暂无数据',
|
|
12471
|
+
mode: 'multiple',
|
|
12467
12472
|
allowClear: true,
|
|
12468
12473
|
showSearch: true,
|
|
12469
12474
|
showArrow: true,
|
|
@@ -12476,17 +12481,17 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
12476
12481
|
}
|
|
12477
12482
|
}
|
|
12478
12483
|
}, {
|
|
12479
|
-
name: 'qp-storeChannelName-
|
|
12484
|
+
name: 'qp-storeChannelName-in',
|
|
12480
12485
|
type: 'select',
|
|
12481
12486
|
label: '管理模式',
|
|
12482
12487
|
field: {
|
|
12483
12488
|
type: 'select',
|
|
12484
12489
|
props: {
|
|
12485
12490
|
notFoundContent: '暂无数据',
|
|
12491
|
+
mode: 'multiple',
|
|
12486
12492
|
allowClear: true,
|
|
12487
12493
|
showSearch: true,
|
|
12488
12494
|
showArrow: true,
|
|
12489
|
-
maxTagCount: 1,
|
|
12490
12495
|
optionFilterProp: 'children',
|
|
12491
12496
|
filterOption: function filterOption(input, option) {
|
|
12492
12497
|
var _option$value5;
|
package/dist/index.js
CHANGED
|
@@ -11391,11 +11391,15 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
11391
11391
|
});
|
|
11392
11392
|
Promise.all([loadSelectSource$1("/channel-manage/channelInfo/tree", {
|
|
11393
11393
|
'qp-status-eq': 10,
|
|
11394
|
-
'qp-isMain-eq': 1,
|
|
11394
|
+
// 'qp-isMain-eq': 1,
|
|
11395
11395
|
'qp-type-in': '1,2'
|
|
11396
|
-
},
|
|
11396
|
+
}, {
|
|
11397
|
+
headers: _objectSpread2({}, extralHeaders)
|
|
11398
|
+
}), loadSelectSource$1("/channel-manage/tagNode/getTree/10", {
|
|
11397
11399
|
'qp-status-eq': 1
|
|
11398
|
-
},
|
|
11400
|
+
}, {
|
|
11401
|
+
headers: _objectSpread2({}, extralHeaders)
|
|
11402
|
+
})]).then(function (x) {
|
|
11399
11403
|
var _x$, _x$$data$, _x$$data$$channelInfo;
|
|
11400
11404
|
debugger;
|
|
11401
11405
|
// 战区限制一级数据
|
|
@@ -12422,7 +12426,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
12422
12426
|
}
|
|
12423
12427
|
}
|
|
12424
12428
|
}, {
|
|
12425
|
-
name: 'qp-manageSupervisor-
|
|
12429
|
+
name: 'qp-manageSupervisor-in',
|
|
12426
12430
|
type: 'select',
|
|
12427
12431
|
label: '管理督导',
|
|
12428
12432
|
field: {
|
|
@@ -12430,9 +12434,9 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
12430
12434
|
props: {
|
|
12431
12435
|
notFoundContent: '暂无数据',
|
|
12432
12436
|
allowClear: true,
|
|
12437
|
+
mode: 'multiple',
|
|
12433
12438
|
showSearch: true,
|
|
12434
12439
|
showArrow: true,
|
|
12435
|
-
maxTagCount: 1,
|
|
12436
12440
|
optionFilterProp: 'children',
|
|
12437
12441
|
filterOption: function filterOption(input, option) {
|
|
12438
12442
|
var _option$value;
|
|
@@ -12442,17 +12446,17 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
12442
12446
|
}
|
|
12443
12447
|
}
|
|
12444
12448
|
}, {
|
|
12445
|
-
name: 'qp-directSupervisor-
|
|
12449
|
+
name: 'qp-directSupervisor-in',
|
|
12446
12450
|
type: 'select',
|
|
12447
12451
|
label: '直接督导',
|
|
12448
12452
|
field: {
|
|
12449
12453
|
type: 'select',
|
|
12450
12454
|
props: {
|
|
12451
12455
|
notFoundContent: '暂无数据',
|
|
12456
|
+
mode: 'multiple',
|
|
12452
12457
|
allowClear: true,
|
|
12453
12458
|
showSearch: true,
|
|
12454
12459
|
showArrow: true,
|
|
12455
|
-
maxTagCount: 1,
|
|
12456
12460
|
optionFilterProp: 'children',
|
|
12457
12461
|
filterOption: function filterOption(input, option) {
|
|
12458
12462
|
var _option$value2;
|
|
@@ -12461,17 +12465,17 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
12461
12465
|
}
|
|
12462
12466
|
}
|
|
12463
12467
|
}, {
|
|
12464
|
-
name: 'qp-distributionItem-
|
|
12468
|
+
name: 'qp-distributionItem-in',
|
|
12465
12469
|
type: 'select',
|
|
12466
12470
|
label: '分销商品',
|
|
12467
12471
|
field: {
|
|
12468
12472
|
type: 'select',
|
|
12469
12473
|
props: {
|
|
12470
12474
|
notFoundContent: '暂无数据',
|
|
12475
|
+
mode: 'multiple',
|
|
12471
12476
|
allowClear: true,
|
|
12472
12477
|
showSearch: true,
|
|
12473
12478
|
showArrow: true,
|
|
12474
|
-
maxTagCount: 1,
|
|
12475
12479
|
optionFilterProp: 'children',
|
|
12476
12480
|
filterOption: function filterOption(input, option) {
|
|
12477
12481
|
var _option$value3;
|
|
@@ -12480,13 +12484,14 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
12480
12484
|
}
|
|
12481
12485
|
}
|
|
12482
12486
|
}, {
|
|
12483
|
-
name: 'qp-headItem-
|
|
12487
|
+
name: 'qp-headItem-in',
|
|
12484
12488
|
type: 'select',
|
|
12485
12489
|
label: '总部商品',
|
|
12486
12490
|
field: {
|
|
12487
12491
|
type: 'select',
|
|
12488
12492
|
props: {
|
|
12489
12493
|
notFoundContent: '暂无数据',
|
|
12494
|
+
mode: 'multiple',
|
|
12490
12495
|
allowClear: true,
|
|
12491
12496
|
showSearch: true,
|
|
12492
12497
|
showArrow: true,
|
|
@@ -12499,17 +12504,17 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
12499
12504
|
}
|
|
12500
12505
|
}
|
|
12501
12506
|
}, {
|
|
12502
|
-
name: 'qp-storeChannelName-
|
|
12507
|
+
name: 'qp-storeChannelName-in',
|
|
12503
12508
|
type: 'select',
|
|
12504
12509
|
label: '管理模式',
|
|
12505
12510
|
field: {
|
|
12506
12511
|
type: 'select',
|
|
12507
12512
|
props: {
|
|
12508
12513
|
notFoundContent: '暂无数据',
|
|
12514
|
+
mode: 'multiple',
|
|
12509
12515
|
allowClear: true,
|
|
12510
12516
|
showSearch: true,
|
|
12511
12517
|
showArrow: true,
|
|
12512
|
-
maxTagCount: 1,
|
|
12513
12518
|
optionFilterProp: 'children',
|
|
12514
12519
|
filterOption: function filterOption(input, option) {
|
|
12515
12520
|
var _option$value5;
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@ import { handleTextOverflow, tableColumnsImage, handleTooltip } from '@/componen
|
|
|
6
6
|
import { getSkuImg } from '@/utils/TableUtils';
|
|
7
7
|
import { getEmployeeCode, getCurrentTargetBgId } from '@/utils/LocalstorageUtils';
|
|
8
8
|
import { Image } from 'antd';
|
|
9
|
-
import { isBoolean, trim } from 'lodash';
|
|
9
|
+
import { isBoolean, multiply, trim } from 'lodash';
|
|
10
10
|
|
|
11
11
|
const hasDictSharingType = getDictionarySource('UC000013')?.length;
|
|
12
12
|
const sharingTypeDataList = hasDictSharingType && getDictionarySource('UC000013') || sharingType
|
|
@@ -1344,12 +1344,20 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
|
|
|
1344
1344
|
Promise.all([
|
|
1345
1345
|
loadSelectSource(`/channel-manage/channelInfo/tree`, {
|
|
1346
1346
|
'qp-status-eq': 10,
|
|
1347
|
-
'qp-isMain-eq': 1,
|
|
1347
|
+
// 'qp-isMain-eq': 1,
|
|
1348
1348
|
'qp-type-in': '1,2',
|
|
1349
|
-
},
|
|
1349
|
+
}, {
|
|
1350
|
+
headers: {
|
|
1351
|
+
...extralHeaders
|
|
1352
|
+
}
|
|
1353
|
+
}),
|
|
1350
1354
|
loadSelectSource(`/channel-manage/tagNode/getTree/10`, {
|
|
1351
1355
|
'qp-status-eq': 1,
|
|
1352
|
-
},
|
|
1356
|
+
},{
|
|
1357
|
+
headers: {
|
|
1358
|
+
...extralHeaders
|
|
1359
|
+
}
|
|
1360
|
+
}),
|
|
1353
1361
|
]).then((x: any)=>{
|
|
1354
1362
|
debugger
|
|
1355
1363
|
// 战区限制一级数据
|
|
@@ -2307,14 +2315,14 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
|
|
|
2307
2315
|
},
|
|
2308
2316
|
},
|
|
2309
2317
|
},
|
|
2310
|
-
{ name: 'qp-manageSupervisor-
|
|
2318
|
+
{ name: 'qp-manageSupervisor-in', type: 'select', label: '管理督导', field: {
|
|
2311
2319
|
type: 'select',
|
|
2312
2320
|
props: {
|
|
2313
2321
|
notFoundContent: '暂无数据',
|
|
2314
2322
|
allowClear: true,
|
|
2323
|
+
mode: 'multiple',
|
|
2315
2324
|
showSearch: true,
|
|
2316
2325
|
showArrow: true,
|
|
2317
|
-
maxTagCount: 1,
|
|
2318
2326
|
optionFilterProp: 'children',
|
|
2319
2327
|
filterOption: (input: string, option: { props: { children: string } }) =>
|
|
2320
2328
|
{
|
|
@@ -2323,36 +2331,37 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
|
|
|
2323
2331
|
}
|
|
2324
2332
|
},
|
|
2325
2333
|
} },
|
|
2326
|
-
{ name: 'qp-directSupervisor-
|
|
2334
|
+
{ name: 'qp-directSupervisor-in', type: 'select', label: '直接督导', field: {
|
|
2327
2335
|
type: 'select',
|
|
2328
2336
|
props: {
|
|
2329
2337
|
notFoundContent: '暂无数据',
|
|
2338
|
+
mode: 'multiple',
|
|
2330
2339
|
allowClear: true,
|
|
2331
2340
|
showSearch: true,
|
|
2332
2341
|
showArrow: true,
|
|
2333
|
-
maxTagCount: 1,
|
|
2334
2342
|
optionFilterProp: 'children',
|
|
2335
2343
|
filterOption: (input: string, option: { props: { children: string } }) =>
|
|
2336
2344
|
(option?.value ?? '').toLowerCase().includes(input.toLowerCase())
|
|
2337
2345
|
},
|
|
2338
2346
|
} },
|
|
2339
|
-
{ name: 'qp-distributionItem-
|
|
2347
|
+
{ name: 'qp-distributionItem-in', type: 'select', label: '分销商品', field: {
|
|
2340
2348
|
type: 'select',
|
|
2341
2349
|
props: {
|
|
2342
2350
|
notFoundContent: '暂无数据',
|
|
2351
|
+
mode: 'multiple',
|
|
2343
2352
|
allowClear: true,
|
|
2344
2353
|
showSearch: true,
|
|
2345
2354
|
showArrow: true,
|
|
2346
|
-
maxTagCount: 1,
|
|
2347
2355
|
optionFilterProp: 'children',
|
|
2348
2356
|
filterOption: (input: string, option: { props: { children: string } }) =>
|
|
2349
2357
|
(option?.value ?? '').toLowerCase().includes(input.toLowerCase())
|
|
2350
2358
|
},
|
|
2351
2359
|
} },
|
|
2352
|
-
{ name: 'qp-headItem-
|
|
2360
|
+
{ name: 'qp-headItem-in', type: 'select', label: '总部商品', field: {
|
|
2353
2361
|
type: 'select',
|
|
2354
2362
|
props: {
|
|
2355
2363
|
notFoundContent: '暂无数据',
|
|
2364
|
+
mode: 'multiple',
|
|
2356
2365
|
allowClear: true,
|
|
2357
2366
|
showSearch: true,
|
|
2358
2367
|
showArrow: true,
|
|
@@ -2362,14 +2371,14 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
|
|
|
2362
2371
|
(option?.value ?? '').toLowerCase().includes(input.toLowerCase())
|
|
2363
2372
|
},
|
|
2364
2373
|
} },
|
|
2365
|
-
{ name: 'qp-storeChannelName-
|
|
2374
|
+
{ name: 'qp-storeChannelName-in', type: 'select', label: '管理模式', field: {
|
|
2366
2375
|
type: 'select',
|
|
2367
2376
|
props: {
|
|
2368
2377
|
notFoundContent: '暂无数据',
|
|
2378
|
+
mode: 'multiple',
|
|
2369
2379
|
allowClear: true,
|
|
2370
2380
|
showSearch: true,
|
|
2371
2381
|
showArrow: true,
|
|
2372
|
-
maxTagCount: 1,
|
|
2373
2382
|
optionFilterProp: 'children',
|
|
2374
2383
|
filterOption: (input: string, option: { props: { children: string } }) =>
|
|
2375
2384
|
(option?.value ?? '').toLowerCase().includes(input.toLowerCase())
|