kts-component-invoice-operate 2.0.18 → 2.0.20

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.
package/dist/index.esm.js CHANGED
@@ -1369,6 +1369,7 @@ var addGoodDiscount = /*#__PURE__*/(function () {
1369
1369
  taxClassificationCode: good.taxClassificationCode,
1370
1370
  taxRate: good.taxRate,
1371
1371
  itemName: good.itemName,
1372
+ itemNameSelf: good.itemNameSelf,
1372
1373
  discountGroup: discountGroup,
1373
1374
  lineAmountIncludeTax: lineAmountIncludeTax,
1374
1375
  lineAmountExcludeTax: lineAmountExcludeTax,
@@ -9850,7 +9851,6 @@ var onChangeItemName = /*#__PURE__*/function () {
9850
9851
  };
9851
9852
  }();
9852
9853
 
9853
- var Text$3 = Typography.Text;
9854
9854
  var useEndowCode = (function (goods) {
9855
9855
  var controller = Invoice.useInvoiceController();
9856
9856
  var onClick = React.useCallback( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
@@ -9866,18 +9866,22 @@ var useEndowCode = (function (goods) {
9866
9866
  }
9867
9867
  }
9868
9868
  }, _callee);
9869
- })), [controller, goods]);
9869
+ })), [controller, goods]); // return React.useMemo(() => {
9870
+ // return (
9871
+ // <Menu.Item key="endowCode" onClick={onClick} ><Text strong>赋码</Text></Menu.Item>
9872
+ // );
9873
+ // }, [goods.lineAttribute, onClick])
9874
+
9870
9875
  return React.useMemo(function () {
9871
- return React.createElement(Menu.Item, {
9876
+ return React.createElement(Button, {
9872
9877
  key: "endowCode",
9878
+ type: "link",
9873
9879
  onClick: onClick
9874
- }, React.createElement(Text$3, {
9875
- strong: true
9876
- }, "\u8D4B\u7801"));
9880
+ }, "\u8D4B\u7801");
9877
9881
  }, [goods.lineAttribute, onClick]);
9878
9882
  });
9879
9883
 
