@kmkf-fe-packages/services-components 2.10.25 → 2.10.26

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.
@@ -134,6 +134,37 @@ var typeMap = {
134
134
  failValue: "失败",
135
135
  dataType: "array_object"
136
136
  },
137
+ WDT_WAREHOUSING_STATUS_V2: {
138
+ options: [{
139
+ value: "0",
140
+ label: "无需入库",
141
+ color: "#333333"
142
+ }, {
143
+ value: "1",
144
+ label: "未入库",
145
+ color: "#ff4d4f"
146
+ }, {
147
+ value: "2",
148
+ label: "部分入库",
149
+ color: "#e7780f"
150
+ }, {
151
+ value: "3",
152
+ label: "已入库",
153
+ color: "#52c41a"
154
+ }, {
155
+ value: "4",
156
+ label: "已入库-多收",
157
+ color: "#e7780f"
158
+ }],
159
+ key: "wdtInStockStatusV2ItemList",
160
+ code: "wdtInStockStatusV2List",
161
+ name: "旺店通商品入库状态V2",
162
+ type: 2,
163
+ valueKey: "status",
164
+ idKey: "systemOrderId",
165
+ failValue: "失败",
166
+ dataType: "array_object"
167
+ },
137
168
  DXD_WAREHOUSING_STATUS: {
138
169
  options: [{
139
170
  value: "1",
@@ -291,6 +322,37 @@ var typeMap = {
291
322
  idKey: "systemOrderId",
292
323
  failValue: "失败",
293
324
  dataType: "array_object"
325
+ },
326
+ JY_WAREHOUSING_STATUS: {
327
+ options: [{
328
+ value: "0",
329
+ label: "无需入库",
330
+ color: "#333333"
331
+ }, {
332
+ value: "1",
333
+ label: "未入库",
334
+ color: "#ff4d4f"
335
+ }, {
336
+ value: "2",
337
+ label: "部分入库",
338
+ color: "#e7780f"
339
+ }, {
340
+ value: "3",
341
+ label: "已入库",
342
+ color: "#52c41a"
343
+ }, {
344
+ value: "4",
345
+ label: "已入库-多收",
346
+ color: "#e7780f"
347
+ }],
348
+ key: "jyInStockStatusItemList",
349
+ code: "jyInStockStatusList",
350
+ name: "巨益商品入库状态",
351
+ type: 2,
352
+ valueKey: "status",
353
+ idKey: "sourceTradeNo",
354
+ failValue: "失败",
355
+ dataType: "array_object"
294
356
  }
295
357
  };
296
358
  var CommonMultiStatus = /*#__PURE__*/_createClass(function CommonMultiStatus(options) {
@@ -192,7 +192,7 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(_options) {
192
192
  var _typeMap$_this$type6;
193
193
  var list = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_").concat((_typeMap$_this$type6 = typeMap[_this.type]) === null || _typeMap$_this$type6 === void 0 ? void 0 : _typeMap$_this$type6.key)];
194
194
  if (!Array.isArray(list)) {
195
- return '';
195
+ return "";
196
196
  }
197
197
  return (list || []).map(function (item) {
198
198
  return [item === null || item === void 0 ? void 0 : item.sendId, SendDataCenter.getInstance(_this.type).getSendNameByCode(item === null || item === void 0 ? void 0 : item.sendName)].join("/");
@@ -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, DxdShopSelect, 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 | LogisticsInterception | LogisticsMoreInterception | 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 | JstSendGood | JstSupply | BsSystemOrder | BsGoods | BsE3Goods | PublicGoods | PublicReissueGoods | PublicExchange | BsE3Reissue | BsExchange | BsReissue | BsReturn | BsLogistics | FlowStatusSelect | FlowMarkSelect | FlowTag | TemplateSelect | WorkOrderId | LogisticsTrajectory | LogisticsMoreTrajectory | PlatForm | ShopInput | Submitter | PrevSubmitter | FlowCreator | Handler | CompletedUser | FlowWorkOrderId | StatusSelect | Calculation | CommonSystemOrder | NodeDeadLine | HandlerDeadLine | NodeStayDuration | BsPosting | NodeInput | FlowWorkOrderStatus | MsgStatus | WdtGoods | WdtReissue | WdtReturn | WdtExchange | WdtShopSelect | DxdShopSelect | KmVideo | CommonInput | PaymentVoucherCode | Label | MemberLevel | AfterSalesOrderId | ReturnWarehouse | GyGoods | KmExchange | GyReissue | GyReturn | AsyncSelect | SkxIdInputSelect | SkxGoods | OrderSubForm | FlowOverallStatusSelect;
3
+ export declare const factory: (type: string, options: PickOption) => CommonMultiStatus | JstSendGood | LogisticsInterception | LogisticsMoreInterception | AsyncSelect | 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 | BsSystemOrder | BsGoods | BsE3Goods | PublicGoods | PublicReissueGoods | PublicExchange | BsE3Reissue | BsExchange | BsReissue | BsReturn | BsLogistics | FlowStatusSelect | FlowMarkSelect | FlowTag | TemplateSelect | WorkOrderId | LogisticsTrajectory | LogisticsMoreTrajectory | PlatForm | ShopInput | Submitter | PrevSubmitter | FlowCreator | Handler | CompletedUser | FlowWorkOrderId | StatusSelect | Calculation | CommonSystemOrder | NodeDeadLine | HandlerDeadLine | NodeStayDuration | BsPosting | NodeInput | FlowWorkOrderStatus | MsgStatus | WdtGoods | WdtReissue | WdtReturn | WdtExchange | WdtShopSelect | DxdShopSelect | KmVideo | CommonInput | PaymentVoucherCode | Label | MemberLevel | AfterSalesOrderId | ReturnWarehouse | GyGoods | KmExchange | GyReissue | GyReturn | SkxIdInputSelect | SkxGoods | OrderSubForm | FlowOverallStatusSelect;
@@ -262,12 +262,14 @@ export var factory = function factory(type, options) {
262
262
  case "WAREHOUSING_STATUS":
263
263
  case "BS_E3_WAREHOUSING_STATUS":
264
264
  case "WDT_WAREHOUSING_STATUS":
265
+ case "WDT_WAREHOUSING_STATUS_V2":
265
266
  case "DXD_WAREHOUSING_STATUS":
266
267
  case "WLN_WAREHOUSING_STATUS":
267
268
  case "JKY_WAREHOUSING_STATUS":
268
269
  case "JST_WAREHOUSING_STATUS":
269
270
  case "KM_WAREHOUSING_STATUS":
270
271
  case "TTX_WAREHOUSING_STATUS":
272
+ case "JY_WAREHOUSING_STATUS":
271
273
  return new CommonMultiStatus(options, {
272
274
  isWarehousingStatus: true
273
275
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/services-components",
3
- "version": "2.10.25",
3
+ "version": "2.10.26",
4
4
  "module": "dist/esm/index.js",
5
5
  "typings": "dist/esm/index.d.ts",
6
6
  "files": [
@@ -21,8 +21,8 @@
21
21
  ]
22
22
  },
23
23
  "dependencies": {
24
- "@kmkf-fe-packages/basic-components": "2.10.25",
25
- "@kmkf-fe-packages/kmkf-utils": "2.10.25",
24
+ "@kmkf-fe-packages/basic-components": "2.10.26",
25
+ "@kmkf-fe-packages/kmkf-utils": "2.10.26",
26
26
  "b64-to-blob": "^1.2.19",
27
27
  "html2canvas": "^1.4.1",
28
28
  "react-pdf-js": "^5.1.0"
@@ -41,7 +41,7 @@
41
41
  "publishConfig": {
42
42
  "access": "public"
43
43
  },
44
- "gitHead": "aa3cb81f3a8cd8e70b2c6d602e12fdff2b5887f4",
44
+ "gitHead": "d0315b90561ff4faaf2ce31799c45a3167ecb367",
45
45
  "gitHooks": {
46
46
  "pre-commit": "lint-staged"
47
47
  }