ls-pro-common 3.1.45 → 3.1.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.
Files changed (160) hide show
  1. package/dist/common.css +16 -0
  2. package/dist/common.js +1 -1
  3. package/dist/common.less +2 -1
  4. package/dist/common.min.css +16 -0
  5. package/dist/common.min.js +1 -1
  6. package/es/components/Select/AreaCitySelect.d.ts +5 -0
  7. package/es/components/Select/AreaCitySelect.js +25 -0
  8. package/es/components/Select/AreaDistrictSelect.d.ts +5 -0
  9. package/es/components/Select/AreaDistrictSelect.js +25 -0
  10. package/es/components/Select/AreaProvinceSelect.d.ts +5 -0
  11. package/es/components/Select/AreaProvinceSelect.js +25 -0
  12. package/es/components/Select/Base.d.ts +11 -0
  13. package/es/components/Select/Base.js +127 -0
  14. package/es/components/Select/BrandDeptSelect.d.ts +5 -0
  15. package/es/components/Select/BrandDeptSelect.js +12 -0
  16. package/es/components/Select/CategorySelect.d.ts +5 -0
  17. package/es/components/Select/CategorySelect.js +12 -0
  18. package/es/components/Select/ColorSelect.d.ts +5 -0
  19. package/es/components/Select/ColorSelect.js +12 -0
  20. package/es/components/Select/ExpressCompanyPageSelect.d.ts +5 -0
  21. package/es/components/Select/ExpressCompanyPageSelect.js +12 -0
  22. package/es/components/Select/ExpressCompanySelect.d.ts +5 -0
  23. package/es/components/Select/ExpressCompanySelect.js +12 -0
  24. package/es/components/Select/GenderSelect.d.ts +5 -0
  25. package/es/components/Select/GenderSelect.js +12 -0
  26. package/es/components/Select/LogisticCategorySelect.d.ts +5 -0
  27. package/es/components/Select/LogisticCategorySelect.js +12 -0
  28. package/es/components/Select/LogisticRegionSelect.d.ts +5 -0
  29. package/es/components/Select/LogisticRegionSelect.js +12 -0
  30. package/es/components/Select/ManagingCitySelect.d.ts +5 -0
  31. package/es/components/Select/ManagingCitySelect.js +12 -0
  32. package/es/components/Select/OwnerSelect.d.ts +5 -0
  33. package/es/components/Select/OwnerSelect.js +12 -0
  34. package/es/components/Select/PhysicalStoreSelect.d.ts +5 -0
  35. package/es/components/Select/PhysicalStoreSelect.js +12 -0
  36. package/es/components/Select/PowerUnitSelect.d.ts +5 -0
  37. package/es/components/Select/PowerUnitSelect.js +12 -0
  38. package/es/components/Select/ProfitLossMainSelect.d.ts +5 -0
  39. package/es/components/Select/ProfitLossMainSelect.js +12 -0
  40. package/es/components/Select/SeasonSelect.d.ts +5 -0
  41. package/es/components/Select/SeasonSelect.js +12 -0
  42. package/es/components/Select/SettleAccountSelect.d.ts +5 -0
  43. package/es/components/Select/SettleAccountSelect.js +12 -0
  44. package/es/components/Select/SettleCategorySelect.d.ts +5 -0
  45. package/es/components/Select/SettleCategorySelect.js +12 -0
  46. package/es/components/Select/SettleCompanySelect.d.ts +5 -0
  47. package/es/components/Select/SettleCompanySelect.js +12 -0
  48. package/es/components/Select/ShopPageSelect.d.ts +5 -0
  49. package/es/components/Select/ShopPageSelect.js +12 -0
  50. package/es/components/Select/SizeTypeSelect.d.ts +5 -0
  51. package/es/components/Select/SizeTypeSelect.js +12 -0
  52. package/es/components/Select/StoreSelect.d.ts +5 -0
  53. package/es/components/Select/StoreSelect.js +12 -0
  54. package/es/components/Select/SupplierSelect.d.ts +5 -0
  55. package/es/components/Select/SupplierSelect.js +12 -0
  56. package/es/components/Select/TransportLocnoSelect.d.ts +5 -0
  57. package/es/components/Select/TransportLocnoSelect.js +12 -0
  58. package/es/components/Select/TransportPointPageSelect.d.ts +5 -0
  59. package/es/components/Select/TransportPointPageSelect.js +12 -0
  60. package/es/components/Select/UploadPointPageSelect.d.ts +5 -0
  61. package/es/components/Select/UploadPointPageSelect.js +12 -0
  62. package/es/components/Select/YearSelect.d.ts +5 -0
  63. package/es/components/Select/YearSelect.js +12 -0
  64. package/es/components/Select/common.d.ts +32 -0
  65. package/es/components/Select/common.js +20 -0
  66. package/es/components/Select/index.less +17 -0
  67. package/es/components/ViewOffice.js +1 -0
  68. package/es/components/index.d.ts +28 -0
  69. package/es/components/index.js +29 -1
  70. package/es/hooks/useMdm.d.ts +11 -2
  71. package/es/hooks/useMdm.js +26 -11
  72. package/es/http/index.d.ts +21 -0
  73. package/es/http/index.js +246 -2
  74. package/es/http/mdmCache.d.ts +19 -0
  75. package/es/http/mdmCache.js +157 -0
  76. package/es/http/mdmRequest.d.ts +148 -73
  77. package/es/http/mdmRequest.js +223 -93
  78. package/es/utils/index.d.ts +5 -3
  79. package/es/utils/index.js +15 -3
  80. package/es/utils/modal.js +1 -1
  81. package/es/utils/pasteUpload.d.ts +27 -0
  82. package/es/utils/pasteUpload.js +117 -0
  83. package/lib/components/Select/AreaCitySelect.d.ts +5 -0
  84. package/lib/components/Select/AreaCitySelect.js +25 -0
  85. package/lib/components/Select/AreaDistrictSelect.d.ts +5 -0
  86. package/lib/components/Select/AreaDistrictSelect.js +25 -0
  87. package/lib/components/Select/AreaProvinceSelect.d.ts +5 -0
  88. package/lib/components/Select/AreaProvinceSelect.js +25 -0
  89. package/lib/components/Select/Base.d.ts +11 -0
  90. package/lib/components/Select/Base.js +127 -0
  91. package/lib/components/Select/BrandDeptSelect.d.ts +5 -0
  92. package/lib/components/Select/BrandDeptSelect.js +12 -0
  93. package/lib/components/Select/CategorySelect.d.ts +5 -0
  94. package/lib/components/Select/CategorySelect.js +12 -0
  95. package/lib/components/Select/ColorSelect.d.ts +5 -0
  96. package/lib/components/Select/ColorSelect.js +12 -0
  97. package/lib/components/Select/ExpressCompanyPageSelect.d.ts +5 -0
  98. package/lib/components/Select/ExpressCompanyPageSelect.js +12 -0
  99. package/lib/components/Select/ExpressCompanySelect.d.ts +5 -0
  100. package/lib/components/Select/ExpressCompanySelect.js +12 -0
  101. package/lib/components/Select/GenderSelect.d.ts +5 -0
  102. package/lib/components/Select/GenderSelect.js +12 -0
  103. package/lib/components/Select/LogisticCategorySelect.d.ts +5 -0
  104. package/lib/components/Select/LogisticCategorySelect.js +12 -0
  105. package/lib/components/Select/LogisticRegionSelect.d.ts +5 -0
  106. package/lib/components/Select/LogisticRegionSelect.js +12 -0
  107. package/lib/components/Select/ManagingCitySelect.d.ts +5 -0
  108. package/lib/components/Select/ManagingCitySelect.js +12 -0
  109. package/lib/components/Select/OwnerSelect.d.ts +5 -0
  110. package/lib/components/Select/OwnerSelect.js +12 -0
  111. package/lib/components/Select/PhysicalStoreSelect.d.ts +5 -0
  112. package/lib/components/Select/PhysicalStoreSelect.js +12 -0
  113. package/lib/components/Select/PowerUnitSelect.d.ts +5 -0
  114. package/lib/components/Select/PowerUnitSelect.js +12 -0
  115. package/lib/components/Select/ProfitLossMainSelect.d.ts +5 -0
  116. package/lib/components/Select/ProfitLossMainSelect.js +12 -0
  117. package/lib/components/Select/SeasonSelect.d.ts +5 -0
  118. package/lib/components/Select/SeasonSelect.js +12 -0
  119. package/lib/components/Select/SettleAccountSelect.d.ts +5 -0
  120. package/lib/components/Select/SettleAccountSelect.js +12 -0
  121. package/lib/components/Select/SettleCategorySelect.d.ts +5 -0
  122. package/lib/components/Select/SettleCategorySelect.js +12 -0
  123. package/lib/components/Select/SettleCompanySelect.d.ts +5 -0
  124. package/lib/components/Select/SettleCompanySelect.js +12 -0
  125. package/lib/components/Select/ShopPageSelect.d.ts +5 -0
  126. package/lib/components/Select/ShopPageSelect.js +12 -0
  127. package/lib/components/Select/SizeTypeSelect.d.ts +5 -0
  128. package/lib/components/Select/SizeTypeSelect.js +12 -0
  129. package/lib/components/Select/StoreSelect.d.ts +5 -0
  130. package/lib/components/Select/StoreSelect.js +12 -0
  131. package/lib/components/Select/SupplierSelect.d.ts +5 -0
  132. package/lib/components/Select/SupplierSelect.js +12 -0
  133. package/lib/components/Select/TransportLocnoSelect.d.ts +5 -0
  134. package/lib/components/Select/TransportLocnoSelect.js +12 -0
  135. package/lib/components/Select/TransportPointPageSelect.d.ts +5 -0
  136. package/lib/components/Select/TransportPointPageSelect.js +12 -0
  137. package/lib/components/Select/UploadPointPageSelect.d.ts +5 -0
  138. package/lib/components/Select/UploadPointPageSelect.js +12 -0
  139. package/lib/components/Select/YearSelect.d.ts +5 -0
  140. package/lib/components/Select/YearSelect.js +12 -0
  141. package/lib/components/Select/common.d.ts +32 -0
  142. package/lib/components/Select/common.js +20 -0
  143. package/lib/components/Select/index.less +17 -0
  144. package/lib/components/ViewOffice.js +1 -0
  145. package/lib/components/index.d.ts +28 -0
  146. package/lib/components/index.js +29 -1
  147. package/lib/hooks/useMdm.d.ts +11 -2
  148. package/lib/hooks/useMdm.js +26 -11
  149. package/lib/http/index.d.ts +21 -0
  150. package/lib/http/index.js +246 -2
  151. package/lib/http/mdmCache.d.ts +19 -0
  152. package/lib/http/mdmCache.js +157 -0
  153. package/lib/http/mdmRequest.d.ts +148 -73
  154. package/lib/http/mdmRequest.js +223 -93
  155. package/lib/utils/index.d.ts +5 -3
  156. package/lib/utils/index.js +15 -3
  157. package/lib/utils/modal.js +1 -1
  158. package/lib/utils/pasteUpload.d.ts +27 -0
  159. package/lib/utils/pasteUpload.js +117 -0
  160. package/package.json +1 -1
