kts-component-invoice-operate 4.0.1 → 4.0.3

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.
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import 'antd/dist/antd.css';
3
+ declare const _default: () => JSX.Element;
4
+ export default _default;
@@ -55,6 +55,8 @@ export default class Invoice extends React.PureComponent<IInvoiceProps> {
55
55
  static readonly SignDigtal: React.FunctionComponent<import("./ui/digtal/Sign").IBuyerProps>;
56
56
  /** 特殊信息-不动产经营租赁服务(数电) */
57
57
  static readonly RealEstateInfo: React.FunctionComponent<import("./ui/digtal/RealEstateInfo").RealEstateInfoProps>;
58
+ /** 特殊信息-不动产销售(数电) */
59
+ static readonly RealEstateSales: React.FunctionComponent<import("./ui/digtal/RealEstateSales").RealEstateInfoProps>;
58
60
  /** 特殊信息-建筑服务(数电) */
59
61
  static readonly Architecture: React.FunctionComponent<import("./ui/digtal/Architecture").RealEstateInfoProps>;
60
62
  static readonly FreightList: typeof FreightList;
@@ -0,0 +1,15 @@
1
+ import React from "react";
2
+ import './index.less';
3
+ export interface RealEstateInfoProps {
4
+ /**
5
+ * 不动产地址数据
6
+ */
7
+ realEstateAddressOptions?: any[];
8
+ /**
9
+ * 不动产地址数据字段名
10
+ */
11
+ realEstateAddressFieldNames?: any;
12
+ }
13
+ /** 特殊信息-不动产销售 */
14
+ declare const _default: React.FunctionComponent<RealEstateInfoProps>;
15
+ export default _default;
package/dist/index.esm.js CHANGED
@@ -24347,6 +24347,8 @@ var RealEstateInfo = decorator(Form.create())(function (props) {
24347
24347
  }
24348
24348
  }
24349
24349
 
24350
+ console.log(form.getFieldsValue());
24351
+ console.log('goodsList', goodsList);
24350
24352
  return goodsList.map(function (item, index) {
24351
24353
  if (item.lineAttribute === 0) {
24352
24354
  return /*#__PURE__*/React.createElement(Row$1, {
@@ -24370,14 +24372,8 @@ var RealEstateInfo = decorator(Form.create())(function (props) {
24370
24372
  style: {
24371
24373
  width: '100%'
24372
24374
  },
24373
- options: [{
24374
- "name": "北京市"
24375
- }] || props.realEstateAddressOptions,
24376
- fieldNames: {
24377
- label: 'name',
24378
- value: 'name',
24379
- children: 'children'
24380
- } || props.realEstateAddressFieldNames,
24375
+ options: props.realEstateAddressOptions,
24376
+ fieldNames: props.realEstateAddressFieldNames,
24381
24377
  placeholder: "\u8BF7\u9009\u62E9\u7701\u5E02\u533A\u53BF"
24382
24378
  })))), /*#__PURE__*/React.createElement(Col$1, {
24383
24379
  span: 6
@@ -24613,9 +24609,356 @@ var MyNY = /*#__PURE__*/function (_React$Component4) {
24613
24609
  return MyNY;
24614
24610
  }(React.Component);
24615
24611
 
24616
- var css_248z$s = ".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 .break-word {\n word-break: break-word;\n}\n";
24612
+ var css_248z$s = ".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";
24617
24613
  styleInject(css_248z$s);
24618
24614
 
24615
+ var RangePicker$1 = DatePicker.RangePicker;
24616
+ /** 特殊信息-不动产销售 */
24617
+
24618
+ var RealEstateSales = decorator(Form.create())(function (props) {
24619
+ /** 控制器 */
24620
+ var controller = Invoice.useInvoiceController();
24621
+ var form = props.form;
24622
+ var getFieldDecorator = form.getFieldDecorator;
24623
+ var model = controller.useMemo(function (s) {
24624
+ return s.model;
24625
+ }, []);
24626
+ var readOnly = React.useMemo(function () {
24627
+ return model === 'readOnly';
24628
+ }, [model]);
24629
+ var goodsList = controller.useMemo(function (s) {
24630
+ return s.goodsListState.goodsList;
24631
+ }, []);
24632
+ var indexRef = React.useRef([]);
24633
+ useEffect(function () {
24634
+ var dd = goodsList === null || goodsList === void 0 ? void 0 : goodsList.reduce(function (acc, cur) {
24635
+ if (cur.lineAttribute === 0) {
24636
+ acc.push(cur.$index);
24637
+ }
24638
+
24639
+ return acc;
24640
+ }, []);
24641
+ indexRef.current = dd;
24642
+ }, [goodsList, indexRef]); // 注册 form
24643
+
24644
+ controller.useForm('realEstateSales', form);
24645
+
24646
+ var getList = function getList() {
24647
+ var decrease = indexRef.current.length > goodsList.length;
24648
+
24649
+ if (decrease) {
24650
+ //已删行列表
24651
+ var diff = indexRef.current.filter(function (item) {
24652
+ return !goodsList.find(function (i) {
24653
+ return i.$index === item;
24654
+ });
24655
+ });
24656
+ var formData = form.getFieldValue('realEstateDataDto');
24657
+
24658
+ if (Array.isArray(formData) && diff.length > 0) {
24659
+ var newForm = formData === null || formData === void 0 ? void 0 : formData.filter(function (item) {
24660
+ return !diff.find(function (i) {
24661
+ return i === item.$index;
24662
+ });
24663
+ });
24664
+ form.setFieldsValue({
24665
+ realEstateDataDto: newForm
24666
+ });
24667
+ } else {
24668
+ form.setFieldsValue({
24669
+ realEstateDataDto: undefined
24670
+ });
24671
+ }
24672
+ }
24673
+
24674
+ return goodsList.map(function (item, index) {
24675
+ if (item.lineAttribute === 0) {
24676
+ return /*#__PURE__*/React.createElement(Row$1, {
24677
+ gutter: [17, 0]
24678
+ }, /*#__PURE__*/React.createElement(Col$1, {
24679
+ span: 6
24680
+ }, /*#__PURE__*/React.createElement(Form.Item, {
24681
+ label: "\u4E0D\u52A8\u4EA7\u5355\u5143\u4EE3\u7801"
24682
+ }, getFieldDecorator("realEstateDataDto[".concat(index, "].unitCode"), {
24683
+ rules: readOnly ? [] : []
24684
+ })(readOnly ? /*#__PURE__*/React.createElement(MyNY$1, null) : /*#__PURE__*/React.createElement(Input$2, {
24685
+ autoComplete: 'off'
24686
+ })))), /*#__PURE__*/React.createElement(Col$1, {
24687
+ span: 6
24688
+ }, /*#__PURE__*/React.createElement(Form.Item, {
24689
+ label: "\u7F51\u7B7E\u5408\u540C\u5907\u6848\u7F16\u53F7"
24690
+ }, getFieldDecorator("realEstateDataDto[".concat(index, "].contractNumber"), {
24691
+ rules: readOnly ? [] : []
24692
+ })(readOnly ? /*#__PURE__*/React.createElement(MyNY$1, null) : /*#__PURE__*/React.createElement(Input$2, {
24693
+ autoComplete: 'off'
24694
+ })))), /*#__PURE__*/React.createElement(Col$1, {
24695
+ span: 6
24696
+ }, /*#__PURE__*/React.createElement(Form.Item, {
24697
+ style: {
24698
+ display: 'none'
24699
+ }
24700
+ }, getFieldDecorator("realEstateDataDto[".concat(index, "].$index"), {
24701
+ initialValue: item.$index
24702
+ })( /*#__PURE__*/React.createElement(Input$2, null))), /*#__PURE__*/React.createElement(Form.Item, {
24703
+ label: "\u4E0D\u52A8\u4EA7\u5730\u5740"
24704
+ }, getFieldDecorator("realEstateDataDto[".concat(index, "].realEstateAddress"), {
24705
+ rules: readOnly ? [] : [{
24706
+ required: true,
24707
+ message: '请选择不动产地址'
24708
+ }]
24709
+ })(readOnly ? /*#__PURE__*/React.createElement(MyArrString$1, null) : /*#__PURE__*/React.createElement(Cascader, {
24710
+ style: {
24711
+ width: '100%'
24712
+ },
24713
+ options: props.realEstateAddressOptions,
24714
+ fieldNames: props.realEstateAddressFieldNames,
24715
+ placeholder: "\u8BF7\u9009\u62E9\u7701\u5E02\u533A\u53BF"
24716
+ })))), /*#__PURE__*/React.createElement(Col$1, {
24717
+ span: 6
24718
+ }, /*#__PURE__*/React.createElement(Form.Item, {
24719
+ label: "\u8BE6\u7EC6\u5730\u5740"
24720
+ }, getFieldDecorator("realEstateDataDto[".concat(index, "].realEstateDetailedAddress"), {
24721
+ rules: readOnly ? [] : [{
24722
+ required: true,
24723
+ message: '请输入详细地址'
24724
+ }, {
24725
+ max: 120,
24726
+ message: '详细地址最多120个字符'
24727
+ }, {
24728
+ validator: function () {
24729
+ var _validator = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(_, value, callback) {
24730
+ var pattern;
24731
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
24732
+ while (1) {
24733
+ switch (_context.prev = _context.next) {
24734
+ case 0:
24735
+ pattern = /街|路|村|乡|镇|道|巷|号/;
24736
+
24737
+ if (pattern.test(value)) {
24738
+ callback();
24739
+ } else {
24740
+ callback('地址必须包含“街”、“路”、“村”、“乡”、“镇”、“道”、“巷”、“号”等任意一个关键词');
24741
+ }
24742
+
24743
+ case 2:
24744
+ case "end":
24745
+ return _context.stop();
24746
+ }
24747
+ }
24748
+ }, _callee);
24749
+ }));
24750
+
24751
+ function validator(_x, _x2, _x3) {
24752
+ return _validator.apply(this, arguments);
24753
+ }
24754
+
24755
+ return validator;
24756
+ }()
24757
+ }]
24758
+ })(readOnly ? /*#__PURE__*/React.createElement(MyDiv$4, null) : /*#__PURE__*/React.createElement(Input$2, {
24759
+ autoComplete: 'off',
24760
+ placeholder: "\u8BF7\u8F93\u5165\u8BE6\u7EC6\u5730\u5740"
24761
+ })))), /*#__PURE__*/React.createElement(Col$1, {
24762
+ span: 6
24763
+ }, /*#__PURE__*/React.createElement(Form.Item, {
24764
+ label: "\u8DE8\u5730\uFF08\u5E02\uFF09\u6807\u5FD7"
24765
+ }, getFieldDecorator("realEstateDataDto[".concat(index, "].crossCitiesSign"), {
24766
+ rules: readOnly ? [] : [{
24767
+ required: true,
24768
+ message: '请选择跨地(市)标志'
24769
+ }]
24770
+ })(readOnly ? /*#__PURE__*/React.createElement(MyNY$1, null) : /*#__PURE__*/React.createElement(Select$2, {
24771
+ placeholder: "\u8BF7\u9009\u62E9",
24772
+ style: {
24773
+ width: '100%'
24774
+ }
24775
+ }, /*#__PURE__*/React.createElement(Select$2.Option, {
24776
+ value: 'Y'
24777
+ }, "\u662F"), /*#__PURE__*/React.createElement(Select$2.Option, {
24778
+ value: 'N'
24779
+ }, "\u5426"))))), /*#__PURE__*/React.createElement(Col$1, {
24780
+ span: 6
24781
+ }, /*#__PURE__*/React.createElement(Form.Item, {
24782
+ label: "\u571F\u5730\u589E\u503C\u7A0E\u9879\u76EE\u7F16\u53F7"
24783
+ }, getFieldDecorator("realEstateDataDto[".concat(index, "].landTaxProjNo"), {
24784
+ rules: readOnly ? [] : []
24785
+ })(readOnly ? /*#__PURE__*/React.createElement(MyArrMoment$1, null) : /*#__PURE__*/React.createElement(Input$2, {
24786
+ autoComplete: 'off'
24787
+ })))), /*#__PURE__*/React.createElement(Col$1, {
24788
+ span: 6
24789
+ }, /*#__PURE__*/React.createElement(Form.Item, {
24790
+ label: "\u6838\u5B9A\u8BA1\u7A0E\u4EF7\u683C"
24791
+ }, getFieldDecorator("realEstateDataDto[".concat(index, "].approvedTaxableAmount"), {
24792
+ rules: readOnly ? [] : []
24793
+ })(readOnly ? /*#__PURE__*/React.createElement(MyArrMoment$1, null) : /*#__PURE__*/React.createElement(Input$2, {
24794
+ autoComplete: 'off',
24795
+ type: "number"
24796
+ })))), /*#__PURE__*/React.createElement(Col$1, {
24797
+ span: 6
24798
+ }, /*#__PURE__*/React.createElement(Form.Item, {
24799
+ label: "\u5B9E\u9645\u6210\u4EA4\u542B\u7A0E\u91D1\u989D"
24800
+ }, getFieldDecorator("realEstateDataDto[".concat(index, "].tradedIncludeAmount"), {
24801
+ rules: readOnly ? [] : []
24802
+ })(readOnly ? /*#__PURE__*/React.createElement(MyArrMoment$1, null) : /*#__PURE__*/React.createElement(Input$2, {
24803
+ autoComplete: 'off',
24804
+ type: "number"
24805
+ })))), /*#__PURE__*/React.createElement(Col$1, {
24806
+ span: 6
24807
+ }, /*#__PURE__*/React.createElement(Form.Item, {
24808
+ label: "\u623F\u5C4B\u4EA7\u6743\u8BC1\u4E66/\u4E0D\u52A8\u4EA7\u6743\u8BC1\u53F7"
24809
+ }, getFieldDecorator("realEstateDataDto[".concat(index, "].realEstateNumber"), {
24810
+ rules: readOnly ? [] : [{
24811
+ max: 40,
24812
+ message: '证书编号最多40个字符'
24813
+ }]
24814
+ })(readOnly ? /*#__PURE__*/React.createElement(MyDiv$4, null) : /*#__PURE__*/React.createElement(Input$2, {
24815
+ autoComplete: 'off'
24816
+ })))), /*#__PURE__*/React.createElement(Col$1, {
24817
+ span: 6
24818
+ }, /*#__PURE__*/React.createElement(Form.Item, {
24819
+ label: "\u9762\u79EF\u5355\u4F4D"
24820
+ }, getFieldDecorator("realEstateDataDto[".concat(index, "].realEstateUnit"), {
24821
+ rules: readOnly ? [] : [{
24822
+ required: true,
24823
+ message: '请选择面积单位'
24824
+ }]
24825
+ })(readOnly ? /*#__PURE__*/React.createElement(MyDiv$4, null) : /*#__PURE__*/React.createElement(Select$2, {
24826
+ placeholder: "\u8BF7\u9009\u62E9",
24827
+ style: {
24828
+ width: '100%'
24829
+ }
24830
+ }, /*#__PURE__*/React.createElement(Select$2.Option, {
24831
+ value: "\u5E73\u65B9\u5343\u7C73"
24832
+ }, "\u5E73\u65B9\u5343\u7C73"), /*#__PURE__*/React.createElement(Select$2.Option, {
24833
+ value: "\u5E73\u65B9\u7C73"
24834
+ }, "\u5E73\u65B9\u7C73"), /*#__PURE__*/React.createElement(Select$2.Option, {
24835
+ value: "\u516C\u9877"
24836
+ }, "\u516C\u9877"), /*#__PURE__*/React.createElement(Select$2.Option, {
24837
+ value: "\u4EA9"
24838
+ }, "\u4EA9"), /*#__PURE__*/React.createElement(Select$2.Option, {
24839
+ value: "h\u33A1"
24840
+ }, "h\u33A1"), /*#__PURE__*/React.createElement(Select$2.Option, {
24841
+ value: "k\u33A1"
24842
+ }, "k\u33A1"), /*#__PURE__*/React.createElement(Select$2.Option, {
24843
+ value: "\u33A1"
24844
+ }, "\u33A1"))))));
24845
+ }
24846
+ });
24847
+ };
24848
+
24849
+ return /*#__PURE__*/React.createElement("div", {
24850
+ className: "kts-invoice-operate-real-estate-info-digtal"
24851
+ }, /*#__PURE__*/React.createElement("div", {
24852
+ className: 'real-estate-info-digtal-label'
24853
+ }, "\u7279\u6B8A\u4FE1\u606F-\u4E0D\u52A8\u4EA7\u9500\u552E"), getList());
24854
+ });
24855
+
24856
+ var MyDiv$4 = /*#__PURE__*/function (_React$Component) {
24857
+ _inherits(MyDiv, _React$Component);
24858
+
24859
+ var _super = _createSuper(MyDiv);
24860
+
24861
+ function MyDiv() {
24862
+ _classCallCheck(this, MyDiv);
24863
+
24864
+ return _super.apply(this, arguments);
24865
+ }
24866
+
24867
+ _createClass(MyDiv, [{
24868
+ key: "render",
24869
+ value: function render() {
24870
+ return /*#__PURE__*/React.createElement("div", {
24871
+ style: this.props.style
24872
+ }, this.props.value);
24873
+ }
24874
+ }]);
24875
+
24876
+ return MyDiv;
24877
+ }(React.Component);
24878
+
24879
+ var MyArrString$1 = /*#__PURE__*/function (_React$Component2) {
24880
+ _inherits(MyArrString, _React$Component2);
24881
+
24882
+ var _super2 = _createSuper(MyArrString);
24883
+
24884
+ function MyArrString() {
24885
+ _classCallCheck(this, MyArrString);
24886
+
24887
+ return _super2.apply(this, arguments);
24888
+ }
24889
+
24890
+ _createClass(MyArrString, [{
24891
+ key: "render",
24892
+ value: function render() {
24893
+ var _this$props$value;
24894
+
24895
+ return /*#__PURE__*/React.createElement("div", {
24896
+ style: this.props.style
24897
+ }, (_this$props$value = this.props.value) === null || _this$props$value === void 0 ? void 0 : _this$props$value.filter(function (e) {
24898
+ return !!e;
24899
+ }).join(','));
24900
+ }
24901
+ }]);
24902
+
24903
+ return MyArrString;
24904
+ }(React.Component);
24905
+
24906
+ var MyArrMoment$1 = /*#__PURE__*/function (_React$Component3) {
24907
+ _inherits(MyArrMoment, _React$Component3);
24908
+
24909
+ var _super3 = _createSuper(MyArrMoment);
24910
+
24911
+ function MyArrMoment() {
24912
+ _classCallCheck(this, MyArrMoment);
24913
+
24914
+ return _super3.apply(this, arguments);
24915
+ }
24916
+
24917
+ _createClass(MyArrMoment, [{
24918
+ key: "render",
24919
+ value: function render() {
24920
+ var _this$props$value2 = this.props.value,
24921
+ value = _this$props$value2 === void 0 ? [] : _this$props$value2;
24922
+ return /*#__PURE__*/React.createElement("div", {
24923
+ style: this.props.style
24924
+ }, /*#__PURE__*/React.createElement("span", null, hooks.isMoment(value[0]) && value[0].format('YYYY-MM-DD')), /*#__PURE__*/React.createElement("span", {
24925
+ style: {
24926
+ color: '#9F603D',
24927
+ fontWeight: 600
24928
+ }
24929
+ }, " - "), /*#__PURE__*/React.createElement("span", null, hooks.isMoment(value[1]) && value[0].format('YYYY-MM-DD')));
24930
+ }
24931
+ }]);
24932
+
24933
+ return MyArrMoment;
24934
+ }(React.Component);
24935
+
24936
+ var MyNY$1 = /*#__PURE__*/function (_React$Component4) {
24937
+ _inherits(MyNY, _React$Component4);
24938
+
24939
+ var _super4 = _createSuper(MyNY);
24940
+
24941
+ function MyNY() {
24942
+ _classCallCheck(this, MyNY);
24943
+
24944
+ return _super4.apply(this, arguments);
24945
+ }
24946
+
24947
+ _createClass(MyNY, [{
24948
+ key: "render",
24949
+ value: function render() {
24950
+ return /*#__PURE__*/React.createElement("div", {
24951
+ style: this.props.style
24952
+ }, this.props.value === 'Y' ? '是' : '否');
24953
+ }
24954
+ }]);
24955
+
24956
+ return MyNY;
24957
+ }(React.Component);
24958
+
24959
+ var css_248z$t = ".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 .break-word {\n word-break: break-word;\n}\n";
24960
+ styleInject(css_248z$t);
24961
+
24619
24962
  /** 特殊信息-建筑服务 */
24620
24963
 
24621
24964
  var Architecture = decorator(Form.create())(function (props) {
@@ -24646,7 +24989,7 @@ var Architecture = decorator(Form.create())(function (props) {
24646
24989
  max: 16,
24647
24990
  message: '最多16个字符'
24648
24991
  }]
24649
- })(readOnly ? /*#__PURE__*/React.createElement(MyDiv$4, null) : /*#__PURE__*/React.createElement(Input$2, {
24992
+ })(readOnly ? /*#__PURE__*/React.createElement(MyDiv$5, null) : /*#__PURE__*/React.createElement(Input$2, {
24650
24993
  maxLength: 16,
24651
24994
  autoComplete: 'off',
24652
24995
  placeholder: "\u8BF7\u8F93\u5165"
@@ -24659,7 +25002,7 @@ var Architecture = decorator(Form.create())(function (props) {
24659
25002
  required: true,
24660
25003
  message: '请选择省市区县'
24661
25004
  }]
24662
- })(readOnly ? /*#__PURE__*/React.createElement(MyArrString$1, null) : /*#__PURE__*/React.createElement(Cascader, {
25005
+ })(readOnly ? /*#__PURE__*/React.createElement(MyArrString$2, null) : /*#__PURE__*/React.createElement(Cascader, {
24663
25006
  style: {
24664
25007
  width: '100%'
24665
25008
  },
@@ -24684,7 +25027,7 @@ var Architecture = decorator(Form.create())(function (props) {
24684
25027
  return pattern.test(value) ? Promise.resolve() : Promise.reject('地址必须包含“街”、“路”、“村”、“乡”、“镇”、“道”、“巷”、“号”等任意一个关键词');
24685
25028
  }
24686
25029
  }]
24687
- })(readOnly ? /*#__PURE__*/React.createElement(MyDiv$4, null) : /*#__PURE__*/React.createElement(Input$2, {
25030
+ })(readOnly ? /*#__PURE__*/React.createElement(MyDiv$5, null) : /*#__PURE__*/React.createElement(Input$2, {
24688
25031
  autoComplete: 'off',
24689
25032
  placeholder: "\u8BF7\u8F93\u5165\u8BE6\u7EC6\u5730\u5740"
24690
25033
  })))), /*#__PURE__*/React.createElement(Col$1, {
@@ -24696,7 +25039,7 @@ var Architecture = decorator(Form.create())(function (props) {
24696
25039
  required: true,
24697
25040
  message: '请选择跨地(市)标志'
24698
25041
  }]
24699
- })(readOnly ? /*#__PURE__*/React.createElement(MyNY$1, null) : /*#__PURE__*/React.createElement(Select$2, {
25042
+ })(readOnly ? /*#__PURE__*/React.createElement(MyNY$2, null) : /*#__PURE__*/React.createElement(Select$2, {
24700
25043
  placeholder: "\u8BF7\u9009\u62E9",
24701
25044
  style: {
24702
25045
  width: '100%'
@@ -24717,13 +25060,13 @@ var Architecture = decorator(Form.create())(function (props) {
24717
25060
  max: 200,
24718
25061
  message: '建筑项目名称最多200个字符'
24719
25062
  }]
24720
- })(readOnly ? /*#__PURE__*/React.createElement(MyDiv$4, null) : /*#__PURE__*/React.createElement(Input$2, {
25063
+ })(readOnly ? /*#__PURE__*/React.createElement(MyDiv$5, null) : /*#__PURE__*/React.createElement(Input$2, {
24721
25064
  autoComplete: 'off',
24722
25065
  placeholder: "\u8BF7\u8F93\u5165"
24723
25066
  }))))));
24724
25067
  });
24725
25068
 
24726
- var MyDiv$4 = /*#__PURE__*/function (_React$Component) {
25069
+ var MyDiv$5 = /*#__PURE__*/function (_React$Component) {
24727
25070
  _inherits(MyDiv, _React$Component);
24728
25071
 
24729
25072
  var _super = _createSuper(MyDiv);
@@ -24746,7 +25089,7 @@ var MyDiv$4 = /*#__PURE__*/function (_React$Component) {
24746
25089
  return MyDiv;
24747
25090
  }(React.Component);
24748
25091
 
24749
- var MyArrString$1 = /*#__PURE__*/function (_React$Component2) {
25092
+ var MyArrString$2 = /*#__PURE__*/function (_React$Component2) {
24750
25093
  _inherits(MyArrString, _React$Component2);
24751
25094
 
24752
25095
  var _super2 = _createSuper(MyArrString);
@@ -24773,7 +25116,7 @@ var MyArrString$1 = /*#__PURE__*/function (_React$Component2) {
24773
25116
  return MyArrString;
24774
25117
  }(React.Component);
24775
25118
 
24776
- var MyArrMoment$1 = /*#__PURE__*/function (_React$Component3) {
25119
+ var MyArrMoment$2 = /*#__PURE__*/function (_React$Component3) {
24777
25120
  _inherits(MyArrMoment, _React$Component3);
24778
25121
 
24779
25122
  var _super3 = _createSuper(MyArrMoment);
@@ -24803,7 +25146,7 @@ var MyArrMoment$1 = /*#__PURE__*/function (_React$Component3) {
24803
25146
  return MyArrMoment;
24804
25147
  }(React.Component);
24805
25148
 
24806
- var MyNY$1 = /*#__PURE__*/function (_React$Component4) {
25149
+ var MyNY$2 = /*#__PURE__*/function (_React$Component4) {
24807
25150
  _inherits(MyNY, _React$Component4);
24808
25151
 
24809
25152
  var _super4 = _createSuper(MyNY);
@@ -24826,8 +25169,8 @@ var MyNY$1 = /*#__PURE__*/function (_React$Component4) {
24826
25169
  return MyNY;
24827
25170
  }(React.Component);
24828
25171
 
24829
- var css_248z$t = ".kts-invoice-operate-goods-table-virtual .ktsAntX-table-body {\n height: 280px;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table.ktsAntX-table-bordered > .ktsAntX-table-container > .ktsAntX-table-header > table > thead > tr > th {\n padding: 0 10px;\n height: 32px;\n background: #f4f4f4;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table.ktsAntX-table-bordered > .ktsAntX-table-container > .ktsAntX-table-body > table > tbody > tr > td {\n padding: 0;\n height: 32px;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table .ktsAntX-table-body {\n position: relative;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table .ktsAntX-table-body > table {\n position: absolute;\n left: 0;\n top: 0;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table .ktsAntX-table-tbody {\n position: relative;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-checkbox-wrapper .ktsAntX-checkbox-inner {\n width: 16px;\n height: 16px;\n border: 1px solid #d9d9d9;\n border-radius: 2px;\n top: 1px;\n}\n";
24830
- styleInject(css_248z$t);
25172
+ var css_248z$u = ".kts-invoice-operate-goods-table-virtual .ktsAntX-table-body {\n height: 280px;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table.ktsAntX-table-bordered > .ktsAntX-table-container > .ktsAntX-table-header > table > thead > tr > th {\n padding: 0 10px;\n height: 32px;\n background: #f4f4f4;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table.ktsAntX-table-bordered > .ktsAntX-table-container > .ktsAntX-table-body > table > tbody > tr > td {\n padding: 0;\n height: 32px;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table .ktsAntX-table-body {\n position: relative;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table .ktsAntX-table-body > table {\n position: absolute;\n left: 0;\n top: 0;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table .ktsAntX-table-tbody {\n position: relative;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-checkbox-wrapper .ktsAntX-checkbox-inner {\n width: 16px;\n height: 16px;\n border: 1px solid #d9d9d9;\n border-radius: 2px;\n top: 1px;\n}\n";
25173
+ styleInject(css_248z$u);
24831
25174
 
24832
25175
  function TableVirtual$2 (props) {
24833
25176
  var _props$dataSource2;
@@ -25125,8 +25468,8 @@ function _rollBottom$2() {
25125
25468
  return _rollBottom$2.apply(this, arguments);
25126
25469
  }
25127
25470
 
25128
- var css_248z$u = ".kts-invoice-operate-goods-list-itemName-drag-container-u {\n position: relative;\n}\n.kts-invoice-operate-goods-list-itemName-drag-container-u::after {\n content: \" \";\n width: 100%;\n height: 2px;\n background: #0074ff;\n position: absolute;\n left: 0;\n top: 0;\n z-index: 9999;\n}\n.kts-invoice-operate-goods-list-itemName-drag-container-d {\n position: relative;\n}\n.kts-invoice-operate-goods-list-itemName-drag-container-d::after {\n content: \" \";\n width: 100%;\n height: 2px;\n background: #0074ff;\n position: absolute;\n left: 0;\n bottom: 0;\n z-index: 9999;\n}\n";
25129
- styleInject(css_248z$u);
25471
+ var css_248z$v = ".kts-invoice-operate-goods-list-itemName-drag-container-u {\n position: relative;\n}\n.kts-invoice-operate-goods-list-itemName-drag-container-u::after {\n content: \" \";\n width: 100%;\n height: 2px;\n background: #0074ff;\n position: absolute;\n left: 0;\n top: 0;\n z-index: 9999;\n}\n.kts-invoice-operate-goods-list-itemName-drag-container-d {\n position: relative;\n}\n.kts-invoice-operate-goods-list-itemName-drag-container-d::after {\n content: \" \";\n width: 100%;\n height: 2px;\n background: #0074ff;\n position: absolute;\n left: 0;\n bottom: 0;\n z-index: 9999;\n}\n";
25472
+ styleInject(css_248z$v);
25130
25473
 
25131
25474
  function TableRow$2(props) {
25132
25475
  var rowKey = props['data-row-key'];
@@ -26048,8 +26391,8 @@ var useDelRowButton$2 = (function () {
26048
26391
  };
26049
26392
  });
26050
26393
 
26051
- var css_248z$v = ".kts-invoice-operate-freight {\n border-bottom: 2px solid #9F613E;\n border-left: 2px solid #9F613E;\n border-right: 2px solid #9F613E;\n}\n.kts-invoice-operate-freight .real-estate-info-digtal-label {\n padding: 20px 20px 0;\n color: #9F613E;\n font-weight: bold;\n}\n.kts-invoice-operate-freight .ktsAnt3x-row.ktsAnt3x-form-item {\n margin-bottom: 0;\n}\n.kts-invoice-operate-goods-list-digtal .goods-list-digtal-discount-tag {\n display: inline-block;\n height: 20px;\n line-height: 20px;\n border: 1px solid;\n padding: 0 5px;\n border-radius: 4px;\n}\n.kts-invoice-operate-goods-list-digtal .kts-invoice-operate-goods-list-table-tax-rate .ktsAnt3x-select-selection-selected-value {\n float: right;\n}\n.kts-invoice-operate-goods-list-digtal .kts-invoice-operate-freight-list-able {\n display: flex;\n padding: 10px;\n border-bottom: 2px solid #9F613E;\n gap: 10px;\n align-items: center;\n}\n.kts-invoice-operate-goods-list-digtal .ktsAntX-table .ktsAntX-table-row.kts-invoice-operate-goods-be-discount .ktsAntX-table-cell {\n color: #f00;\n}\n.kts-invoice-operate-goods-list-table-digtal .ktsAnt3x-form-item-control.has-error {\n border: 1px solid #f00;\n}\n.kts-invoice-operate-goods-list-table-digtal .kts-invoice-operate-goods-list-table.kts-invoice-operate-prefab .ktsAnt3x-table-row {\n color: rgba(0, 0, 0, 0.25);\n background: #f5f5f5;\n}\n.kts-invoice-operate-goods-list-table-digtal .kts-invoice-operate-goods-list-table-search-protrude {\n background: #ff0;\n color: #000;\n font-weight: bold;\n}\n";
26052
- styleInject(css_248z$v);
26394
+ var css_248z$w = ".kts-invoice-operate-freight {\n border-bottom: 2px solid #9F613E;\n border-left: 2px solid #9F613E;\n border-right: 2px solid #9F613E;\n}\n.kts-invoice-operate-freight .real-estate-info-digtal-label {\n padding: 20px 20px 0;\n color: #9F613E;\n font-weight: bold;\n}\n.kts-invoice-operate-freight .ktsAnt3x-row.ktsAnt3x-form-item {\n margin-bottom: 0;\n}\n.kts-invoice-operate-goods-list-digtal .goods-list-digtal-discount-tag {\n display: inline-block;\n height: 20px;\n line-height: 20px;\n border: 1px solid;\n padding: 0 5px;\n border-radius: 4px;\n}\n.kts-invoice-operate-goods-list-digtal .kts-invoice-operate-goods-list-table-tax-rate .ktsAnt3x-select-selection-selected-value {\n float: right;\n}\n.kts-invoice-operate-goods-list-digtal .kts-invoice-operate-freight-list-able {\n display: flex;\n padding: 10px;\n border-bottom: 2px solid #9F613E;\n gap: 10px;\n align-items: center;\n}\n.kts-invoice-operate-goods-list-digtal .ktsAntX-table .ktsAntX-table-row.kts-invoice-operate-goods-be-discount .ktsAntX-table-cell {\n color: #f00;\n}\n.kts-invoice-operate-goods-list-table-digtal .ktsAnt3x-form-item-control.has-error {\n border: 1px solid #f00;\n}\n.kts-invoice-operate-goods-list-table-digtal .kts-invoice-operate-goods-list-table.kts-invoice-operate-prefab .ktsAnt3x-table-row {\n color: rgba(0, 0, 0, 0.25);\n background: #f5f5f5;\n}\n.kts-invoice-operate-goods-list-table-digtal .kts-invoice-operate-goods-list-table-search-protrude {\n background: #ff0;\n color: #000;\n font-weight: bold;\n}\n";
26395
+ styleInject(css_248z$w);
26053
26396
 
26054
26397
  var FreightList = /*#__PURE__*/function (_React$Component) {
26055
26398
  _inherits(FreightList, _React$Component);
@@ -26655,8 +26998,8 @@ var getItemCode = function getItemCode(record, editGood) {
26655
26998
  return record.productCode;
26656
26999
  };
26657
27000
 
26658
- var css_248z$w = ".kts-invoice-operate-goods-endow-code-button-list {\n display: flex;\n flex-direction: column;\n}\n.kts-invoice-operate-goods-endow-code-button-list > button {\n margin-bottom: 10px;\n}\n";
26659
- styleInject(css_248z$w);
27001
+ var css_248z$x = ".kts-invoice-operate-goods-endow-code-button-list {\n display: flex;\n flex-direction: column;\n}\n.kts-invoice-operate-goods-endow-code-button-list > button {\n margin-bottom: 10px;\n}\n";
27002
+ styleInject(css_248z$x);
26660
27003
 
26661
27004
  var TreeNode = Tree.TreeNode;
26662
27005
  var confirm = Modal$1.confirm;
@@ -27904,6 +28247,8 @@ var Invoice = /*#__PURE__*/function (_React$PureComponent) {
27904
28247
 
27905
28248
  /** 特殊信息-不动产经营租赁服务(数电) */
27906
28249
 
28250
+ /** 特殊信息-不动产销售(数电) */
28251
+
27907
28252
  /** 特殊信息-建筑服务(数电) */
27908
28253
 
27909
28254
  /** 货物列表(数电) */
@@ -27940,6 +28285,7 @@ Invoice.Stakeholder = Stakeholder$1;
27940
28285
  Invoice.StakeFarmerholder = StakeFarmerholder;
27941
28286
  Invoice.SignDigtal = SignDigtal;
27942
28287
  Invoice.RealEstateInfo = RealEstateInfo;
28288
+ Invoice.RealEstateSales = RealEstateSales;
27943
28289
  Invoice.Architecture = Architecture;
27944
28290
  Invoice.FreightList = FreightList;
27945
28291
  Invoice.GoodsListDigtal = GoodsList$1;
@@ -28059,8 +28405,8 @@ var Digtal = function Digtal(props) {
28059
28405
  ), /*#__PURE__*/React.createElement(ImportGoodsDrawer, null), /*#__PURE__*/React.createElement(EndowCodeDrawer, null));
28060
28406
  };
28061
28407
 
28062
- var css_248z$x = ".taxdetailsbox {\n display: flex;\n justify-content: flex-start;\n flex-direction: row;\n}\n.taxdetailsbox .taxrightbox {\n width: 340px;\n position: absolute;\n right: 30px;\n top: 79px;\n bottom: 50px;\n min-height: 300px;\n}\n.taxdetailsbox .taxrightbox .taxdesc {\n height: calc(100vh - 323px);\n min-height: 105px;\n overflow: auto;\n}\n";
28063
- styleInject(css_248z$x);
28408
+ var css_248z$y = ".taxdetailsbox {\n display: flex;\n justify-content: flex-start;\n flex-direction: row;\n}\n.taxdetailsbox .taxrightbox {\n width: 340px;\n position: absolute;\n right: 30px;\n top: 79px;\n bottom: 50px;\n min-height: 300px;\n}\n.taxdetailsbox .taxrightbox .taxdesc {\n height: calc(100vh - 323px);\n min-height: 105px;\n overflow: auto;\n}\n";
28409
+ styleInject(css_248z$y);
28064
28410
 
28065
28411
  function TaxClassificationModal(props) {
28066
28412
  var _props$info6;