@kmkf-fe-packages/services-components 2.0.2-beta.11 → 2.0.2-beta.12
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.
|
@@ -20,6 +20,7 @@ import District from "../BS/BsPosting/components//District";
|
|
|
20
20
|
import Detail from "../BS/BsPosting/components//Detail";
|
|
21
21
|
import ReceiverName from "../BS/BsPosting/components//ReceiverName";
|
|
22
22
|
import ReceiverMobile from "../BS/BsPosting/components//ReceiverMobile";
|
|
23
|
+
import CopyText from "../../commonComponents/CopyText";
|
|
23
24
|
var BasicPosting = /*#__PURE__*/_createClass(function BasicPosting(options) {
|
|
24
25
|
var _this = this,
|
|
25
26
|
_options$componentCon,
|
|
@@ -62,12 +63,15 @@ var BasicPosting = /*#__PURE__*/_createClass(function BasicPosting(options) {
|
|
|
62
63
|
var addressText = (_ref = [province, city, district]) === null || _ref === void 0 ? void 0 : _ref.map(function (suffix) {
|
|
63
64
|
return _this.addressDateInstance.getNameByCode(suffix);
|
|
64
65
|
}).join("");
|
|
65
|
-
return /*#__PURE__*/React.createElement(
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
66
|
+
return /*#__PURE__*/React.createElement(CopyText, {
|
|
67
|
+
text: "".concat(addressText).concat(detail, " ").concat(name, " ").concat(mobile),
|
|
68
|
+
showText: /*#__PURE__*/React.createElement("div", {
|
|
69
|
+
style: {
|
|
70
|
+
maxHeight: "100px",
|
|
71
|
+
overflowY: "auto"
|
|
72
|
+
}
|
|
73
|
+
}, "".concat(addressText).concat(detail), /*#__PURE__*/React.createElement("br", null), "".concat(name, " ").concat(mobile))
|
|
74
|
+
});
|
|
71
75
|
});
|
|
72
76
|
_defineProperty(this, "renderLog", function (r) {
|
|
73
77
|
var _ref2;
|
|
@@ -131,18 +135,6 @@ var BasicPosting = /*#__PURE__*/_createClass(function BasicPosting(options) {
|
|
|
131
135
|
});
|
|
132
136
|
_defineProperty(this, "renderClient", function (record) {
|
|
133
137
|
var _ref4;
|
|
134
|
-
// if (this.isSplitColumns) {
|
|
135
|
-
// return (
|
|
136
|
-
// <>
|
|
137
|
-
// {this.province.renderClient(record)}
|
|
138
|
-
// {this.city.renderClient(record)}
|
|
139
|
-
// {this.district.renderClient(record)}
|
|
140
|
-
// {this.detail.renderClient(record)}
|
|
141
|
-
// {this.receiverName.renderClient(record)}
|
|
142
|
-
// {this.receiverMobile.renderClient(record)}
|
|
143
|
-
// </>
|
|
144
|
-
// );
|
|
145
|
-
// }
|
|
146
138
|
var province = record["".concat(_this.id, "_postingProvince")];
|
|
147
139
|
var city = record["".concat(_this.id, "_postingCity")];
|
|
148
140
|
var district = record["".concat(_this.id, "_postingDistrict")];
|
package/dist/esm/factory.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ReissueLogistics, 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, GyReissue, AfterSalesOrderId, BsE3Goods, GyGoods, BsE3Reissue, MemberLevel } from "./index";
|
|
2
2
|
import { PickOption } from "./type";
|
|
3
|
-
export declare const factory: (type: string, options: PickOption) => BsLogistics |
|
|
3
|
+
export declare const factory: (type: string, options: PickOption) => BsLogistics | BasicCheckbox | JstSendGood | MsgStatus | BasicPosting | ReissueLogistics | StatusSelect | BasicInput | BasicAddress | BasicCascader | BasicDataTime | BasicSelect | BasicRadio | BasicTextArea | BasicPicture | BasicMultSelect | BasicGrade | BasicRate | BasicFile | SubForm | CommonDataTime | TradeId | ShopName | BuyerNick | ReceiverName | ReceiverMobile | ReceiverAddress | TradeDateTime | Logistics | ReturnLogistics | ActualPayment | ERemark | AliPay | ItemSelect | ItemId | ItemEnCode | SystemOrderNo | Ordinary | ThirdItemSelect | Payment | JstItemSelect | JstSupply | BsSystemOrder | BsGoods | BsE3Goods | BsE3Reissue | BsExchange | BsReissue | BsReturn | FlowStatusSelect | FlowMarkSelect | FlowTag | TemplateSelect | WorkOrderId | LogisticsInterception | LogisticsMoreInterception | LogisticsTrajectory | LogisticsMoreTrajectory | PlatForm | ShopInput | Submitter | PrevSubmitter | FlowCreator | Handler | CompletedUser | FlowWorkOrderId | Calculation | CommonSystemOrder | CommonMultiStatus | NodeDeadLine | HandlerDeadLine | NodeStayDuration | WlnGoods | BsPosting | NodeInput | FlowWorkOrderStatus | WdtGoods | WdtReissue | WdtReturn | WdtExchange | CommonInput | PaymentVoucherCode | Label | MemberLevel | AfterSalesOrderId | GyGoods | GyReissue;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/services-components",
|
|
3
|
-
"version": "2.0.2-beta.
|
|
3
|
+
"version": "2.0.2-beta.12",
|
|
4
4
|
"module": "dist/esm/index.js",
|
|
5
5
|
"typings": "dist/esm/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"publishConfig": {
|
|
42
42
|
"access": "public"
|
|
43
43
|
},
|
|
44
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "ce31a5c9594a68293c4a61a7a5c6b9775acda8ff",
|
|
45
45
|
"gitHooks": {
|
|
46
46
|
"pre-commit": "lint-staged"
|
|
47
47
|
}
|