kts-component-invoice-operate 3.2.219 → 3.2.220-chinaship

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
@@ -8,7 +8,7 @@ import { message as message$1, TableManual, Switch, AutoComplete as AutoComplete
8
8
  import classnames from 'classnames';
9
9
  import { Table } from 'kts-components-antd-x4-v4';
10
10
  import { render } from 'react-dom';
11
- import { DatePicker, Row as Row$1, Col as Col$1, Input as Input$2, Cascader, Select as Select$2 } from 'kts-components-antd-x4';
11
+ import { DatePicker, Row as Row$1, Col as Col$1, Cascader, Input as Input$2, Select as Select$2 } from 'kts-components-antd-x4';
12
12
  import { Input as Input$3, NumberPicker } from '@formily/antd-components';
13
13
  import { createAsyncFormActions, FormEffectHooks, SchemaForm, FormButtonGroup, SchemaMarkupField } from '@formily/antd';
14
14
 
@@ -1994,7 +1994,7 @@ var saveEditGood = /*#__PURE__*/(function () {
1994
1994
  switch (_context.prev = _context.next) {
1995
1995
  case 0:
1996
1996
  editGood = state.goodsListState.editGood;
1997
- form = state.goodsListState.form;
1997
+ form = state.goodsListState.form; // const isValidateGood = state.goodsListState.isValidateGood
1998
1998
 
1999
1999
  if (!(!editGood || !form || state.goodsListState.importGoods.isVisibleDrawer || state.calculatingField)) {
2000
2000
  _context.next = 4;
@@ -10652,7 +10652,7 @@ var Statistics = (function () {
10652
10652
  }, /*#__PURE__*/React.createElement("label", null, "\uFF08\u5C0F\u5199\uFF09 ", lineAmountIncludeTax === '' ? '' : parseFloat(lineAmountIncludeTax).toFixed(2)))));
10653
10653
  });
10654
10654
 
10655
- var AddRowButton = (function (props) {
10655
+ var AddRowButton = (function () {
10656
10656
  var controller = Invoice.useInvoiceController();
10657
10657
  var model = controller.useMemo(function (s) {
10658
10658
  return s.model;
@@ -10690,26 +10690,14 @@ var AddRowButton = (function (props) {
10690
10690
  while (1) {
10691
10691
  switch (_context.prev = _context.next) {
10692
10692
  case 0:
10693
- _context.t0 = props.addGoodsCheck;
10694
-
10695
- if (!_context.t0) {
10696
- _context.next = 4;
10697
- break;
10698
- }
10699
-
10700
- _context.next = 4;
10701
- return props.addGoodsCheck();
10702
-
10703
- case 4:
10704
- console.log('continue');
10705
- _context.next = 7;
10693
+ _context.next = 2;
10706
10694
  return addGood$1(controller);
10707
10695
 
10708
- case 7:
10709
- _context.next = 9;
10696
+ case 2:
10697
+ _context.next = 4;
10710
10698
  return rollBottom(controller, rootElement);
10711
10699
 
10712
- case 9:
10700
+ case 4:
10713
10701
  case "end":
10714
10702
  return _context.stop();
10715
10703
  }
@@ -16615,9 +16603,7 @@ var Main = decorator(Form.create())(function (props) {
16615
16603
  className: "kts-invoice-operate-goods-list-able"
16616
16604
  }, /*#__PURE__*/React.createElement("div", {
16617
16605
  className: "kts-invoice-operate-goods-list-able-list"
16618
- }, /*#__PURE__*/React.createElement(AddRowButton, {
16619
- addGoodsCheck: props.addGoodsCheck
16620
- }), endowCodeButton.button, delRowButton.button, mergeDetails.button, mergeDiscount.button, addDiscountRowButton.drawer, salesDiscount.button, salesGifts.button, /*#__PURE__*/React.createElement(Search, null)), /*#__PURE__*/React.createElement("div", {
16606
+ }, /*#__PURE__*/React.createElement(AddRowButton, null), endowCodeButton.button, delRowButton.button, mergeDetails.button, mergeDiscount.button, addDiscountRowButton.drawer, salesDiscount.button, salesGifts.button, /*#__PURE__*/React.createElement(Search, null)), /*#__PURE__*/React.createElement("div", {
16621
16607
  className: "kts-invoice-operate-goods-list-able-extend"
16622
16608
  }, props.menuExpansion, /*#__PURE__*/React.createElement(DescribeSwitch, null), /*#__PURE__*/React.createElement(TaxIncludedSwitch, null))), /*#__PURE__*/React.createElement("div", {
16623
16609
  className: classnames('kts-invoice-operate-goods-list-table', {
@@ -17621,7 +17607,7 @@ var Stakeholder$1 = decorator(Form.create())(function (props) {
17621
17607
  placeholder: "\u8BF7\u8F93\u5165\u7EDF\u4E00\u793E\u4F1A\u4FE1\u7528\u4EE3\u7801/\u7EB3\u7A0E\u4EBA\u8BC6\u522B\u53F7",
17622
17608
  autoComplete: "off"
17623
17609
  })))), /*#__PURE__*/React.createElement(Col, {
17624
- span: 10 + riskspanW,
17610
+ span: 10 + leqispanW,
17625
17611
  style: {
17626
17612
  display: isExpand ? undefined : 'none'
17627
17613
  }
@@ -17638,7 +17624,7 @@ var Stakeholder$1 = decorator(Form.create())(function (props) {
17638
17624
  placeholder: "\u8BF7\u8F93\u5165\u8D2D\u4E70\u65B9\u5730\u5740",
17639
17625
  autoComplete: "off"
17640
17626
  })))), /*#__PURE__*/React.createElement(Col, {
17641
- span: 10 + riskspanW,
17627
+ span: 10 + leqispanW,
17642
17628
  style: {
17643
17629
  display: isExpand ? undefined : 'none'
17644
17630
  }
@@ -17652,7 +17638,22 @@ var Stakeholder$1 = decorator(Form.create())(function (props) {
17652
17638
  readOnly: isReadOnly('buyerPhone'),
17653
17639
  placeholder: "\u8BF7\u8F93\u5165\u7535\u8BDD",
17654
17640
  autoComplete: "off"
17655
- })))), /*#__PURE__*/React.createElement(Col, {
17641
+ })))), props.leqi && /*#__PURE__*/React.createElement(Col, {
17642
+ span: 4,
17643
+ style: {
17644
+ display: isExpand ? undefined : 'none'
17645
+ }
17646
+ }, /*#__PURE__*/React.createElement(Form.Item, {
17647
+ colon: false
17648
+ }, getFieldDecorator('buyerAddressPhoneFlag', {
17649
+ valuePropName: 'checked'
17650
+ })( /*#__PURE__*/React.createElement(Checkbox$1, {
17651
+ onChange: props === null || props === void 0 ? void 0 : props.invoiceMarkCallback,
17652
+ disabled: isReadOnly('buyerAddressPhoneFlag'),
17653
+ style: {
17654
+ whiteSpace: 'nowrap'
17655
+ }
17656
+ }, "\u662F\u5426\u5C55\u793A")))), /*#__PURE__*/React.createElement(Col, {
17656
17657
  span: 10 + leqispanW,
17657
17658
  style: {
17658
17659
  display: isExpand ? undefined : 'none'
@@ -17744,7 +17745,7 @@ var Stakeholder$1 = decorator(Form.create())(function (props) {
17744
17745
  placeholder: "\u8BF7\u8F93\u5165\u7EDF\u4E00\u793E\u4F1A\u4FE1\u7528\u4EE3\u7801/\u7EB3\u7A0E\u4EBA\u8BC6\u522B\u53F7",
17745
17746
  autoComplete: "off"
17746
17747
  })))), /*#__PURE__*/React.createElement(Col, {
17747
- span: 10 + riskspanW,
17748
+ span: 10 + leqispanW,
17748
17749
  style: {
17749
17750
  display: isExpand ? undefined : 'none'
17750
17751
  }
@@ -17761,7 +17762,7 @@ var Stakeholder$1 = decorator(Form.create())(function (props) {
17761
17762
  placeholder: "\u8BF7\u8F93\u5165\u9500\u552E\u65B9\u5730\u5740",
17762
17763
  autoComplete: "off"
17763
17764
  })))), /*#__PURE__*/React.createElement(Col, {
17764
- span: 10 + riskspanW,
17765
+ span: 10 + leqispanW,
17765
17766
  style: {
17766
17767
  display: isExpand ? undefined : 'none'
17767
17768
  }
@@ -17775,7 +17776,22 @@ var Stakeholder$1 = decorator(Form.create())(function (props) {
17775
17776
  readOnly: isReadOnly('sellerPhone'),
17776
17777
  placeholder: "\u8BF7\u8F93\u5165\u7535\u8BDD",
17777
17778
  autoComplete: "off"
17778
- })))), /*#__PURE__*/React.createElement(Col, {
17779
+ })))), props.leqi && /*#__PURE__*/React.createElement(Col, {
17780
+ span: 4,
17781
+ style: {
17782
+ display: isExpand ? undefined : 'none'
17783
+ }
17784
+ }, /*#__PURE__*/React.createElement(Form.Item, {
17785
+ colon: false
17786
+ }, getFieldDecorator('sellerAddressPhoneFlag', {
17787
+ valuePropName: 'checked'
17788
+ })( /*#__PURE__*/React.createElement(Checkbox$1, {
17789
+ onChange: props === null || props === void 0 ? void 0 : props.invoiceMarkCallback,
17790
+ disabled: isReadOnly('sellerAddressPhoneFlag'),
17791
+ style: {
17792
+ whiteSpace: 'nowrap'
17793
+ }
17794
+ }, "\u662F\u5426\u5C55\u793A")))), /*#__PURE__*/React.createElement(Col, {
17779
17795
  span: 10 + leqispanW,
17780
17796
  style: {
17781
17797
  display: isExpand ? undefined : 'none'
@@ -18262,7 +18278,7 @@ var StakeFarmerholder = decorator(Form.create())(function (props) {
18262
18278
  placeholder: "\u8BF7\u8F93\u5165\u7EDF\u4E00\u793E\u4F1A\u4FE1\u7528\u4EE3\u7801/\u7EB3\u7A0E\u4EBA\u8BC6\u522B\u53F7",
18263
18279
  autoComplete: "off"
18264
18280
  })))), /*#__PURE__*/React.createElement(Col, {
18265
- span: 10 + riskspanW,
18281
+ span: 10 + leqispanW,
18266
18282
  style: {
18267
18283
  display: isExpand ? undefined : 'none'
18268
18284
  }
@@ -18279,7 +18295,7 @@ var StakeFarmerholder = decorator(Form.create())(function (props) {
18279
18295
  placeholder: "\u8BF7\u8F93\u5165\u9500\u552E\u65B9\u5730\u5740",
18280
18296
  autoComplete: "off"
18281
18297
  })))), /*#__PURE__*/React.createElement(Col, {
18282
- span: 10 + riskspanW,
18298
+ span: 10 + leqispanW,
18283
18299
  style: {
18284
18300
  display: isExpand ? undefined : 'none'
18285
18301
  }
@@ -18307,7 +18323,22 @@ var StakeFarmerholder = decorator(Form.create())(function (props) {
18307
18323
  readOnly: isReadOnly('sellerBank'),
18308
18324
  placeholder: "\u8BF7\u8F93\u5165\u9500\u552E\u65B9\u5F00\u6237\u94F6\u884C",
18309
18325
  autoComplete: "off"
18310
- })))), /*#__PURE__*/React.createElement(Col, {
18326
+ })))), props.leqi && /*#__PURE__*/React.createElement(Col, {
18327
+ span: 4,
18328
+ style: {
18329
+ display: isExpand ? undefined : 'none'
18330
+ }
18331
+ }, /*#__PURE__*/React.createElement(Form.Item, {
18332
+ colon: false
18333
+ }, getFieldDecorator('sellerAddressPhoneFlag', {
18334
+ valuePropName: 'checked'
18335
+ })( /*#__PURE__*/React.createElement(Checkbox$1, {
18336
+ onChange: props === null || props === void 0 ? void 0 : props.invoiceMarkCallback,
18337
+ disabled: isReadOnly('sellerAddressPhoneFlag'),
18338
+ style: {
18339
+ whiteSpace: 'nowrap'
18340
+ }
18341
+ }, "\u662F\u5426\u5C55\u793A")))), /*#__PURE__*/React.createElement(Col, {
18311
18342
  span: 10 + leqispanW,
18312
18343
  style: {
18313
18344
  display: isExpand ? undefined : 'none'
@@ -18402,7 +18433,7 @@ var StakeFarmerholder = decorator(Form.create())(function (props) {
18402
18433
  placeholder: "\u8BF7\u8F93\u5165\u7EDF\u4E00\u793E\u4F1A\u4FE1\u7528\u4EE3\u7801/\u7EB3\u7A0E\u4EBA\u8BC6\u522B\u53F7",
18403
18434
  autoComplete: "off"
18404
18435
  })))), /*#__PURE__*/React.createElement(Col, {
18405
- span: 10 + riskspanW,
18436
+ span: 10 + leqispanW,
18406
18437
  style: {
18407
18438
  display: isExpand ? undefined : 'none'
18408
18439
  }
@@ -18419,7 +18450,7 @@ var StakeFarmerholder = decorator(Form.create())(function (props) {
18419
18450
  placeholder: "\u8BF7\u8F93\u5165\u8D2D\u4E70\u65B9\u5730\u5740",
18420
18451
  autoComplete: "off"
18421
18452
  })))), /*#__PURE__*/React.createElement(Col, {
18422
- span: 10 + riskspanW,
18453
+ span: 10 + leqispanW,
18423
18454
  style: {
18424
18455
  display: isExpand ? undefined : 'none'
18425
18456
  }
@@ -18452,6 +18483,20 @@ var StakeFarmerholder = decorator(Form.create())(function (props) {
18452
18483
  style: {
18453
18484
  display: isExpand ? undefined : 'none'
18454
18485
  }
18486
+ }, /*#__PURE__*/React.createElement(Form.Item, {
18487
+ label: "\u8D2D\u4E70\u65B9\u5F00\u6237\u94F6\u884C",
18488
+ colon: false
18489
+ }, getFieldDecorator('buyerBank', {
18490
+ rules: getRules('buyerBank', RULES$1.bankName('购买方开户银行'))
18491
+ })( /*#__PURE__*/React.createElement(MyInput$2, {
18492
+ readOnly: isReadOnly('buyerBank'),
18493
+ placeholder: "\u8BF7\u8F93\u5165\u8D2D\u4E70\u65B9\u5F00\u6237\u94F6\u884C",
18494
+ autoComplete: "off"
18495
+ })))), /*#__PURE__*/React.createElement(Col, {
18496
+ span: 10 + leqispanW,
18497
+ style: {
18498
+ display: isExpand ? undefined : 'none'
18499
+ }
18455
18500
  }, /*#__PURE__*/React.createElement(Form.Item, {
18456
18501
  label: "\u94F6\u884C\u8D26\u53F7",
18457
18502
  colon: false
@@ -18826,7 +18871,7 @@ var css_248z$j = ".kts-invoice-operate-goods-table-virtual .ktsAntX-table-body {
18826
18871
  styleInject(css_248z$j);
18827
18872
 
18828
18873
  function TableVirtual$1 (props) {
18829
- var _props$dataSource2;
18874
+ var _props$dataSource4, _props$dataSource5;
18830
18875
 
18831
18876
  var _React$useState = React.useState(null),
18832
18877
  _React$useState2 = _slicedToArray(_React$useState, 2),
@@ -18868,8 +18913,10 @@ function TableVirtual$1 (props) {
18868
18913
  }, [self, tableBody]); // 设置占位dom的搞
18869
18914
 
18870
18915
  var placeholderHeight = React.useMemo(function () {
18871
- if (!self || !rowHeight || !props.dataSource || !placeholder) return;
18872
- var placeholderHeight = rowHeight * props.dataSource.length;
18916
+ var _props$dataSource = props.dataSource,
18917
+ dataSource = _props$dataSource === void 0 ? [] : _props$dataSource;
18918
+ if (!self || !rowHeight || !dataSource || !placeholder) return;
18919
+ var placeholderHeight = rowHeight * dataSource.length;
18873
18920
  placeholder.style.height = "".concat(placeholderHeight, "px");
18874
18921
  return placeholderHeight;
18875
18922
  }, [self, rowHeight, props.dataSource, placeholder]);
@@ -18881,12 +18928,12 @@ function TableVirtual$1 (props) {
18881
18928
  }, [tableBody, rowHeight, placeholderHeight]); // 计算渲染的行
18882
18929
 
18883
18930
  var dataSource = React.useMemo(function () {
18884
- var _props$dataSource;
18931
+ var _props$dataSource2;
18885
18932
 
18886
18933
  if (!props.dataSource) return [];
18887
18934
  if (props.dataSource.length < 10) return props.dataSource;
18888
18935
  if (!rowSize) return [props.dataSource[0]];
18889
- return (_props$dataSource = props.dataSource) === null || _props$dataSource === void 0 ? void 0 : _props$dataSource.slice(pointer, pointer + 2 * rowSize);
18936
+ return (_props$dataSource2 = props.dataSource) === null || _props$dataSource2 === void 0 ? void 0 : _props$dataSource2.slice(pointer, pointer + 2 * rowSize);
18890
18937
  }, [props.dataSource, pointer, rowSize]); // 监听滚动
18891
18938
 
18892
18939
  React.useEffect(function () {
@@ -18905,17 +18952,24 @@ function TableVirtual$1 (props) {
18905
18952
  }, [self, placeholder, props.dataSource, rowHeight, rowSize]); // 移动列表
18906
18953
 
18907
18954
  React.useEffect(function () {
18955
+ var _props$dataSource3;
18956
+
18908
18957
  if (!self) return;
18909
18958
  var table = self.querySelector('.ktsAntX-table .ktsAntX-table-body>table');
18910
18959
  if (!table) return;
18911
- table.style.top = "".concat(pointer * rowHeight, "px");
18912
- }, [pointer, self, rowHeight]);
18960
+
18961
+ if ((((_props$dataSource3 = props.dataSource) === null || _props$dataSource3 === void 0 ? void 0 : _props$dataSource3.length) || 0) < 10) {
18962
+ table.style.top = '0px';
18963
+ } else {
18964
+ table.style.top = "".concat(pointer * rowHeight, "px");
18965
+ }
18966
+ }, [pointer, self, rowHeight, (_props$dataSource4 = props.dataSource) === null || _props$dataSource4 === void 0 ? void 0 : _props$dataSource4.length]);
18913
18967
  React.useEffect(function () {
18914
18968
  if (!self) return;
18915
18969
  var cont = self.querySelector('.kts-invoice-operate-goods-table-virtual .ktsAntX-table-body');
18916
18970
  if (!cont) return;
18917
18971
  cont.scrollTop = 0;
18918
- }, [(_props$dataSource2 = props.dataSource) === null || _props$dataSource2 === void 0 ? void 0 : _props$dataSource2.length]);
18972
+ }, [(_props$dataSource5 = props.dataSource) === null || _props$dataSource5 === void 0 ? void 0 : _props$dataSource5.length]);
18919
18973
  return /*#__PURE__*/React.createElement("span", {
18920
18974
  className: "kts-invoice-operate-goods-table-virtual",
18921
18975
  ref: function ref(e) {
@@ -19158,74 +19212,55 @@ function addGood$2(_x) {
19158
19212
 
19159
19213
 
19160
19214
  function _addGood$1() {
19161
- _addGood$1 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee5(controller) {
19162
- var _controller$formList$;
19163
-
19164
- return _regeneratorRuntime().wrap(function _callee5$(_context5) {
19215
+ _addGood$1 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4(controller) {
19216
+ return _regeneratorRuntime().wrap(function _callee4$(_context4) {
19165
19217
  while (1) {
19166
- switch (_context5.prev = _context5.next) {
19218
+ switch (_context4.prev = _context4.next) {
19167
19219
  case 0:
19168
- _context5.next = 2;
19169
- return (_controller$formList$ = controller.formList.get('realEstateInfo')) === null || _controller$formList$ === void 0 ? void 0 : _controller$formList$.validateFields( /*#__PURE__*/function () {
19170
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(err, values) {
19171
- return _regeneratorRuntime().wrap(function _callee2$(_context2) {
19172
- while (1) {
19173
- switch (_context2.prev = _context2.next) {
19174
- case 0:
19175
- if (!err) {
19176
- _context2.next = 3;
19177
- break;
19178
- }
19179
-
19180
- message$1.error('请先填写发票行信息,再添加新的行');
19181
- return _context2.abrupt("return");
19182
-
19183
- case 3:
19184
- case "end":
19185
- return _context2.stop();
19186
- }
19187
- }
19188
- }, _callee2);
19189
- }));
19190
-
19191
- return function (_x4, _x5) {
19192
- return _ref2.apply(this, arguments);
19193
- };
19194
- }());
19195
-
19196
- case 2:
19197
- _context5.next = 4;
19220
+ _context4.next = 2;
19198
19221
  return controller.saveEditGood();
19199
19222
 
19200
- case 4:
19201
- _context5.next = 6;
19223
+ case 2:
19224
+ _context4.next = 4;
19202
19225
  return controller.wait();
19203
19226
 
19204
- case 6:
19205
- _context5.next = 8;
19227
+ case 4:
19228
+ _context4.next = 6;
19206
19229
  return controller.run( /*#__PURE__*/function () {
19207
- var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4(s) {
19208
- var _controller$state$goo;
19230
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(s) {
19231
+ var isValidateGood, _controller$state$goo;
19209
19232
 
19210
- return _regeneratorRuntime().wrap(function _callee4$(_context4) {
19233
+ return _regeneratorRuntime().wrap(function _callee3$(_context3) {
19211
19234
  while (1) {
19212
- switch (_context4.prev = _context4.next) {
19235
+ switch (_context3.prev = _context3.next) {
19213
19236
  case 0:
19214
19237
  if (!s.goodsListState.editGood) {
19215
- _context4.next = 3;
19238
+ _context3.next = 5;
19216
19239
  break;
19217
19240
  }
19218
19241
 
19219
- _context4.next = 3;
19242
+ // message.error({
19243
+ // content: '你正在编辑一个货物',
19244
+ // key: '你正在编辑一个货物',
19245
+ // });
19246
+ // return;
19247
+ isValidateGood = controller.state.goodsListState.isValidateGood;
19248
+
19249
+ if (!isValidateGood) {
19250
+ _context3.next = 5;
19251
+ break;
19252
+ }
19253
+
19254
+ _context3.next = 5;
19220
19255
  return (_controller$state$goo = controller.state.goodsListState.form) === null || _controller$state$goo === void 0 ? void 0 : _controller$state$goo.validateFields( /*#__PURE__*/function () {
19221
- var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(err, values) {
19256
+ var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(err, values) {
19222
19257
  var firstError;
19223
- return _regeneratorRuntime().wrap(function _callee3$(_context3) {
19258
+ return _regeneratorRuntime().wrap(function _callee2$(_context2) {
19224
19259
  while (1) {
19225
- switch (_context3.prev = _context3.next) {
19260
+ switch (_context2.prev = _context2.next) {
19226
19261
  case 0:
19227
19262
  if (!err) {
19228
- _context3.next = 4;
19263
+ _context2.next = 4;
19229
19264
  break;
19230
19265
  }
19231
19266
 
@@ -19234,50 +19269,50 @@ function _addGood$1() {
19234
19269
  content: firstError.errors[0].message,
19235
19270
  key: '你正在编辑一个货物'
19236
19271
  });
19237
- return _context3.abrupt("return");
19272
+ return _context2.abrupt("return");
19238
19273
 
19239
19274
  case 4:
19240
19275
  case "end":
19241
- return _context3.stop();
19276
+ return _context2.stop();
19242
19277
  }
19243
19278
  }
19244
- }, _callee3);
19279
+ }, _callee2);
19245
19280
  }));
19246
19281
 
19247
- return function (_x7, _x8) {
19248
- return _ref4.apply(this, arguments);
19282
+ return function (_x5, _x6) {
19283
+ return _ref3.apply(this, arguments);
19249
19284
  };
19250
19285
  }());
19251
19286
 
19252
- case 3:
19253
- _context4.next = 5;
19287
+ case 5:
19288
+ _context3.next = 7;
19254
19289
  return controller.addGood({
19255
19290
  taxRate: s.goodsListState.defaultRate,
19256
19291
  lineAttribute: LineAttributeType$1.正常
19257
19292
  });
19258
19293
 
19259
- case 5:
19260
- s.goodsListState.editGood = _context4.sent;
19294
+ case 7:
19295
+ s.goodsListState.editGood = _context3.sent;
19261
19296
 
19262
- case 6:
19297
+ case 8:
19263
19298
  case "end":
19264
- return _context4.stop();
19299
+ return _context3.stop();
19265
19300
  }
19266
19301
  }
19267
- }, _callee4);
19302
+ }, _callee3);
19268
19303
  }));
19269
19304
 
19270
- return function (_x6) {
19271
- return _ref3.apply(this, arguments);
19305
+ return function (_x4) {
19306
+ return _ref2.apply(this, arguments);
19272
19307
  };
19273
19308
  }());
19274
19309
 
19275
- case 8:
19310
+ case 6:
19276
19311
  case "end":
19277
- return _context5.stop();
19312
+ return _context4.stop();
19278
19313
  }
19279
19314
  }
19280
- }, _callee5);
19315
+ }, _callee4);
19281
19316
  }));
19282
19317
  return _addGood$1.apply(this, arguments);
19283
19318
  }
@@ -19287,34 +19322,34 @@ function rollBottom$1(_x2, _x3) {
19287
19322
  }
19288
19323
 
19289
19324
  function _rollBottom$1() {
19290
- _rollBottom$1 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee6(controller, rootElement) {
19325
+ _rollBottom$1 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee5(controller, rootElement) {
19291
19326
  var cont;
19292
- return _regeneratorRuntime().wrap(function _callee6$(_context6) {
19327
+ return _regeneratorRuntime().wrap(function _callee5$(_context5) {
19293
19328
  while (1) {
19294
- switch (_context6.prev = _context6.next) {
19329
+ switch (_context5.prev = _context5.next) {
19295
19330
  case 0:
19296
- _context6.next = 2;
19331
+ _context5.next = 2;
19297
19332
  return controller.wait();
19298
19333
 
19299
19334
  case 2:
19300
19335
  cont = rootElement === null || rootElement === void 0 ? void 0 : rootElement.querySelector('.ktsAntX-table-body');
19301
19336
 
19302
19337
  if (cont) {
19303
- _context6.next = 5;
19338
+ _context5.next = 5;
19304
19339
  break;
19305
19340
  }
19306
19341
 
19307
- return _context6.abrupt("return");
19342
+ return _context5.abrupt("return");
19308
19343
 
19309
19344
  case 5:
19310
19345
  cont.scrollTop = cont.scrollHeight;
19311
19346
 
19312
19347
  case 6:
19313
19348
  case "end":
19314
- return _context6.stop();
19349
+ return _context5.stop();
19315
19350
  }
19316
19351
  }
19317
- }, _callee6);
19352
+ }, _callee5);
19318
19353
  }));
19319
19354
  return _rollBottom$1.apply(this, arguments);
19320
19355
  }
@@ -21895,24 +21930,34 @@ var useColumns$1 = (function (form) {
21895
21930
  while (1) {
21896
21931
  switch (_context6.prev = _context6.next) {
21897
21932
  case 0:
21898
- _context6.next = 2;
21933
+ if (!isValidateGood) {
21934
+ _context6.next = 10;
21935
+ break;
21936
+ }
21937
+
21938
+ _context6.next = 3;
21899
21939
  return controller.wait();
21900
21940
 
21901
- case 2:
21941
+ case 3:
21902
21942
  isvalue = !!value || value === 0;
21903
21943
  isPrice = !!getFieldValue(isTaxIncluded ? 'priceIncludeTax' : 'priceExcludeTax') || getFieldValue(isTaxIncluded ? 'priceIncludeTax' : 'priceExcludeTax') === 0;
21904
21944
 
21905
21945
  if (!(isvalue || isPrice === isvalue)) {
21906
- _context6.next = 6;
21946
+ _context6.next = 7;
21907
21947
  break;
21908
21948
  }
21909
21949
 
21910
21950
  return _context6.abrupt("return");
21911
21951
 
21912
- case 6:
21952
+ case 7:
21913
21953
  callback('请输入数量');
21954
+ _context6.next = 11;
21955
+ break;
21914
21956
 
21915
- case 7:
21957
+ case 10:
21958
+ callback();
21959
+
21960
+ case 11:
21916
21961
  case "end":
21917
21962
  return _context6.stop();
21918
21963
  }
@@ -22201,7 +22246,7 @@ var useColumns$1 = (function (form) {
22201
22246
  style: {
22202
22247
  padding: '0 10px'
22203
22248
  }
22204
- }, formatSearch$1(parseFloat(value).toFixed(2), searchValue));
22249
+ }, value && formatSearch$1(parseFloat(value).toFixed(2), searchValue));
22205
22250
  }
22206
22251
  }
22207
22252
  }, {
@@ -22264,7 +22309,7 @@ var useColumns$1 = (function (form) {
22264
22309
  style: {
22265
22310
  padding: '0 10px'
22266
22311
  }
22267
- }, formatSearch$1(parseFloat(value).toFixed(2), searchValue));
22312
+ }, value && formatSearch$1(parseFloat(value).toFixed(2), searchValue));
22268
22313
  }