@@ -1,85 +1,137 @@
1
+ /**
2
+ * 设置分页,默认取50000条
3
+ *
4
+ * @param params
5
+ */
1
6
  export declare const setPageSize: (params?: Record<string, any>) => void;
7
+ /** 主数据接口地址 */
8
+ export declare const mdmApi: {
9
+ owner: string;
10
+ store: string;
11
+ brandDept: string;
12
+ logisticRegion: string;
13
+ expressCompany: string;
14
+ expressCompanyPage: string;
15
+ physicalStore: string;
16
+ settleCategory: string;
17
+ profitLossMain: string;
18
+ settleCompany: string;
19
+ powerUnit: string;
20
+ settleAccount: string;
21
+ logisticCategory: string;
22
+ managingCity: string;
23
+ area: string;
24
+ transportLocno: string;
25
+ transportPointPage: string;
26
+ uploadPointPage: string;
27
+ shopPage: string;
28
+ color: string;
29
+ sizeType: string;
30
+ gender: string;
31
+ year: string;
32
+ season: string;
33
+ category: string;
34
+ supplier: string;
35
+ };
2
36
  /**
3
37
  * @param params 请求参数
38
+ * @param cache 是否启用缓存
4
39
  * @name 获取主数据货主数据,调用接口/lesoon-mdm-center-api/bmOwner/page
5
40
  * @returns
6
41
  */