9880
- var Text$4 = Typography.Text;
9884
+ var Text$3 = Typography.Text;
9881
9885
  var useAddComparison = (function (goods) {
9882
9886
  var controller = Invoice.useInvoiceController();
9883
9887
  var productComparison = controller.useMemo(function (s) {
@@ -9959,7 +9963,7 @@ var useAddComparison = (function (goods) {
9959
9963
  return React.createElement(Menu.Item, {
9960
9964
  key: "delItem",
9961
9965
  onClick: onClick
9962
- }, React.createElement(Text$4, {
9966
+ }, React.createElement(Text$3, {
9963
9967
  strong: true
9964
9968
  }, "\u6DFB\u52A0\u5546\u54C1\u5BF9\u7167"));
9965
9969
  } else {
@@ -9993,8 +9997,7 @@ var RowMenu = (function (props) {
9993
9997
  model !== 'prefab' && isAddDiscount !== false && addDiscount && arr.push(addDiscount); // 添加折扣行
9994
9998
 
9995
9999
  arr.push(addComparison); // 添加商品对照
9996
-
9997
- endowCode && arr.push(endowCode); // 赋码
10000
+ // endowCode && arr.push(endowCode); // 赋码
9998
10001
 
9999
10002
  model !== 'prefab' && delItem && arr.push(delItem); // 删除
10000
10003
 
@@ -10015,7 +10018,7 @@ var RowMenu = (function (props) {
10015
10018
  return React.createElement(React.Fragment, null);
10016
10019
  }
10017
10020
 
10018
- return React.createElement(Dropdown, {
10021
+ return React.createElement("span", null, endowCode, React.createElement(Dropdown, {
10019
10022
  overlay: React.createElement(Menu, null, itemList),
10020
10023
  trigger: ['click']
10021
10024
  }, React.createElement(Button, {
@@ -10023,10 +10026,10 @@ var RowMenu = (function (props) {
10023
10026
  type: "link"
10024
10027
  }, React.createElement(Icon, {
10025
10028
  component: SvgSpot
10026
- })));
10029
+ }))));
10027
10030
  });
10028
10031
 
10029
- var Text$5 = Typography.Text;
10032
+ var Text$4 = Typography.Text;
10030
10033
  var useColumns = (function (form) {
10031
10034
  var getFieldDecorator = form.getFieldDecorator,
10032
10035
  getFieldValue = form.getFieldValue;
@@ -10077,7 +10080,7 @@ var useColumns = (function (form) {
10077
10080
 
10078
10081
  var columns = React.useMemo(function () {
10079
10082
  return [{
10080
- title: React.createElement(React.Fragment, null, React.createElement(Text$5, {
10083
+ title: React.createElement(React.Fragment, null, React.createElement(Text$4, {
10081
10084
  type: "danger"
10082
10085
  }, "*"), "\u8D27\u7269\u540D\u79F0"),
10083
10086
  key: 'itemName',
@@ -10495,7 +10498,7 @@ var useColumns = (function (form) {
10495
10498
  }
10496
10499
  }
10497
10500
  }, {
10498
- title: React.createElement(React.Fragment, null, React.createElement(Text$5, {
10501
+ title: React.createElement(React.Fragment, null, React.createElement(Text$4, {
10499
10502
  type: "danger"
10500
10503
  }, "*"), "\u91D1\u989D(\u542B\u7A0E)"),
10501
10504
  dataIndex: 'lineAmountIncludeTax',
@@ -10582,7 +10585,7 @@ var useColumns = (function (form) {
10582
10585
  }
10583
10586
  }
10584
10587
  }, {
10585
- title: React.createElement(React.Fragment, null, React.createElement(Text$5, {
10588
+ title: React.createElement(React.Fragment, null, React.createElement(Text$4, {
10586
10589
  type: "danger"
10587
10590
  }, "*"), "\u91D1\u989D(\u4E0D\u542B\u7A0E)"),
10588
10591
  dataIndex: 'lineAmountExcludeTax',
@@ -10644,7 +10647,7 @@ var useColumns = (function (form) {
10644
10647
  }
10645
10648
  }
10646
10649
  }, {
10647
- title: React.createElement(React.Fragment, null, React.createElement(Text$5, {
10650
+ title: React.createElement(React.Fragment, null, React.createElement(Text$4, {
10648
10651
  type: "danger"
10649
10652
  }, "*"), "\u7A0E\u7387"),
10650
10653
  dataIndex: 'taxRate',
@@ -10714,7 +10717,7 @@ var useColumns = (function (form) {
10714
10717
  title: '操作',
10715
10718
  dataIndex: 'operating',
10716
10719
  key: 'operating',
10717
- width: 50,
10720
+ width: 120,
10718
10721
  align: 'center',
10719
10722
  render: function render(_value, record) {
10720
10723
  return React.createElement(RowMenu, {
@@ -12196,7 +12199,7 @@ function interval(i, t) {
12196
12199
  var css_248z$a = ".kts-invoice-operate-buyer {\n display: flex;\n}\n.kts-invoice-operate-buyer .kts-invoice-operate-buyer-message {\n flex: 1;\n display: flex;\n position: relative;\n}\n.kts-invoice-operate-buyer .kts-invoice-operate-buyer-message .ktsAnt3x-descriptions-item-label {\n width: 179px;\n}\n.kts-invoice-operate-buyer .kts-invoice-operate-buyer-message .kts-invoice-operate-buyer-message-list {\n width: 100%;\n}\n.kts-invoice-operate-buyer .kts-invoice-operate-buyer-message .kts-invoice-operate-buyer-message-list .ktsAnt3x-descriptions-view {\n border: none;\n}\n.kts-invoice-operate-buyer .kts-invoice-operate-buyer-message .kts-invoice-operate-buyer-message-list .ktsAnt3x-descriptions-item-label {\n padding: 0 10px;\n font-size: 12px;\n background-color: #fff;\n line-height: 30px;\n}\n.kts-invoice-operate-buyer .kts-invoice-operate-buyer-message .kts-invoice-operate-buyer-message-list .ktsAnt3x-descriptions-item-content {\n padding: 0;\n}\n.kts-invoice-operate-buyer .kts-invoice-operate-buyer-message .kts-invoice-operate-buyer-message-list .ktsAnt3x-descriptions-item-content .ktsAnt3x-input {\n box-shadow: none;\n border-color: #fff;\n border-radius: 0;\n padding: 0 10px;\n font-size: 12px;\n line-height: 30px;\n width: 100%;\n height: 100%;\n}\n.kts-invoice-operate-buyer .kts-invoice-operate-buyer-message .kts-invoice-operate-buyer-message-list .ktsAnt3x-descriptions-item-content .ktsAnt3x-input:hover {\n border: 1 solid;\n border-color: #40a9ff;\n border-right-width: 1px !important;\n}\n.kts-invoice-operate-buyer .kts-invoice-operate-buyer-message .kts-invoice-operate-buyer-message-list .ktsAnt3x-descriptions-item-content .has-error .ktsAnt3x-input,\n.kts-invoice-operate-buyer .kts-invoice-operate-buyer-message .kts-invoice-operate-buyer-message-list .ktsAnt3x-descriptions-item-content .has-error .ktsAnt3x-input:hover {\n background-color: #fff;\n border: 1 solid;\n border-color: #f5222d;\n}\n.kts-invoice-operate-buyer .kts-invoice-operate-buyer-message .kts-invoice-operate-buyer-message-list .ktsAnt3x-form-item {\n margin: 0;\n}\n.kts-invoice-operate-buyer .kts-invoice-operate-buyer-message .kts-invoice-operate-buyer-message-list .ktsAnt3x-form-item-control {\n line-height: 0;\n}\n.kts-invoice-operate-buyer .kts-invoice-operate-buyer-message .kts-invoice-operate-buyer-message-list .ktsAnt3x-form-item-children {\n height: 30px;\n display: block;\n}\n.kts-invoice-operate-buyer .kts-invoice-operate-buyer-message .kts-invoice-operate-buyer-message-list .ktsAnt3x-form-item-children .ktsAnt3x-btn {\n line-height: 0;\n}\n.kts-invoice-operate-buyer .kts-invoice-operate-buyer-message .kts-invoice-operate-buyer-message-list .ktsAnt3x-form-explain {\n position: absolute;\n left: 5px;\n top: 6px;\n z-index: 10;\n}\n.kts-invoice-operate-buyer .kts-invoice-operate-buyer-message .kts-invoice-operate-buyer-message-Import {\n position: absolute;\n right: 0px;\n top: 0px;\n z-index: 10;\n}\n.kts-invoice-operate-buyer .kts-invoice-operate-buyer-password {\n border-left: 1px solid #dcdcdc;\n display: flex;\n flex: none;\n width: 458px;\n}\n.kts-invoice-operate-buyer .kts-invoice-operate-buyer-title {\n flex: none;\n width: 30px;\n height: 100%;\n text-align: center;\n border-right: 1px solid #dcdcdc;\n display: table;\n padding: 0 5px;\n}\n.kts-invoice-operate-buyer .kts-invoice-operate-buyer-title label {\n display: table-cell;\n vertical-align: middle;\n}\n.ktsAnt3x-popover.kts-invoice-operate-buyer-name-popover {\n padding-top: 0;\n}\n.ktsAnt3x-popover.kts-invoice-operate-buyer-name-popover .ktsAnt3x-popover-inner-content {\n padding: 6px 0;\n display: flex;\n flex-direction: column;\n overflow-y: auto;\n overflow-x: hidden;\n}\n.ktsAnt3x-popover.kts-invoice-operate-buyer-name-popover .ktsAnt3x-popover-arrow {\n display: none;\n}\n.ktsAnt3x-popover.kts-invoice-operate-buyer-name-popover .kts-invoice-operate-buyer-name-content {\n width: 567px;\n}\n.ktsAnt3x-popover.kts-invoice-operate-buyer-name-popover .kts-invoice-operate-buyer-name-content .kts-invoice-operate-buyer-name-content-block {\n padding: 14px 0;\n}\n.ktsAnt3x-popover.kts-invoice-operate-buyer-name-popover .kts-invoice-operate-buyer-name-content .kts-invoice-operate-buyer-name-content-block label {\n display: block;\n font-size: 12px;\n color: #666666;\n}\n.ktsAnt3x-popover.kts-invoice-operate-buyer-name-popover .kts-invoice-operate-buyer-name-content .kts-invoice-operate-buyer-name-content-recently-issued {\n padding: 0;\n margin: 0;\n}\n.ktsAnt3x-popover.kts-invoice-operate-buyer-name-popover .kts-invoice-operate-buyer-name-content .kts-invoice-operate-buyer-name-content-recently-issued li {\n list-style: none;\n width: 50%;\n float: left;\n margin-bottom: 20px;\n padding: 0 10px;\n}\n.ktsAnt3x-popover.kts-invoice-operate-buyer-name-popover .kts-invoice-operate-buyer-name-content .kts-invoice-operate-buyer-name-content-recently-issued::after {\n content: \".\";\n display: block;\n height: 0;\n clear: left;\n visibility: hidden;\n}\n.ktsAnt3x-popover.kts-invoice-operate-buyer-name-popover .kts-invoice-operate-buyer-name-content .kts-invoice-operate-buyer-name-content-select-company {\n padding: 0;\n margin: 0;\n font-size: 12px;\n padding: 10px;\n font-weight: bold;\n color: #000000;\n cursor: pointer;\n transition: background 0.4s;\n}\n.ktsAnt3x-popover.kts-invoice-operate-buyer-name-popover .kts-invoice-operate-buyer-name-content .kts-invoice-operate-buyer-name-content-select-company:hover {\n background: #e6e6e6e6;\n}\n.ktsAnt3x-popover.kts-invoice-operate-buyer-name-popover .kts-invoice-operate-buyer-name-content .kts-invoice-operate-buyer-name-content-select-company:last-child {\n margin-bottom: 0;\n}\n.ktsAnt3x-popover.kts-invoice-operate-buyer-name-popover .kts-invoice-operate-buyer-name-content .kts-invoice-operate-buyer-name-content-select-company li {\n list-style: none;\n width: 50%;\n float: left;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n padding-right: 10px;\n}\n.ktsAnt3x-popover.kts-invoice-operate-buyer-name-popover .kts-invoice-operate-buyer-name-content .kts-invoice-operate-buyer-name-content-select-company::after {\n content: \".\";\n display: block;\n height: 0;\n clear: left;\n visibility: hidden;\n}\n.ktsAnt3x-popover.kts-invoice-operate-buyer-name-popover .kts-invoice-operate-buyer-name-content-tag {\n line-height: 1;\n padding: 4px 12px;\n background: #F3F3F3;\n border-radius: 9999px;\n font-size: 12px;\n font-weight: bold;\n color: #000;\n cursor: pointer;\n transition: background 0.4s;\n display: inline-block;\n max-width: 100%;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n}\n.ktsAnt3x-popover.kts-invoice-operate-buyer-name-popover .kts-invoice-operate-buyer-name-content-tag:hover {\n background: #e6e6e6e6;\n}\n";
12197
12200
  styleInject(css_248z$a);
12198
12201
 
12199
- var Text$6 = Typography.Text;
12202
+ var Text$5 = Typography.Text;
12200
12203
 
12201
12204
  var Buyer$1 = /*#__PURE__*/function (_React$Component) {
12202
12205
  _inherits(Buyer, _React$Component);
@@ -12310,7 +12313,7 @@ var Main$2 = decorator(Form.create())(function (props) {
12310
12313
  if (e.options.rules.some(function (e) {
12311
12314
  return e.required;
12312
12315
  })) {
12313
- return React.createElement(React.Fragment, null, React.createElement(Text$6, {
12316
+ return React.createElement(React.Fragment, null, React.createElement(Text$5, {
12314
12317
  type: "danger"
12315
12318
  }, "*"), e.label);
12316
12319
  } else {
@@ -13434,13 +13437,13 @@ var components = {
13434
13437
  /** 提取简称 */
13435
13438
 
13436
13439
  var getShorthand = function getShorthand(value) {
13437
- if (!value) return undefined;
13440
+ if (!value) return ' ';
13438
13441
  var arr = value.match(/\*[^*]+\*/);
13439
13442
 
13440
13443
  if (arr) {
13441
13444
  return arr[0].split('*')[1];
13442
13445
  } else {
13443
- return undefined;
13446
+ return ' ';
13444
13447
  }
13445
13448
  };
13446
13449
 
package/dist/index.js CHANGED
@@ -1379,6 +1379,7 @@ var addGoodDiscount = /*#__PURE__*/(function () {
1379
1379
  taxClassificationCode: good.taxClassificationCode,
1380
1380
  taxRate: good.taxRate,
1381
1381
  itemName: good.itemName,
1382
+ itemNameSelf: good.itemNameSelf,
1382
1383
  discountGroup: discountGroup,
1383
1384
  lineAmountIncludeTax: lineAmountIncludeTax,
1384
1385
  lineAmountExcludeTax: lineAmountExcludeTax,
@@ -9860,7 +9861,6 @@ var onChangeItemName = /*#__PURE__*/function () {
9860
9861
  };
9861
9862
  }();
9862
9863
 
9863
- var Text$3 = ktsComponentsAntdX3.Typography.Text;
9864
9864
  var useEndowCode = (function (goods) {
9865
9865
  var controller = Invoice.useInvoiceController();
9866
9866
  var onClick = React__default['default'].useCallback( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
@@ -9876,18 +9876,22 @@ var useEndowCode = (function (goods) {
9876
9876
  }
9877
9877
  }
9878
9878
  }, _callee);
9879
- })), [controller, goods]);
9879
+ })), [controller, goods]); // return React.useMemo(() => {
9880
+ // return (
9881
+ // <Menu.Item key="endowCode" onClick={onClick} ><Text strong>赋码</Text></Menu.Item>
9882
+ // );
9883
+ // }, [goods.lineAttribute, onClick])
9884
+
9880
9885
  return React__default['default'].useMemo(function () {
9881
- return React__default['default'].createElement(ktsComponentsAntdX3.Menu.Item, {
9886
+ return React__default['default'].createElement(ktsComponentsAntdX3.Button, {
9882
9887
  key: "endowCode",
9888
+ type: "link",
9883
9889
  onClick: onClick
9884
- }, React__default['default'].createElement(Text$3, {
9885
- strong: true
9886
- }, "\u8D4B\u7801"));
9890
+ }, "\u8D4B\u7801");
9887
9891
  }, [goods.lineAttribute, onClick]);
9888
9892
  });
9889
9893
 
9890
- var Text$4 = ktsComponentsAntdX3.Typography.Text;
9894
+ var Text$3 = ktsComponentsAntdX3.Typography.Text;
9891
9895
  var useAddComparison = (function (goods) {
9892
9896
  var controller = Invoice.useInvoiceController();
9893
9897
  var productComparison = controller.useMemo(function (s) {
@@ -9969,7 +9973,7 @@ var useAddComparison = (function (goods) {
9969
9973
  return React__default['default'].createElement(ktsComponentsAntdX3.Menu.Item, {
9970
9974
  key: "delItem",
9971
9975
  onClick: onClick
9972
- }, React__default['default'].createElement(Text$4, {
9976
+ }, React__default['default'].createElement(Text$3, {
9973
9977
  strong: true
9974
9978
  }, "\u6DFB\u52A0\u5546\u54C1\u5BF9\u7167"));
9975
9979
  } else {
@@ -10003,8 +10007,7 @@ var RowMenu = (function (props) {
10003
10007
  model !== 'prefab' && isAddDiscount !== false && addDiscount && arr.push(addDiscount); // 添加折扣行
10004
10008
 
10005
10009
  arr.push(addComparison); // 添加商品对照
10006
-
10007
- endowCode && arr.push(endowCode); // 赋码
10010
+ // endowCode && arr.push(endowCode); // 赋码
10008
10011
 
10009
10012
  model !== 'prefab' && delItem && arr.push(delItem); // 删除
10010
10013
 
@@ -10025,7 +10028,7 @@ var RowMenu = (function (props) {
10025
10028
  return React__default['default'].createElement(React__default['default'].Fragment, null);
10026
10029
  }
10027
10030
 
10028
- return React__default['default'].createElement(ktsComponentsAntdX3.Dropdown, {
10031
+ return React__default['default'].createElement("span", null, endowCode, React__default['default'].createElement(ktsComponentsAntdX3.Dropdown, {
10029
10032
  overlay: React__default['default'].createElement(ktsComponentsAntdX3.Menu, null, itemList),
10030
10033
  trigger: ['click']
10031
10034
  }, React__default['default'].createElement(ktsComponentsAntdX3.Button, {
@@ -10033,10 +10036,10 @@ var RowMenu = (function (props) {
10033
10036
  type: "link"
10034
10037
  }, React__default['default'].createElement(ktsComponentsAntdX3.Icon, {
10035
10038
  component: SvgSpot
10036
- })));
10039
+ }))));
10037
10040
  });
10038
10041
 
10039
- var Text$5 = ktsComponentsAntdX3.Typography.Text;
10042
+ var Text$4 = ktsComponentsAntdX3.Typography.Text;
10040
10043
  var useColumns = (function (form) {
10041
10044
  var getFieldDecorator = form.getFieldDecorator,
10042
10045
  getFieldValue = form.getFieldValue;
@@ -10087,7 +10090,7 @@ var useColumns = (function (form) {
10087
10090
 
10088
10091
  var columns = React__default['default'].useMemo(function () {
10089
10092
  return [{
10090
- title: React__default['default'].createElement(React__default['default'].Fragment, null, React__default['default'].createElement(Text$5, {
10093
+ title: React__default['default'].createElement(React__default['default'].Fragment, null, React__default['default'].createElement(Text$4, {
10091
10094
  type: "danger"
10092
10095
  }, "*"), "\u8D27\u7269\u540D\u79F0"),
10093
10096
  key: 'itemName',
@@ -10505,7 +10508,7 @@ var useColumns = (function (form) {
10505
10508
  }
10506
10509
  }
10507
10510
  }, {
10508
- title: React__default['default'].createElement(React__default['default'].Fragment, null, React__default['default'].createElement(Text$5, {
10511
+ title: React__default['default'].createElement(React__default['default'].Fragment, null, React__default['default'].createElement(Text$4, {
10509
10512
  type: "danger"
10510
10513
  }, "*"), "\u91D1\u989D(\u542B\u7A0E)"),
10511
10514
  dataIndex: 'lineAmountIncludeTax',
@@ -10592,7 +10595,7 @@ var useColumns = (function (form) {
10592
10595
  }
10593
10596
  }
10594
10597
  }, {
10595
- title: React__default['default'].createElement(React__default['default'].Fragment, null, React__default['default'].createElement(Text$5, {
10598
+ title: React__default['default'].createElement(React__default['default'].Fragment, null, React__default['default'].createElement(Text$4, {
10596
10599
  type: "danger"
10597
10600
  }, "*"), "\u91D1\u989D(\u4E0D\u542B\u7A0E)"),
10598
10601
  dataIndex: 'lineAmountExcludeTax',
@@ -10654,7 +10657,7 @@ var useColumns = (function (form) {
10654
10657
  }
10655
10658
  }
10656
10659
  }, {
10657
- title: React__default['default'].createElement(React__default['default'].Fragment, null, React__default['default'].createElement(Text$5, {
10660
+ title: React__default['default'].createElement(React__default['default'].Fragment, null, React__default['default'].createElement(Text$4, {
10658
10661
  type: "danger"
10659
10662
  }, "*"), "\u7A0E\u7387"),
10660
10663
  dataIndex: 'taxRate',
@@ -10724,7 +10727,7 @@ var useColumns = (function (form) {
10724
10727
  title: '操作',
10725
10728
  dataIndex: 'operating',
10726
10729
  key: 'operating',
10727
- width: 50,
10730
+ width: 120,
10728
10731
  align: 'center',
10729
10732
  render: function render(_value, record) {
10730
10733
  return React__default['default'].createElement(RowMenu, {
@@ -12206,7 +12209,7 @@ function interval(i, t) {
12206
12209
  var css_248z$a = ".kts-invoice-operate-buyer {\n display: flex;\n}\n.kts-invoice-operate-buyer .kts-invoice-operate-buyer-message {\n flex: 1;\n display: flex;\n position: relative;\n}\n.kts-invoice-operate-buyer .kts-invoice-operate-buyer-message .ktsAnt3x-descriptions-item-label {\n width: 179px;\n}\n.kts-invoice-operate-buyer .kts-invoice-operate-buyer-message .kts-invoice-operate-buyer-message-list {\n width: 100%;\n}\n.kts-invoice-operate-buyer .kts-invoice-operate-buyer-message .kts-invoice-operate-buyer-message-list .ktsAnt3x-descriptions-view {\n border: none;\n}\n.kts-invoice-operate-buyer .kts-invoice-operate-buyer-message .kts-invoice-operate-buyer-message-list .ktsAnt3x-descriptions-item-label {\n padding: 0 10px;\n font-size: 12px;\n background-color: #fff;\n line-height: 30px;\n}\n.kts-invoice-operate-buyer .kts-invoice-operate-buyer-message .kts-invoice-operate-buyer-message-list .ktsAnt3x-descriptions-item-content {\n padding: 0;\n}\n.kts-invoice-operate-buyer .kts-invoice-operate-buyer-message .kts-invoice-operate-buyer-message-list .ktsAnt3x-descriptions-item-content .ktsAnt3x-input {\n box-shadow: none;\n border-color: #fff;\n border-radius: 0;\n padding: 0 10px;\n font-size: 12px;\n line-height: 30px;\n width: 100%;\n height: 100%;\n}\n.kts-invoice-operate-buyer .kts-invoice-operate-buyer-message .kts-invoice-operate-buyer-message-list .ktsAnt3x-descriptions-item-content .ktsAnt3x-input:hover {\n border: 1 solid;\n border-color: #40a9ff;\n border-right-width: 1px !important;\n}\n.kts-invoice-operate-buyer .kts-invoice-operate-buyer-message .kts-invoice-operate-buyer-message-list .ktsAnt3x-descriptions-item-content .has-error .ktsAnt3x-input,\n.kts-invoice-operate-buyer .kts-invoice-operate-buyer-message .kts-invoice-operate-buyer-message-list .ktsAnt3x-descriptions-item-content .has-error .ktsAnt3x-input:hover {\n background-color: #fff;\n border: 1 solid;\n border-color: #f5222d;\n}\n.kts-invoice-operate-buyer .kts-invoice-operate-buyer-message .kts-invoice-operate-buyer-message-list .ktsAnt3x-form-item {\n margin: 0;\n}\n.kts-invoice-operate-buyer .kts-invoice-operate-buyer-message .kts-invoice-operate-buyer-message-list .ktsAnt3x-form-item-control {\n line-height: 0;\n}\n.kts-invoice-operate-buyer .kts-invoice-operate-buyer-message .kts-invoice-operate-buyer-message-list .ktsAnt3x-form-item-children {\n height: 30px;\n display: block;\n}\n.kts-invoice-operate-buyer .kts-invoice-operate-buyer-message .kts-invoice-operate-buyer-message-list .ktsAnt3x-form-item-children .ktsAnt3x-btn {\n line-height: 0;\n}\n.kts-invoice-operate-buyer .kts-invoice-operate-buyer-message .kts-invoice-operate-buyer-message-list .ktsAnt3x-form-explain {\n position: absolute;\n left: 5px;\n top: 6px;\n z-index: 10;\n}\n.kts-invoice-operate-buyer .kts-invoice-operate-buyer-message .kts-invoice-operate-buyer-message-Import {\n position: absolute;\n right: 0px;\n top: 0px;\n z-index: 10;\n}\n.kts-invoice-operate-buyer .kts-invoice-operate-buyer-password {\n border-left: 1px solid #dcdcdc;\n display: flex;\n flex: none;\n width: 458px;\n}\n.kts-invoice-operate-buyer .kts-invoice-operate-buyer-title {\n flex: none;\n width: 30px;\n height: 100%;\n text-align: center;\n border-right: 1px solid #dcdcdc;\n display: table;\n padding: 0 5px;\n}\n.kts-invoice-operate-buyer .kts-invoice-operate-buyer-title label {\n display: table-cell;\n vertical-align: middle;\n}\n.ktsAnt3x-popover.kts-invoice-operate-buyer-name-popover {\n padding-top: 0;\n}\n.ktsAnt3x-popover.kts-invoice-operate-buyer-name-popover .ktsAnt3x-popover-inner-content {\n padding: 6px 0;\n display: flex;\n flex-direction: column;\n overflow-y: auto;\n overflow-x: hidden;\n}\n.ktsAnt3x-popover.kts-invoice-operate-buyer-name-popover .ktsAnt3x-popover-arrow {\n display: none;\n}\n.ktsAnt3x-popover.kts-invoice-operate-buyer-name-popover .kts-invoice-operate-buyer-name-content {\n width: 567px;\n}\n.ktsAnt3x-popover.kts-invoice-operate-buyer-name-popover .kts-invoice-operate-buyer-name-content .kts-invoice-operate-buyer-name-content-block {\n padding: 14px 0;\n}\n.ktsAnt3x-popover.kts-invoice-operate-buyer-name-popover .kts-invoice-operate-buyer-name-content .kts-invoice-operate-buyer-name-content-block label {\n display: block;\n font-size: 12px;\n color: #666666;\n}\n.ktsAnt3x-popover.kts-invoice-operate-buyer-name-popover .kts-invoice-operate-buyer-name-content .kts-invoice-operate-buyer-name-content-recently-issued {\n padding: 0;\n margin: 0;\n}\n.ktsAnt3x-popover.kts-invoice-operate-buyer-name-popover .kts-invoice-operate-buyer-name-content .kts-invoice-operate-buyer-name-content-recently-issued li {\n list-style: none;\n width: 50%;\n float: left;\n margin-bottom: 20px;\n padding: 0 10px;\n}\n.ktsAnt3x-popover.kts-invoice-operate-buyer-name-popover .kts-invoice-operate-buyer-name-content .kts-invoice-operate-buyer-name-content-recently-issued::after {\n content: \".\";\n display: block;\n height: 0;\n clear: left;\n visibility: hidden;\n}\n.ktsAnt3x-popover.kts-invoice-operate-buyer-name-popover .kts-invoice-operate-buyer-name-content .kts-invoice-operate-buyer-name-content-select-company {\n padding: 0;\n margin: 0;\n font-size: 12px;\n padding: 10px;\n font-weight: bold;\n color: #000000;\n cursor: pointer;\n transition: background 0.4s;\n}\n.ktsAnt3x-popover.kts-invoice-operate-buyer-name-popover .kts-invoice-operate-buyer-name-content .kts-invoice-operate-buyer-name-content-select-company:hover {\n background: #e6e6e6e6;\n}\n.ktsAnt3x-popover.kts-invoice-operate-buyer-name-popover .kts-invoice-operate-buyer-name-content .kts-invoice-operate-buyer-name-content-select-company:last-child {\n margin-bottom: 0;\n}\n.ktsAnt3x-popover.kts-invoice-operate-buyer-name-popover .kts-invoice-operate-buyer-name-content .kts-invoice-operate-buyer-name-content-select-company li {\n list-style: none;\n width: 50%;\n float: left;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n padding-right: 10px;\n}\n.ktsAnt3x-popover.kts-invoice-operate-buyer-name-popover .kts-invoice-operate-buyer-name-content .kts-invoice-operate-buyer-name-content-select-company::after {\n content: \".\";\n display: block;\n height: 0;\n clear: left;\n visibility: hidden;\n}\n.ktsAnt3x-popover.kts-invoice-operate-buyer-name-popover .kts-invoice-operate-buyer-name-content-tag {\n line-height: 1;\n padding: 4px 12px;\n background: #F3F3F3;\n border-radius: 9999px;\n font-size: 12px;\n font-weight: bold;\n color: #000;\n cursor: pointer;\n transition: background 0.4s;\n display: inline-block;\n max-width: 100%;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n}\n.ktsAnt3x-popover.kts-invoice-operate-buyer-name-popover .kts-invoice-operate-buyer-name-content-tag:hover {\n background: #e6e6e6e6;\n}\n";
12207
12210
  styleInject(css_248z$a);
12208
12211
 
12209
- var Text$6 = ktsComponentsAntdX3.Typography.Text;
12212
+ var Text$5 = ktsComponentsAntdX3.Typography.Text;
12210
12213
 
12211
12214
  var Buyer$1 = /*#__PURE__*/function (_React$Component) {
12212
12215
  _inherits(Buyer, _React$Component);
@@ -12320,7 +12323,7 @@ var Main$2 = GreyReactBox.decorator(ktsComponentsAntdX3.Form.create())(function
12320
12323
  if (e.options.rules.some(function (e) {
12321
12324
  return e.required;
12322
12325
  })) {
12323
- return React__default['default'].createElement(React__default['default'].Fragment, null, React__default['default'].createElement(Text$6, {
12326
+ return React__default['default'].createElement(React__default['default'].Fragment, null, React__default['default'].createElement(Text$5, {
12324
12327
  type: "danger"
12325
12328
  }, "*"), e.label);
12326
12329
  } else {
@@ -13444,13 +13447,13 @@ var components = {
13444
13447
  /** 提取简称 */
13445
13448
 
13446
13449
  var getShorthand = function getShorthand(value) {
13447
- if (!value) return undefined;
13450
+ if (!value) return ' ';
13448
13451
  var arr = value.match(/\*[^*]+\*/);
13449
13452
 
13450
13453
  if (arr) {
13451
13454
  return arr[0].split('*')[1];
13452
13455
  } else {
13453
- return undefined;
13456
+ return ' ';
13454
13457
  }
13455
13458
  };
13456
13459
 
@@ -0,0 +1,33 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <meta
6
+ name="viewport"
7
+ content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"
8
+ />
9
+ <link rel="stylesheet" href="/docs-dist/umi.css" />
10
+ <script>
11
+ window.routerBase = "/";
12
+ </script>
13
+ <script>
14
+ //! umi version: 3.5.27
15
+ </script>
16
+ <script>
17
+ !(function () {
18
+ var e = localStorage.getItem("dumi:prefers-color"),
19
+ t = window.matchMedia("(prefers-color-scheme: dark)").matches,
20
+ r = ["light", "dark", "auto"];
21
+ document.documentElement.setAttribute(
22
+ "data-prefers-color",
23
+ e === r[2] ? (t ? r[1] : r[0]) : r.indexOf(e) > -1 ? e : r[0]
24
+ );
25
+ })();
26
+ </script>
27
+ </head>
28
+ <body>
29
+ <div id="root"></div>
30
+
31
+ <script src="/docs-dist/umi.js"></script>
32
+ </body>
33
+ </html>
@@ -0,0 +1,33 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <meta
6
+ name="viewport"
7
+ content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"
8
+ />
9
+ <link rel="stylesheet" href="/docs-dist/umi.css" />
10
+ <script>
11
+ window.routerBase = "/";
12
+ </script>
13
+ <script>
14
+ //! umi version: 3.5.27
15
+ </script>
16
+ <script>
17
+ !(function () {
18
+ var e = localStorage.getItem("dumi:prefers-color"),
19
+ t = window.matchMedia("(prefers-color-scheme: dark)").matches,
20
+ r = ["light", "dark", "auto"];
21
+ document.documentElement.setAttribute(
22
+ "data-prefers-color",
23
+ e === r[2] ? (t ? r[1] : r[0]) : r.indexOf(e) > -1 ? e : r[0]
24
+ );
25
+ })();
26
+ </script>
27
+ </head>
28
+ <body>
29
+ <div id="root"></div>
30
+
31
+ <script src="/docs-dist/umi.js"></script>
32
+ </body>
33
+ </html>
@@ -0,0 +1 @@
1
+ <?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1586510245354" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4976" width="16" height="16" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><style type="text/css"></style></defs><path d="M510.677 83.529c60.891 0 119.75 13.191 174.046 38.055l-40.087 70.028 202.97-1.016-101.99-175.063-35.52 61.909c-61.908-29.433-129.903-44.657-199.419-44.657-257.266 0-466.833 209.566-466.833 466.833 0 93.368 27.4 183.69 79.668 261.326l42.116-28.415c-46.684-69.012-71.039-149.183-71.039-232.91 0-229.355 186.729-416.09 416.088-416.09z m425.225 223.774l-46.175 20.802c24.356 53.788 37.039 111.637 37.039 171.512 0 229.358-186.73 416.089-416.089 416.089-46.684 0-92.351-7.608-135.99-22.832l34-65.968-202.468 10.148 110.116 170.5 35.52-69.012c50.738 18.777 104.526 27.908 159.33 27.908 257.265 0 466.832-209.567 466.832-466.833-0.507-66.98-14.715-131.93-42.115-192.314z m0 0" p-id="4977"></path><path d="M317.096 1023.06L192.387 829.965 421.78 818.47l-36.039 69.924c40.06 12.971 82.045 19.543 124.936 19.543 225.147 0 408.317-183.17 408.317-408.317 0-58.417-12.23-115.043-36.348-168.305l-3.212-7.094 60.343-27.186 3.203 7.059c27.889 61.462 42.292 127.226 42.81 195.467 0 261.757-212.908 474.664-474.606 474.664-54.211 0-106.5-8.76-155.546-26.05l-38.54 74.885zM220.05 844.143l95.524 147.906 32.521-63.187 6.458 2.39c49.176 18.198 101.874 27.425 156.632 27.425 253.126 0 459.06-205.933 459.06-459.06-0.48-63.377-13.353-124.59-38.275-182.018l-32.013 14.422c22.95 53.205 34.582 109.55 34.582 167.595 0 233.719-190.143 423.862-423.862 423.862-47.682 0-94.297-7.828-138.55-23.266l-8.448-2.948 31.914-61.92-175.543 8.8z m-98.64-72.405l-4.345-6.455C64.08 686.583 36.071 594.717 36.071 499.617c0-261.698 212.907-474.605 474.605-474.605 68.724 0 134.705 14.25 196.232 42.368L745.564 0.005 861.09 198.301l-229.898 1.151 42.514-74.27c-51.835-22.486-106.64-33.88-163.03-33.88-225.147 0-408.317 183.17-408.317 408.316 0 82.11 24.104 161.145 69.705 228.556l4.36 6.445-55.014 37.12zM510.677 40.557c-253.126 0-459.06 205.934-459.06 459.06 0 89.396 25.578 175.828 74.053 250.495l29.221-19.715c-44.563-68.554-68.074-148.169-68.074-230.78 0-233.717 190.143-423.861 423.861-423.861 61.471 0 121.117 13.04 177.283 38.76l7.738 3.543-37.618 65.714 176.044-0.882-88.458-151.83-32.41 56.489-6.498-3.09C645.482 55.329 579.51 40.558 510.677 40.558z" p-id="4978"></path><path d="M320.113 320.409h383.973v63.55H320.113z m0.184 127.952H704.27v63.55H320.297z m-0.184 127.803h383.973v63.55H320.113z" p-id="4979"></path></svg>
@@ -0,0 +1 @@
1
+ <svg t="1656901778998" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="9253" width="200" height="200"><path d="M985.781333 918.594133 820.773333 765.5264c27.3728-32.973867 49.6544-69.5776 66.436267-109.258667 22.933333-54.218667 34.561067-111.7952 34.561067-171.1296 0-59.333333-11.627733-116.910933-34.561067-171.1296-22.142933-52.354133-53.837867-99.365333-94.200533-139.729067S705.633067 102.222933 653.28 80.08c-54.218667-22.933333-111.7952-34.561067-171.1296-34.561067S365.240533 57.147733 311.021867 80.08c-52.354133 22.142933-99.365333 53.8368-139.729067 94.200533s-72.0576 87.374933-94.200533 139.729067c-22.932267 54.218667-34.56 111.7952-34.56 171.1296 0 59.3344 11.627733 116.910933 34.56 171.1296 22.144 52.354133 53.837867 99.365333 94.200533 139.729067s87.374933 72.0576 139.729067 94.200533c54.218667 22.932267 111.7952 34.56 171.1296 34.56s116.910933-11.627733 171.1296-34.56c45.352533-19.181867 86.686933-45.543467 123.172267-78.487467L942.256 965.514667c6.16 5.714133 13.966933 8.539733 21.755733 8.539733 8.593067 0 17.163733-3.441067 23.467733-10.237867C999.4976 950.8608 998.738133 930.612267 985.781333 918.594133zM482.151467 860.7584c-207.117867 0-375.620267-168.5024-375.620267-375.620267 0-207.1168 168.5024-375.6192 375.620267-375.6192S857.770667 278.021333 857.770667 485.138133C857.770667 692.256 689.268267 860.7584 482.151467 860.7584z" p-id="9254"></path></svg>
@@ -0,0 +1 @@
1
+ <?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1574652728953" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4119" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><style type="text/css"></style></defs><path d="M512 512m-96 0a1.5 1.5 0 1 0 192 0 1.5 1.5 0 1 0-192 0Z" p-id="4120"></path><path d="M512 96.64m-96 0a1.5 1.5 0 1 0 192 0 1.5 1.5 0 1 0-192 0Z" p-id="4121"></path><path d="M512 927.36m-96 0a1.5 1.5 0 1 0 192 0 1.5 1.5 0 1 0-192 0Z" p-id="4122"></path></svg>