22269
22314
  }
22270
22315
  }, {
@@ -22376,7 +22421,7 @@ var useColumns$1 = (function (form) {
22376
22421
  style: {
22377
22422
  padding: '0 10px'
22378
22423
  }
22379
- }, isDutyFree$1(record) ? '***' : parseFloat(value).toFixed(2));
22424
+ }, isDutyFree$1(record) ? '***' : value && parseFloat(value).toFixed(2));
22380
22425
  }
22381
22426
  }
22382
22427
  }] // 含税不含税
@@ -24354,7 +24399,7 @@ var Main$3 = decorator(Form.create())(function (props) {
24354
24399
  })), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Statistics$1, null)));
24355
24400
  });
24356
24401
 
24357
- var css_248z$r = ".kts-invoice-operate-real-estate-info-digtal {\n padding: 20px;\n border-bottom: 2px solid #9F613E;\n border-left: 2px solid #9F613E;\n border-right: 2px solid #9F613E;\n}\n.kts-invoice-operate-real-estate-info-digtal .real-estate-info-digtal-label {\n color: #9F613E;\n font-weight: bold;\n}\n.kts-invoice-operate-real-estate-info-digtal .ktsAnt3x-row.ktsAnt3x-form-item {\n margin-bottom: 0;\n}\n.kts-invoice-operate-real-estate-info-digtal .ktsAntX-row {\n border-bottom: 1px dashed #9F613E;\n}\n.kts-invoice-operate-real-estate-info-digtal .ktsAntX-row:last-child {\n border-bottom: none;\n}\n";
24402
+ var css_248z$r = ".kts-invoice-operate-real-estate-info-digtal {\n padding: 20px;\n border-bottom: 2px solid #9F613E;\n border-left: 2px solid #9F613E;\n border-right: 2px solid #9F613E;\n}\n.kts-invoice-operate-real-estate-info-digtal .real-estate-info-digtal-label {\n color: #9F613E;\n font-weight: bold;\n}\n.kts-invoice-operate-real-estate-info-digtal .ktsAnt3x-row.ktsAnt3x-form-item {\n margin-bottom: 0;\n}\n";
24358
24403
  styleInject(css_248z$r);