7
- export declare const getOwner: (params?: any) => Promise<any>;
42
+ export declare const getOwner: (params?: any, cache?: boolean) => Promise<any>;
8
43
  /**
9
44
  * @param params 请求参数
45
+ * @param cache 是否启用缓存
10
46
  * @name 获取主数据仓库数据,调用接口/lesoon-mdm-center-api/bmStore/page
11
47
  * @returns
12
48
  */
13
- export declare const getStore: (params?: any) => Promise<any>;
49
+ export declare const getStore: (params?: any, cache?: boolean) => Promise<any>;
14
50
  /**
15
51
  * @param params 请求参数
52
+ * @param cache 是否启用缓存
16
53
  * @name 获取主数据品牌部数据,调用接口/lesoon-mdm-center-api/bmBrandDept/page
17
54
  * @returns
18
55
  */
19
- export declare const getBrandDept: (params?: any) => Promise<any>;
56
+ export declare const getBrandDept: (params?: any, cache?: boolean) => Promise<any>;
20
57
  /**
21
58
  * @param params 请求参数
59
+ * @param cache 是否启用缓存
22
60
  * @name 获取主数据物流大区数据,调用接口/lesoon-mdm-center-api/bmLogisticRegion/page
23
61
  * @returns
24
62
  */
25
- export declare const getLogisticRegion: (params?: any) => Promise<any>;
63
+ export declare const getLogisticRegion: (params?: any, cache?: boolean) => Promise<any>;
26
64
  /**
27
- * @param where: {forwarderLevel: 1 // 承运商级别 1:一级 2:二级 , forwarderType: 1 // 承运商类型 0:货运公司 1:快递公司 }
65
+ * @param params 请求参数 {where:{forwarderLevel: 1 // 承运商级别 1:一级 2:二级 , forwarderType: 1 // 承运商类型
66
+ * 0:货运公司 1:快递公司 }}
67
+ * @param cache 是否启用缓存
28
68
  * @name 获取快递/快运承运商,调用接口/lesoon-mdm-center-api/bmForwarder/page
29
69
  * @returns
30
70
  */
