@kmkf-fe-packages/services-components 1.0.6-alpha.0 → 1.0.6-rc.11
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/README.md +0 -1
- package/dist/esm/commonComponents/GlobalContext/index.d.ts +1 -1
- package/dist/esm/commonComponents/GlobalContext/index.js +3 -2
- package/dist/esm/commonComponents/ShopList/index.d.ts +2 -2
- package/dist/esm/commonComponents/ShopList/index.js +23 -67
- package/dist/esm/components/BS/common/BsMemo.js +2 -1
- package/dist/esm/components/BS/common/BsType.js +2 -1
- package/dist/esm/components/Cascader/index.d.ts +1 -0
- package/dist/esm/components/Cascader/index.js +4 -1
- package/dist/esm/components/Common/index.js +182 -3
- package/dist/esm/components/CommonHeaderGood/index.js +182 -0
- package/dist/esm/components/Label/index.d.ts +33 -0
- package/dist/esm/components/Label/index.js +137 -0
- package/dist/esm/components/WDT/WdtExchange/index.d.ts +35 -0
- package/dist/esm/components/WDT/WdtExchange/index.js +183 -0
- package/dist/esm/components/WDT/WdtReturn/index.d.ts +54 -0
- package/dist/esm/components/WDT/WdtReturn/index.js +150 -0
- package/dist/esm/factory.d.ts +2 -2
- package/dist/esm/factory.js +9 -4
- package/dist/esm/index.d.ts +6 -3
- package/dist/esm/index.js +3 -0
- package/dist/esm/service/api.d.ts +1 -0
- package/dist/esm/service/api.js +20 -1
- package/package.json +4 -4
package/dist/esm/index.js
CHANGED
|
@@ -75,8 +75,11 @@ export { default as FlowWorkOrderStatus } from "./components/FlowWorkOrderStatus
|
|
|
75
75
|
export { default as MsgStatus } from "./components/MsgStatus";
|
|
76
76
|
export { default as WdtGoods } from "./components/WDT/WdtGoods";
|
|
77
77
|
export { default as WdtReissue } from "./components/WDT/WdtRessuie";
|
|
78
|
+
export { default as WdtReturn } from "./components/WDT/WdtReturn";
|
|
79
|
+
export { default as WdtExchange } from "./components/WDT/WdtExchange";
|
|
78
80
|
export { default as CommonInput } from "./components/CommonInput";
|
|
79
81
|
export { default as PaymentVoucherCode } from "./components/PaymentVoucherCode";
|
|
82
|
+
export { default as Label } from "./components/Label";
|
|
80
83
|
// TODO: ERP 打款工单使用
|
|
81
84
|
export { default as KmErpOrderNum } from "./components/ErpTradeId/components/OrderNum";
|
|
82
85
|
export { factory } from "./factory";
|
|
@@ -9,3 +9,4 @@ export declare const queryAllLogisticsCompany: () => Promise<void>;
|
|
|
9
9
|
export declare const queryWdtLogisticsCompany: () => Promise<void>;
|
|
10
10
|
export declare const queryWdtSendData: () => Promise<void>;
|
|
11
11
|
export declare const getAlipayBillReceipt: (data: any) => Promise<any>;
|
|
12
|
+
export declare const queryLabel: () => Promise<any>;
|
package/dist/esm/service/api.js
CHANGED
|
@@ -10,7 +10,7 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
10
10
|
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
11
11
|
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
12
12
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
13
|
-
import { AddressData, toTree, BsAddressData, WdtAddressData, PlatData, ExpressInterceptData, LogisticsAddressData, ExpressData, WdtSendData, servers, WDT } from "@kmkf-fe-packages/kmkf-utils";
|
|
13
|
+
import { AddressData, toTree, BsAddressData, WdtAddressData, PlatData, ExpressInterceptData, LogisticsAddressData, ExpressData, LabelData, WdtSendData, servers, WDT } from "@kmkf-fe-packages/kmkf-utils";
|
|
14
14
|
import get from "lodash/get";
|
|
15
15
|
import request from "./request";
|
|
16
16
|
// 重复校验
|
|
@@ -267,4 +267,23 @@ export var getAlipayBillReceipt = function getAlipayBillReceipt(data) {
|
|
|
267
267
|
method: "post",
|
|
268
268
|
data: data
|
|
269
269
|
});
|
|
270
|
+
};
|
|
271
|
+
export var queryLabel = function queryLabel() {
|
|
272
|
+
return request({
|
|
273
|
+
url: "/qy/diamond/getConfigInfo",
|
|
274
|
+
method: "get",
|
|
275
|
+
data: {
|
|
276
|
+
key: 'RISK_WARING_LABEL_LIST'
|
|
277
|
+
}
|
|
278
|
+
}).then(function (res) {
|
|
279
|
+
var data = res.data;
|
|
280
|
+
var instance = LabelData.getInstance();
|
|
281
|
+
try {
|
|
282
|
+
var finalData = JSON.parse(data);
|
|
283
|
+
instance.labelData = finalData;
|
|
284
|
+
} catch (e) {
|
|
285
|
+
console.error('转换标签数据数据异常');
|
|
286
|
+
instance.labelData = [];
|
|
287
|
+
}
|
|
288
|
+
});
|
|
270
289
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/services-components",
|
|
3
|
-
"version": "1.0.6-
|
|
3
|
+
"version": "1.0.6-rc.11",
|
|
4
4
|
"module": "dist/esm/index.js",
|
|
5
5
|
"typings": "dist/esm/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
]
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@kmkf-fe-packages/basic-components": "^1.0.6-
|
|
24
|
-
"@kmkf-fe-packages/kmkf-utils": "^1.0.6-
|
|
23
|
+
"@kmkf-fe-packages/basic-components": "^1.0.6-rc.11",
|
|
24
|
+
"@kmkf-fe-packages/kmkf-utils": "^1.0.6-rc.9"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@typescript-eslint/eslint-plugin": "^5.59.2",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"publishConfig": {
|
|
38
38
|
"access": "public"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "2218072f44627e94cde764524eea0bf946f4c5ad",
|
|
41
41
|
"gitHooks": {
|
|
42
42
|
"pre-commit": "lint-staged"
|
|
43
43
|
}
|