@fonixtree/magic-design 0.0.106 → 0.0.109
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.
|
@@ -281,7 +281,7 @@ var FilteredProductModal = function FilteredProductModal(props) {
|
|
|
281
281
|
settVal([]);
|
|
282
282
|
settBrandId([]);
|
|
283
283
|
settLabelId({});
|
|
284
|
-
setStoreId(
|
|
284
|
+
setStoreId('');
|
|
285
285
|
setStoreName('');
|
|
286
286
|
setProductName('');
|
|
287
287
|
setMinimum('');
|
|
@@ -461,7 +461,7 @@ var FilteredProductModal = function FilteredProductModal(props) {
|
|
|
461
461
|
startPrice: minimum * precision || '',
|
|
462
462
|
endPrice: maximum * precision || '',
|
|
463
463
|
// storeName:storeName,
|
|
464
|
-
|
|
464
|
+
campaignType: promotions.key || '',
|
|
465
465
|
pageSize: paginationParams.pageSize,
|
|
466
466
|
pageIndex: paginationParams.current,
|
|
467
467
|
state: 'A'
|
|
@@ -564,8 +564,9 @@ var FilteredProductModal = function FilteredProductModal(props) {
|
|
|
564
564
|
}, /*#__PURE__*/_react["default"].createElement(_antd.Select, {
|
|
565
565
|
className: "inputStyle",
|
|
566
566
|
defaultValue: [],
|
|
567
|
-
onChange: function onChange(value) {
|
|
568
|
-
|
|
567
|
+
onChange: function onChange(value, item) {
|
|
568
|
+
setStoreId(value);
|
|
569
|
+
setStoreName(item.children);
|
|
569
570
|
},
|
|
570
571
|
optionFilterProp: "children",
|
|
571
572
|
placeholder: "Please select",
|
|
@@ -281,7 +281,7 @@ var FilteredProductModal = function FilteredProductModal(props) {
|
|
|
281
281
|
settVal([]);
|
|
282
282
|
settBrandId([]);
|
|
283
283
|
settLabelId({});
|
|
284
|
-
setStoreId(
|
|
284
|
+
setStoreId('');
|
|
285
285
|
setStoreName('');
|
|
286
286
|
setProductName('');
|
|
287
287
|
setMinimum('');
|
|
@@ -461,7 +461,7 @@ var FilteredProductModal = function FilteredProductModal(props) {
|
|
|
461
461
|
startPrice: minimum * precision || '',
|
|
462
462
|
endPrice: maximum * precision || '',
|
|
463
463
|
// storeName:storeName,
|
|
464
|
-
|
|
464
|
+
campaignType: promotions.key || '',
|
|
465
465
|
pageSize: paginationParams.pageSize,
|
|
466
466
|
pageIndex: paginationParams.current,
|
|
467
467
|
state: 'A'
|
|
@@ -564,8 +564,9 @@ var FilteredProductModal = function FilteredProductModal(props) {
|
|
|
564
564
|
}, /*#__PURE__*/_react["default"].createElement(_antd.Select, {
|
|
565
565
|
className: "inputStyle",
|
|
566
566
|
defaultValue: [],
|
|
567
|
-
onChange: function onChange(value) {
|
|
568
|
-
|
|
567
|
+
onChange: function onChange(value, item) {
|
|
568
|
+
setStoreId(value);
|
|
569
|
+
setStoreName(item.children);
|
|
569
570
|
},
|
|
570
571
|
optionFilterProp: "children",
|
|
571
572
|
placeholder: "Please select",
|