31
- export declare const getExpressCompany: (params?: any) => Promise<any>;
71
+ export declare const getExpressCompany: (params?: any, cache?: boolean) => Promise<any>;
32
72
  /**
73
+ * @param params 请求参数
74
+ * @param cache 是否启用缓存
33
75
  * @name 分页获取快递公司/承运商,调用接口/lesoon-mdm-center-api/bmForwarder/pageVo
34
76
  * @returns
35
77
  */
36
- export declare const getExpressCompanyPage: (params?: any) => Promise<any>;
78
+ export declare const getExpressCompanyPage: (params?: any, cache?: boolean) => Promise<any>;
37
79
  /**
80
+ * @param params 请求参数
81
+ * @param cache 是否启用缓存
38
82
  * @name 实体仓,调用接口/lesoon-mdm-center-api/bmPhysicalStore/page
39
83
  * @returns
40
84
  */
41
- export declare const getPhysicalStore: (params?: any) => Promise<any>;
85
+ export declare const getPhysicalStore: (params?: any, cache?: boolean) => Promise<any>;
42
86
  /**
43
- * @param params
87
+ * @param params 请求参数
88
+ * @param cache 是否启用缓存
44
89
  * @name 结算大类,调用接口/lesoon-mdm-center-api/bmSettlementCate/page
45
90
  * @returns
46
91
  */
47
- export declare const getSettleCategory: (params?: any) => Promise<any>;
92
+ export declare const getSettleCategory: (params?: any, cache?: boolean) => Promise<any>;
48
93
  /**
49
- * @param param
94
+ * @param params 请求参数
95
+ * @param cache 是否启用缓存
50
96
  * @name 获取损益主体,调用接口/lesoon-mdm-center-api/bmProfitLossMain/page
51
97
  * @returns
52
98
  */
