@kmkf-fe-packages/services-components 2.10.9-beta.0 → 2.10.9-beta.1
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/esm/Hooks/useColumnsConfig.d.ts +1 -1
- package/dist/esm/commonComponents/GlobalContext/hook/dist/useGetHasErpData.js +52 -0
- package/dist/esm/commonComponents/GlobalContext/orderQuery/dist/useGetErpAddressData.js +180 -0
- package/dist/esm/commonComponents/GlobalContext/orderQuery/dist/useGetErpLogisticsCompany.js +186 -0
- package/dist/esm/components/BS/BsGoods/dist/index.js +113 -0
- package/dist/esm/components/Common/dist/index.js +1019 -0
- package/dist/esm/components/CommonMultiStatus/index.js +23 -23
- package/dist/esm/factory.d.ts +1 -1
- package/dist/esm/factory.js +1 -1
- package/package.json +3 -3
|
@@ -192,53 +192,53 @@ var typeMap = {
|
|
|
192
192
|
failValue: "失败",
|
|
193
193
|
dataType: "array_object"
|
|
194
194
|
},
|
|
195
|
-
|
|
195
|
+
JST_WAREHOUSING_STATUS: {
|
|
196
196
|
options: [{
|
|
197
|
-
value: "
|
|
197
|
+
value: "1",
|
|
198
198
|
label: "未入库",
|
|
199
199
|
color: "#ff4d4f"
|
|
200
200
|
}, {
|
|
201
|
-
value: "
|
|
201
|
+
value: "2",
|
|
202
202
|
label: "部分入库",
|
|
203
203
|
color: "#e7780f"
|
|
204
204
|
}, {
|
|
205
|
-
value: "
|
|
206
|
-
label: "
|
|
205
|
+
value: "3",
|
|
206
|
+
label: "已入库",
|
|
207
207
|
color: "#52c41a"
|
|
208
|
+
}, {
|
|
209
|
+
label: "已入库-多收",
|
|
210
|
+
value: "4",
|
|
211
|
+
color: "#e7780f"
|
|
208
212
|
}],
|
|
209
|
-
key: "
|
|
210
|
-
code: "
|
|
211
|
-
name: "
|
|
213
|
+
key: "jstInStockStatusItemList",
|
|
214
|
+
code: "jstInStockStatusList",
|
|
215
|
+
name: "聚水潭商品入库状态",
|
|
212
216
|
type: 2,
|
|
213
217
|
valueKey: "status",
|
|
214
|
-
idKey: "
|
|
218
|
+
idKey: "sourceTradeNo",
|
|
215
219
|
failValue: "失败",
|
|
216
220
|
dataType: "array_object"
|
|
217
221
|
},
|
|
218
|
-
|
|
222
|
+
KM_WAREHOUSING_STATUS: {
|
|
219
223
|
options: [{
|
|
220
|
-
value: "
|
|
224
|
+
value: "0",
|
|
221
225
|
label: "未入库",
|
|
222
226
|
color: "#ff4d4f"
|
|
223
227
|
}, {
|
|
224
|
-
value: "
|
|
228
|
+
value: "1",
|
|
225
229
|
label: "部分入库",
|
|
226
230
|
color: "#e7780f"
|
|
227
231
|
}, {
|
|
228
|
-
value: "
|
|
229
|
-
label: "
|
|
232
|
+
value: "2",
|
|
233
|
+
label: "全部入库",
|
|
230
234
|
color: "#52c41a"
|
|
231
|
-
}, {
|
|
232
|
-
label: "已入库-多收",
|
|
233
|
-
value: "4",
|
|
234
|
-
color: "#e7780f"
|
|
235
235
|
}],
|
|
236
|
-
key: "
|
|
237
|
-
code: "
|
|
238
|
-
name: "
|
|
236
|
+
key: "kmInStockStatusItemList",
|
|
237
|
+
code: "kmInStockStatusList",
|
|
238
|
+
name: "商品入库状态",
|
|
239
239
|
type: 2,
|
|
240
240
|
valueKey: "status",
|
|
241
|
-
idKey: "
|
|
241
|
+
idKey: "systemOrderId",
|
|
242
242
|
failValue: "失败",
|
|
243
243
|
dataType: "array_object"
|
|
244
244
|
}
|
|
@@ -345,7 +345,7 @@ var CommonMultiStatus = /*#__PURE__*/_createClass(function CommonMultiStatus(opt
|
|
|
345
345
|
_defineProperty(this, "filterConfig", function (item) {
|
|
346
346
|
var _typeMap$_this$type21, _item$templateConfig;
|
|
347
347
|
return {
|
|
348
|
-
searchDefaultConditions: ["BS_E3_WAREHOUSING_STATUS", "WAREHOUSING_STATUS", "WDT_WAREHOUSING_STATUS", "WLN_WAREHOUSING_STATUS", "JKY_WAREHOUSING_STATUS", "JST_WAREHOUSING_STATUS"].includes(_this.type) ? SYMBOL.in : SYMBOL.like,
|
|
348
|
+
searchDefaultConditions: ["BS_E3_WAREHOUSING_STATUS", "WAREHOUSING_STATUS", "WDT_WAREHOUSING_STATUS", "WLN_WAREHOUSING_STATUS", "JKY_WAREHOUSING_STATUS", "JST_WAREHOUSING_STATUS", "KM_WAREHOUSING_STATUS"].includes(_this.type) ? SYMBOL.in : SYMBOL.like,
|
|
349
349
|
type: item.type,
|
|
350
350
|
id: "".concat(item.id, "_").concat((_typeMap$_this$type21 = typeMap[_this.type]) === null || _typeMap$_this$type21 === void 0 ? void 0 : _typeMap$_this$type21.code),
|
|
351
351
|
name: "".concat(_this.name),
|
package/dist/esm/factory.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ReissueLogistics, JstItemSelect, JstSupply, JstSendGood, BasicInput, BasicAddress, BasicCascader, BasicCheckbox, BasicDataTime, BasicSelect, BasicRadio, BasicTextArea, BasicPicture, BasicPicturePro, BasicMultSelect, BasicGrade, BasicRate, BasicFile, BasicPosting, SubForm, CommonDataTime, TradeId, ShopName, BuyerNick, ReceiverName, ReceiverMobile, ReceiverAddress, TradeDateTime, Logistics, ReturnLogistics, ActualPayment, ERemark, AliPay, ItemSelect, ItemId, ItemEnCode, SystemOrderNo, Ordinary, ThirdItemSelect, FlowStatusSelect, FlowMarkSelect, FlowTag, Payment, TemplateSelect, WorkOrderId, PlatForm, ShopInput, Submitter, PrevSubmitter, FlowCreator, Handler, CompletedUser, LogisticsInterception, LogisticsMoreInterception, LogisticsTrajectory, LogisticsMoreTrajectory, FlowWorkOrderId, BsGoods, BsExchange, BsReissue, BsReturn, BsSystemOrder, BsLogistics, StatusSelect, CommonSystemOrder, CommonMultiStatus, Calculation, NodeDeadLine, HandlerDeadLine, NodeStayDuration, BsPosting, MsgStatus, NodeInput, FlowWorkOrderStatus, WdtGoods, WdtReturn, WdtExchange, CommonInput, PaymentVoucherCode, Label, WdtReissue, GyReissue, AfterSalesOrderId, BsE3Goods, PublicGoods, PublicReissueGoods, PublicExchange, GyGoods, BsE3Reissue, MemberLevel, GyReturn, AsyncSelect, WdtShopSelect, KmVideo, BasicTypeInput, SkxIdInputSelect, SkxGoods, BasicSelectOption, OrderSubForm, FlowOverallStatusSelect, ReturnWarehouse, KmExchange } from "./index";
|
|
2
2
|
import { PickOption } from "./type";
|
|
3
|
-
export declare const factory: (type: string, options: PickOption) => CommonMultiStatus | JstSendGood | MsgStatus | BasicInput | BasicTypeInput | BasicAddress | BasicCascader | BasicCheckbox | BasicDataTime | BasicSelect | BasicSelectOption | BasicRadio | BasicTextArea | BasicPicture | BasicPicturePro | BasicMultSelect | BasicGrade | BasicRate | BasicFile | BasicPosting | SubForm | CommonDataTime | TradeId | ShopName | BuyerNick | ReceiverName | ReceiverMobile | ReceiverAddress | TradeDateTime | Logistics | ReturnLogistics | ActualPayment | ERemark | AliPay | ItemSelect | ItemId | ItemEnCode | SystemOrderNo | Ordinary | ThirdItemSelect | Payment | ReissueLogistics | JstItemSelect | JstSupply |
|
|
3
|
+
export declare const factory: (type: string, options: PickOption) => BsLogistics | BsSystemOrder | CommonMultiStatus | CommonSystemOrder | JstSendGood | MsgStatus | PublicExchange | PublicGoods | PublicReissueGoods | BasicInput | BasicTypeInput | BasicAddress | BasicCascader | BasicCheckbox | BasicDataTime | BasicSelect | BasicSelectOption | BasicRadio | BasicTextArea | BasicPicture | BasicPicturePro | BasicMultSelect | BasicGrade | BasicRate | BasicFile | BasicPosting | SubForm | CommonDataTime | TradeId | ShopName | BuyerNick | ReceiverName | ReceiverMobile | ReceiverAddress | TradeDateTime | Logistics | ReturnLogistics | ActualPayment | ERemark | AliPay | ItemSelect | ItemId | ItemEnCode | SystemOrderNo | Ordinary | ThirdItemSelect | Payment | ReissueLogistics | JstItemSelect | JstSupply | BsGoods | BsE3Goods | BsE3Reissue | BsExchange | BsReissue | BsReturn | FlowStatusSelect | FlowMarkSelect | FlowTag | TemplateSelect | WorkOrderId | LogisticsInterception | LogisticsMoreInterception | LogisticsTrajectory | LogisticsMoreTrajectory | PlatForm | ShopInput | Submitter | PrevSubmitter | FlowCreator | Handler | CompletedUser | FlowWorkOrderId | StatusSelect | Calculation | NodeDeadLine | HandlerDeadLine | NodeStayDuration | BsPosting | NodeInput | FlowWorkOrderStatus | WdtGoods | WdtReissue | WdtReturn | WdtExchange | WdtShopSelect | KmVideo | CommonInput | PaymentVoucherCode | Label | MemberLevel | AfterSalesOrderId | ReturnWarehouse | GyGoods | KmExchange | GyReissue | GyReturn | AsyncSelect | SkxIdInputSelect | SkxGoods | OrderSubForm | FlowOverallStatusSelect;
|
package/dist/esm/factory.js
CHANGED
|
@@ -254,8 +254,8 @@ export var factory = function factory(type, options) {
|
|
|
254
254
|
case "WDT_WAREHOUSING_STATUS":
|
|
255
255
|
case "WLN_WAREHOUSING_STATUS":
|
|
256
256
|
case "JKY_WAREHOUSING_STATUS":
|
|
257
|
-
case "KM_WAREHOUSING_STATUS":
|
|
258
257
|
case "JST_WAREHOUSING_STATUS":
|
|
258
|
+
case "KM_WAREHOUSING_STATUS":
|
|
259
259
|
return new CommonMultiStatus(options);
|
|
260
260
|
case "MSG_STATUS":
|
|
261
261
|
return new MsgStatus(options);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/services-components",
|
|
3
|
-
"version": "2.10.9-beta.
|
|
3
|
+
"version": "2.10.9-beta.1",
|
|
4
4
|
"module": "dist/esm/index.js",
|
|
5
5
|
"typings": "dist/esm/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
]
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@kmkf-fe-packages/basic-components": "2.10.9-beta.
|
|
24
|
+
"@kmkf-fe-packages/basic-components": "2.10.9-beta.1",
|
|
25
25
|
"@kmkf-fe-packages/kmkf-utils": "2.10.9-beta.0",
|
|
26
26
|
"b64-to-blob": "^1.2.19",
|
|
27
27
|
"html2canvas": "^1.4.1",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"publishConfig": {
|
|
42
42
|
"access": "public"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "c2da8778fd3ef4bdd878160b5b4d86a6fb4cbbf6",
|
|
45
45
|
"gitHooks": {
|
|
46
46
|
"pre-commit": "lint-staged"
|
|
47
47
|
}
|