@kmkf-fe-packages/kmkf-utils 2.2.44-beta.46 → 2.2.44-beta.47

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.
@@ -11,6 +11,17 @@ export declare const GY_SYSTEM_ORDER_CONFIG: {
11
11
  title: string;
12
12
  width: number;
13
13
  }[];
14
+ compoundConfig: (id: string) => ({
15
+ name: string;
16
+ id: string;
17
+ standardDateType?: undefined;
18
+ exampleValue?: undefined;
19
+ } | {
20
+ name: string;
21
+ id: string;
22
+ standardDateType: string;
23
+ exampleValue: string;
24
+ })[];
14
25
  };
15
26
  export declare const getIsPlatformCodesIncludeOrderNos: (platformCodes: string, orderNos: string) => boolean;
16
27
  export declare const updateGyGoodsHandle: (orders?: any[]) => any;
@@ -16,6 +16,22 @@ export var GY_DELIVERY_STATE_MAPPING = {
16
16
  0: "未发货",
17
17
  2: "全部发货"
18
18
  };
19
+ var getCompoundConfig = function getCompoundConfig(id) {
20
+ return [{
21
+ name: "\u7ED1\u5B9A\u8BA2\u5355\u53F7",
22
+ id: "".concat(id, "_gySystemOrderNo")
23
+ }, {
24
+ name: "\u9009\u4E2D\u7CFB\u7EDF\u8BA2\u5355\u53F7",
25
+ id: "".concat(id, "_gySystemSelectIds"),
26
+ standardDateType: "Array",
27
+ exampleValue: '["1"]'
28
+ }, {
29
+ name: "\u5546\u54C1\u5217\u8868",
30
+ id: "".concat(id, "_gySystemShowOrder"),
31
+ standardDateType: "Array",
32
+ exampleValue: '[{"country":"","select":false,"payTime":"","isMallDeliveryAbnormal":0,"shopName":"","warehouseName":"","sourcePlatformName":"","fuzzyMobile":"","cityName":"","contact":"","modified":"","shopId":0,"tradeType":"","fuzzyAddress":"","tradeNo":"","districtName":"","mobile":"","sendTime":"","tradeTime":"","subOrderDetails":[{"gift":0,"mallSellingPrice":0,"bfit":false,"mallSkuId":"","productId":"","specCode":"","sellTotal":0,"mallProductId":"","sellPrice":0,"mallProductName":"","oid":"","uuid":"","productName":"","skuName":"","productCode":"","specName":"","mallSkuName":"","sellCount":0,"divideOrderFee":0,"settlementPrice":0,"goodsCode":"","systemOrderNo":"","goodsName":"","skuCode":""}],"sourcePlatformCode":"","warehouseId":0,"tradeStatus":"","endTime":"","provinceName":"","tradeId":"","fuzzyContact":""}]'
33
+ }];
34
+ };
19
35
  export var GY_SYSTEM_ORDER_CONFIG = {
20
36
  key: "gySystemShowOrder",
21
37
  name: "管易",
@@ -45,7 +61,8 @@ export var GY_SYSTEM_ORDER_CONFIG = {
45
61
  dataIndex: "deliveryStateName",
46
62
  title: "发货状态",
47
63
  width: 150
48
- }]
64
+ }],
65
+ compoundConfig: getCompoundConfig
49
66
  };
50
67
  export var getIsPlatformCodesIncludeOrderNos = function getIsPlatformCodesIncludeOrderNos(platformCodes, orderNos) {
51
68
  var getSortedList = function getSortedList(str) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/kmkf-utils",
3
- "version": "2.2.44-beta.46",
3
+ "version": "2.2.44-beta.47",
4
4
  "module": "dist/esm/index.js",
5
5
  "typings": "dist/esm/index.d.ts",
6
6
  "files": [
@@ -41,7 +41,7 @@
41
41
  "publishConfig": {
42
42
  "access": "public"
43
43
  },
44
- "gitHead": "acac28cf43174c829a597eb71d84276b41e1c81c",
44
+ "gitHead": "2e32e78a8555ec788508ff93377ae8efef44b632",
45
45
  "gitHooks": {
46
46
  "pre-commit": "lint-staged"
47
47
  }