53
- export declare const getProfitLossMain: (param?: any) => Promise<any>;
99
+ export declare const getProfitLossMain: (param?: any, cache?: boolean) => Promise<any>;
54
100
  /**
55
- * @param params
101
+ * @param params 请求参数
102
+ * @param cache 是否启用缓存
56
103
  * @name 结算公司,调用接口/lesoon-mdm-center-api/bmSettleCompany/page
57
104
  * @returns
58
105
  */
59
- export declare const getSettleCompany: (params?: any) => Promise<any>;
106
+ export declare const getSettleCompany: (params?: any, cache?: boolean) => Promise<any>;
60
107
  /**
61
- * @param params
108
+ * @param params 请求参数
109
+ * @param cache 是否启用缓存
62
110
  * @name 货权,调用接口/lesoon-mdm-center-api/bmPowerUnit/page
63
111
  * @returns
64
112
  */
65
- export declare const getPowerUnit: (params?: any) => Promise<any>;
113
+ export declare const getPowerUnit: (params?: any, cache?: boolean) => Promise<any>;
66
114
  /**
67
- * @param params
115
+ * @param params 请求参数
116
+ * @param cache 是否启用缓存
68
117
  * @name 结算账号,调用接口/lesoon-mdm-center-api/bmSettleAccount/page
69
118
  * @returns
70
119
  */
71
- export declare const getSettleAccount: (params?: any) => Promise<any>;
120
+ export declare const getSettleAccount: (params?: any, cache?: boolean) => Promise<any>;
72
121
  /**
122
+ * @param params 请求参数
123
+ * @param cache 是否启用缓存
73
124
  * @name 获取物流大类,调用接口/lesoon-mdm-center-api/bmLogisticCategory/page
74
125
  * @returns
75
126
  */
76
- export declare const getLogisticCategory: (params?: any) => Promise<any>;
127
+ export declare const getLogisticCategory: (params?: any, cache?: boolean) => Promise<any>;
77
128
  /**
78
- * @param param
129
+ * @param params 请求参数
130
+ * @param cache 是否启用缓存
79
131
  * @name 管理城市,调用接口/lesoon-mdm-center-api/bmManagingCity/page
80
132
  * @returns
81
133
  */
