kts-component-invoice-operate 3.2.237 → 3.2.238-fuling
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/README.md +0 -4
- package/dist/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/IGood/index.d.ts +0 -1
- package/dist/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/ImportGoods/index.d.ts +0 -2
- package/dist/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/index.d.ts +0 -2
- package/dist/Invoice/ui/default/GoodsList/index.d.ts +0 -1
- package/dist/Invoice/ui/default/GoodsList/ui/AddRowButton/index.d.ts +1 -1
- package/dist/Invoice/ui/digtal/GoodsList/index.d.ts +0 -1
- package/dist/Invoice/ui/digtal/GoodsList/ui/TaxIncludedSwitch/index.d.ts +1 -4
- package/dist/index.esm.js +305 -707
- package/dist/index.js +304 -706
- package/package.json +1 -1
- package/src/Invoice/Invoice-digtal/_test/easiest/index.tsx +1 -1
- package/src/Invoice/Invoice-digtal/_test/realEstateInfo/index.tsx +7 -69
- package/src/Invoice/Invoice-digtal/index.md +9 -2
- package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/IGood/index.ts +0 -2
- package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/ImportGoods/index.ts +0 -3
- package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/index.ts +0 -3
- package/src/Invoice/InvoiceController/fns/saveEditGood.ts +2 -2
- package/src/Invoice/_test/deduction/index.tsx +6 -28
- package/src/Invoice/index.md +4 -4
- package/src/Invoice/ui/default/GoodsList/index.tsx +1 -3
- package/src/Invoice/ui/default/GoodsList/ui/AddRowButton/index.tsx +1 -8
- package/src/Invoice/ui/default/ImportGoodsDrawer/index.tsx +1 -4
- package/src/Invoice/ui/digtal/Architecture/index.tsx +1 -1
- package/src/Invoice/ui/digtal/FreightList/index.tsx +1 -1
- package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/index.tsx +23 -37
- package/src/Invoice/ui/digtal/GoodsList/index.tsx +1 -3
- package/src/Invoice/ui/digtal/GoodsList/ui/AddRowButton/index.tsx +10 -20
- package/src/Invoice/ui/digtal/GoodsList/ui/TableVirtual/index.tsx +6 -11
- package/src/Invoice/ui/digtal/GoodsList/ui/TaxIncludedSwitch/index.tsx +2 -5
- package/src/Invoice/ui/digtal/RealEstateInfo/index.less +0 -7
- package/src/Invoice/ui/digtal/RealEstateInfo/index.tsx +104 -363
- package/src/Invoice/ui/digtal/StakeFarmerholder/index.tsx +65 -9
- package/src/Invoice/ui/digtal/Stakeholder/index.tsx +4 -22
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,
|
|
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
|
|
|
@@ -981,7 +981,6 @@ var ImportGoods = /*#__PURE__*/_createClass(function ImportGoods() {
|
|
|
981
981
|
this.dataSource = [];
|
|
982
982
|
this.pagination = {};
|
|
983
983
|
this.isVisibleDrawer = false;
|
|
984
|
-
this.filter = {};
|
|
985
984
|
this.topExpand = void 0;
|
|
986
985
|
|
|
987
986
|
this.verifyFn = /*#__PURE__*/function () {
|
|
@@ -1175,7 +1174,6 @@ var GoodsListState = /*#__PURE__*/_createClass(function GoodsListState() {
|
|
|
1175
1174
|
this.isSalesGifts = false;
|
|
1176
1175
|
this.addComparisonIndex = void 0;
|
|
1177
1176
|
this.drag = new Drag();
|
|
1178
|
-
this.isValidateGood = true;
|
|
1179
1177
|
});
|
|
1180
1178
|
|
|
1181
1179
|
var FreightListState = /*#__PURE__*/_createClass(function FreightListState() {
|
|
@@ -2219,7 +2217,7 @@ var saveEditGood = /*#__PURE__*/(function () {
|
|
|
2219
2217
|
switch (_context.prev = _context.next) {
|
|
2220
2218
|
case 0:
|
|
2221
2219
|
editGood = state.goodsListState.editGood;
|
|
2222
|
-
form = state.goodsListState.form;
|
|
2220
|
+
form = state.goodsListState.form;
|
|
2223
2221
|
|
|
2224
2222
|
if (!(!editGood || !form || state.goodsListState.importGoods.isVisibleDrawer || state.calculatingField)) {
|
|
2225
2223
|
_context.next = 4;
|
|
@@ -10969,7 +10967,7 @@ var Statistics = (function () {
|
|
|
10969
10967
|
}, /*#__PURE__*/React.createElement("label", null, "\uFF08\u5C0F\u5199\uFF09 ", lineAmountIncludeTax === '' ? '' : parseFloat(lineAmountIncludeTax).toFixed(2)))));
|
|
10970
10968
|
});
|
|
10971
10969
|
|
|
10972
|
-
var AddRowButton = (function (
|
|
10970
|
+
var AddRowButton = (function () {
|
|
10973
10971
|
var controller = Invoice.useInvoiceController();
|
|
10974
10972
|
var model = controller.useMemo(function (s) {
|
|
10975
10973
|
return s.model;
|
|
@@ -11002,54 +11000,24 @@ var AddRowButton = (function (props) {
|
|
|
11002
11000
|
var disabled = React.useMemo(function () {
|
|
11003
11001
|
return typeof goodMax === 'number' ? goodsNum >= goodMax : !!searchValue;
|
|
11004
11002
|
}, [goodMax, goodsNum, searchValue]);
|
|
11005
|
-
var onClick = React.useCallback( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function
|
|
11006
|
-
return _regeneratorRuntime().wrap(function
|
|
11003
|
+
var onClick = React.useCallback( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
11004
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
11007
11005
|
while (1) {
|
|
11008
|
-
switch (
|
|
11006
|
+
switch (_context.prev = _context.next) {
|
|
11009
11007
|
case 0:
|
|
11010
|
-
|
|
11011
|
-
return controller.run( /*#__PURE__*/function () {
|
|
11012
|
-
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(s) {
|
|
11013
|
-
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
11014
|
-
while (1) {
|
|
11015
|
-
switch (_context.prev = _context.next) {
|
|
11016
|
-
case 0:
|
|
11017
|
-
if (!s.addGoodsCheck) {
|
|
11018
|
-
_context.next = 3;
|
|
11019
|
-
break;
|
|
11020
|
-
}
|
|
11021
|
-
|
|
11022
|
-
_context.next = 3;
|
|
11023
|
-
return s.addGoodsCheck();
|
|
11024
|
-
|
|
11025
|
-
case 3:
|
|
11026
|
-
case "end":
|
|
11027
|
-
return _context.stop();
|
|
11028
|
-
}
|
|
11029
|
-
}
|
|
11030
|
-
}, _callee);
|
|
11031
|
-
}));
|
|
11032
|
-
|
|
11033
|
-
return function (_x) {
|
|
11034
|
-
return _ref2.apply(this, arguments);
|
|
11035
|
-
};
|
|
11036
|
-
}());
|
|
11037
|
-
|
|
11038
|
-
case 2:
|
|
11039
|
-
console.log('continue');
|
|
11040
|
-
_context2.next = 5;
|
|
11008
|
+
_context.next = 2;
|
|
11041
11009
|
return addGood$1(controller);
|
|
11042
11010
|
|
|
11043
|
-
case
|
|
11044
|
-
|
|
11011
|
+
case 2:
|
|
11012
|
+
_context.next = 4;
|
|
11045
11013
|
return rollBottom(controller, rootElement);
|
|
11046
11014
|
|
|
11047
|
-
case
|
|
11015
|
+
case 4:
|
|
11048
11016
|
case "end":
|
|
11049
|
-
return
|
|
11017
|
+
return _context.stop();
|
|
11050
11018
|
}
|
|
11051
11019
|
}
|
|
11052
|
-
},
|
|
11020
|
+
}, _callee);
|
|
11053
11021
|
})), [controller, rootElement]);
|
|
11054
11022
|
if (isAddRow === false) return /*#__PURE__*/React.createElement(React.Fragment, null);
|
|
11055
11023
|
if (model === 'prefab') return /*#__PURE__*/React.createElement(React.Fragment, null);
|
|
@@ -11061,35 +11029,35 @@ var AddRowButton = (function (props) {
|
|
|
11061
11029
|
});
|
|
11062
11030
|
/** 添加一个空货物 */
|
|
11063
11031
|
|
|
11064
|
-
function addGood$1(
|
|
11032
|
+
function addGood$1(_x) {
|
|
11065
11033
|
return _addGood.apply(this, arguments);
|
|
11066
11034
|
}
|
|
11067
11035
|
/** 货物列表,滚动到底部 */
|
|
11068
11036
|
|
|
11069
11037
|
|
|
11070
11038
|
function _addGood() {
|
|
11071
|
-
_addGood = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function
|
|
11072
|
-
return _regeneratorRuntime().wrap(function
|
|
11039
|
+
_addGood = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(controller) {
|
|
11040
|
+
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
11073
11041
|
while (1) {
|
|
11074
|
-
switch (
|
|
11042
|
+
switch (_context3.prev = _context3.next) {
|
|
11075
11043
|
case 0:
|
|
11076
|
-
|
|
11044
|
+
_context3.next = 2;
|
|
11077
11045
|
return controller.saveEditGood();
|
|
11078
11046
|
|
|
11079
11047
|
case 2:
|
|
11080
|
-
|
|
11048
|
+
_context3.next = 4;
|
|
11081
11049
|
return controller.wait();
|
|
11082
11050
|
|
|
11083
11051
|
case 4:
|
|
11084
|
-
|
|
11052
|
+
_context3.next = 6;
|
|
11085
11053
|
return controller.run( /*#__PURE__*/function () {
|
|
11086
|
-
var
|
|
11087
|
-
return _regeneratorRuntime().wrap(function
|
|
11054
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(s) {
|
|
11055
|
+
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
11088
11056
|
while (1) {
|
|
11089
|
-
switch (
|
|
11057
|
+
switch (_context2.prev = _context2.next) {
|
|
11090
11058
|
case 0:
|
|
11091
11059
|
if (!s.goodsListState.editGood) {
|
|
11092
|
-
|
|
11060
|
+
_context2.next = 3;
|
|
11093
11061
|
break;
|
|
11094
11062
|
}
|
|
11095
11063
|
|
|
@@ -11097,74 +11065,74 @@ function _addGood() {
|
|
|
11097
11065
|
content: '你正在编辑一个货物',
|
|
11098
11066
|
key: '你正在编辑一个货物'
|
|
11099
11067
|
});
|
|
11100
|
-
return
|
|
11068
|
+
return _context2.abrupt("return");
|
|
11101
11069
|
|
|
11102
11070
|
case 3:
|
|
11103
|
-
|
|
11071
|
+
_context2.next = 5;
|
|
11104
11072
|
return controller.addGood({
|
|
11105
11073
|
taxRate: s.goodsListState.defaultRate,
|
|
11106
11074
|
lineAttribute: LineAttributeType$1.正常
|
|
11107
11075
|
});
|
|
11108
11076
|
|
|
11109
11077
|
case 5:
|
|
11110
|
-
s.goodsListState.editGood =
|
|
11078
|
+
s.goodsListState.editGood = _context2.sent;
|
|
11111
11079
|
|
|
11112
11080
|
case 6:
|
|
11113
11081
|
case "end":
|
|
11114
|
-
return
|
|
11082
|
+
return _context2.stop();
|
|
11115
11083
|
}
|
|
11116
11084
|
}
|
|
11117
|
-
},
|
|
11085
|
+
}, _callee2);
|
|
11118
11086
|
}));
|
|
11119
11087
|
|
|
11120
|
-
return function (
|
|
11121
|
-
return
|
|
11088
|
+
return function (_x4) {
|
|
11089
|
+
return _ref2.apply(this, arguments);
|
|
11122
11090
|
};
|
|
11123
11091
|
}());
|
|
11124
11092
|
|
|
11125
11093
|
case 6:
|
|
11126
11094
|
case "end":
|
|
11127
|
-
return
|
|
11095
|
+
return _context3.stop();
|
|
11128
11096
|
}
|
|
11129
11097
|
}
|
|
11130
|
-
},
|
|
11098
|
+
}, _callee3);
|
|
11131
11099
|
}));
|
|
11132
11100
|
return _addGood.apply(this, arguments);
|
|
11133
11101
|
}
|
|
11134
11102
|
|
|
11135
|
-
function rollBottom(
|
|
11103
|
+
function rollBottom(_x2, _x3) {
|
|
11136
11104
|
return _rollBottom.apply(this, arguments);
|
|
11137
11105
|
}
|
|
11138
11106
|
|
|
11139
11107
|
function _rollBottom() {
|
|
11140
|
-
_rollBottom = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function
|
|
11108
|
+
_rollBottom = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4(controller, rootElement) {
|
|
11141
11109
|
var cont;
|
|
11142
|
-
return _regeneratorRuntime().wrap(function
|
|
11110
|
+
return _regeneratorRuntime().wrap(function _callee4$(_context4) {
|
|
11143
11111
|
while (1) {
|
|
11144
|
-
switch (
|
|
11112
|
+
switch (_context4.prev = _context4.next) {
|
|
11145
11113
|
case 0:
|
|
11146
|
-
|
|
11114
|
+
_context4.next = 2;
|
|
11147
11115
|
return controller.wait();
|
|
11148
11116
|
|
|
11149
11117
|
case 2:
|
|
11150
11118
|
cont = rootElement === null || rootElement === void 0 ? void 0 : rootElement.querySelector('.ktsAntX-table-body');
|
|
11151
11119
|
|
|
11152
11120
|
if (cont) {
|
|
11153
|
-
|
|
11121
|
+
_context4.next = 5;
|
|
11154
11122
|
break;
|
|
11155
11123
|
}
|
|
11156
11124
|
|
|
11157
|
-
return
|
|
11125
|
+
return _context4.abrupt("return");
|
|
11158
11126
|
|
|
11159
11127
|
case 5:
|
|
11160
11128
|
cont.scrollTop = cont.scrollHeight;
|
|
11161
11129
|
|
|
11162
11130
|
case 6:
|
|
11163
11131
|
case "end":
|
|
11164
|
-
return
|
|
11132
|
+
return _context4.stop();
|
|
11165
11133
|
}
|
|
11166
11134
|
}
|
|
11167
|
-
},
|
|
11135
|
+
}, _callee4);
|
|
11168
11136
|
}));
|
|
11169
11137
|
return _rollBottom.apply(this, arguments);
|
|
11170
11138
|
}
|
|
@@ -16950,9 +16918,7 @@ var Main = decorator(Form.create())(function (props) {
|
|
|
16950
16918
|
className: "kts-invoice-operate-goods-list-able"
|
|
16951
16919
|
}, /*#__PURE__*/React.createElement("div", {
|
|
16952
16920
|
className: "kts-invoice-operate-goods-list-able-list"
|
|
16953
|
-
}, /*#__PURE__*/React.createElement(AddRowButton, {
|
|
16954
|
-
addGoodsCheck: props.addGoodsCheck
|
|
16955
|
-
}), endowCodeButton.button, delRowButton.button, mergeDetails.button, mergeDiscount.button, addDiscountRowButton.drawer, salesDiscount.button, salesGifts.button, /*#__PURE__*/React.createElement(Search, null)), /*#__PURE__*/React.createElement("div", {
|
|
16921
|
+
}, /*#__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", {
|
|
16956
16922
|
className: "kts-invoice-operate-goods-list-able-extend"
|
|
16957
16923
|
}, props.menuExpansion, /*#__PURE__*/React.createElement(DescribeSwitch, null), /*#__PURE__*/React.createElement(TaxIncludedSwitch, null))), /*#__PURE__*/React.createElement("div", {
|
|
16958
16924
|
className: classnames('kts-invoice-operate-goods-list-table', {
|
|
@@ -17956,7 +17922,7 @@ var Stakeholder$1 = decorator(Form.create())(function (props) {
|
|
|
17956
17922
|
placeholder: "\u8BF7\u8F93\u5165\u7EDF\u4E00\u793E\u4F1A\u4FE1\u7528\u4EE3\u7801/\u7EB3\u7A0E\u4EBA\u8BC6\u522B\u53F7",
|
|
17957
17923
|
autoComplete: "off"
|
|
17958
17924
|
})))), /*#__PURE__*/React.createElement(Col, {
|
|
17959
|
-
span: 10 +
|
|
17925
|
+
span: 10 + riskspanW,
|
|
17960
17926
|
style: {
|
|
17961
17927
|
display: isExpand ? undefined : 'none'
|
|
17962
17928
|
}
|
|
@@ -17973,7 +17939,7 @@ var Stakeholder$1 = decorator(Form.create())(function (props) {
|
|
|
17973
17939
|
placeholder: "\u8BF7\u8F93\u5165\u8D2D\u4E70\u65B9\u5730\u5740",
|
|
17974
17940
|
autoComplete: "off"
|
|
17975
17941
|
})))), /*#__PURE__*/React.createElement(Col, {
|
|
17976
|
-
span: 10 +
|
|
17942
|
+
span: 10 + riskspanW,
|
|
17977
17943
|
style: {
|
|
17978
17944
|
display: isExpand ? undefined : 'none'
|
|
17979
17945
|
}
|
|
@@ -17987,22 +17953,7 @@ var Stakeholder$1 = decorator(Form.create())(function (props) {
|
|
|
17987
17953
|
readOnly: isReadOnly('buyerPhone'),
|
|
17988
17954
|
placeholder: "\u8BF7\u8F93\u5165\u7535\u8BDD",
|
|
17989
17955
|
autoComplete: "off"
|
|
17990
|
-
})))),
|
|
17991
|
-
span: 4,
|
|
17992
|
-
style: {
|
|
17993
|
-
display: isExpand ? undefined : 'none'
|
|
17994
|
-
}
|
|
17995
|
-
}, /*#__PURE__*/React.createElement(Form.Item, {
|
|
17996
|
-
colon: false
|
|
17997
|
-
}, getFieldDecorator('buyerAddressPhoneFlag', {
|
|
17998
|
-
valuePropName: 'checked'
|
|
17999
|
-
})( /*#__PURE__*/React.createElement(Checkbox$1, {
|
|
18000
|
-
onChange: props === null || props === void 0 ? void 0 : props.invoiceMarkCallback,
|
|
18001
|
-
disabled: isReadOnly('buyerAddressPhoneFlag'),
|
|
18002
|
-
style: {
|
|
18003
|
-
whiteSpace: 'nowrap'
|
|
18004
|
-
}
|
|
18005
|
-
}, "\u662F\u5426\u5C55\u793A")))), /*#__PURE__*/React.createElement(Col, {
|
|
17956
|
+
})))), /*#__PURE__*/React.createElement(Col, {
|
|
18006
17957
|
span: 10 + leqispanW,
|
|
18007
17958
|
style: {
|
|
18008
17959
|
display: isExpand ? undefined : 'none'
|
|
@@ -18094,7 +18045,7 @@ var Stakeholder$1 = decorator(Form.create())(function (props) {
|
|
|
18094
18045
|
placeholder: "\u8BF7\u8F93\u5165\u7EDF\u4E00\u793E\u4F1A\u4FE1\u7528\u4EE3\u7801/\u7EB3\u7A0E\u4EBA\u8BC6\u522B\u53F7",
|
|
18095
18046
|
autoComplete: "off"
|
|
18096
18047
|
})))), /*#__PURE__*/React.createElement(Col, {
|
|
18097
|
-
span: 10 +
|
|
18048
|
+
span: 10 + riskspanW,
|
|
18098
18049
|
style: {
|
|
18099
18050
|
display: isExpand ? undefined : 'none'
|
|
18100
18051
|
}
|
|
@@ -18111,7 +18062,7 @@ var Stakeholder$1 = decorator(Form.create())(function (props) {
|
|
|
18111
18062
|
placeholder: "\u8BF7\u8F93\u5165\u9500\u552E\u65B9\u5730\u5740",
|
|
18112
18063
|
autoComplete: "off"
|
|
18113
18064
|
})))), /*#__PURE__*/React.createElement(Col, {
|
|
18114
|
-
span: 10 +
|
|
18065
|
+
span: 10 + riskspanW,
|
|
18115
18066
|
style: {
|
|
18116
18067
|
display: isExpand ? undefined : 'none'
|
|
18117
18068
|
}
|
|
@@ -18125,22 +18076,7 @@ var Stakeholder$1 = decorator(Form.create())(function (props) {
|
|
|
18125
18076
|
readOnly: isReadOnly('sellerPhone'),
|
|
18126
18077
|
placeholder: "\u8BF7\u8F93\u5165\u7535\u8BDD",
|
|
18127
18078
|
autoComplete: "off"
|
|
18128
|
-
})))),
|
|
18129
|
-
span: 4,
|
|
18130
|
-
style: {
|
|
18131
|
-
display: isExpand ? undefined : 'none'
|
|
18132
|
-
}
|
|
18133
|
-
}, /*#__PURE__*/React.createElement(Form.Item, {
|
|
18134
|
-
colon: false
|
|
18135
|
-
}, getFieldDecorator('sellerAddressPhoneFlag', {
|
|
18136
|
-
valuePropName: 'checked'
|
|
18137
|
-
})( /*#__PURE__*/React.createElement(Checkbox$1, {
|
|
18138
|
-
onChange: props === null || props === void 0 ? void 0 : props.invoiceMarkCallback,
|
|
18139
|
-
disabled: isReadOnly('sellerAddressPhoneFlag'),
|
|
18140
|
-
style: {
|
|
18141
|
-
whiteSpace: 'nowrap'
|
|
18142
|
-
}
|
|
18143
|
-
}, "\u662F\u5426\u5C55\u793A")))), /*#__PURE__*/React.createElement(Col, {
|
|
18079
|
+
})))), /*#__PURE__*/React.createElement(Col, {
|
|
18144
18080
|
span: 10 + leqispanW,
|
|
18145
18081
|
style: {
|
|
18146
18082
|
display: isExpand ? undefined : 'none'
|
|
@@ -18593,20 +18529,67 @@ var StakeFarmerholder = decorator(Form.create())(function (props) {
|
|
|
18593
18529
|
setExpand(typeof props.isExpand === 'boolean' ? props.isExpand : true);
|
|
18594
18530
|
}, [props.isExpand]);
|
|
18595
18531
|
var onChangeType = useCallback(function (value) {
|
|
18596
|
-
|
|
18532
|
+
var supplierTaxId = form === null || form === void 0 ? void 0 : form.getFieldValue("supplierTaxId");
|
|
18533
|
+
var certificateNumber = form === null || form === void 0 ? void 0 : form.getFieldValue("certificateNumber");
|
|
18534
|
+
var nationality = form === null || form === void 0 ? void 0 : form.getFieldValue("nationality");
|
|
18597
18535
|
|
|
18598
18536
|
if (value === "201") {
|
|
18599
18537
|
// 当“自然人证件类型”选择“201:居民身份证”时,校验是否为“156:中国’
|
|
18600
18538
|
form === null || form === void 0 ? void 0 : form.setFieldsValue({
|
|
18601
18539
|
nationality: "156"
|
|
18602
18540
|
});
|
|
18603
|
-
|
|
18604
|
-
|
|
18541
|
+
setNationStatue('');
|
|
18542
|
+
setNation('');
|
|
18605
18543
|
|
|
18606
18544
|
if (supplierTaxId !== certificateNumber) {
|
|
18607
18545
|
setStatus('error');
|
|
18608
18546
|
setInfo('证件号码应与销方税号保持一致');
|
|
18609
18547
|
}
|
|
18548
|
+
} else if (value === "210") {
|
|
18549
|
+
if (value.startsWith("M")) {
|
|
18550
|
+
//如果“证件号码”以M开头,"国籍(或地区头,)”必须为“446:中国澳门”;校验证件号码必须以H或M开头
|
|
18551
|
+
if (nationality !== '446') {
|
|
18552
|
+
setNationStatue('error');
|
|
18553
|
+
setNation('请选择正确的国籍');
|
|
18554
|
+
} else {
|
|
18555
|
+
setNationStatue('');
|
|
18556
|
+
setNation('');
|
|
18557
|
+
}
|
|
18558
|
+
} else if (value.startsWith("H")) {
|
|
18559
|
+
//如果“证件号码”以H开国籍(或地区)”必须为“344:中国香港”;
|
|
18560
|
+
if (nationality !== '344') {
|
|
18561
|
+
setNationStatue('error');
|
|
18562
|
+
setNation('请选择正确的国籍');
|
|
18563
|
+
} else {
|
|
18564
|
+
setNationStatue('');
|
|
18565
|
+
setNation('');
|
|
18566
|
+
}
|
|
18567
|
+
} else {
|
|
18568
|
+
setStatus('error');
|
|
18569
|
+
setInfo('请输入正确的证件号码');
|
|
18570
|
+
}
|
|
18571
|
+
} else if (value === "237") {
|
|
18572
|
+
if (value.startsWith("810000")) {
|
|
18573
|
+
if (nationality !== '344') {
|
|
18574
|
+
setNationStatue('error');
|
|
18575
|
+
setNation('请选择正确的国籍');
|
|
18576
|
+
} else {
|
|
18577
|
+
setNationStatue('');
|
|
18578
|
+
setNation('');
|
|
18579
|
+
}
|
|
18580
|
+
} else if (value.startsWith("820000")) {
|
|
18581
|
+
if (nationality !== '446') {
|
|
18582
|
+
setNationStatue('error');
|
|
18583
|
+
setNation('请选择正确的国籍');
|
|
18584
|
+
} else {
|
|
18585
|
+
setNationStatue('');
|
|
18586
|
+
setNation('');
|
|
18587
|
+
}
|
|
18588
|
+
} else {
|
|
18589
|
+
setStatus('error');
|
|
18590
|
+
setInfo('请输入正确的证件号码');
|
|
18591
|
+
return Promise.reject("请输入正确的证件号码");
|
|
18592
|
+
}
|
|
18610
18593
|
} else if (value === "227") {
|
|
18611
18594
|
// 当“自然人证件类型”选择“227:中华人民共和国护照”时,校验是否为“156:中国
|
|
18612
18595
|
form === null || form === void 0 ? void 0 : form.setFieldsValue({
|
|
@@ -18624,6 +18607,8 @@ var StakeFarmerholder = decorator(Form.create())(function (props) {
|
|
|
18624
18607
|
|
|
18625
18608
|
var validateIDCode = useCallback(function (_, value) {
|
|
18626
18609
|
if (!value) {
|
|
18610
|
+
setStatus('error');
|
|
18611
|
+
setInfo('请输入正确的证件号码');
|
|
18627
18612
|
return Promise.resolve();
|
|
18628
18613
|
}
|
|
18629
18614
|
|
|
@@ -18721,6 +18706,8 @@ var StakeFarmerholder = decorator(Form.create())(function (props) {
|
|
|
18721
18706
|
}, [form]);
|
|
18722
18707
|
var validateNationality = useCallback(function (_, value) {
|
|
18723
18708
|
if (!value) {
|
|
18709
|
+
setNationStatue('error');
|
|
18710
|
+
setNation('请选择正确的国籍');
|
|
18724
18711
|
return Promise.resolve();
|
|
18725
18712
|
}
|
|
18726
18713
|
|
|
@@ -20238,6 +20225,9 @@ var NationalSelect = /*#__PURE__*/function (_React$Component3) {
|
|
|
20238
20225
|
}, getLable(props.value));
|
|
20239
20226
|
} else {
|
|
20240
20227
|
return /*#__PURE__*/React.createElement(Select$1, _objectSpread2({
|
|
20228
|
+
style: {
|
|
20229
|
+
width: 100
|
|
20230
|
+
},
|
|
20241
20231
|
options: option
|
|
20242
20232
|
}, props));
|
|
20243
20233
|
}
|
|
@@ -20374,7 +20364,7 @@ var css_248z$j = ".kts-invoice-operate-goods-table-virtual .ktsAntX-table-body {
|
|
|
20374
20364
|
styleInject(css_248z$j);
|
|
20375
20365
|
|
|
20376
20366
|
function TableVirtual$1 (props) {
|
|
20377
|
-
var _props$
|
|
20367
|
+
var _props$dataSource2;
|
|
20378
20368
|
|
|
20379
20369
|
var _React$useState = React.useState(null),
|
|
20380
20370
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
@@ -20416,10 +20406,8 @@ function TableVirtual$1 (props) {
|
|
|
20416
20406
|
}, [self, tableBody]); // 设置占位dom的搞
|
|
20417
20407
|
|
|
20418
20408
|
var placeholderHeight = React.useMemo(function () {
|
|
20419
|
-
|
|
20420
|
-
|
|
20421
|
-
if (!self || !rowHeight || !dataSource || !placeholder) return;
|
|
20422
|
-
var placeholderHeight = rowHeight * dataSource.length;
|
|
20409
|
+
if (!self || !rowHeight || !props.dataSource || !placeholder) return;
|
|
20410
|
+
var placeholderHeight = rowHeight * props.dataSource.length;
|
|
20423
20411
|
placeholder.style.height = "".concat(placeholderHeight, "px");
|
|
20424
20412
|
return placeholderHeight;
|
|
20425
20413
|
}, [self, rowHeight, props.dataSource, placeholder]);
|
|
@@ -20431,12 +20419,12 @@ function TableVirtual$1 (props) {
|
|
|
20431
20419
|
}, [tableBody, rowHeight, placeholderHeight]); // 计算渲染的行
|
|
20432
20420
|
|
|
20433
20421
|
var dataSource = React.useMemo(function () {
|
|
20434
|
-
var _props$
|
|
20422
|
+
var _props$dataSource;
|
|
20435
20423
|
|
|
20436
20424
|
if (!props.dataSource) return [];
|
|
20437
20425
|
if (props.dataSource.length < 10) return props.dataSource;
|
|
20438
20426
|
if (!rowSize) return [props.dataSource[0]];
|
|
20439
|
-
return (_props$
|
|
20427
|
+
return (_props$dataSource = props.dataSource) === null || _props$dataSource === void 0 ? void 0 : _props$dataSource.slice(pointer, pointer + 2 * rowSize);
|
|
20440
20428
|
}, [props.dataSource, pointer, rowSize]); // 监听滚动
|
|
20441
20429
|
|
|
20442
20430
|
React.useEffect(function () {
|
|
@@ -20455,24 +20443,17 @@ function TableVirtual$1 (props) {
|
|
|
20455
20443
|
}, [self, placeholder, props.dataSource, rowHeight, rowSize]); // 移动列表
|
|
20456
20444
|
|
|
20457
20445
|
React.useEffect(function () {
|
|
20458
|
-
var _props$dataSource3;
|
|
20459
|
-
|
|
20460
20446
|
if (!self) return;
|
|
20461
20447
|
var table = self.querySelector('.ktsAntX-table .ktsAntX-table-body>table');
|
|
20462
20448
|
if (!table) return;
|
|
20463
|
-
|
|
20464
|
-
|
|
20465
|
-
table.style.top = '0px';
|
|
20466
|
-
} else {
|
|
20467
|
-
table.style.top = "".concat(pointer * rowHeight, "px");
|
|
20468
|
-
}
|
|
20469
|
-
}, [pointer, self, rowHeight, (_props$dataSource4 = props.dataSource) === null || _props$dataSource4 === void 0 ? void 0 : _props$dataSource4.length]);
|
|
20449
|
+
table.style.top = "".concat(pointer * rowHeight, "px");
|
|
20450
|
+
}, [pointer, self, rowHeight]);
|
|
20470
20451
|
React.useEffect(function () {
|
|
20471
20452
|
if (!self) return;
|
|
20472
20453
|
var cont = self.querySelector('.kts-invoice-operate-goods-table-virtual .ktsAntX-table-body');
|
|
20473
20454
|
if (!cont) return;
|
|
20474
20455
|
cont.scrollTop = 0;
|
|
20475
|
-
}, [(_props$
|
|
20456
|
+
}, [(_props$dataSource2 = props.dataSource) === null || _props$dataSource2 === void 0 ? void 0 : _props$dataSource2.length]);
|
|
20476
20457
|
return /*#__PURE__*/React.createElement("span", {
|
|
20477
20458
|
className: "kts-invoice-operate-goods-table-virtual",
|
|
20478
20459
|
ref: function ref(e) {
|
|
@@ -20715,86 +20696,43 @@ function addGood$2(_x) {
|
|
|
20715
20696
|
|
|
20716
20697
|
|
|
20717
20698
|
function _addGood$1() {
|
|
20718
|
-
_addGood$1 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function
|
|
20719
|
-
|
|
20720
|
-
|
|
20721
|
-
return _regeneratorRuntime().wrap(function _callee5$(_context5) {
|
|
20699
|
+
_addGood$1 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4(controller) {
|
|
20700
|
+
return _regeneratorRuntime().wrap(function _callee4$(_context4) {
|
|
20722
20701
|
while (1) {
|
|
20723
|
-
switch (
|
|
20702
|
+
switch (_context4.prev = _context4.next) {
|
|
20724
20703
|
case 0:
|
|
20725
|
-
|
|
20726
|
-
return (_controller$formList$ = controller.formList.get('realEstateInfo')) === null || _controller$formList$ === void 0 ? void 0 : _controller$formList$.validateFields( /*#__PURE__*/function () {
|
|
20727
|
-
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(err, values) {
|
|
20728
|
-
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
20729
|
-
while (1) {
|
|
20730
|
-
switch (_context2.prev = _context2.next) {
|
|
20731
|
-
case 0:
|
|
20732
|
-
if (!err) {
|
|
20733
|
-
_context2.next = 3;
|
|
20734
|
-
break;
|
|
20735
|
-
}
|
|
20736
|
-
|
|
20737
|
-
message$1.error('请先填写发票行信息,再添加新的行');
|
|
20738
|
-
return _context2.abrupt("return");
|
|
20739
|
-
|
|
20740
|
-
case 3:
|
|
20741
|
-
case "end":
|
|
20742
|
-
return _context2.stop();
|
|
20743
|
-
}
|
|
20744
|
-
}
|
|
20745
|
-
}, _callee2);
|
|
20746
|
-
}));
|
|
20747
|
-
|
|
20748
|
-
return function (_x4, _x5) {
|
|
20749
|
-
return _ref2.apply(this, arguments);
|
|
20750
|
-
};
|
|
20751
|
-
}());
|
|
20752
|
-
|
|
20753
|
-
case 2:
|
|
20754
|
-
_context5.next = 4;
|
|
20704
|
+
_context4.next = 2;
|
|
20755
20705
|
return controller.saveEditGood();
|
|
20756
20706
|
|
|
20757
|
-
case
|
|
20758
|
-
|
|
20707
|
+
case 2:
|
|
20708
|
+
_context4.next = 4;
|
|
20759
20709
|
return controller.wait();
|
|
20760
20710
|
|
|
20761
|
-
case
|
|
20762
|
-
|
|
20711
|
+
case 4:
|
|
20712
|
+
_context4.next = 6;
|
|
20763
20713
|
return controller.run( /*#__PURE__*/function () {
|
|
20764
|
-
var
|
|
20765
|
-
var
|
|
20714
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(s) {
|
|
20715
|
+
var _controller$state$goo;
|
|
20766
20716
|
|
|
20767
|
-
return _regeneratorRuntime().wrap(function
|
|
20717
|
+
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
20768
20718
|
while (1) {
|
|
20769
|
-
switch (
|
|
20719
|
+
switch (_context3.prev = _context3.next) {
|
|
20770
20720
|
case 0:
|
|
20771
20721
|
if (!s.goodsListState.editGood) {
|
|
20772
|
-
|
|
20773
|
-
break;
|
|
20774
|
-
}
|
|
20775
|
-
|
|
20776
|
-
// message.error({
|
|
20777
|
-
// content: '你正在编辑一个货物',
|
|
20778
|
-
// key: '你正在编辑一个货物',
|
|
20779
|
-
// });
|
|
20780
|
-
// return;
|
|
20781
|
-
isValidateGood = controller.state.goodsListState.isValidateGood;
|
|
20782
|
-
|
|
20783
|
-
if (!isValidateGood) {
|
|
20784
|
-
_context4.next = 5;
|
|
20722
|
+
_context3.next = 3;
|
|
20785
20723
|
break;
|
|
20786
20724
|
}
|
|
20787
20725
|
|
|
20788
|
-
|
|
20726
|
+
_context3.next = 3;
|
|
20789
20727
|
return (_controller$state$goo = controller.state.goodsListState.form) === null || _controller$state$goo === void 0 ? void 0 : _controller$state$goo.validateFields( /*#__PURE__*/function () {
|
|
20790
|
-
var
|
|
20728
|
+
var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(err, values) {
|
|
20791
20729
|
var firstError;
|
|
20792
|
-
return _regeneratorRuntime().wrap(function
|
|
20730
|
+
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
20793
20731
|
while (1) {
|
|
20794
|
-
switch (
|
|
20732
|
+
switch (_context2.prev = _context2.next) {
|
|
20795
20733
|
case 0:
|
|
20796
20734
|
if (!err) {
|
|
20797
|
-
|
|
20735
|
+
_context2.next = 4;
|
|
20798
20736
|
break;
|
|
20799
20737
|
}
|
|
20800
20738
|
|
|
@@ -20803,50 +20741,50 @@ function _addGood$1() {
|
|
|
20803
20741
|
content: firstError.errors[0].message,
|
|
20804
20742
|
key: '你正在编辑一个货物'
|
|
20805
20743
|
});
|
|
20806
|
-
return
|
|
20744
|
+
return _context2.abrupt("return");
|
|
20807
20745
|
|
|
20808
20746
|
case 4:
|
|
20809
20747
|
case "end":
|
|
20810
|
-
return
|
|
20748
|
+
return _context2.stop();
|
|
20811
20749
|
}
|
|
20812
20750
|
}
|
|
20813
|
-
},
|
|
20751
|
+
}, _callee2);
|
|
20814
20752
|
}));
|
|
20815
20753
|
|
|
20816
|
-
return function (
|
|
20817
|
-
return
|
|
20754
|
+
return function (_x5, _x6) {
|
|
20755
|
+
return _ref3.apply(this, arguments);
|
|
20818
20756
|
};
|
|
20819
20757
|
}());
|
|
20820
20758
|
|
|
20821
|
-
case
|
|
20822
|
-
|
|
20759
|
+
case 3:
|
|
20760
|
+
_context3.next = 5;
|
|
20823
20761
|
return controller.addGood({
|
|
20824
20762
|
taxRate: s.goodsListState.defaultRate,
|
|
20825
20763
|
lineAttribute: LineAttributeType$1.正常
|
|
20826
20764
|
});
|
|
20827
20765
|
|
|
20828
|
-
case
|
|
20829
|
-
s.goodsListState.editGood =
|
|
20766
|
+
case 5:
|
|
20767
|
+
s.goodsListState.editGood = _context3.sent;
|
|
20830
20768
|
|
|
20831
|
-
case
|
|
20769
|
+
case 6:
|
|
20832
20770
|
case "end":
|
|
20833
|
-
return
|
|
20771
|
+
return _context3.stop();
|
|
20834
20772
|
}
|
|
20835
20773
|
}
|
|
20836
|
-
},
|
|
20774
|
+
}, _callee3);
|
|
20837
20775
|
}));
|
|
20838
20776
|
|
|
20839
|
-
return function (
|
|
20840
|
-
return
|
|
20777
|
+
return function (_x4) {
|
|
20778
|
+
return _ref2.apply(this, arguments);
|
|
20841
20779
|
};
|
|
20842
20780
|
}());
|
|
20843
20781
|
|
|
20844
|
-
case
|
|
20782
|
+
case 6:
|
|
20845
20783
|
case "end":
|
|
20846
|
-
return
|
|
20784
|
+
return _context4.stop();
|
|
20847
20785
|
}
|
|
20848
20786
|
}
|
|
20849
|
-
},
|
|
20787
|
+
}, _callee4);
|
|
20850
20788
|
}));
|
|
20851
20789
|
return _addGood$1.apply(this, arguments);
|
|
20852
20790
|
}
|
|
@@ -20856,34 +20794,34 @@ function rollBottom$1(_x2, _x3) {
|
|
|
20856
20794
|
}
|
|
20857
20795
|
|
|
20858
20796
|
function _rollBottom$1() {
|
|
20859
|
-
_rollBottom$1 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function
|
|
20797
|
+
_rollBottom$1 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee5(controller, rootElement) {
|
|
20860
20798
|
var cont;
|
|
20861
|
-
return _regeneratorRuntime().wrap(function
|
|
20799
|
+
return _regeneratorRuntime().wrap(function _callee5$(_context5) {
|
|
20862
20800
|
while (1) {
|
|
20863
|
-
switch (
|
|
20801
|
+
switch (_context5.prev = _context5.next) {
|
|
20864
20802
|
case 0:
|
|
20865
|
-
|
|
20803
|
+
_context5.next = 2;
|
|
20866
20804
|
return controller.wait();
|
|
20867
20805
|
|
|
20868
20806
|
case 2:
|
|
20869
20807
|
cont = rootElement === null || rootElement === void 0 ? void 0 : rootElement.querySelector('.ktsAntX-table-body');
|
|
20870
20808
|
|
|
20871
20809
|
if (cont) {
|
|
20872
|
-
|
|
20810
|
+
_context5.next = 5;
|
|
20873
20811
|
break;
|
|
20874
20812
|
}
|
|
20875
20813
|
|
|
20876
|
-
return
|
|
20814
|
+
return _context5.abrupt("return");
|
|
20877
20815
|
|
|
20878
20816
|
case 5:
|
|
20879
20817
|
cont.scrollTop = cont.scrollHeight;
|
|
20880
20818
|
|
|
20881
20819
|
case 6:
|
|
20882
20820
|
case "end":
|
|
20883
|
-
return
|
|
20821
|
+
return _context5.stop();
|
|
20884
20822
|
}
|
|
20885
20823
|
}
|
|
20886
|
-
},
|
|
20824
|
+
}, _callee5);
|
|
20887
20825
|
}));
|
|
20888
20826
|
return _rollBottom$1.apply(this, arguments);
|
|
20889
20827
|
}
|
|
@@ -22210,7 +22148,7 @@ var onChangeSwitchTax$1 = /*#__PURE__*/function () {
|
|
|
22210
22148
|
};
|
|
22211
22149
|
}();
|
|
22212
22150
|
|
|
22213
|
-
var TaxIncludedSwitch$1 = (function (
|
|
22151
|
+
var TaxIncludedSwitch$1 = (function () {
|
|
22214
22152
|
var controller = Invoice.useInvoiceController();
|
|
22215
22153
|
/** 是否含税 */
|
|
22216
22154
|
|
|
@@ -22229,9 +22167,8 @@ var TaxIncludedSwitch$1 = (function (props) {
|
|
|
22229
22167
|
switch (_context.prev = _context.next) {
|
|
22230
22168
|
case 0:
|
|
22231
22169
|
onChangeSwitchTax$1(controller, e);
|
|
22232
|
-
props.onChange && props.onChange(e);
|
|
22233
22170
|
|
|
22234
|
-
case
|
|
22171
|
+
case 1:
|
|
22235
22172
|
case "end":
|
|
22236
22173
|
return _context.stop();
|
|
22237
22174
|
}
|
|
@@ -23136,9 +23073,6 @@ var useColumns$1 = (function (form) {
|
|
|
23136
23073
|
var changeField = controller.useMemo(function (e) {
|
|
23137
23074
|
return e.calculatingField;
|
|
23138
23075
|
}, []);
|
|
23139
|
-
var isValidateGood = controller.useMemo(function (s) {
|
|
23140
|
-
return s.goodsListState.isValidateGood;
|
|
23141
|
-
}, []);
|
|
23142
23076
|
/** 计算中启动字段 */
|
|
23143
23077
|
|
|
23144
23078
|
var setChangeField = React.useCallback(function (value) {
|
|
@@ -23233,37 +23167,25 @@ var useColumns$1 = (function (form) {
|
|
|
23233
23167
|
while (1) {
|
|
23234
23168
|
switch (_context2.prev = _context2.next) {
|
|
23235
23169
|
case 0:
|
|
23236
|
-
|
|
23237
|
-
_context2.next = 11;
|
|
23238
|
-
break;
|
|
23239
|
-
}
|
|
23240
|
-
|
|
23241
|
-
_context2.next = 3;
|
|
23170
|
+
_context2.next = 2;
|
|
23242
23171
|
return controller.wait();
|
|
23243
23172
|
|
|
23244
|
-
case
|
|
23173
|
+
case 2:
|
|
23245
23174
|
value = controller.state.goodsListState.editGood;
|
|
23246
23175
|
|
|
23247
23176
|
if (!(!(value === null || value === void 0 ? void 0 : value.itemName) && !(value === null || value === void 0 ? void 0 : value.itemNameSelf))) {
|
|
23248
|
-
_context2.next =
|
|
23177
|
+
_context2.next = 7;
|
|
23249
23178
|
break;
|
|
23250
23179
|
}
|
|
23251
23180
|
|
|
23252
23181
|
callback('项目名称不能为空');
|
|
23253
|
-
_context2.next =
|
|
23182
|
+
_context2.next = 8;
|
|
23254
23183
|
break;
|
|
23255
23184
|
|
|
23256
|
-
case
|
|
23185
|
+
case 7:
|
|
23257
23186
|
return _context2.abrupt("return");
|
|
23258
23187
|
|
|
23259
|
-
case
|
|
23260
|
-
_context2.next = 12;
|
|
23261
|
-
break;
|
|
23262
|
-
|
|
23263
|
-
case 11:
|
|
23264
|
-
callback();
|
|
23265
|
-
|
|
23266
|
-
case 12:
|
|
23188
|
+
case 8:
|
|
23267
23189
|
case "end":
|
|
23268
23190
|
return _context2.stop();
|
|
23269
23191
|
}
|
|
@@ -23464,34 +23386,24 @@ var useColumns$1 = (function (form) {
|
|
|
23464
23386
|
while (1) {
|
|
23465
23387
|
switch (_context6.prev = _context6.next) {
|
|
23466
23388
|
case 0:
|
|
23467
|
-
|
|
23468
|
-
_context6.next = 10;
|
|
23469
|
-
break;
|
|
23470
|
-
}
|
|
23471
|
-
|
|
23472
|
-
_context6.next = 3;
|
|
23389
|
+
_context6.next = 2;
|
|
23473
23390
|
return controller.wait();
|
|
23474
23391
|
|
|
23475
|
-
case
|
|
23392
|
+
case 2:
|
|
23476
23393
|
isvalue = !!value || value === 0;
|
|
23477
23394
|
isPrice = !!getFieldValue(isTaxIncluded ? 'priceIncludeTax' : 'priceExcludeTax') || getFieldValue(isTaxIncluded ? 'priceIncludeTax' : 'priceExcludeTax') === 0;
|
|
23478
23395
|
|
|
23479
23396
|
if (!(isvalue || isPrice === isvalue)) {
|
|
23480
|
-
_context6.next =
|
|
23397
|
+
_context6.next = 6;
|
|
23481
23398
|
break;
|
|
23482
23399
|
}
|
|
23483
23400
|
|
|
23484
23401
|
return _context6.abrupt("return");
|
|
23485
23402
|
|
|
23486
|
-
case
|
|
23403
|
+
case 6:
|
|
23487
23404
|
callback('请输入数量');
|
|
23488
|
-
_context6.next = 11;
|
|
23489
|
-
break;
|
|
23490
23405
|
|
|
23491
|
-
case
|
|
23492
|
-
callback();
|
|
23493
|
-
|
|
23494
|
-
case 11:
|
|
23406
|
+
case 7:
|
|
23495
23407
|
case "end":
|
|
23496
23408
|
return _context6.stop();
|
|
23497
23409
|
}
|
|
@@ -23709,7 +23621,7 @@ var useColumns$1 = (function (form) {
|
|
|
23709
23621
|
initialValue: editGood.lineAmountIncludeTax,
|
|
23710
23622
|
getValueFromEvent: onNumberValueChange,
|
|
23711
23623
|
rules: [].concat(_toConsumableArray(getReplenishRules('lineAmountIncludeTax')), [{
|
|
23712
|
-
required:
|
|
23624
|
+
required: true,
|
|
23713
23625
|
message: '金额不能为空'
|
|
23714
23626
|
}, {
|
|
23715
23627
|
pattern: /^[+-]?(0|([1-9]\d*))(\.\d+)?$/,
|
|
@@ -23780,7 +23692,7 @@ var useColumns$1 = (function (form) {
|
|
|
23780
23692
|
style: {
|
|
23781
23693
|
padding: '0 10px'
|
|
23782
23694
|
}
|
|
23783
|
-
},
|
|
23695
|
+
}, formatSearch$1(parseFloat(value).toFixed(2), searchValue));
|
|
23784
23696
|
}
|
|
23785
23697
|
}
|
|
23786
23698
|
}, {
|
|
@@ -23797,7 +23709,7 @@ var useColumns$1 = (function (form) {
|
|
|
23797
23709
|
initialValue: editGood.lineAmountExcludeTax,
|
|
23798
23710
|
getValueFromEvent: onNumberValueChange,
|
|
23799
23711
|
rules: [].concat(_toConsumableArray(getReplenishRules('lineAmountExcludeTax')), [{
|
|
23800
|
-
required:
|
|
23712
|
+
required: true,
|
|
23801
23713
|
message: '金额不能为空'
|
|
23802
23714
|
}, {
|
|
23803
23715
|
pattern: /^[+-]?(0|([1-9]\d*))(\.\d+)?$/,
|
|
@@ -23843,7 +23755,7 @@ var useColumns$1 = (function (form) {
|
|
|
23843
23755
|
style: {
|
|
23844
23756
|
padding: '0 10px'
|
|
23845
23757
|
}
|
|
23846
|
-
},
|
|
23758
|
+
}, formatSearch$1(parseFloat(value).toFixed(2), searchValue));
|
|
23847
23759
|
}
|
|
23848
23760
|
}
|
|
23849
23761
|
}, {
|
|
@@ -23859,7 +23771,7 @@ var useColumns$1 = (function (form) {
|
|
|
23859
23771
|
return /*#__PURE__*/React.createElement(Form.Item, null, getFieldDecorator('taxRate', {
|
|
23860
23772
|
initialValue: editGood.taxRate,
|
|
23861
23773
|
rules: [].concat(_toConsumableArray(getReplenishRules('taxRate')), [{
|
|
23862
|
-
required:
|
|
23774
|
+
required: true,
|
|
23863
23775
|
message: '请选择税率'
|
|
23864
23776
|
}, {
|
|
23865
23777
|
pattern: /^[+-]?(0|([1-9]\d*))(\.\d+)?$/,
|
|
@@ -23886,15 +23798,11 @@ var useColumns$1 = (function (form) {
|
|
|
23886
23798
|
}, e, "%");
|
|
23887
23799
|
}))));
|
|
23888
23800
|
} else {
|
|
23889
|
-
|
|
23890
|
-
|
|
23891
|
-
|
|
23892
|
-
|
|
23893
|
-
|
|
23894
|
-
}, isDutyFree$1(record) ? '免税' : "".concat(value, "%"));
|
|
23895
|
-
} else {
|
|
23896
|
-
return '';
|
|
23897
|
-
}
|
|
23801
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
23802
|
+
style: {
|
|
23803
|
+
padding: '0 10px'
|
|
23804
|
+
}
|
|
23805
|
+
}, isDutyFree$1(record) ? '免税' : "".concat(value, "%"));
|
|
23898
23806
|
}
|
|
23899
23807
|
}
|
|
23900
23808
|
}, {
|
|
@@ -23910,7 +23818,7 @@ var useColumns$1 = (function (form) {
|
|
|
23910
23818
|
return /*#__PURE__*/React.createElement(Form.Item, null, getFieldDecorator('taxAmount', {
|
|
23911
23819
|
initialValue: editGood.taxAmount,
|
|
23912
23820
|
rules: [].concat(_toConsumableArray(getReplenishRules('taxAmount')), [{
|
|
23913
|
-
required:
|
|
23821
|
+
required: true,
|
|
23914
23822
|
message: '税额不能为空'
|
|
23915
23823
|
}, {
|
|
23916
23824
|
validator: function validator(rule, value, callback) {
|
|
@@ -23955,7 +23863,7 @@ var useColumns$1 = (function (form) {
|
|
|
23955
23863
|
style: {
|
|
23956
23864
|
padding: '0 10px'
|
|
23957
23865
|
}
|
|
23958
|
-
}, isDutyFree$1(record) ? '***' :
|
|
23866
|
+
}, isDutyFree$1(record) ? '***' : parseFloat(value).toFixed(2));
|
|
23959
23867
|
}
|
|
23960
23868
|
}
|
|
23961
23869
|
}] // 含税不含税
|
|
@@ -25900,9 +25808,7 @@ var Main$3 = decorator(Form.create())(function (props) {
|
|
|
25900
25808
|
}
|
|
25901
25809
|
}, /*#__PURE__*/React.createElement("div", {
|
|
25902
25810
|
className: "kts-invoice-operate-goods-list-able"
|
|
25903
|
-
}, /*#__PURE__*/React.createElement(AddRowButton$1, null), delRowButton.button, addDiscountRowButton.button, endowCodeButton.button, /*#__PURE__*/React.createElement(TaxIncludedSwitch$1, {
|
|
25904
|
-
onChange: props.onTaxSwitchChange
|
|
25905
|
-
}), /*#__PURE__*/React.createElement(Search$1, null), /*#__PURE__*/React.createElement("div", {
|
|
25811
|
+
}, /*#__PURE__*/React.createElement(AddRowButton$1, null), delRowButton.button, addDiscountRowButton.button, endowCodeButton.button, /*#__PURE__*/React.createElement(TaxIncludedSwitch$1, null), /*#__PURE__*/React.createElement(Search$1, null), /*#__PURE__*/React.createElement("div", {
|
|
25906
25812
|
style: {
|
|
25907
25813
|
flex: 1
|
|
25908
25814
|
}
|
|
@@ -25933,7 +25839,7 @@ var Main$3 = decorator(Form.create())(function (props) {
|
|
|
25933
25839
|
})), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Statistics$1, null)));
|
|
25934
25840
|
});
|
|
25935
25841
|
|
|
25936
|
-
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
|
|
25842
|
+
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";
|
|
25937
25843
|
styleInject(css_248z$r);
|
|
25938
25844
|
|
|
25939
25845
|
var RangePicker = DatePicker.RangePicker;
|
|
@@ -25949,272 +25855,126 @@ var RealEstateInfo = decorator(Form.create())(function (props) {
|
|
|
25949
25855
|
}, []);
|
|
25950
25856
|
var readOnly = React.useMemo(function () {
|
|
25951
25857
|
return model === 'readOnly';
|
|
25952
|
-
}, [model]);
|
|
25953
|
-
var goodsList = controller.useMemo(function (s) {
|
|
25954
|
-
return s.goodsListState.goodsList;
|
|
25955
|
-
}, []); //outcome-104 任务 https://wiki.dev.kingxunlian.com/pages/viewpage.action?pageId=180355189
|
|
25956
|
-
//商品和服务税收分类合并编码为“3040502020200000000”时,视为停车费业务,针对停车费业务,蓝字发票增加以下判断:
|
|
25957
|
-
// 单位必须为“平方米”;
|
|
25958
|
-
// 项目名称必须为“车辆停放服务”;
|
|
25959
|
-
// 车牌号必填,最多支持填写3个车牌号;除该场景车牌号必须为空;
|
|
25960
|
-
// 租赁期起止格式必须为“yyyy-MM-dd HH:mm(租赁期起)”+“空格”+“yyyy-MM-dd HH:mm(租赁期止)。
|
|
25961
|
-
|
|
25962
|
-
var isParkFee = React.useCallback(function (taxClassificationCode) {
|
|
25963
|
-
if (taxClassificationCode === '3040502020200000000') {
|
|
25964
|
-
return true;
|
|
25965
|
-
} else {
|
|
25966
|
-
return false;
|
|
25967
|
-
}
|
|
25968
|
-
}, []);
|
|
25969
|
-
var indexRef = React.useRef([]);
|
|
25970
|
-
useEffect(function () {
|
|
25971
|
-
var dd = goodsList === null || goodsList === void 0 ? void 0 : goodsList.reduce(function (acc, cur) {
|
|
25972
|
-
if (cur.lineAttribute !== 1) {
|
|
25973
|
-
acc.push(cur.$index);
|
|
25974
|
-
}
|
|
25975
|
-
|
|
25976
|
-
return acc;
|
|
25977
|
-
}, []);
|
|
25978
|
-
indexRef.current = dd;
|
|
25979
|
-
}, [goodsList, indexRef]); // 注册 form
|
|
25858
|
+
}, [model]); // 注册 form
|
|
25980
25859
|
|
|
25981
25860
|
controller.useForm('realEstateInfo', form);
|
|
25982
|
-
|
|
25983
|
-
var getList = function getList() {
|
|
25984
|
-
var decrease = indexRef.current.length > goodsList.length;
|
|
25985
|
-
|
|
25986
|
-
if (decrease) {
|
|
25987
|
-
//已删行列表
|
|
25988
|
-
var diff = indexRef.current.filter(function (item) {
|
|
25989
|
-
return !goodsList.find(function (i) {
|
|
25990
|
-
return i.$index === item;
|
|
25991
|
-
});
|
|
25992
|
-
});
|
|
25993
|
-
var formData = form.getFieldValue('realEstateDataDto');
|
|
25994
|
-
|
|
25995
|
-
if (Array.isArray(formData) && diff.length > 0) {
|
|
25996
|
-
var newForm = formData === null || formData === void 0 ? void 0 : formData.filter(function (item) {
|
|
25997
|
-
return !diff.find(function (i) {
|
|
25998
|
-
return i === item.$index;
|
|
25999
|
-
});
|
|
26000
|
-
});
|
|
26001
|
-
form.setFieldsValue({
|
|
26002
|
-
realEstateDataDto: newForm
|
|
26003
|
-
});
|
|
26004
|
-
} else {
|
|
26005
|
-
form.setFieldsValue({
|
|
26006
|
-
realEstateDataDto: undefined
|
|
26007
|
-
});
|
|
26008
|
-
}
|
|
26009
|
-
}
|
|
26010
|
-
|
|
26011
|
-
return goodsList.filter(function (item) {
|
|
26012
|
-
return item.lineAttribute !== 1;
|
|
26013
|
-
}).map(function (item, index) {
|
|
26014
|
-
if (item.lineAttribute !== 1) {
|
|
26015
|
-
var isParkFeeItem = isParkFee(item.taxClassificationCode);
|
|
26016
|
-
return /*#__PURE__*/React.createElement(Row$1, {
|
|
26017
|
-
gutter: [17, 0]
|
|
26018
|
-
}, /*#__PURE__*/React.createElement(Col$1, {
|
|
26019
|
-
span: 6
|
|
26020
|
-
}, /*#__PURE__*/React.createElement(Form.Item, {
|
|
26021
|
-
style: {
|
|
26022
|
-
display: 'none'
|
|
26023
|
-
}
|
|
26024
|
-
}, getFieldDecorator("realEstateDataDto[".concat(index, "].$index"), {
|
|
26025
|
-
initialValue: item.$index
|
|
26026
|
-
})( /*#__PURE__*/React.createElement(Input$2, null))), /*#__PURE__*/React.createElement(Form.Item, {
|
|
26027
|
-
label: "\u4E0D\u52A8\u4EA7\u5730\u5740"
|
|
26028
|
-
}, getFieldDecorator("realEstateDataDto[".concat(index, "].realEstateAddress"), {
|
|
26029
|
-
rules: readOnly ? [] : [{
|
|
26030
|
-
required: true,
|
|
26031
|
-
message: '请选择不动产地址'
|
|
26032
|
-
}]
|
|
26033
|
-
})(readOnly ? /*#__PURE__*/React.createElement(MyArrString, null) : /*#__PURE__*/React.createElement(Cascader, {
|
|
26034
|
-
style: {
|
|
26035
|
-
width: '100%'
|
|
26036
|
-
},
|
|
26037
|
-
options: props.realEstateAddressOptions,
|
|
26038
|
-
fieldNames: props.realEstateAddressFieldNames,
|
|
26039
|
-
placeholder: "\u8BF7\u9009\u62E9\u7701\u5E02\u533A\u53BF"
|
|
26040
|
-
})))), /*#__PURE__*/React.createElement(Col$1, {
|
|
26041
|
-
span: 6
|
|
26042
|
-
}, /*#__PURE__*/React.createElement(Form.Item, {
|
|
26043
|
-
label: "\u8BE6\u7EC6\u5730\u5740"
|
|
26044
|
-
}, getFieldDecorator("realEstateDataDto[".concat(index, "].realEstateDetailedAddress"), {
|
|
26045
|
-
rules: readOnly ? [] : [{
|
|
26046
|
-
required: true,
|
|
26047
|
-
message: '请输入详细地址'
|
|
26048
|
-
}, {
|
|
26049
|
-
max: 120,
|
|
26050
|
-
message: '详细地址最多120个字符'
|
|
26051
|
-
}, {
|
|
26052
|
-
validator: function () {
|
|
26053
|
-
var _validator = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(_, value, callback) {
|
|
26054
|
-
var pattern;
|
|
26055
|
-
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
26056
|
-
while (1) {
|
|
26057
|
-
switch (_context.prev = _context.next) {
|
|
26058
|
-
case 0:
|
|
26059
|
-
pattern = /街|路|村|乡|镇|道|巷|号/;
|
|
26060
|
-
|
|
26061
|
-
if (pattern.test(value)) {
|
|
26062
|
-
callback();
|
|
26063
|
-
} else {
|
|
26064
|
-
callback('地址必须包含“街”、“路”、“村”、“乡”、“镇”、“道”、“巷”、“号”等任意一个关键词');
|
|
26065
|
-
}
|
|
26066
|
-
|
|
26067
|
-
case 2:
|
|
26068
|
-
case "end":
|
|
26069
|
-
return _context.stop();
|
|
26070
|
-
}
|
|
26071
|
-
}
|
|
26072
|
-
}, _callee);
|
|
26073
|
-
}));
|
|
26074
|
-
|
|
26075
|
-
function validator(_x, _x2, _x3) {
|
|
26076
|
-
return _validator.apply(this, arguments);
|
|
26077
|
-
}
|
|
26078
|
-
|
|
26079
|
-
return validator;
|
|
26080
|
-
}()
|
|
26081
|
-
}]
|
|
26082
|
-
})(readOnly ? /*#__PURE__*/React.createElement(MyDiv$3, null) : /*#__PURE__*/React.createElement(Input$2, {
|
|
26083
|
-
autoComplete: 'off',
|
|
26084
|
-
placeholder: "\u8BF7\u8F93\u5165\u8BE6\u7EC6\u5730\u5740"
|
|
26085
|
-
})))), !isParkFeeItem && /*#__PURE__*/React.createElement(Col$1, {
|
|
26086
|
-
span: 6
|
|
26087
|
-
}, /*#__PURE__*/React.createElement(Form.Item, {
|
|
26088
|
-
label: "\u79DF\u8D41\u671F\u8D77\u6B62"
|
|
26089
|
-
}, getFieldDecorator("realEstateDataDto[".concat(index, "].leaseTerm"), {
|
|
26090
|
-
rules: readOnly ? [] : [{
|
|
26091
|
-
required: true,
|
|
26092
|
-
message: '请输入租赁期'
|
|
26093
|
-
}]
|
|
26094
|
-
})(readOnly ? /*#__PURE__*/React.createElement(MyArrMoment, null) : /*#__PURE__*/React.createElement(RangePicker, {
|
|
26095
|
-
style: {
|
|
26096
|
-
width: '100%'
|
|
26097
|
-
}
|
|
26098
|
-
})))), isParkFeeItem && /*#__PURE__*/React.createElement(Col$1, {
|
|
26099
|
-
span: 6
|
|
26100
|
-
}, /*#__PURE__*/React.createElement(Form.Item, {
|
|
26101
|
-
label: "\u79DF\u8D41\u671F\u8D77\u6B62"
|
|
26102
|
-
}, getFieldDecorator("realEstateDataDto[".concat(index, "].leaseTerm"), {
|
|
26103
|
-
rules: readOnly ? [] : [{
|
|
26104
|
-
required: true,
|
|
26105
|
-
message: '请输入租赁期'
|
|
26106
|
-
}]
|
|
26107
|
-
})(readOnly ? /*#__PURE__*/React.createElement(MyArrMomentTime, null) : /*#__PURE__*/React.createElement(RangePicker, {
|
|
26108
|
-
style: {
|
|
26109
|
-
width: '100%'
|
|
26110
|
-
},
|
|
26111
|
-
showTime: {
|
|
26112
|
-
format: 'HH:mm'
|
|
26113
|
-
},
|
|
26114
|
-
format: "YYYY-MM-DD HH:mm"
|
|
26115
|
-
})))), /*#__PURE__*/React.createElement(Col$1, {
|
|
26116
|
-
span: 6
|
|
26117
|
-
}, /*#__PURE__*/React.createElement(Form.Item, {
|
|
26118
|
-
label: "\u8DE8\u5730\uFF08\u5E02\uFF09\u6807\u5FD7"
|
|
26119
|
-
}, getFieldDecorator("realEstateDataDto[".concat(index, "].crossCitiesSign"), {
|
|
26120
|
-
rules: readOnly ? [] : [{
|
|
26121
|
-
required: true,
|
|
26122
|
-
message: '请选择跨地(市)标志'
|
|
26123
|
-
}]
|
|
26124
|
-
})(readOnly ? /*#__PURE__*/React.createElement(MyNY, null) : /*#__PURE__*/React.createElement(Select$2, {
|
|
26125
|
-
placeholder: "\u8BF7\u9009\u62E9",
|
|
26126
|
-
style: {
|
|
26127
|
-
width: '100%'
|
|
26128
|
-
}
|
|
26129
|
-
}, /*#__PURE__*/React.createElement(Select$2.Option, {
|
|
26130
|
-
value: 'Y'
|
|
26131
|
-
}, "\u662F"), /*#__PURE__*/React.createElement(Select$2.Option, {
|
|
26132
|
-
value: 'N'
|
|
26133
|
-
}, "\u5426"))))), /*#__PURE__*/React.createElement(Col$1, {
|
|
26134
|
-
span: 6
|
|
26135
|
-
}, /*#__PURE__*/React.createElement(Form.Item, {
|
|
26136
|
-
label: "\u4EA7\u6743\u8BC1\u4E66/\u4E0D\u52A8\u4EA7\u6743\u8BC1\u53F7"
|
|
26137
|
-
}, getFieldDecorator("realEstateDataDto[".concat(index, "].realEstateNumber"), {
|
|
26138
|
-
rules: readOnly ? [] : [{
|
|
26139
|
-
required: true,
|
|
26140
|
-
message: '请输入证书编号,若没有证书填写“无”'
|
|
26141
|
-
}, {
|
|
26142
|
-
max: 40,
|
|
26143
|
-
message: '证书编号最多40个字符'
|
|
26144
|
-
}]
|
|
26145
|
-
})(readOnly ? /*#__PURE__*/React.createElement(MyDiv$3, null) : /*#__PURE__*/React.createElement(Input$2, {
|
|
26146
|
-
autoComplete: 'off',
|
|
26147
|
-
placeholder: "\u8BF7\u8F93\u5165\u8BC1\u4E66\u7F16\u53F7\uFF0C\u82E5\u6CA1\u6709\u8BC1\u4E66\u586B\u5199\u201C\u65E0\u201D"
|
|
26148
|
-
})))), !isParkFeeItem && /*#__PURE__*/React.createElement(Col$1, {
|
|
26149
|
-
span: 6
|
|
26150
|
-
}, /*#__PURE__*/React.createElement(Form.Item, {
|
|
26151
|
-
label: "\u9762\u79EF\u5355\u4F4D"
|
|
26152
|
-
}, getFieldDecorator("realEstateDataDto[".concat(index, "].realEstateUnit"), {
|
|
26153
|
-
rules: readOnly ? [] : [{
|
|
26154
|
-
required: true,
|
|
26155
|
-
message: '请选择面积单位'
|
|
26156
|
-
}]
|
|
26157
|
-
})(readOnly ? /*#__PURE__*/React.createElement(MyDiv$3, null) : /*#__PURE__*/React.createElement(Select$2, {
|
|
26158
|
-
placeholder: "\u8BF7\u9009\u62E9",
|
|
26159
|
-
style: {
|
|
26160
|
-
width: '100%'
|
|
26161
|
-
}
|
|
26162
|
-
}, /*#__PURE__*/React.createElement(Select$2.Option, {
|
|
26163
|
-
value: "\u5E73\u65B9\u5343\u7C73"
|
|
26164
|
-
}, "\u5E73\u65B9\u5343\u7C73"), /*#__PURE__*/React.createElement(Select$2.Option, {
|
|
26165
|
-
value: "\u5E73\u65B9\u7C73"
|
|
26166
|
-
}, "\u5E73\u65B9\u7C73"), /*#__PURE__*/React.createElement(Select$2.Option, {
|
|
26167
|
-
value: "\u516C\u9877"
|
|
26168
|
-
}, "\u516C\u9877"), /*#__PURE__*/React.createElement(Select$2.Option, {
|
|
26169
|
-
value: "\u4EA9"
|
|
26170
|
-
}, "\u4EA9"), /*#__PURE__*/React.createElement(Select$2.Option, {
|
|
26171
|
-
value: "h\u33A1"
|
|
26172
|
-
}, "h\u33A1"), /*#__PURE__*/React.createElement(Select$2.Option, {
|
|
26173
|
-
value: "k\u33A1"
|
|
26174
|
-
}, "k\u33A1"), /*#__PURE__*/React.createElement(Select$2.Option, {
|
|
26175
|
-
value: "\u33A1"
|
|
26176
|
-
}, "\u33A1"))))), isParkFeeItem && /*#__PURE__*/React.createElement(Col$1, {
|
|
26177
|
-
span: 6
|
|
26178
|
-
}, /*#__PURE__*/React.createElement(Form.Item, {
|
|
26179
|
-
label: "\u9762\u79EF\u5355\u4F4D"
|
|
26180
|
-
}, getFieldDecorator("realEstateDataDto[".concat(index, "].realEstateUnit"), {
|
|
26181
|
-
rules: readOnly ? [] : [{
|
|
26182
|
-
required: true,
|
|
26183
|
-
message: '请选择面积单位'
|
|
26184
|
-
}]
|
|
26185
|
-
})(readOnly ? /*#__PURE__*/React.createElement(MyDiv$3, null) : /*#__PURE__*/React.createElement(Select$2, {
|
|
26186
|
-
placeholder: "\u8BF7\u9009\u62E9",
|
|
26187
|
-
style: {
|
|
26188
|
-
width: '100%'
|
|
26189
|
-
}
|
|
26190
|
-
}, /*#__PURE__*/React.createElement(Select$2.Option, {
|
|
26191
|
-
value: "\u5E73\u65B9\u7C73"
|
|
26192
|
-
}, "\u5E73\u65B9\u7C73"))))), isParkFeeItem && /*#__PURE__*/React.createElement(LicensePlateNumber, {
|
|
26193
|
-
form: form,
|
|
26194
|
-
index: index,
|
|
26195
|
-
cd: item.cd,
|
|
26196
|
-
readOnly: readOnly
|
|
26197
|
-
}) // <Col span={6} >
|
|
26198
|
-
// <Form.Item label='车牌号' >
|
|
26199
|
-
// {getFieldDecorator(`realEstateDataDto[${index}].licensePlateNumber`, {
|
|
26200
|
-
// rules: readOnly ? [] : [{ required: true, message: '请选择面积单位' }]
|
|
26201
|
-
// })(
|
|
26202
|
-
// readOnly
|
|
26203
|
-
// ? <MyDiv />
|
|
26204
|
-
// : <LicensePlateNumber form={form}/>
|
|
26205
|
-
// )}
|
|
26206
|
-
// </Form.Item>
|
|
26207
|
-
// </Col>
|
|
26208
|
-
);
|
|
26209
|
-
}
|
|
26210
|
-
});
|
|
26211
|
-
};
|
|
26212
|
-
|
|
26213
25861
|
return /*#__PURE__*/React.createElement("div", {
|
|
26214
25862
|
className: "kts-invoice-operate-real-estate-info-digtal"
|
|
26215
25863
|
}, /*#__PURE__*/React.createElement("div", {
|
|
26216
25864
|
className: 'real-estate-info-digtal-label'
|
|
26217
|
-
}, "\u7279\
|
|
25865
|
+
}, "\u7279\u6B8A\u4FE1\u606F-\u4E0D\u52A8\u4EA7\u7ECF\u8425\u79DF\u8D41\u670D\u52A1"), /*#__PURE__*/React.createElement(Row$1, {
|
|
25866
|
+
gutter: [17, 0]
|
|
25867
|
+
}, /*#__PURE__*/React.createElement(Col$1, {
|
|
25868
|
+
span: 6
|
|
25869
|
+
}, /*#__PURE__*/React.createElement(Form.Item, {
|
|
25870
|
+
label: "\u4E0D\u52A8\u4EA7\u5730\u5740"
|
|
25871
|
+
}, getFieldDecorator('realEstateAddress', {
|
|
25872
|
+
rules: readOnly ? [] : [{
|
|
25873
|
+
required: true,
|
|
25874
|
+
message: '请选择不动产地址'
|
|
25875
|
+
}]
|
|
25876
|
+
})(readOnly ? /*#__PURE__*/React.createElement(MyArrString, null) : /*#__PURE__*/React.createElement(Cascader, {
|
|
25877
|
+
style: {
|
|
25878
|
+
width: '100%'
|
|
25879
|
+
},
|
|
25880
|
+
options: props.realEstateAddressOptions,
|
|
25881
|
+
fieldNames: props.realEstateAddressFieldNames,
|
|
25882
|
+
placeholder: "\u8BF7\u9009\u62E9\u7701\u5E02\u533A\u53BF"
|
|
25883
|
+
})))), /*#__PURE__*/React.createElement(Col$1, {
|
|
25884
|
+
span: 6
|
|
25885
|
+
}, /*#__PURE__*/React.createElement(Form.Item, {
|
|
25886
|
+
label: "\u8BE6\u7EC6\u5730\u5740"
|
|
25887
|
+
}, getFieldDecorator('realEstateDetailedAddress', {
|
|
25888
|
+
rules: readOnly ? [] : [{
|
|
25889
|
+
required: true,
|
|
25890
|
+
message: '请输入详细地址'
|
|
25891
|
+
}, {
|
|
25892
|
+
max: 120,
|
|
25893
|
+
message: '详细地址最多120个字符'
|
|
25894
|
+
}, {
|
|
25895
|
+
validator: function validator(_, value) {
|
|
25896
|
+
var pattern = /街|路|村|乡|镇|道|巷|号/;
|
|
25897
|
+
return pattern.test(value) ? Promise.resolve() : Promise.reject('地址必须包含“街”、“路”、“村”、“乡”、“镇”、“道”、“巷”、“号”等任意一个关键词');
|
|
25898
|
+
}
|
|
25899
|
+
}]
|
|
25900
|
+
})(readOnly ? /*#__PURE__*/React.createElement(MyDiv$3, null) : /*#__PURE__*/React.createElement(Input$2, {
|
|
25901
|
+
autoComplete: 'off',
|
|
25902
|
+
placeholder: "\u8BF7\u8F93\u5165\u8BE6\u7EC6\u5730\u5740"
|
|
25903
|
+
})))), /*#__PURE__*/React.createElement(Col$1, {
|
|
25904
|
+
span: 6
|
|
25905
|
+
}, /*#__PURE__*/React.createElement(Form.Item, {
|
|
25906
|
+
label: "\u79DF\u8D41\u671F\u8D77\u6B62"
|
|
25907
|
+
}, getFieldDecorator('leaseTerm', {
|
|
25908
|
+
rules: readOnly ? [] : [{
|
|
25909
|
+
required: true,
|
|
25910
|
+
message: '请输入租赁期'
|
|
25911
|
+
}]
|
|
25912
|
+
})(readOnly ? /*#__PURE__*/React.createElement(MyArrMoment, null) : /*#__PURE__*/React.createElement(RangePicker, {
|
|
25913
|
+
style: {
|
|
25914
|
+
width: '100%'
|
|
25915
|
+
}
|
|
25916
|
+
})))), /*#__PURE__*/React.createElement(Col$1, {
|
|
25917
|
+
span: 6
|
|
25918
|
+
}, /*#__PURE__*/React.createElement(Form.Item, {
|
|
25919
|
+
label: "\u8DE8\u5730\uFF08\u5E02\uFF09\u6807\u5FD7"
|
|
25920
|
+
}, getFieldDecorator('crossCitiesSign', {
|
|
25921
|
+
rules: readOnly ? [] : [{
|
|
25922
|
+
required: true,
|
|
25923
|
+
message: '请选择跨地(市)标志'
|
|
25924
|
+
}]
|
|
25925
|
+
})(readOnly ? /*#__PURE__*/React.createElement(MyNY, null) : /*#__PURE__*/React.createElement(Select$2, {
|
|
25926
|
+
placeholder: "\u8BF7\u9009\u62E9",
|
|
25927
|
+
style: {
|
|
25928
|
+
width: '100%'
|
|
25929
|
+
}
|
|
25930
|
+
}, /*#__PURE__*/React.createElement(Select$2.Option, {
|
|
25931
|
+
value: 'Y'
|
|
25932
|
+
}, "\u662F"), /*#__PURE__*/React.createElement(Select$2.Option, {
|
|
25933
|
+
value: 'N'
|
|
25934
|
+
}, "\u5426"))))), /*#__PURE__*/React.createElement(Col$1, {
|
|
25935
|
+
span: 6
|
|
25936
|
+
}, /*#__PURE__*/React.createElement(Form.Item, {
|
|
25937
|
+
label: "\u4EA7\u6743\u8BC1\u4E66/\u4E0D\u52A8\u4EA7\u6743\u8BC1\u53F7"
|
|
25938
|
+
}, getFieldDecorator('realEstateNumber', {
|
|
25939
|
+
rules: readOnly ? [] : [{
|
|
25940
|
+
required: true,
|
|
25941
|
+
message: '请输入证书编号,若没有证书填写“无”'
|
|
25942
|
+
}, {
|
|
25943
|
+
max: 40,
|
|
25944
|
+
message: '证书编号最多40个字符'
|
|
25945
|
+
}]
|
|
25946
|
+
})(readOnly ? /*#__PURE__*/React.createElement(MyDiv$3, null) : /*#__PURE__*/React.createElement(Input$2, {
|
|
25947
|
+
autoComplete: 'off',
|
|
25948
|
+
placeholder: "\u8BF7\u8F93\u5165\u8BC1\u4E66\u7F16\u53F7\uFF0C\u82E5\u6CA1\u6709\u8BC1\u4E66\u586B\u5199\u201C\u65E0\u201D"
|
|
25949
|
+
})))), /*#__PURE__*/React.createElement(Col$1, {
|
|
25950
|
+
span: 6
|
|
25951
|
+
}, /*#__PURE__*/React.createElement(Form.Item, {
|
|
25952
|
+
label: "\u9762\u79EF\u5355\u4F4D"
|
|
25953
|
+
}, getFieldDecorator('realEstateUnit', {
|
|
25954
|
+
rules: readOnly ? [] : [{
|
|
25955
|
+
required: true,
|
|
25956
|
+
message: '请选择面积单位'
|
|
25957
|
+
}]
|
|
25958
|
+
})(readOnly ? /*#__PURE__*/React.createElement(MyDiv$3, null) : /*#__PURE__*/React.createElement(Select$2, {
|
|
25959
|
+
placeholder: "\u8BF7\u9009\u62E9",
|
|
25960
|
+
style: {
|
|
25961
|
+
width: '100%'
|
|
25962
|
+
}
|
|
25963
|
+
}, /*#__PURE__*/React.createElement(Select$2.Option, {
|
|
25964
|
+
value: "\u5E73\u65B9\u5343\u7C73"
|
|
25965
|
+
}, "\u5E73\u65B9\u5343\u7C73"), /*#__PURE__*/React.createElement(Select$2.Option, {
|
|
25966
|
+
value: "\u5E73\u65B9\u7C73"
|
|
25967
|
+
}, "\u5E73\u65B9\u7C73"), /*#__PURE__*/React.createElement(Select$2.Option, {
|
|
25968
|
+
value: "\u516C\u9877"
|
|
25969
|
+
}, "\u516C\u9877"), /*#__PURE__*/React.createElement(Select$2.Option, {
|
|
25970
|
+
value: "\u4EA9"
|
|
25971
|
+
}, "\u4EA9"), /*#__PURE__*/React.createElement(Select$2.Option, {
|
|
25972
|
+
value: "h\u33A1"
|
|
25973
|
+
}, "h\u33A1"), /*#__PURE__*/React.createElement(Select$2.Option, {
|
|
25974
|
+
value: "k\u33A1"
|
|
25975
|
+
}, "k\u33A1"), /*#__PURE__*/React.createElement(Select$2.Option, {
|
|
25976
|
+
value: "\u33A1"
|
|
25977
|
+
}, "\u33A1")))))));
|
|
26218
25978
|
});
|
|
26219
25979
|
|
|
26220
25980
|
var MyDiv$3 = /*#__PURE__*/function (_React$Component) {
|
|
@@ -26290,52 +26050,22 @@ var MyArrMoment = /*#__PURE__*/function (_React$Component3) {
|
|
|
26290
26050
|
color: '#9F603D',
|
|
26291
26051
|
fontWeight: 600
|
|
26292
26052
|
}
|
|
26293
|
-
}, " - "), /*#__PURE__*/React.createElement("span", null, hooks.isMoment(value[1]) && value[
|
|
26053
|
+
}, " - "), /*#__PURE__*/React.createElement("span", null, hooks.isMoment(value[1]) && value[0].format('YYYY-MM-DD')));
|
|
26294
26054
|
}
|
|
26295
26055
|
}]);
|
|
26296
26056
|
|
|
26297
26057
|
return MyArrMoment;
|
|
26298
26058
|
}(React.Component);
|
|
26299
26059
|
|
|
26300
|
-
var
|
|
26301
|
-
_inherits(
|
|
26302
|
-
|
|
26303
|
-
var _super4 = _createSuper(MyArrMomentTime);
|
|
26304
|
-
|
|
26305
|
-
function MyArrMomentTime() {
|
|
26306
|
-
_classCallCheck(this, MyArrMomentTime);
|
|
26307
|
-
|
|
26308
|
-
return _super4.apply(this, arguments);
|
|
26309
|
-
}
|
|
26310
|
-
|
|
26311
|
-
_createClass(MyArrMomentTime, [{
|
|
26312
|
-
key: "render",
|
|
26313
|
-
value: function render() {
|
|
26314
|
-
var _this$props$value3 = this.props.value,
|
|
26315
|
-
value = _this$props$value3 === void 0 ? [] : _this$props$value3;
|
|
26316
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
26317
|
-
style: this.props.style
|
|
26318
|
-
}, /*#__PURE__*/React.createElement("span", null, hooks.isMoment(value[0]) && value[0].format('YYYY-MM-DD HH:mm')), /*#__PURE__*/React.createElement("span", {
|
|
26319
|
-
style: {
|
|
26320
|
-
color: '#9F603D',
|
|
26321
|
-
fontWeight: 600
|
|
26322
|
-
}
|
|
26323
|
-
}, " - "), /*#__PURE__*/React.createElement("span", null, hooks.isMoment(value[1]) && value[1].format('YYYY-MM-DD HH:mm')));
|
|
26324
|
-
}
|
|
26325
|
-
}]);
|
|
26326
|
-
|
|
26327
|
-
return MyArrMomentTime;
|
|
26328
|
-
}(React.Component);
|
|
26329
|
-
|
|
26330
|
-
var MyNY = /*#__PURE__*/function (_React$Component5) {
|
|
26331
|
-
_inherits(MyNY, _React$Component5);
|
|
26060
|
+
var MyNY = /*#__PURE__*/function (_React$Component4) {
|
|
26061
|
+
_inherits(MyNY, _React$Component4);
|
|
26332
26062
|
|
|
26333
|
-
var
|
|
26063
|
+
var _super4 = _createSuper(MyNY);
|
|
26334
26064
|
|
|
26335
26065
|
function MyNY() {
|
|
26336
26066
|
_classCallCheck(this, MyNY);
|
|
26337
26067
|
|
|
26338
|
-
return
|
|
26068
|
+
return _super4.apply(this, arguments);
|
|
26339
26069
|
}
|
|
26340
26070
|
|
|
26341
26071
|
_createClass(MyNY, [{
|
|
@@ -26350,137 +26080,6 @@ var MyNY = /*#__PURE__*/function (_React$Component5) {
|
|
|
26350
26080
|
return MyNY;
|
|
26351
26081
|
}(React.Component);
|
|
26352
26082
|
|
|
26353
|
-
var LicensePlateNumber = function LicensePlateNumber(props) {
|
|
26354
|
-
var _formData$props$index2;
|
|
26355
|
-
|
|
26356
|
-
var form = props.form,
|
|
26357
|
-
readOnly = props.readOnly;
|
|
26358
|
-
var getFieldDecorator = form.getFieldDecorator;
|
|
26359
|
-
var licenceLimit = 3; // 最多支持填写3个车牌号
|
|
26360
|
-
|
|
26361
|
-
var formData = form.getFieldValue('realEstateDataDto');
|
|
26362
|
-
|
|
26363
|
-
var _React$useState = React.useState(new Array(props.cd || 1).fill('')),
|
|
26364
|
-
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
26365
|
-
value = _React$useState2[0],
|
|
26366
|
-
setVal = _React$useState2[1];
|
|
26367
|
-
|
|
26368
|
-
var cd = React.useMemo(function () {
|
|
26369
|
-
var _formData$props$index;
|
|
26370
|
-
|
|
26371
|
-
return (_formData$props$index = formData[props.index]) === null || _formData$props$index === void 0 ? void 0 : _formData$props$index.cd;
|
|
26372
|
-
}, [(_formData$props$index2 = formData[props.index]) === null || _formData$props$index2 === void 0 ? void 0 : _formData$props$index2.cd]); // useEffect(() => {
|
|
26373
|
-
// if (cd) {
|
|
26374
|
-
// const dd = value.concat(new Array(cd.length-1).fill(''))
|
|
26375
|
-
// setVal(dd);
|
|
26376
|
-
// }
|
|
26377
|
-
// }, [cd])
|
|
26378
|
-
|
|
26379
|
-
var onAdd = function onAdd() {
|
|
26380
|
-
if (value.length < licenceLimit) {
|
|
26381
|
-
setVal([].concat(_toConsumableArray(value), ['']));
|
|
26382
|
-
} else {
|
|
26383
|
-
message.warn('最多支持填写3个车牌号');
|
|
26384
|
-
}
|
|
26385
|
-
}; // 删除车牌号
|
|
26386
|
-
|
|
26387
|
-
|
|
26388
|
-
var onDelete = function onDelete() {
|
|
26389
|
-
if (value.length > 0) {
|
|
26390
|
-
var dd = value.slice(0, -1);
|
|
26391
|
-
setVal(dd);
|
|
26392
|
-
}
|
|
26393
|
-
};
|
|
26394
|
-
|
|
26395
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, value.length > 0 && value.map(function (item, key) {
|
|
26396
|
-
return /*#__PURE__*/React.createElement(Col$1, {
|
|
26397
|
-
span: 6
|
|
26398
|
-
}, /*#__PURE__*/React.createElement(Form.Item, {
|
|
26399
|
-
label: "\u8F66\u724C\u53F7",
|
|
26400
|
-
key: key
|
|
26401
|
-
}, getFieldDecorator("realEstateDataDto[".concat(props.index, "].cphList[").concat(key, "]"), {
|
|
26402
|
-
rules: readOnly ? [] : [{
|
|
26403
|
-
required: true,
|
|
26404
|
-
message: '请输入车牌号,最多20位'
|
|
26405
|
-
}]
|
|
26406
|
-
})(readOnly ? /*#__PURE__*/React.createElement(MyDiv$3, null) : /*#__PURE__*/React.createElement(Input$2, {
|
|
26407
|
-
style: {
|
|
26408
|
-
width: '100%'
|
|
26409
|
-
},
|
|
26410
|
-
maxLength: 20,
|
|
26411
|
-
autoComplete: 'off',
|
|
26412
|
-
placeholder: "\u8BF7\u8F93\u5165\u8F66\u724C\u53F7"
|
|
26413
|
-
}))));
|
|
26414
|
-
}), !readOnly && /*#__PURE__*/React.createElement(Col$1, {
|
|
26415
|
-
span: 6
|
|
26416
|
-
}, /*#__PURE__*/React.createElement(Form.Item, null, /*#__PURE__*/React.createElement("div", {
|
|
26417
|
-
style: {
|
|
26418
|
-
color: 'white'
|
|
26419
|
-
}
|
|
26420
|
-
}, "1"), /*#__PURE__*/React.createElement("a", {
|
|
26421
|
-
style: {
|
|
26422
|
-
marginRight: 10
|
|
26423
|
-
},
|
|
26424
|
-
onClick: onAdd
|
|
26425
|
-
}, "\u6DFB\u52A0\u8F66\u724C\u53F7"), value.length > 1 && /*#__PURE__*/React.createElement("a", {
|
|
26426
|
-
onClick: onDelete
|
|
26427
|
-
}, "\u5220\u9664"))));
|
|
26428
|
-
}; // const LicensePlateNumber: React.FC<PriceInputProps> = (props) => {
|
|
26429
|
-
// const { form } = props;
|
|
26430
|
-
// const { getFieldDecorator } = form;
|
|
26431
|
-
// const licenceLimit = 3; // 最多支持填写3个车牌号
|
|
26432
|
-
// // const { value = [] } = this.props;
|
|
26433
|
-
// const [value, setVal] = React.useState(props.value || ['']);
|
|
26434
|
-
// // const newArr = value.filter(e => !!e);
|
|
26435
|
-
// const newArrLength = value.length;
|
|
26436
|
-
// console.log(value, newArrLength)
|
|
26437
|
-
// // 新增车牌号
|
|
26438
|
-
// const onAdd = () => {
|
|
26439
|
-
// if (newArrLength < licenceLimit) {
|
|
26440
|
-
// setVal([...value, '']);
|
|
26441
|
-
// props.onChange?.([...value, ''])
|
|
26442
|
-
// }
|
|
26443
|
-
// }
|
|
26444
|
-
// // 删除车牌号
|
|
26445
|
-
// const onDelete = () => {
|
|
26446
|
-
// if (newArrLength > 0) {
|
|
26447
|
-
// const dd = value.slice(0, -1)
|
|
26448
|
-
// setVal(dd);
|
|
26449
|
-
// props.onChange?.(dd)
|
|
26450
|
-
// }
|
|
26451
|
-
// }
|
|
26452
|
-
// const onInputChange = (e: React.ChangeEvent<HTMLInputElement>, index: number) => {
|
|
26453
|
-
// console.log(e.target.value);
|
|
26454
|
-
// const dd = value.map((item, i) => {
|
|
26455
|
-
// if (i === index) {
|
|
26456
|
-
// return e.target.value
|
|
26457
|
-
// }
|
|
26458
|
-
// return item
|
|
26459
|
-
// })
|
|
26460
|
-
// setVal(dd);
|
|
26461
|
-
// props.onChange?.(dd)
|
|
26462
|
-
// }
|
|
26463
|
-
// return (
|
|
26464
|
-
// <>
|
|
26465
|
-
// {newArrLength > 0 && value.map((item, index) => {
|
|
26466
|
-
// return
|
|
26467
|
-
// <Form.Item label='车牌号' >
|
|
26468
|
-
// {getFieldDecorator(`realEstateDataDto[${index}].licensePlateNumber`, {
|
|
26469
|
-
// rules: [{ required: true, }]
|
|
26470
|
-
// })(
|
|
26471
|
-
// <Input onChange={(e) => { onInputChange(e, index) }} key={index} style={{ width: '100%' }} autoComplete='off' placeholder="请输入车牌号" />
|
|
26472
|
-
// )}
|
|
26473
|
-
// </Form.Item>
|
|
26474
|
-
// // <Col span={6} >
|
|
26475
|
-
// // <Input onChange={(e) => { onInputChange(e, index) }} key={index} style={{ width: '100%' }} autoComplete='off' placeholder="请输入车牌号" />
|
|
26476
|
-
// // </Col>
|
|
26477
|
-
// })}
|
|
26478
|
-
// <Button type="link" onClick={onAdd}>添加车牌号</Button>
|
|
26479
|
-
// {newArrLength > 1 && <Button type="link" onClick={onDelete}>删除</Button>}
|
|
26480
|
-
// </>
|
|
26481
|
-
// )
|
|
26482
|
-
// }
|
|
26483
|
-
|
|
26484
26083
|
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";
|
|
26485
26084
|
styleInject(css_248z$s);
|
|
26486
26085
|
|
|
@@ -26503,7 +26102,7 @@ var Architecture = decorator(Form.create())(function (props) {
|
|
|
26503
26102
|
className: "kts-invoice-operate-real-estate-info-digtal"
|
|
26504
26103
|
}, /*#__PURE__*/React.createElement("div", {
|
|
26505
26104
|
className: 'real-estate-info-digtal-label'
|
|
26506
|
-
}, "\u7279\
|
|
26105
|
+
}, "\u7279\u6B8A\u4FE1\u606F-\u5EFA\u7B51\u670D\u52A1"), /*#__PURE__*/React.createElement(Row$1, {
|
|
26507
26106
|
gutter: [17, 0]
|
|
26508
26107
|
}, /*#__PURE__*/React.createElement(Col$1, {
|
|
26509
26108
|
span: 6
|
|
@@ -28109,7 +27708,7 @@ var Main$4 = decorator(Form.create())(function (props) {
|
|
|
28109
27708
|
className: "kts-invoice-operate-freight"
|
|
28110
27709
|
}, /*#__PURE__*/React.createElement("div", {
|
|
28111
27710
|
className: 'real-estate-info-digtal-label'
|
|
28112
|
-
}, "\u7279\
|
|
27711
|
+
}, "\u7279\u6B8A\u4FE1\u606F-\u8D27\u7269\u8FD0\u8F93"), /*#__PURE__*/React.createElement("div", {
|
|
28113
27712
|
className: "kts-invoice-operate-goods-list-digtal",
|
|
28114
27713
|
onClick: function onClick(e) {
|
|
28115
27714
|
e.stopPropagation();
|
|
@@ -29572,10 +29171,9 @@ var ImportGoodsDrawer = (function () {
|
|
|
29572
29171
|
while (1) {
|
|
29573
29172
|
switch (_context.prev = _context.next) {
|
|
29574
29173
|
case 0:
|
|
29575
|
-
s.goodsListState.importGoods.filter = {};
|
|
29576
29174
|
s.goodsListState.importGoods.isVisibleDrawer = false;
|
|
29577
29175
|
|
|
29578
|
-
case
|
|
29176
|
+
case 1:
|
|
29579
29177
|
case "end":
|
|
29580
29178
|
return _context.stop();
|
|
29581
29179
|
}
|