@kmkf-fe-packages/basic-components 0.8.9-alpha.15 → 0.8.9-alpha.17
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 +14 -8
- package/dist/index.js +14 -8
- package/package.json +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -9905,20 +9905,26 @@ var GoodsModal$1 = function GoodsModal(props, ref) {
|
|
|
9905
9905
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
9906
9906
|
while (1) switch (_context.prev = _context.next) {
|
|
9907
9907
|
case 0:
|
|
9908
|
+
if (shopCode) {
|
|
9909
|
+
_context.next = 2;
|
|
9910
|
+
break;
|
|
9911
|
+
}
|
|
9912
|
+
return _context.abrupt("return");
|
|
9913
|
+
case 2:
|
|
9908
9914
|
form.setFieldsValue({
|
|
9909
9915
|
shopId: shopCode
|
|
9910
9916
|
});
|
|
9911
|
-
_context.prev =
|
|
9917
|
+
_context.prev = 3;
|
|
9912
9918
|
setLoading(true);
|
|
9913
9919
|
params = {
|
|
9914
9920
|
shopCode: shopCode
|
|
9915
9921
|
};
|
|
9916
|
-
_context.next =
|
|
9922
|
+
_context.next = 8;
|
|
9917
9923
|
return extendRequest('/qy/gdfw/product/bsListProduct', {
|
|
9918
9924
|
method: 'post',
|
|
9919
9925
|
data: params
|
|
9920
9926
|
});
|
|
9921
|
-
case
|
|
9927
|
+
case 8:
|
|
9922
9928
|
res = _context.sent;
|
|
9923
9929
|
if (res.success) {
|
|
9924
9930
|
products = res.data.products;
|
|
@@ -9930,15 +9936,15 @@ var GoodsModal$1 = function GoodsModal(props, ref) {
|
|
|
9930
9936
|
setAllList(_toConsumableArray(newProducts));
|
|
9931
9937
|
initData(_toConsumableArray(newProducts));
|
|
9932
9938
|
}
|
|
9933
|
-
case
|
|
9934
|
-
_context.prev =
|
|
9939
|
+
case 10:
|
|
9940
|
+
_context.prev = 10;
|
|
9935
9941
|
setLoading(false);
|
|
9936
|
-
return _context.finish(
|
|
9937
|
-
case
|
|
9942
|
+
return _context.finish(10);
|
|
9943
|
+
case 13:
|
|
9938
9944
|
case "end":
|
|
9939
9945
|
return _context.stop();
|
|
9940
9946
|
}
|
|
9941
|
-
}, _callee, null, [[
|
|
9947
|
+
}, _callee, null, [[3,, 10, 13]]);
|
|
9942
9948
|
}));
|
|
9943
9949
|
return function queryItems(_x) {
|
|
9944
9950
|
return _ref.apply(this, arguments);
|
package/dist/index.js
CHANGED
|
@@ -9916,20 +9916,26 @@ var GoodsModal$1 = function GoodsModal(props, ref) {
|
|
|
9916
9916
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
9917
9917
|
while (1) switch (_context.prev = _context.next) {
|
|
9918
9918
|
case 0:
|
|
9919
|
+
if (shopCode) {
|
|
9920
|
+
_context.next = 2;
|
|
9921
|
+
break;
|
|
9922
|
+
}
|
|
9923
|
+
return _context.abrupt("return");
|
|
9924
|
+
case 2:
|
|
9919
9925
|
form.setFieldsValue({
|
|
9920
9926
|
shopId: shopCode
|
|
9921
9927
|
});
|
|
9922
|
-
_context.prev =
|
|
9928
|
+
_context.prev = 3;
|
|
9923
9929
|
setLoading(true);
|
|
9924
9930
|
params = {
|
|
9925
9931
|
shopCode: shopCode
|
|
9926
9932
|
};
|
|
9927
|
-
_context.next =
|
|
9933
|
+
_context.next = 8;
|
|
9928
9934
|
return extendRequest('/qy/gdfw/product/bsListProduct', {
|
|
9929
9935
|
method: 'post',
|
|
9930
9936
|
data: params
|
|
9931
9937
|
});
|
|
9932
|
-
case
|
|
9938
|
+
case 8:
|
|
9933
9939
|
res = _context.sent;
|
|
9934
9940
|
if (res.success) {
|
|
9935
9941
|
products = res.data.products;
|
|
@@ -9941,15 +9947,15 @@ var GoodsModal$1 = function GoodsModal(props, ref) {
|
|
|
9941
9947
|
setAllList(_toConsumableArray(newProducts));
|
|
9942
9948
|
initData(_toConsumableArray(newProducts));
|
|
9943
9949
|
}
|
|
9944
|
-
case
|
|
9945
|
-
_context.prev =
|
|
9950
|
+
case 10:
|
|
9951
|
+
_context.prev = 10;
|
|
9946
9952
|
setLoading(false);
|
|
9947
|
-
return _context.finish(
|
|
9948
|
-
case
|
|
9953
|
+
return _context.finish(10);
|
|
9954
|
+
case 13:
|
|
9949
9955
|
case "end":
|
|
9950
9956
|
return _context.stop();
|
|
9951
9957
|
}
|
|
9952
|
-
}, _callee, null, [[
|
|
9958
|
+
}, _callee, null, [[3,, 10, 13]]);
|
|
9953
9959
|
}));
|
|
9954
9960
|
return function queryItems(_x) {
|
|
9955
9961
|
return _ref.apply(this, arguments);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/basic-components",
|
|
3
|
-
"version": "0.8.9-alpha.
|
|
3
|
+
"version": "0.8.9-alpha.17",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"homepage": "",
|
|
6
6
|
"license": "ISC",
|
|
@@ -60,5 +60,5 @@
|
|
|
60
60
|
"publishConfig": {
|
|
61
61
|
"access": "public"
|
|
62
62
|
},
|
|
63
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "90003768eecf70ca8bde0817a2824dda7896a984"
|
|
64
64
|
}
|