@kmkf-fe-packages/services-components 2.0.54-beta.25 → 2.0.54-beta.27

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.
@@ -7,13 +7,13 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
7
7
  import system from "./system";
8
8
  import bs_e3 from "./bs_e3";
9
9
  import bs from "./bs";
10
- import { getJstColumns, getWlnColumns, getGyColumns, getWdtColumns } from "@kmkf-fe-packages/basic-components";
10
+ import { getJstColumns, getWlnColumns, getGyColumns, getWdtColumns, getKmColumns } from "@kmkf-fe-packages/basic-components";
11
11
  import defaultColumns from "./defaultColumns";
12
12
  export var getColumnsMap = function getColumnsMap(args) {
13
13
  var _ref = args || {},
14
14
  _ref$text = _ref.text,
15
15
  text = _ref$text === void 0 ? "" : _ref$text;
16
- return _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, system()), bs({
16
+ return _objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, system()), bs({
17
17
  text: text
18
18
  })), bs_e3()), getWdtColumns({
19
19
  text: text,
@@ -24,6 +24,8 @@ export var getColumnsMap = function getColumnsMap(args) {
24
24
  disabled: true
25
25
  })), getWlnColumns({
26
26
  text: text
27
+ })), getKmColumns({
28
+ disabled: true
27
29
  })), {}, {
28
30
  default: defaultColumns({
29
31
  text: text
@@ -1148,6 +1148,64 @@ var GoodHeaderMap = {
1148
1148
  }
1149
1149
  },
1150
1150
  moneyKey: "money"
1151
+ },
1152
+ KM_GOODS: {
1153
+ headerMap: {
1154
+ sysSkuPropertiesName: {
1155
+ name: "规格名称",
1156
+ width: 250
1157
+ },
1158
+ sysTitle: {
1159
+ name: "系统商品名称",
1160
+ width: 150
1161
+ },
1162
+ title: {
1163
+ name: "平台商品名称",
1164
+ width: 150
1165
+ },
1166
+ shortTitle: {
1167
+ name: "商品简称",
1168
+ width: 150
1169
+ },
1170
+ sysOuterId: {
1171
+ name: "系统商家编码",
1172
+ width: 150
1173
+ },
1174
+ outerId: {
1175
+ name: "商家编码",
1176
+ width: 150
1177
+ },
1178
+ skuSysId: {
1179
+ name: "系统规格ID",
1180
+ width: 150
1181
+ },
1182
+ itemSysId: {
1183
+ name: "系统商品ID",
1184
+ width: 150
1185
+ },
1186
+ sysPicPath: {
1187
+ name: "商品图片",
1188
+ width: 100,
1189
+ component: BsHeaderPic
1190
+ },
1191
+ num: {
1192
+ name: "数量",
1193
+ width: 150
1194
+ },
1195
+ payment: {
1196
+ name: "实付金额",
1197
+ width: 150
1198
+ },
1199
+ price: {
1200
+ name: "商品销售价",
1201
+ width: 150
1202
+ },
1203
+ type: {
1204
+ name: "商品类型",
1205
+ width: 100
1206
+ }
1207
+ },
1208
+ moneyKey: "money"
1151
1209
  }
1152
1210
  };
1153
1211
  GoodHeaderMap["WDT_REISSUE_GOODS"] = GoodHeaderMap["WDT_GOODS"];
@@ -5,6 +5,9 @@ declare const CONFIG_MAP: {
5
5
  JST_GOODS: {
6
6
  key: string;
7
7
  };
8
+ KM_GOODS: {
9
+ key: string;
10
+ };
8
11
  };
