@kmkf-fe-packages/services-components 2.10.8 → 2.10.9-beta.0

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.
@@ -192,6 +192,29 @@ var typeMap = {
192
192
  failValue: "失败",
193
193
  dataType: "array_object"
194
194
  },
195
+ KM_WAREHOUSING_STATUS: {
196
+ options: [{
197
+ value: "0",
198
+ label: "未入库",
199
+ color: "#ff4d4f"
200
+ }, {
201
+ value: "1",
202
+ label: "部分入库",
203
+ color: "#e7780f"
204
+ }, {
205
+ value: "2",
206
+ label: "全部入库",
207
+ color: "#52c41a"
208
+ }],
209
+ key: "kmInStockStatusItemList",
210
+ code: "kmInStockStatusList",
211
+ name: "商品入库状态",
212
+ type: 2,
213
+ valueKey: "status",
214
+ idKey: "systemOrderId",
215
+ failValue: "失败",
216
+ dataType: "array_object"
217
+ },
195
218
  JST_WAREHOUSING_STATUS: {
196
219
  options: [{
197
220
  value: "1",
@@ -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) => 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 | BsSystemOrder | BsGoods | BsE3Goods | PublicGoods | PublicReissueGoods | PublicExchange | BsE3Reissue | BsExchange | BsReissue | BsReturn | BsLogistics | FlowStatusSelect | FlowMarkSelect | FlowTag | TemplateSelect | WorkOrderId | LogisticsInterception | LogisticsMoreInterception | LogisticsTrajectory | LogisticsMoreTrajectory | PlatForm | ShopInput | Submitter | PrevSubmitter | FlowCreator | Handler | CompletedUser | FlowWorkOrderId | StatusSelect | Calculation | CommonSystemOrder | 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;
@@ -254,6 +254,7 @@ 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":
257
258
  case "JST_WAREHOUSING_STATUS":
258
259
  return new CommonMultiStatus(options);
259
260
  case "MSG_STATUS":
@@ -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.0",
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.0",
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": "2d04275db0bedc2fce5e120c012da38ad4adec99",
45
45
  "gitHooks": {
46
46
  "pre-commit": "lint-staged"
47
47
  }