24359
24404
 
24360
24405
  var RangePicker = DatePicker.RangePicker;
@@ -24370,210 +24415,126 @@ var RealEstateInfo = decorator(Form.create())(function (props) {
24370
24415
  }, []);
24371
24416
  var readOnly = React.useMemo(function () {
24372
24417
  return model === 'readOnly';
24373
- }, [model]);
24374
- var goodsList = controller.useMemo(function (s) {
24375
- return s.goodsListState.goodsList;
24376
- }, []);
24377
- var indexRef = React.useRef([]);
24378
- useEffect(function () {
24379
- var dd = goodsList === null || goodsList === void 0 ? void 0 : goodsList.reduce(function (acc, cur) {
24380
- if (cur.lineAttribute !== 1) {
24381
- acc.push(cur.$index);
24382
- }
24383
-
24384
- return acc;
24385
- }, []);
24386
- indexRef.current = dd;
24387
- }, [goodsList, indexRef]); // 注册 form
24418
+ }, [model]); // 注册 form
24388
24419
 
24389
24420
  controller.useForm('realEstateInfo', form);
24390
-
24391
- var getList = function getList() {
24392
- var decrease = indexRef.current.length > goodsList.length;
24393
-
24394
- if (decrease) {
24395
- //已删行列表
24396
- var diff = indexRef.current.filter(function (item) {
24397
- return !goodsList.find(function (i) {
24398
- return i.$index === item;
24399
- });
24400
- });
24401
- var formData = form.getFieldValue('realEstateDataDto');
24402
-
24403
- if (Array.isArray(formData) && diff.length > 0) {
24404
- var newForm = formData === null || formData === void 0 ? void 0 : formData.filter(function (item) {
24405
- return !diff.find(function (i) {
24406
- return i === item.$index;
24407
- });
24408
- });
24409
- form.setFieldsValue({
24410
- realEstateDataDto: newForm
24411
- });
24412
- } else {
24413
- form.setFieldsValue({
24414
- realEstateDataDto: undefined
24415
- });
24416
- }
24417
- }
24418
-
24419
- console.log('goodsList', goodsList);
24420
- return goodsList.filter(function (item) {
24421
- return item.lineAttribute !== 1;
24422
- }).map(function (item, index) {
24423
- if (item.lineAttribute !== 1) {
24424
- return /*#__PURE__*/React.createElement(Row$1, {
24425
- gutter: [17, 0]
24426
- }, /*#__PURE__*/React.createElement(Col$1, {
24427
- span: 6
24428
- }, /*#__PURE__*/React.createElement(Form.Item, {
24429
- style: {
24430
- display: 'none'
24431
- }
24432
- }, getFieldDecorator("realEstateDataDto[".concat(index, "].$index"), {
24433
- initialValue: item.$index
24434
- })( /*#__PURE__*/React.createElement(Input$2, null))), /*#__PURE__*/React.createElement(Form.Item, {
24435
- label: "\u4E0D\u52A8\u4EA7\u5730\u5740"
24436
- }, getFieldDecorator("realEstateDataDto[".concat(index, "].realEstateAddress"), {
24437
- rules: readOnly ? [] : [{
24438
- required: true,
24439
- message: '请选择不动产地址'
24440
- }]
24441
- })(readOnly ? /*#__PURE__*/React.createElement(MyArrString, null) : /*#__PURE__*/React.createElement(Cascader, {
24442
- style: {
24443
- width: '100%'
24444
- },
24445
- options: props.realEstateAddressOptions,
24446
- fieldNames: props.realEstateAddressFieldNames,
24447
- placeholder: "\u8BF7\u9009\u62E9\u7701\u5E02\u533A\u53BF"
24448
- })))), /*#__PURE__*/React.createElement(Col$1, {
24449
- span: 6
24450
- }, /*#__PURE__*/React.createElement(Form.Item, {
24451
- label: "\u8BE6\u7EC6\u5730\u5740"
24452
- }, getFieldDecorator("realEstateDataDto[".concat(index, "].realEstateDetailedAddress"), {
24453
- rules: readOnly ? [] : [{
24454
- required: true,
24455
- message: '请输入详细地址'
24456
- }, {
24457
- max: 120,
24458
- message: '详细地址最多120个字符'
24459
- }, {
24460
- validator: function () {
24461
- var _validator = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(_, value, callback) {
24462
- var pattern;
24463
- return _regeneratorRuntime().wrap(function _callee$(_context) {
24464
- while (1) {
24465
- switch (_context.prev = _context.next) {
24466
- case 0:
24467
- pattern = /街|路|村|乡|镇|道|巷|号/;
24468
-
24469
- if (pattern.test(value)) {
24470
- callback();
24471
- } else {
24472
- callback('地址必须包含“街”、“路”、“村”、“乡”、“镇”、“道”、“巷”、“号”等任意一个关键词');
24473
- }
24474
-
24475
- case 2:
24476
- case "end":
24477
- return _context.stop();
24478
- }
24479
- }
24480
- }, _callee);
24481
- }));
24482
-
24483
- function validator(_x, _x2, _x3) {
24484
- return _validator.apply(this, arguments);
24485
- }
24486
-
24487
- return validator;
24488
- }()
24489
- }]
24490
- })(readOnly ? /*#__PURE__*/React.createElement(MyDiv$3, null) : /*#__PURE__*/React.createElement(Input$2, {
24491
- autoComplete: 'off',
24492
- placeholder: "\u8BF7\u8F93\u5165\u8BE6\u7EC6\u5730\u5740"
24493
- })))), /*#__PURE__*/React.createElement(Col$1, {
24494
- span: 6
24495
- }, /*#__PURE__*/React.createElement(Form.Item, {
24496
- label: "\u79DF\u8D41\u671F\u8D77\u6B62"
24497
- }, getFieldDecorator("realEstateDataDto[".concat(index, "].leaseTerm"), {
24498
- rules: readOnly ? [] : [{
24499
- required: true,
24500
- message: '请输入租赁期'
24501
- }]
24502
- })(readOnly ? /*#__PURE__*/React.createElement(MyArrMoment, null) : /*#__PURE__*/React.createElement(RangePicker, {
24503
- style: {
24504
- width: '100%'
24505
- }
24506
- })))), /*#__PURE__*/React.createElement(Col$1, {
24507
- span: 6
24508
- }, /*#__PURE__*/React.createElement(Form.Item, {
24509
- label: "\u8DE8\u5730\uFF08\u5E02\uFF09\u6807\u5FD7"
24510
- }, getFieldDecorator("realEstateDataDto[".concat(index, "].crossCitiesSign"), {
24511
- rules: readOnly ? [] : [{
24512
- required: true,
24513
- message: '请选择跨地(市)标志'
24514
- }]
24515
- })(readOnly ? /*#__PURE__*/React.createElement(MyNY, null) : /*#__PURE__*/React.createElement(Select$2, {
24516
- placeholder: "\u8BF7\u9009\u62E9",
24517
- style: {
24518
- width: '100%'
24519
- }
24520
- }, /*#__PURE__*/React.createElement(Select$2.Option, {
24521
- value: 'Y'
24522
- }, "\u662F"), /*#__PURE__*/React.createElement(Select$2.Option, {
24523
- value: 'N'
24524
- }, "\u5426"))))), /*#__PURE__*/React.createElement(Col$1, {
24525
- span: 6
24526
- }, /*#__PURE__*/React.createElement(Form.Item, {
24527
- label: "\u4EA7\u6743\u8BC1\u4E66/\u4E0D\u52A8\u4EA7\u6743\u8BC1\u53F7"
24528
- }, getFieldDecorator("realEstateDataDto[".concat(index, "].realEstateNumber"), {
24529
- rules: readOnly ? [] : [{
24530
- required: true,
24531
- message: '请输入证书编号,若没有证书填写“无”'
24532
- }, {
24533
- max: 40,
24534
- message: '证书编号最多40个字符'
24535
- }]
24536
- })(readOnly ? /*#__PURE__*/React.createElement(MyDiv$3, null) : /*#__PURE__*/React.createElement(Input$2, {
24537
- autoComplete: 'off',
24538
- placeholder: "\u8BF7\u8F93\u5165\u8BC1\u4E66\u7F16\u53F7\uFF0C\u82E5\u6CA1\u6709\u8BC1\u4E66\u586B\u5199\u201C\u65E0\u201D"
24539
- })))), /*#__PURE__*/React.createElement(Col$1, {
24540
- span: 6
24541
- }, /*#__PURE__*/React.createElement(Form.Item, {
24542
- label: "\u9762\u79EF\u5355\u4F4D"
24543
- }, getFieldDecorator("realEstateDataDto[".concat(index, "].realEstateUnit"), {
24544
- rules: readOnly ? [] : [{
24545
- required: true,
24546
- message: '请选择面积单位'
24547
- }]
24548
- })(readOnly ? /*#__PURE__*/React.createElement(MyDiv$3, null) : /*#__PURE__*/React.createElement(Select$2, {
24549
- placeholder: "\u8BF7\u9009\u62E9",
24550
- style: {
24551
- width: '100%'
24552
- }
24553
- }, /*#__PURE__*/React.createElement(Select$2.Option, {
24554
- value: "\u5E73\u65B9\u5343\u7C73"
24555
- }, "\u5E73\u65B9\u5343\u7C73"), /*#__PURE__*/React.createElement(Select$2.Option, {
24556
- value: "\u5E73\u65B9\u7C73"
24557
- }, "\u5E73\u65B9\u7C73"), /*#__PURE__*/React.createElement(Select$2.Option, {
24558
- value: "\u516C\u9877"
24559
- }, "\u516C\u9877"), /*#__PURE__*/React.createElement(Select$2.Option, {
24560
- value: "\u4EA9"
24561
- }, "\u4EA9"), /*#__PURE__*/React.createElement(Select$2.Option, {
24562
- value: "h\u33A1"
24563
- }, "h\u33A1"), /*#__PURE__*/React.createElement(Select$2.Option, {
24564
- value: "k\u33A1"
24565
- }, "k\u33A1"), /*#__PURE__*/React.createElement(Select$2.Option, {
24566
- value: "\u33A1"
24567
- }, "\u33A1"))))));
24568
- }
24569
- });
24570
- };
24571
-
24572
24421
  return /*#__PURE__*/React.createElement("div", {
24573
24422
  className: "kts-invoice-operate-real-estate-info-digtal"
24574
24423
  }, /*#__PURE__*/React.createElement("div", {
24575
24424
  className: 'real-estate-info-digtal-label'
24576
- }, "\u7279\u5B9A\u4FE1\u606F-\u4E0D\u52A8\u4EA7\u7ECF\u8425\u79DF\u8D41\u670D\u52A1"), getList());
24425
+ }, "\u7279\u6B8A\u4FE1\u606F-\u4E0D\u52A8\u4EA7\u7ECF\u8425\u79DF\u8D41\u670D\u52A1"), /*#__PURE__*/React.createElement(Row$1, {
24426
+ gutter: [17, 0]
24427
+ }, /*#__PURE__*/React.createElement(Col$1, {
24428
+ span: 6
24429
+ }, /*#__PURE__*/React.createElement(Form.Item, {
24430
+ label: "\u4E0D\u52A8\u4EA7\u5730\u5740"
24431
+ }, getFieldDecorator('realEstateAddress', {
24432
+ rules: readOnly ? [] : [{
24433
+ required: true,
24434
+ message: '请选择不动产地址'
24435
+ }]
24436
+ })(readOnly ? /*#__PURE__*/React.createElement(MyArrString, null) : /*#__PURE__*/React.createElement(Cascader, {
24437
+ style: {
24438
+ width: '100%'
24439
+ },
24440
+ options: props.realEstateAddressOptions,
24441
+ fieldNames: props.realEstateAddressFieldNames,
24442
+ placeholder: "\u8BF7\u9009\u62E9\u7701\u5E02\u533A\u53BF"
24443
+ })))), /*#__PURE__*/React.createElement(Col$1, {
24444
+ span: 6
24445
+ }, /*#__PURE__*/React.createElement(Form.Item, {
24446
+ label: "\u8BE6\u7EC6\u5730\u5740"
24447
+ }, getFieldDecorator('realEstateDetailedAddress', {
24448
+ rules: readOnly ? [] : [{
24449
+ required: true,
24450
+ message: '请输入详细地址'
24451
+ }, {
24452
+ max: 120,
24453
+ message: '详细地址最多120个字符'
24454
+ }, {
24455
+ validator: function validator(_, value) {
24456
+ var pattern = /街|路|村|乡|镇|道|巷|号/;
24457
+ return pattern.test(value) ? Promise.resolve() : Promise.reject('地址必须包含“街”、“路”、“村”、“乡”、“镇”、“道”、“巷”、“号”等任意一个关键词');
24458
+ }
24459
+ }]
24460
+ })(readOnly ? /*#__PURE__*/React.createElement(MyDiv$3, null) : /*#__PURE__*/React.createElement(Input$2, {
24461
+ autoComplete: 'off',
24462
+ placeholder: "\u8BF7\u8F93\u5165\u8BE6\u7EC6\u5730\u5740"
24463
+ })))), /*#__PURE__*/React.createElement(Col$1, {
24464
+ span: 6
24465
+ }, /*#__PURE__*/React.createElement(Form.Item, {
24466
+ label: "\u79DF\u8D41\u671F\u8D77\u6B62"
24467
+ }, getFieldDecorator('leaseTerm', {
24468
+ rules: readOnly ? [] : [{
24469
+ required: true,
24470
+ message: '请输入租赁期'
24471
+ }]
24472
+ })(readOnly ? /*#__PURE__*/React.createElement(MyArrMoment, null) : /*#__PURE__*/React.createElement(RangePicker, {
24473
+ style: {
24474
+ width: '100%'
24475
+ }
24476
+ })))), /*#__PURE__*/React.createElement(Col$1, {
24477
+ span: 6
24478
+ }, /*#__PURE__*/React.createElement(Form.Item, {
24479
+ label: "\u8DE8\u5730\uFF08\u5E02\uFF09\u6807\u5FD7"
24480
+ }, getFieldDecorator('crossCitiesSign', {
24481
+ rules: readOnly ? [] : [{
24482
+ required: true,
24483
+ message: '请选择跨地(市)标志'
24484
+ }]
24485
+ })(readOnly ? /*#__PURE__*/React.createElement(MyNY, null) : /*#__PURE__*/React.createElement(Select$2, {
24486
+ placeholder: "\u8BF7\u9009\u62E9",
24487
+ style: {
24488
+ width: '100%'
24489
+ }
24490
+ }, /*#__PURE__*/React.createElement(Select$2.Option, {
24491
+ value: 'Y'
24492
+ }, "\u662F"), /*#__PURE__*/React.createElement(Select$2.Option, {
24493
+ value: 'N'
24494
+ }, "\u5426"))))), /*#__PURE__*/React.createElement(Col$1, {
24495
+ span: 6
24496
+ }, /*#__PURE__*/React.createElement(Form.Item, {
24497
+ label: "\u4EA7\u6743\u8BC1\u4E66/\u4E0D\u52A8\u4EA7\u6743\u8BC1\u53F7"
24498
+ }, getFieldDecorator('realEstateNumber', {
24499
+ rules: readOnly ? [] : [{
24500
+ required: true,
24501
+ message: '请输入证书编号,若没有证书填写“无”'
24502
+ }, {
24503
+ max: 40,
24504
+ message: '证书编号最多40个字符'
24505
+ }]
24506
+ })(readOnly ? /*#__PURE__*/React.createElement(MyDiv$3, null) : /*#__PURE__*/React.createElement(Input$2, {
24507
+ autoComplete: 'off',
24508
+ placeholder: "\u8BF7\u8F93\u5165\u8BC1\u4E66\u7F16\u53F7\uFF0C\u82E5\u6CA1\u6709\u8BC1\u4E66\u586B\u5199\u201C\u65E0\u201D"
24509
+ })))), /*#__PURE__*/React.createElement(Col$1, {
24510
+ span: 6
24511
+ }, /*#__PURE__*/React.createElement(Form.Item, {
24512
+ label: "\u9762\u79EF\u5355\u4F4D"
24513
+ }, getFieldDecorator('realEstateUnit', {
24514
+ rules: readOnly ? [] : [{
24515
+ required: true,
24516
+ message: '请选择面积单位'
24517
+ }]
24518
+ })(readOnly ? /*#__PURE__*/React.createElement(MyDiv$3, null) : /*#__PURE__*/React.createElement(Select$2, {
24519
+ placeholder: "\u8BF7\u9009\u62E9",
24520
+ style: {
24521
+ width: '100%'
24522
+ }
24523
+ }, /*#__PURE__*/React.createElement(Select$2.Option, {
24524
+ value: "\u5E73\u65B9\u5343\u7C73"
24525
+ }, "\u5E73\u65B9\u5343\u7C73"), /*#__PURE__*/React.createElement(Select$2.Option, {
24526
+ value: "\u5E73\u65B9\u7C73"
24527
+ }, "\u5E73\u65B9\u7C73"), /*#__PURE__*/React.createElement(Select$2.Option, {
24528
+ value: "\u516C\u9877"
24529
+ }, "\u516C\u9877"), /*#__PURE__*/React.createElement(Select$2.Option, {
24530
+ value: "\u4EA9"
24531
+ }, "\u4EA9"), /*#__PURE__*/React.createElement(Select$2.Option, {
24532
+ value: "h\u33A1"
24533
+ }, "h\u33A1"), /*#__PURE__*/React.createElement(Select$2.Option, {
24534
+ value: "k\u33A1"
24535
+ }, "k\u33A1"), /*#__PURE__*/React.createElement(Select$2.Option, {
24536
+ value: "\u33A1"
24537
+ }, "\u33A1")))))));
24577
24538
  });
