@kmkf-fe-packages/services-components 2.10.8 → 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.
@@ -218,6 +218,29 @@ var typeMap = {
218
218
  idKey: "sourceTradeNo",
219
219
  failValue: "失败",
220
220
  dataType: "array_object"
221
+ },
222
+ KM_WAREHOUSING_STATUS: {
223
+ options: [{
224
+ value: "0",
225
+ label: "未入库",
226
+ color: "#ff4d4f"
227
+ }, {
228
+ value: "1",
229
+ label: "部分入库",
230
+ color: "#e7780f"
231
+ }, {
232
+ value: "2",
233
+ label: "全部入库",
234
+ color: "#52c41a"
235
+ }],
236
+ key: "kmInStockStatusItemList",
237
+ code: "kmInStockStatusList",
238
+ name: "商品入库状态",
239
+ type: 2,
240
+ valueKey: "status",
241
+ idKey: "systemOrderId",
242
+ failValue: "失败",
243
+ dataType: "array_object"
221
244
  }
222
245
  };
223
246
  var CommonMultiStatus = /*#__PURE__*/_createClass(function CommonMultiStatus(options) {
@@ -322,7 +345,7 @@ var CommonMultiStatus = /*#__PURE__*/_createClass(function CommonMultiStatus(opt
322
345
  _defineProperty(this, "filterConfig", function (item) {
323
346
  var _typeMap$_this$type21, _item$templateConfig;
324
347
  return {
325
- 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,
326
349
  type: item.type,
327
350
  id: "".concat(item.id, "_").concat((_typeMap$_this$type21 = typeMap[_this.type]) === null || _typeMap$_this$type21 === void 0 ? void 0 : _typeMap$_this$type21.code),
328
351
  name: "".concat(_this.name),
@@ -29,7 +29,7 @@ declare class JstSendGood implements ComponentInterface {
29
29
  renderExport: (value: any, record: any) => any;
30
30
  editRender: (p: any) => React.JSX.Element;
31
31
  filterConfig: (item: ColumnConfig) => ({
32
- searchDefaultConditions: "like";
32
+ searchDefaultConditions: "in";
33
33
  type: string;
34
34
  id: string;
35
35
  name: string;
@@ -198,7 +198,7 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(_options) {
198
198
  _defineProperty(this, "filterConfig", function (item) {
199
199
  var _typeMap$_this$type8, _typeMap$_this$type9, _typeMap$_this$type10, _typeMap$_this$type12;
200
200
  return [["WLN_SEND_GOOD"].includes(_this.type) ? {
201
- searchDefaultConditions: SYMBOL.like,
201
+ searchDefaultConditions: SYMBOL.in,
202
202
  type: item.type,
203
203
  id: "".concat(item.id, "_").concat((_typeMap$_this$type8 = typeMap[_this.type]) === null || _typeMap$_this$type8 === void 0 ? void 0 : _typeMap$_this$type8.sendName),
204
204
  name: "".concat(_this.name, "-\u540D\u79F0"),
@@ -26,6 +26,14 @@ export var getSelectTypeAttribute = function getSelectTypeAttribute(_ref) {
26
26
  color: "#1890ff"
27
27
  });
28
28
  }
29
+ if (key === "erpAfterSalesOrderReviewStatusValue") {
30
+ var _dataMap$options2;
31
+ dataMap === null || dataMap === void 0 ? void 0 : (_dataMap$options2 = dataMap.options) === null || _dataMap$options2 === void 0 ? void 0 : _dataMap$options2.push({
32
+ value: "\u65E0\u9700\u5BA1\u6838",
33
+ label: "\u65E0\u9700\u5BA1\u6838",
34
+ color: "#1890ff"
35
+ });
36
+ }
29
37
  dataMap["failValue"] = dataMap.options[failValueIndex].value;
30
38
  return dataMap;
31
39
  };
@@ -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 | CommonSystemOrder | MsgStatus | PublicExchange | 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 | JstSendGood | JstSupply | BsSystemOrder | BsGoods | BsE3Goods | PublicGoods | BsE3Reissue | BsExchange | BsReissue | BsReturn | BsLogistics | 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;
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;
@@ -255,6 +255,7 @@ export var factory = function factory(type, options) {
255
255
  case "WLN_WAREHOUSING_STATUS":
256
256
  case "JKY_WAREHOUSING_STATUS":
257
257
  case "JST_WAREHOUSING_STATUS":
258
+ case "KM_WAREHOUSING_STATUS":
258
259
  return new CommonMultiStatus(options);
259
260
  case "MSG_STATUS":
260
261
  return new MsgStatus(options);
@@ -142,6 +142,7 @@ export var queryExpressInterceptData = function queryExpressInterceptData() {
142
142
  SF: "顺丰",
143
143
  ZTO: "中通",
144
144
  JT: "极兔",
145
+ STO: "申通",
145
146
  DEFAULT: ""
146
147
  };
147
148
  var expressList = data.map(function (item) {
@@ -210,6 +211,7 @@ export var queryExpressInterceptData = function queryExpressInterceptData() {
210
211
  value: _toConsumableArray(typeObj[key]).join(",")
211
212
  };
212
213
  });
214
+ console.log("typeObj---", typeObj, instance.typeOptions, companyTypeMap);
213
215
  instance.typeConditionOptions = Object.keys(instance.typeNameMap).map(function (key) {
214
216
  var type = key.split("|")[0];
215
217
  return {
@@ -237,6 +239,7 @@ export var queryExpressInterceptData = function queryExpressInterceptData() {
237
239
  }
238
240
  });
239
241
  instance.statusConditionOptions = tempList;
242
+ console.log("instance-----2", instance);
240
243
  }).catch(function (e) {
241
244
  console.log(e);
242
245
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/services-components",
3
- "version": "2.10.8",
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,8 +21,8 @@
21
21
  ]
22
22
  },
23
23
  "dependencies": {
24
- "@kmkf-fe-packages/basic-components": "2.10.8",
25
- "@kmkf-fe-packages/kmkf-utils": "2.10.8",
24
+ "@kmkf-fe-packages/basic-components": "2.10.9-beta.1",
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",
28
28
  "react-pdf-js": "^5.1.0"
@@ -41,7 +41,7 @@
41
41
  "publishConfig": {
42
42
  "access": "public"
43
43
  },
44
- "gitHead": "fcdfb6ed797689b6cfcca1b25d410c59999271aa",
44
+ "gitHead": "c2da8778fd3ef4bdd878160b5b4d86a6fb4cbbf6",
45
45
  "gitHooks": {
46
46
  "pre-commit": "lint-staged"
47
47
  }