@kmkf-fe-packages/services-components 0.7.15-alpha.66 → 0.7.15-alpha.68

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.
@@ -42,9 +42,10 @@ var EAlipayAccount = /*#__PURE__*/_createClass(function EAlipayAccount(options)
42
42
  var _record;
43
43
  return /*#__PURE__*/React.createElement("span", {
44
44
  className: "pointer",
45
- onClick: function onClick() {
45
+ onClick: function onClick(e) {
46
46
  var _this$effects, _this$effects2;
47
47
  typeof ((_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.queryWorkOrderDetail) === 'function' && ((_this$effects2 = _this.effects) === null || _this$effects2 === void 0 ? void 0 : _this$effects2.queryWorkOrderDetail(record));
48
+ e.stopPropagation();
48
49
  }
49
50
  }, (_record = record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) !== null && _record !== void 0 ? _record : '--');
50
51
  });
@@ -47,11 +47,15 @@ var BsChildPic = /*#__PURE__*/_createClass(function BsChildPic(options) {
47
47
  }) : null;
48
48
  });
49
49
  _defineProperty(this, "renderPc", function (value, record) {
50
- var _Image, _BsGoodPic;
51
- return (_Image = /*#__PURE__*/React.createElement(Image, {
50
+ var _BsGoodPic;
51
+ return /*#__PURE__*/React.createElement("span", {
52
+ onClick: function onClick(e) {
53
+ return e.stopPropagation();
54
+ }
55
+ }, /*#__PURE__*/React.createElement(Image, {
52
56
  width: 60,
53
57
  src: _this.getComponentValue(record)
54
- })) !== null && _Image !== void 0 ? _Image : '--';
58
+ }));
55
59
  return (_BsGoodPic = BsGoodPic(_this.getComponentValue(record))) !== null && _BsGoodPic !== void 0 ? _BsGoodPic : '--';
56
60
  });