24578
24539
 
24579
24540
  var MyDiv$3 = /*#__PURE__*/function (_React$Component) {
@@ -24649,7 +24610,7 @@ var MyArrMoment = /*#__PURE__*/function (_React$Component3) {
24649
24610
  color: '#9F603D',
24650
24611
  fontWeight: 600
24651
24612
  }
24652
- }, " - "), /*#__PURE__*/React.createElement("span", null, hooks.isMoment(value[1]) && value[1].format('YYYY-MM-DD')));
24613
+ }, " - "), /*#__PURE__*/React.createElement("span", null, hooks.isMoment(value[1]) && value[0].format('YYYY-MM-DD')));
24653
24614
  }
24654
24615
  }]);
24655
24616
 
@@ -24701,7 +24662,7 @@ var Architecture = decorator(Form.create())(function (props) {
24701
24662
  className: "kts-invoice-operate-real-estate-info-digtal"
24702
24663
  }, /*#__PURE__*/React.createElement("div", {
24703
24664
  className: 'real-estate-info-digtal-label'
24704
- }, "\u7279\u5B9A\u4FE1\u606F-\u5EFA\u7B51\u670D\u52A1"), /*#__PURE__*/React.createElement(Row$1, {
24665
+ }, "\u7279\u6B8A\u4FE1\u606F-\u5EFA\u7B51\u670D\u52A1"), /*#__PURE__*/React.createElement(Row$1, {
24705
24666
  gutter: [17, 0]
24706
24667
  }, /*#__PURE__*/React.createElement(Col$1, {
24707
24668
  span: 6
@@ -26307,7 +26268,7 @@ var Main$4 = decorator(Form.create())(function (props) {
26307
26268
  className: "kts-invoice-operate-freight"
26308
26269
  }, /*#__PURE__*/React.createElement("div", {
26309
26270
  className: 'real-estate-info-digtal-label'
26310
- }, "\u7279\u5B9A\u4FE1\u606F-\u8D27\u7269\u8FD0\u8F93"), /*#__PURE__*/React.createElement("div", {
26271
+ }, "\u7279\u6B8A\u4FE1\u606F-\u8D27\u7269\u8FD0\u8F93"), /*#__PURE__*/React.createElement("div", {
26311
26272
  className: "kts-invoice-operate-goods-list-digtal",
26312
26273
  onClick: function onClick(e) {
26313
26274
  e.stopPropagation();