@kmkf-fe-packages/services-components 1.19.4-beta.4 → 1.19.4-beta.7

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.
@@ -19,7 +19,8 @@ var typeMap = {
19
19
  ACTUAL_PAYMENT: 'actualPayment',
20
20
  BS_NET_RECEIPTS: 'bsNetReceipts',
21
21
  BS_DEPOSIT: 'bsDeposit',
22
- BS_PACKAGE_WEIGHT: 'bsPackageWeight'
22
+ BS_PACKAGE_WEIGHT: 'bsPackageWeight',
23
+ ACTUAL_RECEIPT_PAYMENT: 'actualReceiptPayment'
23
24
  };
24
25
  var ActualPayment = /*#__PURE__*/_createClass(function ActualPayment(options) {
25
26
  var _this = this;
@@ -162,7 +163,7 @@ var ActualPayment = /*#__PURE__*/_createClass(function ActualPayment(options) {
162
163
  this.canSort = true;
163
164
  this.children = [];
164
165
  this.componentConfig = options.componentConfig;
165
- this.rules = options.type === 'ACTUAL_PAYMENT' ? [{
166
+ this.rules = ['ACTUAL_PAYMENT', 'ACTUAL_RECEIPT_PAYMENT'].includes(options.type) ? [{
166
167
  pattern: /^\d+(\.\d{1,2})?$/,
167
168
  message: '字段为正数或最多两位小数'
168
169
  }] : [{
@@ -173,7 +174,8 @@ var ActualPayment = /*#__PURE__*/_createClass(function ActualPayment(options) {
173
174
  ACTUAL_PAYMENT: 'actualPayment',
174
175
  BS_NET_RECEIPTS: 'bsNetReceipts',
175
176
  BS_DEPOSIT: 'bsDeposit',
176
- BS_PACKAGE_WEIGHT: 'bsPackageWeight'
177
+ BS_PACKAGE_WEIGHT: 'bsPackageWeight',
178
+ ACTUAL_RECEIPT_PAYMENT: 'actualReceiptPayment'
177
179
  };
178
180
  });
179
181
  export default ActualPayment;
@@ -78,39 +78,48 @@ var typeMap = {
78
78
  columns: [{
79
79
  title: "系统订单号",
80
80
  dataIndex: "orderSn",
81
- width: 150
81
+ width: 150,
82
+ ellipsis: true
82
83
  }, {
83
84
  title: "订单状态",
84
85
  dataIndex: "orderStatus",
85
- width: 100
86
+ width: 100,
87
+ ellipsis: true
86
88
  }, {
87
89
  title: "是否被拆分",
88
90
  dataIndex: "isSplit",
89
- width: 100
91
+ width: 100,
92
+ ellipsis: true
90
93
  }, {
91
94
  title: "是否拆分子单",
92
95
  dataIndex: "isSplitNew",
93
- width: 100
96
+ width: 100,
97
+ ellipsis: true
94
98
  }, {
95
99
  title: "是否被合并",
96
100
  dataIndex: "isCombine",
97
- width: 100
101
+ width: 100,
102
+ ellipsis: true
98
103
  }, {
99
104
  title: "是否合并新单",
100
105
  dataIndex: "isCombineNew",
101
- width: 100
106
+ width: 100,
107
+ ellipsis: true
102
108
  }, {
103
109
  title: "是否复制单",
104
110
  dataIndex: "isCopy",
105
- width: 100
111
+ width: 100,
112
+ ellipsis: true
106
113
  }, {
107
114
  title: "是否换货单",
108
115
  dataIndex: "isExchangeOrder",
109
- width: 100
116
+ width: 100,
117
+ ellipsis: true
110
118
  }, {
111
119
  title: "订单备注",
112
120
  dataIndex: "orderMsg",
113
- width: 150
121
+ width: 150,
122
+ ellipsis: true
114
123
  }]
115
124
  }
116
125
  };
@@ -1153,39 +1153,48 @@ export var BsSystemOrderTable = function BsSystemOrderTable(_ref13) {
1153
1153
  BS_E3_SYSTEM_ORDER: [{
1154
1154
  title: "系统订单号",
1155
1155
  dataIndex: "orderSn",
1156
- width: 150
1156
+ width: 150,
1157
+ ellipsis: true
1157
1158
  }, {
1158
1159
  title: "订单状态",
1159
1160
  dataIndex: "orderStatus",
1160
- width: 100
1161
+ width: 100,
1162
+ ellipsis: true
1161
1163
  }, {
1162
1164
  title: "是否被拆分",
1163
1165
  dataIndex: "isSplit",
1164
- width: 100
1166
+ width: 100,
1167
+ ellipsis: true
1165
1168
  }, {
1166
1169
  title: "是否拆分子单",
1167
1170
  dataIndex: "isSplitNew",
1168
- width: 100
1171
+ width: 100,
1172
+ ellipsis: true
1169
1173
  }, {
1170
1174
  title: "是否被合并",
1171
1175
  dataIndex: "isCombine",
1172
- width: 100
1176
+ width: 100,
1177
+ ellipsis: true
1173
1178
  }, {
1174
1179
  title: "是否合并新单",
1175
1180
  dataIndex: "isCombineNew",
1176
- width: 100
1181
+ width: 100,
1182
+ ellipsis: true
1177
1183
  }, {
1178
1184
  title: "是否复制单",
1179
1185
  dataIndex: "isCopy",
1180
- width: 100
1186
+ width: 100,
1187
+ ellipsis: true
1181
1188
  }, {
1182
1189
  title: "是否换货单",
1183
1190
  dataIndex: "isExchangeOrder",
1184
- width: 100
1191
+ width: 100,
1192
+ ellipsis: true
1185
1193
  }, {
1186
1194
  title: "订单备注",
1187
1195
  dataIndex: "orderMsg",
1188
- width: 150
1196
+ width: 150,
1197
+ ellipsis: true
1189
1198
  }]
1190
1199
  };
1191
1200
  var rowKeyMap = {
@@ -1,3 +1,3 @@
1
1
  import { JstLogistics, JstItemSelect, JstSupply, JstSendGood, BasicInput, BasicAddress, BasicCascader, BasicCheckbox, BasicDataTime, BasicSelect, BasicRadio, BasicTextArea, BasicPicture, 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, KmErpSendGood, AfterSalesOrderId, BsE3Goods } from "./index";
2
2
  import { PickOption } from "./type";
3
- export declare const factory: (type: string, options: PickOption) => BasicInput | BasicAddress | BasicCascader | BasicCheckbox | BasicDataTime | BasicSelect | BasicRadio | BasicTextArea | BasicPicture | 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 | JstLogistics | JstItemSelect | JstSendGood | JstSupply | BsSystemOrder | BsGoods | BsE3Goods | 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 | MsgStatus | WdtGoods | WdtReissue | WdtReturn | WdtExchange | CommonInput | PaymentVoucherCode | Label | KmErpSendGood | AfterSalesOrderId;
3
+ export declare const factory: (type: string, options: PickOption) => ActualPayment | BsSystemOrder | BsE3Goods | BasicPicture | BasicInput | BasicAddress | BasicCascader | BasicCheckbox | BasicDataTime | BasicSelect | BasicRadio | BasicTextArea | BasicMultSelect | BasicGrade | BasicRate | BasicFile | BasicPosting | SubForm | CommonDataTime | TradeId | ShopName | BuyerNick | ReceiverName | ReceiverMobile | ReceiverAddress | TradeDateTime | Logistics | ReturnLogistics | ERemark | AliPay | ItemSelect | ItemId | ItemEnCode | SystemOrderNo | Ordinary | ThirdItemSelect | Payment | JstLogistics | JstItemSelect | JstSendGood | JstSupply | BsGoods | 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 | MsgStatus | WdtGoods | WdtReissue | WdtReturn | WdtExchange | CommonInput | PaymentVoucherCode | Label | KmErpSendGood | AfterSalesOrderId;
@@ -75,6 +75,7 @@ export var factory = function factory(type, options) {
75
75
  case "RETURN_LOGISTICS_SELECT":
76
76
  return new ReturnLogistics(options);
77
77
  case "ACTUAL_PAYMENT":
78
+ case "ACTUAL_RECEIPT_PAYMENT":
78
79
  case "BS_NET_RECEIPTS":
79
80
  case "BS_DEPOSIT":
80
81
  case "BS_PACKAGE_WEIGHT":
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/services-components",
3
- "version": "1.19.4-beta.4",
3
+ "version": "1.19.4-beta.7",
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": "1.19.4-beta.4",
25
- "@kmkf-fe-packages/kmkf-utils": "1.19.4-beta.4",
24
+ "@kmkf-fe-packages/basic-components": "1.19.4-beta.7",
25
+ "@kmkf-fe-packages/kmkf-utils": "1.19.4-beta.7",
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": "d49434b1d1eb399dcfef4e9677bc74cbad7f9288",
44
+ "gitHead": "a885dd2f1f083dc88bbbdf29164b4c05e1aa707c",
45
45
  "gitHooks": {
46
46
  "pre-commit": "lint-staged"
47
47
  }