9
12
  declare class PublicGoods implements ComponentInterface {
10
13
  name: string;
@@ -18,7 +18,10 @@ import { CommonGoods as Goods } from "@kmkf-fe-packages/basic-components";
18
18
  import { SYMBOL } from "../../../constant";
19
19
  var CONFIG_MAP = {
20
20
  JST_GOODS: {
21
- key: 'jstGoods'
21
+ key: "jstGoods"
22
+ },
23
+ KM_GOODS: {
24
+ key: "kmGoods"
22
25
  }
23
26
  };
24
27
  var PublicGoods = /*#__PURE__*/_createClass(function PublicGoods(options) {
@@ -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, WlnGoods, BsPosting, MsgStatus, NodeInput, FlowWorkOrderStatus, WdtGoods, WdtReturn, WdtExchange, CommonInput, PaymentVoucherCode, Label, WdtReissue, GyReissue, AfterSalesOrderId, BsE3Goods, PublicGoods, PublicReissueGoods, PublicExchange, GyGoods, BsE3Reissue, MemberLevel, GyReturn, AsyncSelect, WdtShopSelect } from "./index";
2
2
  import { PickOption } from "./type";
3
- export declare const factory: (type: string, options: PickOption) => JstSendGood | LogisticsInterception | LogisticsMoreInterception | LogisticsTrajectory | MsgStatus | AsyncSelect | WdtShopSelect | 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 | Payment | ReissueLogistics | JstItemSelect | JstSupply | BsSystemOrder | BsGoods | BsE3Goods | PublicGoods | PublicReissueGoods | PublicExchange | BsE3Reissue | BsExchange | BsReissue | BsReturn | BsLogistics | FlowStatusSelect | FlowMarkSelect | FlowTag | TemplateSelect | WorkOrderId | LogisticsMoreTrajectory | PlatForm | ShopInput | Submitter | PrevSubmitter | FlowCreator | Handler | CompletedUser | FlowWorkOrderId | StatusSelect | Calculation | CommonSystemOrder | CommonMultiStatus | NodeDeadLine | HandlerDeadLine | NodeStayDuration | WlnGoods | BsPosting | NodeInput | FlowWorkOrderStatus | WdtGoods | WdtReissue | WdtReturn | WdtExchange | CommonInput | PaymentVoucherCode | Label | MemberLevel | AfterSalesOrderId | GyGoods | GyReissue | GyReturn;
3
+ export declare const factory: (type: string, options: PickOption) => JstSendGood | MsgStatus | PublicGoods | 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 | Payment | ReissueLogistics | JstItemSelect | JstSupply | BsSystemOrder | BsGoods | BsE3Goods | 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 | CommonMultiStatus | NodeDeadLine | HandlerDeadLine | NodeStayDuration | WlnGoods | BsPosting | NodeInput | FlowWorkOrderStatus | WdtGoods | WdtReissue | WdtReturn | WdtExchange | WdtShopSelect | CommonInput | PaymentVoucherCode | Label | MemberLevel | AfterSalesOrderId | GyGoods | GyReissue | GyReturn | AsyncSelect;
@@ -157,6 +157,7 @@ export var factory = function factory(type, options) {
157
157
  return new BsE3Goods(options);
158
158
  case "GY_GOODS":
159
159
  return new GyGoods(options);
160
+ case "KM_GOODS":
160
161
  case "JST_GOODS":
161
162
  return new PublicGoods(options);
162
163
  case "JST_REISSUE_GOODS":
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/services-components",
3
- "version": "2.0.54-beta.25",
3
+ "version": "2.0.54-beta.27",
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.0.54-beta.25",
25
- "@kmkf-fe-packages/kmkf-utils": "2.0.54-beta.24",
24
+ "@kmkf-fe-packages/basic-components": "2.0.54-beta.27",
25
+ "@kmkf-fe-packages/kmkf-utils": "2.0.54-beta.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": "c865d89ab501d436369df9e732c64290fd8d5e13",
44
+ "gitHead": "3f32646cd772e613674b861703893ed9ab02ab47",
45
45
  "gitHooks": {
46
46
  "pre-commit": "lint-staged"
47
47
  }