57
61
  _defineProperty(this, "renderLog", function (r) {
@@ -60,7 +60,11 @@ var EBuyerNick = /*#__PURE__*/_createClass(function EBuyerNick(options) {
60
60
  if (buyerNick === undefined && buyerOpenUid === undefined) {
61
61
  return /*#__PURE__*/React.createElement("span", null, "--");
62
62
  }
63
- return /*#__PURE__*/React.createElement("span", null, buyerNick && /*#__PURE__*/React.createElement(PlatBuyer, {
63
+ return /*#__PURE__*/React.createElement("span", {
64
+ onClick: function onClick(e) {
65
+ return e.stopPropagation();
66
+ }
67
+ }, buyerNick && /*#__PURE__*/React.createElement(PlatBuyer, {
64
68
  shopId: record === null || record === void 0 ? void 0 : record.shopId,
65
69
  buyerNick: buyerNick,
66
70
  buyerOpenUid: buyerOpenUid,
@@ -115,7 +115,7 @@ export var ShowTotalImage = function ShowTotalImage(_ref4) {
115
115
  return setVisible(true);
116
116
  }
117
117
  }, "\u67E5\u770B\u5168\u90E8(".concat(total, ")")), /*#__PURE__*/React.createElement(Modal, {
118
- open: visible,
118
+ visible: visible,
119
119
  footer: null,
120
120
  onCancel: function onCancel() {
121
121
  return setVisible(false);
@@ -44,10 +44,14 @@ var EItemEncode = /*#__PURE__*/_createClass(function EItemEncode(options) {
44
44
  return /*#__PURE__*/React.createElement("span", null, "--");
45
45
  }
46
46
  //兼容多个商品
47
- return /*#__PURE__*/React.createElement(GoodImage, {
47
+ return /*#__PURE__*/React.createElement("span", {
48
+ onClick: function onClick(e) {
49
+ return e.stopPropagation();
50
+ }
51
+ }, /*#__PURE__*/React.createElement(GoodImage, {
48
52
  list: record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_itemList")],
49
53
  type: "itemCode"
50
- });
54
+ }));
51
55
  });
52
56
  _defineProperty(this, "renderLog", function (r) {
53
57
  if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_itemList")])) return null;
@@ -1,5 +1,5 @@
1
- import { ComponentInterface, PickOption, ColumnConfig, Record } from '../../type';
2
- import React from 'react';
1
+ import { ComponentInterface, PickOption, ColumnConfig, Record } from "../../type";
2
+ import React from "react";
3
3
  declare class EItemId implements ComponentInterface {
4
4
  name: string;
5
5
  id: string;
@@ -12,7 +12,7 @@ declare class EItemId implements ComponentInterface {
12
12
  formField: string;
13
13
  canSort: boolean;
14
14
  children: ComponentInterface[];
15
- dataType: ComponentInterface['dataType'];
15
+ dataType: ComponentInterface["dataType"];
16
16
  constructor(options: PickOption);
17
17
  renderClient: (record: any) => React.JSX.Element | null;
18
18
  renderPc: (value: unknown, record: Record) => React.JSX.Element;
@@ -6,12 +6,12 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
6
6
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
7
7
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
8
8
  function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
9
- import React from 'react';
9
+ import React from "react";
10
10
  import GetFormItem from "../GetFormItem";
11
11
  import ItemId from "./ItemId";
12
12
  import { GoodImage } from "../Common";
13
13
  import ItemView from "../../commonComponents/ItemView";
14
- import { isNull, filterFn as _filterFn } from '@kmkf-fe-packages/kmkf-utils';
14
+ import { isNull, filterFn as _filterFn } from "@kmkf-fe-packages/kmkf-utils";
15
15
  import { SYMBOL } from "../../constant";
16
16
  var EItemId = /*#__PURE__*/_createClass(function EItemId(options) {
17
17
  var _this = this,
@@ -44,10 +44,14 @@ var EItemId = /*#__PURE__*/_createClass(function EItemId(options) {
44
44
  return /*#__PURE__*/React.createElement("span", null, "--");
45
45
  }
46
46
  //兼容多个商品
47
- return /*#__PURE__*/React.createElement(GoodImage, {
47
+ return /*#__PURE__*/React.createElement("span", {
48
+ onClick: function onClick(e) {
49
+ return e.stopPropagation();
50
+ }
51
+ }, /*#__PURE__*/React.createElement(GoodImage, {
48
52
  list: record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_itemList")],
49
53
  type: "itemId"
50
- });
54
+ }));
51
55
  });
52
56
  _defineProperty(this, "renderLog", function (r) {
53
57
  if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_itemList")])) return null;
@@ -60,7 +64,7 @@ var EItemId = /*#__PURE__*/_createClass(function EItemId(options) {
60
64
  var _ref;
61
65
  return (_ref = (record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_itemList")]) || []) === null || _ref === void 0 ? void 0 : _ref.map(function (i) {
62
66
  return i.numIid;
63
- }).join('\n');
67
+ }).join("\n");
64
68
  });
65
69
  _defineProperty(this, "editRender", function (p) {
66
70
  var _this$componentConfig, _this$effects, _this$effects2;
@@ -86,11 +90,11 @@ var EItemId = /*#__PURE__*/_createClass(function EItemId(options) {
86
90
  // 过滤组件id
87
91
  name: item.name,
88
92
  // 过滤组件名称
89
- filterComponentType: 'Input',
93
+ filterComponentType: "Input",
90
94
  filterFn: function filterFn(value) {
91
95
  return function (i) {
92
96
  var _ref2;
93
- return (_ref2 = _filterFn.filterTableListItemColumnValue(i, item.id, 'itemList') || []) === null || _ref2 === void 0 ? void 0 : _ref2.some(function (item) {
97
+ return (_ref2 = _filterFn.filterTableListItemColumnValue(i, item.id, "itemList") || []) === null || _ref2 === void 0 ? void 0 : _ref2.some(function (item) {
94
98
  var _String;
95
99
  return item !== null && item !== void 0 && item.numIid ? (_String = String(item === null || item === void 0 ? void 0 : item.numIid)) === null || _String === void 0 ? void 0 : _String.includes(value) : false;
96
100
  });
@@ -112,17 +116,17 @@ var EItemId = /*#__PURE__*/_createClass(function EItemId(options) {
112
116
  required: true,
113
117
  validator: function validator(_, value) {
114
118
  if (!value || !value.length) {
115
- return Promise.reject(new Error('请选择宝贝'));
119
+ return Promise.reject(new Error("请选择宝贝"));
116
120
  }
117
121
  var hasNotId = (value || []).some(function (item) {
118
122
  return !item.numIid;
119
123
  });
120
124
  if (hasNotId) {
121
- return Promise.reject(new Error('请输入商品ID'));
125
+ return Promise.reject(new Error("请输入商品ID"));
122
126
  }
123
127
  return Promise.resolve();
124
128
  }
125
129
  }] : [];
126
- this.dataType = 'object';
130
+ this.dataType = "object";
127
131
  });
128
132
  export default EItemId;
@@ -40,9 +40,13 @@ var EItemSelect = /*#__PURE__*/_createClass(function EItemSelect(options) {
40
40
  if ((record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_itemList")]) === undefined) {
41
41
  return /*#__PURE__*/React.createElement("span", null, "--");
42
42
  }
43
- return /*#__PURE__*/React.createElement(GoodImage, {
43
+ return /*#__PURE__*/React.createElement("span", {
44
+ onClick: function onClick(e) {
45
+ return e.stopPropagation();
46
+ }
47
+ }, /*#__PURE__*/React.createElement(GoodImage, {
44
48
  list: record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_itemList")]
45
- });
49
+ }));
46
50
  });
47
51
  _defineProperty(this, "renderLog", function (r) {
48
52
  if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_itemList")])) return null;
@@ -37,9 +37,14 @@ var FlowWorkOrderId = /*#__PURE__*/_createClass(function FlowWorkOrderId(options
37
37
  if ((record === null || record === void 0 ? void 0 : record["".concat(_this.id)]) === undefined) {
38
38
  return /*#__PURE__*/React.createElement(React.Fragment, null, "--");
39
39
  }
40
- return /*#__PURE__*/React.createElement("span", null, /*#__PURE__*/React.createElement(React.Fragment, null, record === null || record === void 0 ? void 0 : record["".concat(_this.id)], /*#__PURE__*/React.createElement("span", {
41
- onClick: function onClick() {
42
- return _this.copyHandle(record === null || record === void 0 ? void 0 : record["".concat(_this.id)]);
40
+ return /*#__PURE__*/React.createElement("span", {
41
+ onClick: function onClick(e) {
42
+ return e.stopPropagation();
43
+ }
44
+ }, /*#__PURE__*/React.createElement(React.Fragment, null, record === null || record === void 0 ? void 0 : record["".concat(_this.id)], /*#__PURE__*/React.createElement("span", {
45
+ onClick: function onClick(e) {
46
+ _this.copyHandle(record === null || record === void 0 ? void 0 : record["".concat(_this.id)]);
47
+ e.stopPropagation();
43
48
  }
44
49
  }, /*#__PURE__*/React.createElement("span", {
45
50
  style: {
@@ -44,10 +44,14 @@ var JstItemSelect = /*#__PURE__*/_createClass(function JstItemSelect(options) {
44
44
  _defineProperty(this, "renderPc", function (value, record) {
45
45
  var list = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_jstItemList")];
46
46
  //兼容多个商品
47
- return /*#__PURE__*/React.createElement(GoodImage, {
47
+ return /*#__PURE__*/React.createElement("span", {
48
+ onClick: function onClick(e) {
49
+ return e.stopPropagation();
50
+ }
51
+ }, /*#__PURE__*/React.createElement(GoodImage, {
48
52
  list: list,
49
53
  type: "jstItemThird"
50
- });
54
+ }));
51
55
  });
52
56
  _defineProperty(this, "renderLog", function (r) {
53
57
  var list = r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_jstItemList")];
@@ -68,10 +68,14 @@ var JstLogistics = /*#__PURE__*/_createClass(function JstLogistics(options) {
68
68
  var _typeMap$_this$type;
69
69
  var list = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_").concat((_typeMap$_this$type = typeMap[_this.type]) === null || _typeMap$_this$type === void 0 ? void 0 : _typeMap$_this$type.key)];
70
70
  //兼容多个商品
71
- return /*#__PURE__*/React.createElement(JstGoodImage, {
71
+ return /*#__PURE__*/React.createElement("span", {
72
+ onClick: function onClick(e) {
73
+ return e.stopPropagation();
74
+ }
75
+ }, /*#__PURE__*/React.createElement(JstGoodImage, {
72
76
  list: list,
73
77
  type: 1
74
- });
78
+ }));
75
79
  });
76
80
  _defineProperty(this, "renderLog", function (r) {
77
81
  var _typeMap$_this$type2;
@@ -60,10 +60,14 @@ var JstSendGood = /*#__PURE__*/_createClass(function JstSendGood(options) {
60
60
  var _typeMap$_this$type;
61
61
  var list = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_").concat((_typeMap$_this$type = typeMap[_this.type]) === null || _typeMap$_this$type === void 0 ? void 0 : _typeMap$_this$type.key)];
62
62
  //兼容多个商品
63
- return /*#__PURE__*/React.createElement(JstGoodImage, {
63
+ return /*#__PURE__*/React.createElement("span", {
64
+ onClick: function onClick(e) {
65
+ return e.stopPropagation();
66
+ }
67
+ }, /*#__PURE__*/React.createElement(JstGoodImage, {
64
68
  list: list,
65
69
  type: 3
66
- });
70
+ }));
67
71
  });
68
72
  _defineProperty(this, "renderLog", function (r) {
69
73
  var _typeMap$_this$type2;
@@ -46,10 +46,14 @@ var JstSupply = /*#__PURE__*/_createClass(function JstSupply(options) {
46
46
  _defineProperty(this, "renderPc", function (value, record) {
47
47
  var list = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_jstItemList")];
48
48
  //兼容多个商品
49
- return /*#__PURE__*/React.createElement(JstGoodImage, {
49
+ return /*#__PURE__*/React.createElement("span", {
50
+ onClick: function onClick(e) {
51
+ return e.stopPropagation();
52
+ }
53
+ }, /*#__PURE__*/React.createElement(JstGoodImage, {
50
54
  list: list,
51
55
  type: 2
52
- });
56
+ }));
53
57
  });
54
58
  _defineProperty(this, "renderLog", function (r) {
55
59
  var list = r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_jstItemList")];
@@ -41,7 +41,11 @@ var InterceptStatus = /*#__PURE__*/_createClass(function InterceptStatus(options
41
41
  var interceptCode = "".concat(_this.parentId, "_interceptCode");
42
42
  var interceptSenderMobile = "".concat(_this.parentId, "_interceptSenderMobile");
43
43
  var value = (_this$expressIntercep = _this.expressInterceptInstance.getStatusNameMap()) === null || _this$expressIntercep === void 0 ? void 0 : _this$expressIntercep["".concat(record === null || record === void 0 ? void 0 : record[_this.id])];
44
- return /*#__PURE__*/React.createElement("div", null, value !== null && value !== void 0 ? value : "--", value ? /*#__PURE__*/React.createElement(QueryLogisticsTrack, {
44
+ return /*#__PURE__*/React.createElement("div", {
45
+ onClick: function onClick(e) {
46
+ return e.stopPropagation();
47
+ }
48
+ }, value !== null && value !== void 0 ? value : "--", value ? /*#__PURE__*/React.createElement(QueryLogisticsTrack, {
45
49
  modelWidth: w,
46
50
  interceptCompany: record[_this.companyId],
47
51
  interceptCode: record[interceptCode],
@@ -33,7 +33,11 @@ var TrajectoryCode = /*#__PURE__*/_createClass(function TrajectoryCode(options)
33
33
  var company = record === null || record === void 0 ? void 0 : record["".concat(_this.parentId, "_trajectoryCompany")];
34
34
  var mobile = record === null || record === void 0 ? void 0 : record["".concat(_this.parentId, "_trajectoryPhone")];
35
35
  var code = record === null || record === void 0 ? void 0 : record[_this.id];
36
- return /*#__PURE__*/React.createElement("div", null, code ? /*#__PURE__*/React.createElement(QueryLogisticsTrack, {
36
+ return /*#__PURE__*/React.createElement("div", {
37
+ onClick: function onClick(e) {
38
+ return e.stopPropagation();
39
+ }
40
+ }, code ? /*#__PURE__*/React.createElement(QueryLogisticsTrack, {
37
41
  title: code,
38
42
  modelWidth: w,
39
43
  interceptCompany: company,
@@ -41,9 +41,10 @@ var PaymentTid = /*#__PURE__*/_createClass(function PaymentTid(options) {
41
41
  }
42
42
  return /*#__PURE__*/React.createElement("span", {
43
43
  className: "pointer",
44
- onClick: function onClick() {
44
+ onClick: function onClick(e) {
45
45
  var _this$effects, _this$effects2;
46
46
  typeof (_this === null || _this === void 0 ? void 0 : (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.queryWorkOrderDetail) === 'function' && (_this === null || _this === void 0 ? void 0 : (_this$effects2 = _this.effects) === null || _this$effects2 === void 0 ? void 0 : _this$effects2.queryWorkOrderDetail(record));
47
+ e.stopPropagation();
47
48
  }
48
49
  }, record === null || record === void 0 ? void 0 : record[_this.id]);
49
50
  });
@@ -41,9 +41,10 @@ var AlipayNo = /*#__PURE__*/_createClass(function AlipayNo(options) {
41
41
  }
42
42
  return /*#__PURE__*/React.createElement("span", {
43
43
  className: "pointer",
44
- onClick: function onClick() {
44
+ onClick: function onClick(e) {
45
45
  var _this$effects, _this$effects2;
46
46
  typeof (_this === null || _this === void 0 ? void 0 : (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.queryWorkOrderDetail) === 'function' && (_this === null || _this === void 0 ? void 0 : (_this$effects2 = _this.effects) === null || _this$effects2 === void 0 ? void 0 : _this$effects2.queryWorkOrderDetail(record));
47
+ e.stopPropagation();
47
48
  }
48
49
  }, record === null || record === void 0 ? void 0 : record[_this.id]);
49
50
  });
@@ -85,7 +85,11 @@ var BuyerNick = /*#__PURE__*/_createClass(function BuyerNick(options) {
85
85
  }
86
86
  return prv;
87
87
  }, '');
88
- return /*#__PURE__*/React.createElement("span", null, (record === null || record === void 0 ? void 0 : record[_this.id]) && /*#__PURE__*/React.createElement(PlatBuyer, {
88
+ return /*#__PURE__*/React.createElement("span", {
89
+ onClick: function onClick(e) {
90
+ return e.stopPropagation();
91
+ }
92
+ }, (record === null || record === void 0 ? void 0 : record[_this.id]) && /*#__PURE__*/React.createElement(PlatBuyer, {
89
93
  shopId: record === null || record === void 0 ? void 0 : record.shopId,
90
94
  buyerNick: record === null || record === void 0 ? void 0 : record[_this.id],
91
95
  buyerOpenUid: buyerOpenUid,
@@ -63,6 +63,9 @@ var BasicPicture = /*#__PURE__*/_createClass(function BasicPicture(options) {
63
63
  style: {
64
64
  marginRight: '5px',
65
65
  display: 'inline-block'
66
+ },
67
+ onClick: function onClick(e) {
68
+ return e.stopPropagation();
66
69
  }
67
70
  }, /*#__PURE__*/React.createElement(Image, {
68
71
  width: 32,
@@ -63,7 +63,11 @@ var BasicRate = /*#__PURE__*/_createClass(function BasicRate(options) {
63
63
  }
64
64
  if (Array.isArray(record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_rate")])) {
65
65
  var _record;
66
- return /*#__PURE__*/React.createElement("div", null, record === null || record === void 0 ? void 0 : (_record = record["".concat(_this.id, "_rate")]) === null || _record === void 0 ? void 0 : _record.map(function (item) {
66
+ return /*#__PURE__*/React.createElement("div", {
67
+ onClick: function onClick(e) {
68
+ return e.stopPropagation();
69
+ }
70
+ }, record === null || record === void 0 ? void 0 : (_record = record["".concat(_this.id, "_rate")]) === null || _record === void 0 ? void 0 : _record.map(function (item) {
67
71
  return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("span", {
68
72
  style: {
69
73
  marginRight: '8px'
@@ -52,9 +52,10 @@ var BasicInput = /*#__PURE__*/_createClass(function BasicInput(options) {
52
52
  var detail = record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_address")];
53
53
  return /*#__PURE__*/React.createElement("span", {
54
54
  className: "pointer",
55
- onClick: function onClick() {
55
+ onClick: function onClick(e) {
56
56
  var _this$effects, _this$effects2;
57
57
  typeof (_this === null || _this === void 0 ? void 0 : (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.queryWorkOrderDetail) === 'function' && (_this === null || _this === void 0 ? void 0 : (_this$effects2 = _this.effects) === null || _this$effects2 === void 0 ? void 0 : _this$effects2.queryWorkOrderDetail(record));
58
+ e.stopPropagation();
58
59
  }
59
60
  }, (_address = address) === null || _address === void 0 ? void 0 : _address.map(function () {
60
61
  var suffix = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '';
@@ -40,9 +40,10 @@ var ReceiverMobile = /*#__PURE__*/_createClass(function ReceiverMobile(options)
40
40
  }
41
41
  return /*#__PURE__*/React.createElement("span", {
42
42
  className: "pointer",
43
- onClick: function onClick() {
43
+ onClick: function onClick(e) {
44
44
  var _this$effects, _this$effects2;
45
45
  typeof (_this === null || _this === void 0 ? void 0 : (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.queryWorkOrderDetail) === 'function' && (_this === null || _this === void 0 ? void 0 : (_this$effects2 = _this.effects) === null || _this$effects2 === void 0 ? void 0 : _this$effects2.queryWorkOrderDetail(record));
46
+ e.stopPropagation();
46
47
  }
47
48
  }, record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_receiveMobile")]);
48
49
  });
@@ -40,9 +40,10 @@ var ReceiverName = /*#__PURE__*/_createClass(function ReceiverName(options) {
40
40
  }
41
41
  return /*#__PURE__*/React.createElement("span", {
42
42
  className: "pointer",
43
- onClick: function onClick() {
43
+ onClick: function onClick(e) {
44
44
  var _this$effects, _this$effects2;
45
45
  typeof (_this === null || _this === void 0 ? void 0 : (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.queryWorkOrderDetail) === 'function' && (_this === null || _this === void 0 ? void 0 : (_this$effects2 = _this.effects) === null || _this$effects2 === void 0 ? void 0 : _this$effects2.queryWorkOrderDetail(record));
46
+ e.stopPropagation();
46
47
  }
47
48
  }, record === null || record === void 0 ? void 0 : record["".concat(_this.id, "_receiveName")]);
48
49
  });
@@ -45,10 +45,14 @@ var ThirdItemSelect = /*#__PURE__*/_createClass(function ThirdItemSelect(options
45
45
  return /*#__PURE__*/React.createElement("span", null, "--");
46
46
  }
47
47
  //兼容多个商品
48
- return /*#__PURE__*/React.createElement(GoodImage, {
48
+ return /*#__PURE__*/React.createElement("span", {
49
+ onClick: function onClick(e) {
50
+ return e.stopPropagation();
51
+ }
52
+ }, /*#__PURE__*/React.createElement(GoodImage, {
49
53
  list: itemList,
50
54
  type: "itemThird"
51
- });
55
+ }));
52
56
  });
53
57
  _defineProperty(this, "renderLog", function (r) {
54
58
  if (isNull(r === null || r === void 0 ? void 0 : r["".concat(_this.id, "_itemList")])) return null;
@@ -45,7 +45,7 @@ var WorkOrderId = /*#__PURE__*/_createClass(function WorkOrderId(options) {
45
45
  width: '16px'
46
46
  },
47
47
  alt: "",
48
- onClick: function onClick() {
48
+ onClick: function onClick(e) {
49
49
  var _this$effects, _this$effects2, _this$effects3, _this$effects4;
50
50
  // TODO: 前端筛选时的重复提醒版本,等分享页面整改之后,这个将会废弃
51
51
  typeof (_this === null || _this === void 0 ? void 0 : (_this$effects = _this.effects) === null || _this$effects === void 0 ? void 0 : _this$effects.handleOpenRepeatList) === 'function' && (_this === null || _this === void 0 ? void 0 : (_this$effects2 = _this.effects) === null || _this$effects2 === void 0 ? void 0 : _this$effects2.handleOpenRepeatList(record === null || record === void 0 ? void 0 : record.repeatConfig));
@@ -54,10 +54,12 @@ var WorkOrderId = /*#__PURE__*/_createClass(function WorkOrderId(options) {
54
54
  workOrderUniqueKey: record === null || record === void 0 ? void 0 : record.id,
55
55
  fieldList: record === null || record === void 0 ? void 0 : record.repeatValueList
56
56
  }));
57
+ e.stopPropagation();
57
58
  }
58
59
  }), /*#__PURE__*/React.createElement(React.Fragment, null, record === null || record === void 0 ? void 0 : record["".concat(_this.id)], /*#__PURE__*/React.createElement("span", {
59
- onClick: function onClick() {
60
- return _this.copyHandle(record === null || record === void 0 ? void 0 : record["".concat(_this.id)]);
60
+ onClick: function onClick(e) {
61
+ _this.copyHandle(record === null || record === void 0 ? void 0 : record["".concat(_this.id)]);
62
+ e.stopPropagation();
61
63
  }
62
64
  }, /*#__PURE__*/React.createElement("span", {
63
65
  style: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/services-components",
3
- "version": "0.7.15-alpha.66",
3
+ "version": "0.7.15-alpha.68",
4
4
  "module": "dist/esm/index.js",
5
5
  "typings": "dist/esm/index.d.ts",
6
6
  "files": [
@@ -40,5 +40,5 @@
40
40
  "gitHooks": {
41
41
  "pre-commit": "lint-staged"
42
42
  },
43
- "gitHead": "912214560dfb54007f88149409676da9b4dba346"
43
+ "gitHead": "d69fc72419fc4406e69ff1b8dc21812265f5e16a"
44
44
  }