@bit-sun/business-component 4.2.1-alpha.26-aiwei → 4.2.1-alpha.28-aiwei
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js
CHANGED
|
@@ -10725,6 +10725,25 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10725
10725
|
}
|
|
10726
10726
|
}
|
|
10727
10727
|
}
|
|
10728
|
+
}, {
|
|
10729
|
+
name: 'qp-brandYearSeason-in',
|
|
10730
|
+
type: 'select',
|
|
10731
|
+
label: '产品季',
|
|
10732
|
+
field: {
|
|
10733
|
+
type: 'select',
|
|
10734
|
+
props: {
|
|
10735
|
+
mode: 'multiple',
|
|
10736
|
+
notFoundContent: '暂无数据',
|
|
10737
|
+
allowClear: true,
|
|
10738
|
+
showSearch: true,
|
|
10739
|
+
showArrow: true,
|
|
10740
|
+
maxTagCount: 1,
|
|
10741
|
+
optionFilterProp: 'children',
|
|
10742
|
+
filterOption: function filterOption(input, option) {
|
|
10743
|
+
return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
|
|
10744
|
+
}
|
|
10745
|
+
}
|
|
10746
|
+
}
|
|
10728
10747
|
}
|
|
10729
10748
|
// { name: 'UNIQUE_SPEC', label: '属性', field: {
|
|
10730
10749
|
// type: 'proppertySelector',
|
|
@@ -10754,6 +10773,9 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10754
10773
|
}, {
|
|
10755
10774
|
isOpen: true,
|
|
10756
10775
|
queryKey: 'qp-zzxlbm-in'
|
|
10776
|
+
}, {
|
|
10777
|
+
isOpen: true,
|
|
10778
|
+
queryKey: 'qp-brandYearSeason-in'
|
|
10757
10779
|
}];
|
|
10758
10780
|
var _queryHeaderParams2 = getQueryHeadersList({
|
|
10759
10781
|
defaultQSHL: defaultQSHL,
|
|
@@ -10782,7 +10804,10 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10782
10804
|
}, getQueryHeadersItem(_queryHeaderParams2, 'qp-zzzlbm-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/item/propertyValue"), {
|
|
10783
10805
|
'qp-propertyCode-eq': 'PROP_SUBCATEORY',
|
|
10784
10806
|
pageSize: 999
|
|
10785
|
-
}, getQueryHeadersItem(_queryHeaderParams2, 'qp-zzxlbm-in'))
|
|
10807
|
+
}, getQueryHeadersItem(_queryHeaderParams2, 'qp-zzxlbm-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/item/propertyValue"), {
|
|
10808
|
+
'qp-propertyCode-eq': 'PROP_ITEM_PRODUCTSEASON',
|
|
10809
|
+
pageSize: 999
|
|
10810
|
+
}, getQueryHeadersItem(_queryHeaderParams2, 'qp-brandYearSeason-in'))]).then(function (x) {
|
|
10786
10811
|
formatSource(x, 0, 3, tableSearchForm, ['id', 'name']);
|
|
10787
10812
|
formatTreeDataSource(x, 1, 4, tableSearchForm);
|
|
10788
10813
|
formatSource(x, 0, getFieldIndex(tableSearchForm, 'qp-brandId-in'), tableSearchForm, ['id', 'name']);
|
|
@@ -10793,6 +10818,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10793
10818
|
formatSource(x, 5, getFieldIndex(tableSearchForm, 'qp-zzdlbm-in'), tableSearchForm, ['value', 'value']);
|
|
10794
10819
|
formatSource(x, 6, getFieldIndex(tableSearchForm, 'qp-zzzlbm-in'), tableSearchForm, ['value', 'value']);
|
|
10795
10820
|
formatSource(x, 7, getFieldIndex(tableSearchForm, 'qp-zzxlbm-in'), tableSearchForm, ['value', 'value']);
|
|
10821
|
+
formatSource(x, 8, getFieldIndex(tableSearchForm, 'qp-brandYearSeason-in'), tableSearchForm, ['value', 'value']);
|
|
10796
10822
|
});
|
|
10797
10823
|
modalTableProps = _objectSpread2({
|
|
10798
10824
|
modalTableTitle: '选择SKU',
|
package/dist/index.js
CHANGED
|
@@ -10748,6 +10748,25 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10748
10748
|
}
|
|
10749
10749
|
}
|
|
10750
10750
|
}
|
|
10751
|
+
}, {
|
|
10752
|
+
name: 'qp-brandYearSeason-in',
|
|
10753
|
+
type: 'select',
|
|
10754
|
+
label: '产品季',
|
|
10755
|
+
field: {
|
|
10756
|
+
type: 'select',
|
|
10757
|
+
props: {
|
|
10758
|
+
mode: 'multiple',
|
|
10759
|
+
notFoundContent: '暂无数据',
|
|
10760
|
+
allowClear: true,
|
|
10761
|
+
showSearch: true,
|
|
10762
|
+
showArrow: true,
|
|
10763
|
+
maxTagCount: 1,
|
|
10764
|
+
optionFilterProp: 'children',
|
|
10765
|
+
filterOption: function filterOption(input, option) {
|
|
10766
|
+
return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
|
|
10767
|
+
}
|
|
10768
|
+
}
|
|
10769
|
+
}
|
|
10751
10770
|
}
|
|
10752
10771
|
// { name: 'UNIQUE_SPEC', label: '属性', field: {
|
|
10753
10772
|
// type: 'proppertySelector',
|
|
@@ -10777,6 +10796,9 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10777
10796
|
}, {
|
|
10778
10797
|
isOpen: true,
|
|
10779
10798
|
queryKey: 'qp-zzxlbm-in'
|
|
10799
|
+
}, {
|
|
10800
|
+
isOpen: true,
|
|
10801
|
+
queryKey: 'qp-brandYearSeason-in'
|
|
10780
10802
|
}];
|
|
10781
10803
|
var _queryHeaderParams2 = getQueryHeadersList({
|
|
10782
10804
|
defaultQSHL: defaultQSHL,
|
|
@@ -10805,7 +10827,10 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10805
10827
|
}, getQueryHeadersItem(_queryHeaderParams2, 'qp-zzzlbm-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/item/propertyValue"), {
|
|
10806
10828
|
'qp-propertyCode-eq': 'PROP_SUBCATEORY',
|
|
10807
10829
|
pageSize: 999
|
|
10808
|
-
}, getQueryHeadersItem(_queryHeaderParams2, 'qp-zzxlbm-in'))
|
|
10830
|
+
}, getQueryHeadersItem(_queryHeaderParams2, 'qp-zzxlbm-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/item/propertyValue"), {
|
|
10831
|
+
'qp-propertyCode-eq': 'PROP_ITEM_PRODUCTSEASON',
|
|
10832
|
+
pageSize: 999
|
|
10833
|
+
}, getQueryHeadersItem(_queryHeaderParams2, 'qp-brandYearSeason-in'))]).then(function (x) {
|
|
10809
10834
|
formatSource(x, 0, 3, tableSearchForm, ['id', 'name']);
|
|
10810
10835
|
formatTreeDataSource(x, 1, 4, tableSearchForm);
|
|
10811
10836
|
formatSource(x, 0, getFieldIndex(tableSearchForm, 'qp-brandId-in'), tableSearchForm, ['id', 'name']);
|
|
@@ -10816,6 +10841,7 @@ function commonFun(type, prefixUrl, parentProps) {
|
|
|
10816
10841
|
formatSource(x, 5, getFieldIndex(tableSearchForm, 'qp-zzdlbm-in'), tableSearchForm, ['value', 'value']);
|
|
10817
10842
|
formatSource(x, 6, getFieldIndex(tableSearchForm, 'qp-zzzlbm-in'), tableSearchForm, ['value', 'value']);
|
|
10818
10843
|
formatSource(x, 7, getFieldIndex(tableSearchForm, 'qp-zzxlbm-in'), tableSearchForm, ['value', 'value']);
|
|
10844
|
+
formatSource(x, 8, getFieldIndex(tableSearchForm, 'qp-brandYearSeason-in'), tableSearchForm, ['value', 'value']);
|
|
10819
10845
|
});
|
|
10820
10846
|
modalTableProps = _objectSpread2({
|
|
10821
10847
|
modalTableTitle: '选择SKU',
|
package/package.json
CHANGED
|
@@ -529,6 +529,20 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
|
|
|
529
529
|
option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0,
|
|
530
530
|
},
|
|
531
531
|
} },
|
|
532
|
+
{ name: 'qp-brandYearSeason-in', type: 'select', label: '产品季', field: {
|
|
533
|
+
type: 'select',
|
|
534
|
+
props: {
|
|
535
|
+
mode: 'multiple',
|
|
536
|
+
notFoundContent: '暂无数据',
|
|
537
|
+
allowClear: true,
|
|
538
|
+
showSearch: true,
|
|
539
|
+
showArrow: true,
|
|
540
|
+
maxTagCount: 1,
|
|
541
|
+
optionFilterProp: 'children',
|
|
542
|
+
filterOption: (input: string, option: { props: { children: string } }) =>
|
|
543
|
+
option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0,
|
|
544
|
+
},
|
|
545
|
+
} },
|
|
532
546
|
|
|
533
547
|
// { name: 'UNIQUE_SPEC', label: '属性', field: {
|
|
534
548
|
// type: 'proppertySelector',
|
|
@@ -543,6 +557,7 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
|
|
|
543
557
|
{ isOpen: true, queryKey: 'qp-zzdlbm-in' },
|
|
544
558
|
{ isOpen: true, queryKey: 'qp-zzzlbm-in' },
|
|
545
559
|
{ isOpen: true, queryKey: 'qp-zzxlbm-in' },
|
|
560
|
+
{ isOpen: true, queryKey: 'qp-brandYearSeason-in' },
|
|
546
561
|
]
|
|
547
562
|
const queryHeaderParams = getQueryHeadersList({defaultQSHL, querySelectHeadersList, extralHeaders});
|
|
548
563
|
|
|
@@ -578,6 +593,10 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
|
|
|
578
593
|
'qp-propertyCode-eq': 'PROP_SUBCATEORY',
|
|
579
594
|
pageSize: 999,
|
|
580
595
|
}, getQueryHeadersItem(queryHeaderParams,'qp-zzxlbm-in')),
|
|
596
|
+
loadSelectSource(`${prefixUrl.formSelectFix}/item/propertyValue`, {
|
|
597
|
+
'qp-propertyCode-eq': 'PROP_ITEM_PRODUCTSEASON',
|
|
598
|
+
pageSize: 999,
|
|
599
|
+
}, getQueryHeadersItem(queryHeaderParams,'qp-brandYearSeason-in')),
|
|
581
600
|
]).then((x: any)=>{
|
|
582
601
|
formatSource(x,0, 3, tableSearchForm,['id','name'])
|
|
583
602
|
formatTreeDataSource(x,1, 4, tableSearchForm)
|
|
@@ -589,6 +608,7 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
|
|
|
589
608
|
formatSource(x,5, getFieldIndex(tableSearchForm, 'qp-zzdlbm-in'), tableSearchForm,['value','value'])
|
|
590
609
|
formatSource(x,6, getFieldIndex(tableSearchForm, 'qp-zzzlbm-in'), tableSearchForm,['value','value'])
|
|
591
610
|
formatSource(x,7, getFieldIndex(tableSearchForm, 'qp-zzxlbm-in'), tableSearchForm,['value','value'])
|
|
611
|
+
formatSource(x,8, getFieldIndex(tableSearchForm, 'qp-brandYearSeason-in'), tableSearchForm,['value','value'])
|
|
592
612
|
})
|
|
593
613
|
modalTableProps = {
|
|
594
614
|
modalTableTitle: '选择SKU',
|