82
- export declare const getManagingCity: (params?: any) => Promise<any>;
134
+ export declare const getManagingCity: (params?: any, cache?: boolean) => Promise<any>;
83
135
  interface AreaParams {
84
136
  where?: {
85
137
  level?: 'province' | 'city' | 'district';
@@ -88,106 +140,129 @@ interface AreaParams {
88
140
  [key: string]: any;
89
141
  }
90
142
  /**
91
- * @param {where: {level:'province'}} level Province=省,city=市,district=区
143
+ * @param params 请求参数 {where: {level:'province'}} level Province=省,city=市,district=区
144
+ * @param cache 是否启用缓存
92
145
  * @name 获取省市区,调用接口/lesoon-mdm-center-api/sysAdministrativeDivision/page
93
146
  * @returns
94
147
  */
95
- export declare const getArea: (params?: AreaParams) => Promise<any>;
148
+ export declare const getArea: (params?: AreaParams, cache?: boolean) => Promise<any>;
96
149
  /**
97
- * @param param
150
+ * @param params 请求参数
151
+ * @param cache 是否启用缓存
98
152
  * @name 获取集散中心,调用接口/lesoon-mdm-center-api/tmsTransportLocno/page
99
153
  * @returns
100
154
  */
101
- export declare const getTransportLocno: (params?: any) => Promise<any>;
155
+ export declare const getTransportLocno: (params?: any, cache?: boolean) => Promise<any>;
102
156
  /**
103
- * @param param
157
+ * @param params 请求参数
158
+ * @param cache 是否启用缓存
104
159
  * @name 分页获取配送点,调用接口/lesoon-mdm-center-api/tmsTransportPoint/getTransportPointByPage
105
160
  * @returns
106
161
  */
107
- export declare const getTransportPointPage: (params?: any) => Promise<any>;
162
+ export declare const getTransportPointPage: (params?: any, cache?: boolean) => Promise<any>;
108
163
  /**
109
- * @param param
164
+ * @param params 请求参数
165
+ * @param cache 是否启用缓存
110
166
  * @name 分页获取卸货点,调用接口/lesoon-mdm-center-api/tmsUploadPoint/findTmpUploadPintList
111
167
  * @returns
112
168
  */
113
- export declare const getUploadPointPage: (params?: any) => Promise<any>;
169
+ export declare const getUploadPointPage: (params?: any, cache?: boolean) => Promise<any>;
114
170
  /**
115
- * @param param
171
+ * @param params 请求参数
172
+ * @param cache 是否启用缓存
116
173
  * @name 分页获取店铺,调用接口/lesoon-mdm-center-api/bmShop/pageVo
117
174
  * @returns
118
175
  */
119
- export declare const getShopPage: (params?: any) => Promise<any>;
176
+ export declare const getShopPage: (params?: any, cache?: boolean) => Promise<any>;
120
177
  /**
121
- * @param param
178
+ * @param params 请求参数
179
+ * @param cache 是否启用缓存
122
180
  * @name 获取颜色,调用接口/lesoon-mdm-center-api/bmColor/page
123
181
  * @returns
124
182
  */
125
- export declare const getColor: (params?: any) => Promise<any>;
183
+ export declare const getColor: (params?: any, cache?: boolean) => Promise<any>;
126
184
  /**
127
- * @param param
185
+ * @param params 请求参数
186
+ * @param cache 是否启用缓存
128
187
  * @name 获取尺码类型,调用接口/lesoon-mdm-center-api/bmSizeType/page
129
188
  * @returns
130
189
  */
131
- export declare const getSizeType: (params?: any) => Promise<any>;
190
+ export declare const getSizeType: (params?: any, cache?: boolean) => Promise<any>;
132
191
  /**
133
- * @param param
192
+ * @param params 请求参数
193
+ * @param cache 是否启用缓存
134
194
  * @name 获取性别,调用接口/lesoon-mdm-center-api/bmGender/page
135
195
  * @returns
136
196
  */
137
- export declare const getGender: (params?: any) => Promise<any>;
197
+ export declare const getGender: (params?: any, cache?: boolean) => Promise<any>;
138
198
  /**
139
- * @param param
199
+ * @param params 请求参数
200
+ * @param cache 是否启用缓存
140
201
  * @name 获取年份,调用接口/lesoon-mdm-center-api/bmYear/page
141
202
  * @returns
142
203
  */
143
- export declare const getYear: (params?: any) => Promise<any>;
204
+ export declare const getYear: (params?: any, cache?: boolean) => Promise<any>;
144
205
  /**
145
- * @param param
206
+ * @param params 请求参数
207
+ * @param cache 是否启用缓存
146
208
  * @name 获取季节,调用接口/lesoon-mdm-center-api/bmSeason/page
147
209
  * @returns
148
210
  */
149
- export declare const getSeason: (params?: any) => Promise<any>;
211
+ export declare const getSeason: (params?: any, cache?: boolean) => Promise<any>;
150
212
  /**
151
- * @param param
213
+ * @param params 请求参数
214
+ * @param cache 是否启用缓存
152
215
  * @name 获取品类,调用接口/lesoon-mdm-center-api/bmCategory/page
153
216
  * @returns
154
217
  */
155
- export declare const getCategory: (params?: any) => Promise<any>;
218
+ export declare const getCategory: (params?: any, cache?: boolean) => Promise<any>;
156
219
  /**
157
- * @param params 查询参数
220
+ * @param params 请求参数
221
+ * @param cache 是否启用缓存
158
222
  * @name 供应商,调用接口/lesoon-mdm-center-api/bmSupplier/page
159
223
  * @returns
160
224
  */
161
- export declare const getSupplier: (params?: any) => Promise<any>;
225
+ export declare const getSupplier: (params?: any, cache?: boolean) => Promise<any>;
226
+ /** 主数据类型映射 */
162
227
  declare const mdmMap: {
163
- owner: (params?: any) => Promise<any>;
164
- store: (params?: any) => Promise<any>;
165
- brandDept: (params?: any) => Promise<any>;
166
- logisticRegion: (params?: any) => Promise<any>;
167
- expressCompany: (params?: any) => Promise<any>;
168
- expressCompanyPage: (params?: any) => Promise<any>;
169
- physicalStore: (params?: any) => Promise<any>;
170
- settleCategory: (params?: any) => Promise<any>;
171
- profitLossMain: (param?: any) => Promise<any>;
172
- settleCompany: (params?: any) => Promise<any>;
173
- powerUnit: (params?: any) => Promise<any>;
174
- settleAccount: (params?: any) => Promise<any>;
175
- logisticCategory: (params?: any) => Promise<any>;
176
- managingCity: (params?: any) => Promise<any>;
177
- area: (params?: AreaParams) => Promise<any>;
178
- transportLocno: (params?: any) => Promise<any>;
179
- transportPointPage: (params?: any) => Promise<any>;
180
- uploadPointPage: (params?: any) => Promise<any>;
181
- shopPage: (params?: any) => Promise<any>;
182
- color: (params?: any) => Promise<any>;
183
- sizeType: (params?: any) => Promise<any>;
184
- gender: (params?: any) => Promise<any>;
185
- year: (params?: any) => Promise<any>;
186
- season: (params?: any) => Promise<any>;
187
- category: (params?: any) => Promise<any>;
188
- supplier: (params?: any) => Promise<any>;
228
+ owner: (params?: any, cache?: boolean) => Promise<any>;
229
+ store: (params?: any, cache?: boolean) => Promise<any>;
230
+ brandDept: (params?: any, cache?: boolean) => Promise<any>;
231
+ logisticRegion: (params?: any, cache?: boolean) => Promise<any>;
232
+ expressCompany: (params?: any, cache?: boolean) => Promise<any>;
233
+ expressCompanyPage: (params?: any, cache?: boolean) => Promise<any>;
234
+ physicalStore: (params?: any, cache?: boolean) => Promise<any>;
235
+ settleCategory: (params?: any, cache?: boolean) => Promise<any>;
236
+ profitLossMain: (param?: any, cache?: boolean) => Promise<any>;
237
+ settleCompany: (params?: any, cache?: boolean) => Promise<any>;
238
+ powerUnit: (params?: any, cache?: boolean) => Promise<any>;
239
+ settleAccount: (params?: any, cache?: boolean) => Promise<any>;
240
+ logisticCategory: (params?: any, cache?: boolean) => Promise<any>;
241
+ managingCity: (params?: any, cache?: boolean) => Promise<any>;
242
+ area: (params?: AreaParams, cache?: boolean) => Promise<any>;
243
+ transportLocno: (params?: any, cache?: boolean) => Promise<any>;
244
+ transportPointPage: (params?: any, cache?: boolean) => Promise<any>;
245
+ uploadPointPage: (params?: any, cache?: boolean) => Promise<any>;
246
+ shopPage: (params?: any, cache?: boolean) => Promise<any>;
247
+ color: (params?: any, cache?: boolean) => Promise<any>;
248
+ sizeType: (params?: any, cache?: boolean) => Promise<any>;
249
+ gender: (params?: any, cache?: boolean) => Promise<any>;
250
+ year: (params?: any, cache?: boolean) => Promise<any>;
251
+ season: (params?: any, cache?: boolean) => Promise<any>;
252
+ category: (params?: any, cache?: boolean) => Promise<any>;
253
+ supplier: (params?: any, cache?: boolean) => Promise<any>;
189
254
  };
255
+ /** 主数据类型 */
190
256
  export declare type MdmType = keyof typeof mdmMap;
191
- export declare const getMdmData: (type: MdmType, params?: any) => Promise<any>;
192
- export declare const clearMdmCache: () => void;
257
+ /**
258
+ * 通用获取主数据方法
259
+ *
260
+ * @param type 主数据类型
261
+ * @param params 请求参数
262
+ * @param cache 是否启用缓存
263
+ * @returns
264
+ */
265
+ export declare const getMdmData: (type: MdmType, params?: any, cache?: boolean) => Promise<any>;
266
+ /** 清空主数据缓存 */
267
+ export declare const clearMdmCache: (keys?: string[] | undefined) => void;
193
268
  export {};