kts-component-invoice-operate 3.2.236 → 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 +307 -707
- package/dist/index.js +306 -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 +67 -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
|
|
|
@@ -18651,6 +18636,8 @@ var StakeFarmerholder = decorator(Form.create())(function (props) {
|
|
|
18651
18636
|
setNation('');
|
|
18652
18637
|
}
|
|
18653
18638
|
} else {
|
|
18639
|
+
setStatus('error');
|
|
18640
|
+
setInfo('请输入正确的证件号码');
|
|
18654
18641
|
return Promise.reject("请输入正确的证件号码");
|
|
18655
18642
|
}
|
|
18656
18643
|
} else if (idtype === "237") {
|
|
@@ -18719,6 +18706,8 @@ var StakeFarmerholder = decorator(Form.create())(function (props) {
|
|
|
18719
18706
|
}, [form]);
|
|
18720
18707
|
var validateNationality = useCallback(function (_, value) {
|
|
18721
18708
|
if (!value) {
|
|
18709
|
+
setNationStatue('error');
|
|
18710
|
+
setNation('请选择正确的国籍');
|
|
18722
18711
|
return Promise.resolve();
|
|
18723
18712
|
}
|
|
18724
18713
|
|
|
@@ -20236,6 +20225,9 @@ var NationalSelect = /*#__PURE__*/function (_React$Component3) {
|
|
|
20236
20225
|
}, getLable(props.value));
|
|
20237
20226
|
} else {
|
|
20238
20227
|
return /*#__PURE__*/React.createElement(Select$1, _objectSpread2({
|
|
20228
|
+
style: {
|
|
20229
|
+
width: 100
|
|
20230
|
+
},
|
|
20239
20231
|
options: option
|
|
20240
20232
|
}, props));
|
|
20241
20233
|
}
|
|
@@ -20372,7 +20364,7 @@ var css_248z$j = ".kts-invoice-operate-goods-table-virtual .ktsAntX-table-body {
|
|
|
20372
20364
|
styleInject(css_248z$j);
|
|
20373
20365
|
|
|
20374
20366
|
function TableVirtual$1 (props) {
|
|
20375
|
-
var _props$
|
|
20367
|
+
var _props$dataSource2;
|
|
20376
20368
|
|
|
20377
20369
|
var _React$useState = React.useState(null),
|
|
20378
20370
|
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
@@ -20414,10 +20406,8 @@ function TableVirtual$1 (props) {
|
|
|
20414
20406
|
}, [self, tableBody]); // 设置占位dom的搞
|
|
20415
20407
|
|
|
20416
20408
|
var placeholderHeight = React.useMemo(function () {
|
|
20417
|
-
|
|
20418
|
-
|
|
20419
|
-
if (!self || !rowHeight || !dataSource || !placeholder) return;
|
|
20420
|
-
var placeholderHeight = rowHeight * dataSource.length;
|
|
20409
|
+
if (!self || !rowHeight || !props.dataSource || !placeholder) return;
|
|
20410
|
+
var placeholderHeight = rowHeight * props.dataSource.length;
|
|
20421
20411
|
placeholder.style.height = "".concat(placeholderHeight, "px");
|
|
20422
20412
|
return placeholderHeight;
|
|
20423
20413
|
}, [self, rowHeight, props.dataSource, placeholder]);
|
|
@@ -20429,12 +20419,12 @@ function TableVirtual$1 (props) {
|
|
|
20429
20419
|
}, [tableBody, rowHeight, placeholderHeight]); // 计算渲染的行
|
|
20430
20420
|
|
|
20431
20421
|
var dataSource = React.useMemo(function () {
|
|
20432
|
-
var _props$
|
|
20422
|
+
var _props$dataSource;
|
|
20433
20423
|
|
|
20434
20424
|
if (!props.dataSource) return [];
|
|
20435
20425
|
if (props.dataSource.length < 10) return props.dataSource;
|
|
20436
20426
|
if (!rowSize) return [props.dataSource[0]];
|
|
20437
|
-
return (_props$
|
|
20427
|
+
return (_props$dataSource = props.dataSource) === null || _props$dataSource === void 0 ? void 0 : _props$dataSource.slice(pointer, pointer + 2 * rowSize);
|
|
20438
20428
|
}, [props.dataSource, pointer, rowSize]); // 监听滚动
|
|
20439
20429
|
|
|
20440
20430
|
React.useEffect(function () {
|
|
@@ -20453,24 +20443,17 @@ function TableVirtual$1 (props) {
|
|
|
20453
20443
|
}, [self, placeholder, props.dataSource, rowHeight, rowSize]); // 移动列表
|
|
20454
20444
|
|
|
20455
20445
|
React.useEffect(function () {
|
|
20456
|
-
var _props$dataSource3;
|
|
20457
|
-
|
|
20458
20446
|
if (!self) return;
|
|
20459
20447
|
var table = self.querySelector('.ktsAntX-table .ktsAntX-table-body>table');
|
|
20460
20448
|
if (!table) return;
|
|
20461
|
-
|
|
20462
|
-
|
|
20463
|
-
table.style.top = '0px';
|
|
20464
|
-
} else {
|
|
20465
|
-
table.style.top = "".concat(pointer * rowHeight, "px");
|
|
20466
|
-
}
|
|
20467
|
-
}, [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]);
|
|
20468
20451
|
React.useEffect(function () {
|
|
20469
20452
|
if (!self) return;
|
|
20470
20453
|
var cont = self.querySelector('.kts-invoice-operate-goods-table-virtual .ktsAntX-table-body');
|
|
20471
20454
|
if (!cont) return;
|
|
20472
20455
|
cont.scrollTop = 0;
|
|
20473
|
-
}, [(_props$
|
|
20456
|
+
}, [(_props$dataSource2 = props.dataSource) === null || _props$dataSource2 === void 0 ? void 0 : _props$dataSource2.length]);
|
|
20474
20457
|
return /*#__PURE__*/React.createElement("span", {
|
|
20475
20458
|
className: "kts-invoice-operate-goods-table-virtual",
|
|
20476
20459
|
ref: function ref(e) {
|
|
@@ -20713,86 +20696,43 @@ function addGood$2(_x) {
|
|
|
20713
20696
|
|
|
20714
20697
|
|
|
20715
20698
|
function _addGood$1() {
|
|
20716
|
-
_addGood$1 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function
|
|
20717
|
-
|
|
20718
|
-
|
|
20719
|
-
return _regeneratorRuntime().wrap(function _callee5$(_context5) {
|
|
20699
|
+
_addGood$1 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4(controller) {
|
|
20700
|
+
return _regeneratorRuntime().wrap(function _callee4$(_context4) {
|
|
20720
20701
|
while (1) {
|
|
20721
|
-
switch (
|
|
20702
|
+
switch (_context4.prev = _context4.next) {
|
|
20722
20703
|
case 0:
|
|
20723
|
-
|
|
20724
|
-
return (_controller$formList$ = controller.formList.get('realEstateInfo')) === null || _controller$formList$ === void 0 ? void 0 : _controller$formList$.validateFields( /*#__PURE__*/function () {
|
|
20725
|
-
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(err, values) {
|
|
20726
|
-
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
20727
|
-
while (1) {
|
|
20728
|
-
switch (_context2.prev = _context2.next) {
|
|
20729
|
-
case 0:
|
|
20730
|
-
if (!err) {
|
|
20731
|
-
_context2.next = 3;
|
|
20732
|
-
break;
|
|
20733
|
-
}
|
|
20734
|
-
|
|
20735
|
-
message$1.error('请先填写发票行信息,再添加新的行');
|
|
20736
|
-
return _context2.abrupt("return");
|
|
20737
|
-
|
|
20738
|
-
case 3:
|
|
20739
|
-
case "end":
|
|
20740
|
-
return _context2.stop();
|
|
20741
|
-
}
|
|
20742
|
-
}
|
|
20743
|
-
}, _callee2);
|
|
20744
|
-
}));
|
|
20745
|
-
|
|
20746
|
-
return function (_x4, _x5) {
|
|
20747
|
-
return _ref2.apply(this, arguments);
|
|
20748
|
-
};
|
|
20749
|
-
}());
|
|
20750
|
-
|
|
20751
|
-
case 2:
|
|
20752
|
-
_context5.next = 4;
|
|
20704
|
+
_context4.next = 2;
|
|
20753
20705
|
return controller.saveEditGood();
|
|
20754
20706
|
|
|
20755
|
-
case
|
|
20756
|
-
|
|
20707
|
+
case 2:
|
|
20708
|
+
_context4.next = 4;
|
|
20757
20709
|
return controller.wait();
|
|
20758
20710
|
|
|
20759
|
-
case
|
|
20760
|
-
|
|
20711
|
+
case 4:
|
|
20712
|
+
_context4.next = 6;
|
|
20761
20713
|
return controller.run( /*#__PURE__*/function () {
|
|
20762
|
-
var
|
|
20763
|
-
var
|
|
20714
|
+
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(s) {
|
|
20715
|
+
var _controller$state$goo;
|
|
20764
20716
|
|
|
20765
|
-
return _regeneratorRuntime().wrap(function
|
|
20717
|
+
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
20766
20718
|
while (1) {
|
|
20767
|
-
switch (
|
|
20719
|
+
switch (_context3.prev = _context3.next) {
|
|
20768
20720
|
case 0:
|
|
20769
20721
|
if (!s.goodsListState.editGood) {
|
|
20770
|
-
|
|
20771
|
-
break;
|
|
20772
|
-
}
|
|
20773
|
-
|
|
20774
|
-
// message.error({
|
|
20775
|
-
// content: '你正在编辑一个货物',
|
|
20776
|
-
// key: '你正在编辑一个货物',
|
|
20777
|
-
// });
|
|
20778
|
-
// return;
|
|
20779
|
-
isValidateGood = controller.state.goodsListState.isValidateGood;
|
|
20780
|
-
|
|
20781
|
-
if (!isValidateGood) {
|
|
20782
|
-
_context4.next = 5;
|
|
20722
|
+
_context3.next = 3;
|
|
20783
20723
|
break;
|
|
20784
20724
|
}
|
|
20785
20725
|
|
|
20786
|
-
|
|
20726
|
+
_context3.next = 3;
|
|
20787
20727
|
return (_controller$state$goo = controller.state.goodsListState.form) === null || _controller$state$goo === void 0 ? void 0 : _controller$state$goo.validateFields( /*#__PURE__*/function () {
|
|
20788
|
-
var
|
|
20728
|
+
var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(err, values) {
|
|
20789
20729
|
var firstError;
|
|
20790
|
-
return _regeneratorRuntime().wrap(function
|
|
20730
|
+
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
20791
20731
|
while (1) {
|
|
20792
|
-
switch (
|
|
20732
|
+
switch (_context2.prev = _context2.next) {
|
|
20793
20733
|
case 0:
|
|
20794
20734
|
if (!err) {
|
|
20795
|
-
|
|
20735
|
+
_context2.next = 4;
|
|
20796
20736
|
break;
|
|
20797
20737
|
}
|
|
20798
20738
|
|
|
@@ -20801,50 +20741,50 @@ function _addGood$1() {
|
|
|
20801
20741
|
content: firstError.errors[0].message,
|
|
20802
20742
|
key: '你正在编辑一个货物'
|
|
20803
20743
|
});
|
|
20804
|
-
return
|
|
20744
|
+
return _context2.abrupt("return");
|
|
20805
20745
|
|
|
20806
20746
|
case 4:
|
|
20807
20747
|
case "end":
|
|
20808
|
-
return
|
|
20748
|
+
return _context2.stop();
|
|
20809
20749
|
}
|
|
20810
20750
|
}
|
|
20811
|
-
},
|
|
20751
|
+
}, _callee2);
|
|
20812
20752
|
}));
|
|
20813
20753
|
|
|
20814
|
-
return function (
|
|
20815
|
-
return
|
|
20754
|
+
return function (_x5, _x6) {
|
|
20755
|
+
return _ref3.apply(this, arguments);
|
|
20816
20756
|
};
|
|
20817
20757
|
}());
|
|
20818
20758
|
|
|
20819
|
-
case
|
|
20820
|
-
|
|
20759
|
+
case 3:
|
|
20760
|
+
_context3.next = 5;
|
|
20821
20761
|
return controller.addGood({
|
|
20822
20762
|
taxRate: s.goodsListState.defaultRate,
|
|
20823
20763
|
lineAttribute: LineAttributeType$1.正常
|
|
20824
20764
|
});
|
|
20825
20765
|
|
|
20826
|
-
case
|
|
20827
|
-
s.goodsListState.editGood =
|
|
20766
|
+
case 5:
|
|
20767
|
+
s.goodsListState.editGood = _context3.sent;
|
|
20828
20768
|
|
|
20829
|
-
case
|
|
20769
|
+
case 6:
|
|
20830
20770
|
case "end":
|
|
20831
|
-
return
|
|
20771
|
+
return _context3.stop();
|
|
20832
20772
|
}
|
|
20833
20773
|
}
|
|
20834
|
-
},
|
|
20774
|
+
}, _callee3);
|
|
20835
20775
|
}));
|
|
20836
20776
|
|
|
20837
|
-
return function (
|
|
20838
|
-
return
|
|
20777
|
+
return function (_x4) {
|
|
20778
|
+
return _ref2.apply(this, arguments);
|
|
20839
20779
|
};
|
|
20840
20780
|
}());
|
|
20841
20781
|
|
|
20842
|
-
case
|
|
20782
|
+
case 6:
|
|
20843
20783
|
case "end":
|
|
20844
|
-
return
|
|
20784
|
+
return _context4.stop();
|
|
20845
20785
|
}
|
|
20846
20786
|
}
|
|
20847
|
-
},
|
|
20787
|
+
}, _callee4);
|
|
20848
20788
|
}));
|
|
20849
20789
|
return _addGood$1.apply(this, arguments);
|
|
20850
20790
|
}
|
|
@@ -20854,34 +20794,34 @@ function rollBottom$1(_x2, _x3) {
|
|
|
20854
20794
|
}
|
|
20855
20795
|
|
|
20856
20796
|
function _rollBottom$1() {
|
|
20857
|
-
_rollBottom$1 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function
|
|
20797
|
+
_rollBottom$1 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee5(controller, rootElement) {
|
|
20858
20798
|
var cont;
|
|
20859
|
-
return _regeneratorRuntime().wrap(function
|
|
20799
|
+
return _regeneratorRuntime().wrap(function _callee5$(_context5) {
|
|
20860
20800
|
while (1) {
|
|
20861
|
-
switch (
|
|
20801
|
+
switch (_context5.prev = _context5.next) {
|
|
20862
20802
|
case 0:
|
|
20863
|
-
|
|
20803
|
+
_context5.next = 2;
|
|
20864
20804
|
return controller.wait();
|
|
20865
20805
|
|
|
20866
20806
|
case 2:
|
|
20867
20807
|
cont = rootElement === null || rootElement === void 0 ? void 0 : rootElement.querySelector('.ktsAntX-table-body');
|
|
20868
20808
|
|
|
20869
20809
|
if (cont) {
|
|
20870
|
-
|
|
20810
|
+
_context5.next = 5;
|
|
20871
20811
|
break;
|
|
20872
20812
|
}
|
|
20873
20813
|
|
|
20874
|
-
return
|
|
20814
|
+
return _context5.abrupt("return");
|
|
20875
20815
|
|
|
20876
20816
|
case 5:
|
|
20877
20817
|
cont.scrollTop = cont.scrollHeight;
|
|
20878
20818
|
|
|
20879
20819
|
case 6:
|
|
20880
20820
|
case "end":
|
|
20881
|
-
return
|
|
20821
|
+
return _context5.stop();
|
|
20882
20822
|
}
|
|
20883
20823
|
}
|
|
20884
|
-
},
|
|
20824
|
+
}, _callee5);
|
|
20885
20825
|
}));
|
|
20886
20826
|
return _rollBottom$1.apply(this, arguments);
|
|
20887
20827
|
}
|
|
@@ -22208,7 +22148,7 @@ var onChangeSwitchTax$1 = /*#__PURE__*/function () {
|
|
|
22208
22148
|
};
|
|
22209
22149
|
}();
|
|
22210
22150
|
|
|
22211
|
-
var TaxIncludedSwitch$1 = (function (
|
|
22151
|
+
var TaxIncludedSwitch$1 = (function () {
|
|
22212
22152
|
var controller = Invoice.useInvoiceController();
|
|
22213
22153
|
/** 是否含税 */
|
|
22214
22154
|
|
|
@@ -22227,9 +22167,8 @@ var TaxIncludedSwitch$1 = (function (props) {
|
|
|
22227
22167
|
switch (_context.prev = _context.next) {
|
|
22228
22168
|
case 0:
|
|
22229
22169
|
onChangeSwitchTax$1(controller, e);
|
|
22230
|
-
props.onChange && props.onChange(e);
|
|
22231
22170
|
|
|
22232
|
-
case
|
|
22171
|
+
case 1:
|
|
22233
22172
|
case "end":
|
|
22234
22173
|
return _context.stop();
|
|
22235
22174
|
}
|
|
@@ -23134,9 +23073,6 @@ var useColumns$1 = (function (form) {
|
|
|
23134
23073
|
var changeField = controller.useMemo(function (e) {
|
|
23135
23074
|
return e.calculatingField;
|
|
23136
23075
|
}, []);
|
|
23137
|
-
var isValidateGood = controller.useMemo(function (s) {
|
|
23138
|
-
return s.goodsListState.isValidateGood;
|
|
23139
|
-
}, []);
|
|
23140
23076
|
/** 计算中启动字段 */
|
|
23141
23077
|
|
|
23142
23078
|
var setChangeField = React.useCallback(function (value) {
|
|
@@ -23231,37 +23167,25 @@ var useColumns$1 = (function (form) {
|
|
|
23231
23167
|
while (1) {
|
|
23232
23168
|
switch (_context2.prev = _context2.next) {
|
|
23233
23169
|
case 0:
|
|
23234
|
-
|
|
23235
|
-
_context2.next = 11;
|
|
23236
|
-
break;
|
|
23237
|
-
}
|
|
23238
|
-
|
|
23239
|
-
_context2.next = 3;
|
|
23170
|
+
_context2.next = 2;
|
|
23240
23171
|
return controller.wait();
|
|
23241
23172
|
|
|
23242
|
-
case
|
|
23173
|
+
case 2:
|
|
23243
23174
|
value = controller.state.goodsListState.editGood;
|
|
23244
23175
|
|
|
23245
23176
|
if (!(!(value === null || value === void 0 ? void 0 : value.itemName) && !(value === null || value === void 0 ? void 0 : value.itemNameSelf))) {
|
|
23246
|
-
_context2.next =
|
|
23177
|
+
_context2.next = 7;
|
|
23247
23178
|
break;
|
|
23248
23179
|
}
|
|
23249
23180
|
|
|
23250
23181
|
callback('项目名称不能为空');
|
|
23251
|
-
_context2.next =
|
|
23182
|
+
_context2.next = 8;
|
|
23252
23183
|
break;
|
|
23253
23184
|
|
|
23254
|
-
case
|
|
23185
|
+
case 7:
|
|
23255
23186
|
return _context2.abrupt("return");
|
|
23256
23187
|
|
|
23257
|
-
case
|
|
23258
|
-
_context2.next = 12;
|
|
23259
|
-
break;
|
|
23260
|
-
|
|
23261
|
-
case 11:
|
|
23262
|
-
callback();
|
|
23263
|
-
|
|
23264
|
-
case 12:
|
|
23188
|
+
case 8:
|
|
23265
23189
|
case "end":
|
|
23266
23190
|
return _context2.stop();
|
|
23267
23191
|
}
|
|
@@ -23462,34 +23386,24 @@ var useColumns$1 = (function (form) {
|
|
|
23462
23386
|
while (1) {
|
|
23463
23387
|
switch (_context6.prev = _context6.next) {
|
|
23464
23388
|
case 0:
|
|
23465
|
-
|
|
23466
|
-
_context6.next = 10;
|
|
23467
|
-
break;
|
|
23468
|
-
}
|
|
23469
|
-
|
|
23470
|
-
_context6.next = 3;
|
|
23389
|
+
_context6.next = 2;
|
|
23471
23390
|
return controller.wait();
|
|
23472
23391
|
|
|
23473
|
-
case
|
|
23392
|
+
case 2:
|
|
23474
23393
|
isvalue = !!value || value === 0;
|
|
23475
23394
|
isPrice = !!getFieldValue(isTaxIncluded ? 'priceIncludeTax' : 'priceExcludeTax') || getFieldValue(isTaxIncluded ? 'priceIncludeTax' : 'priceExcludeTax') === 0;
|
|
23476
23395
|
|
|
23477
23396
|
if (!(isvalue || isPrice === isvalue)) {
|
|
23478
|
-
_context6.next =
|
|
23397
|
+
_context6.next = 6;
|
|
23479
23398
|
break;
|
|
23480
23399
|
}
|
|
23481
23400
|
|
|
23482
23401
|
return _context6.abrupt("return");
|
|
23483
23402
|
|
|
23484
|
-
case
|
|
23403
|
+
case 6:
|
|
23485
23404
|
callback('请输入数量');
|
|
23486
|
-
_context6.next = 11;
|
|
23487
|
-
break;
|
|
23488
23405
|
|
|
23489
|
-
case
|
|
23490
|
-
callback();
|
|
23491
|
-
|
|
23492
|
-
case 11:
|
|
23406
|
+
case 7:
|
|
23493
23407
|
case "end":
|
|
23494
23408
|
return _context6.stop();
|
|
23495
23409
|
}
|
|
@@ -23707,7 +23621,7 @@ var useColumns$1 = (function (form) {
|
|
|
23707
23621
|
initialValue: editGood.lineAmountIncludeTax,
|
|
23708
23622
|
getValueFromEvent: onNumberValueChange,
|
|
23709
23623
|
rules: [].concat(_toConsumableArray(getReplenishRules('lineAmountIncludeTax')), [{
|
|
23710
|
-
required:
|
|
23624
|
+
required: true,
|
|
23711
23625
|
message: '金额不能为空'
|
|
23712
23626
|
}, {
|
|
23713
23627
|
pattern: /^[+-]?(0|([1-9]\d*))(\.\d+)?$/,
|
|
@@ -23778,7 +23692,7 @@ var useColumns$1 = (function (form) {
|
|
|
23778
23692
|
style: {
|
|
23779
23693
|
padding: '0 10px'
|
|
23780
23694
|
}
|
|
23781
|
-
},
|
|
23695
|
+
}, formatSearch$1(parseFloat(value).toFixed(2), searchValue));
|
|
23782
23696
|
}
|
|
23783
23697
|
}
|
|
23784
23698
|
}, {
|
|
@@ -23795,7 +23709,7 @@ var useColumns$1 = (function (form) {
|
|
|
23795
23709
|
initialValue: editGood.lineAmountExcludeTax,
|
|
23796
23710
|
getValueFromEvent: onNumberValueChange,
|
|
23797
23711
|
rules: [].concat(_toConsumableArray(getReplenishRules('lineAmountExcludeTax')), [{
|
|
23798
|
-
required:
|
|
23712
|
+
required: true,
|
|
23799
23713
|
message: '金额不能为空'
|
|
23800
23714
|
}, {
|
|
23801
23715
|
pattern: /^[+-]?(0|([1-9]\d*))(\.\d+)?$/,
|
|
@@ -23841,7 +23755,7 @@ var useColumns$1 = (function (form) {
|
|
|
23841
23755
|
style: {
|
|
23842
23756
|
padding: '0 10px'
|
|
23843
23757
|
}
|
|
23844
|
-
},
|
|
23758
|
+
}, formatSearch$1(parseFloat(value).toFixed(2), searchValue));
|
|
23845
23759
|
}
|
|
23846
23760
|
}
|
|
23847
23761
|
}, {
|
|
@@ -23857,7 +23771,7 @@ var useColumns$1 = (function (form) {
|
|
|
23857
23771
|
return /*#__PURE__*/React.createElement(Form.Item, null, getFieldDecorator('taxRate', {
|
|
23858
23772
|
initialValue: editGood.taxRate,
|
|
23859
23773
|
rules: [].concat(_toConsumableArray(getReplenishRules('taxRate')), [{
|
|
23860
|
-
required:
|
|
23774
|
+
required: true,
|
|
23861
23775
|
message: '请选择税率'
|
|
23862
23776
|
}, {
|
|
23863
23777
|
pattern: /^[+-]?(0|([1-9]\d*))(\.\d+)?$/,
|
|
@@ -23884,15 +23798,11 @@ var useColumns$1 = (function (form) {
|
|
|
23884
23798
|
}, e, "%");
|
|
23885
23799
|
}))));
|
|
23886
23800
|
} else {
|
|
23887
|
-
|
|
23888
|
-
|
|
23889
|
-
|
|
23890
|
-
|
|
23891
|
-
|
|
23892
|
-
}, isDutyFree$1(record) ? '免税' : "".concat(value, "%"));
|
|
23893
|
-
} else {
|
|
23894
|
-
return '';
|
|
23895
|
-
}
|
|
23801
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
23802
|
+
style: {
|
|
23803
|
+
padding: '0 10px'
|
|
23804
|
+
}
|
|
23805
|
+
}, isDutyFree$1(record) ? '免税' : "".concat(value, "%"));
|
|
23896
23806
|
}
|
|
23897
23807
|
}
|
|
23898
23808
|
}, {
|
|
@@ -23908,7 +23818,7 @@ var useColumns$1 = (function (form) {
|
|
|
23908
23818
|
return /*#__PURE__*/React.createElement(Form.Item, null, getFieldDecorator('taxAmount', {
|
|
23909
23819
|
initialValue: editGood.taxAmount,
|
|
23910
23820
|
rules: [].concat(_toConsumableArray(getReplenishRules('taxAmount')), [{
|
|
23911
|
-
required:
|
|
23821
|
+
required: true,
|
|
23912
23822
|
message: '税额不能为空'
|
|
23913
23823
|
}, {
|
|
23914
23824
|
validator: function validator(rule, value, callback) {
|
|
@@ -23953,7 +23863,7 @@ var useColumns$1 = (function (form) {
|
|
|
23953
23863
|
style: {
|
|
23954
23864
|
padding: '0 10px'
|
|
23955
23865
|
}
|
|
23956
|
-
}, isDutyFree$1(record) ? '***' :
|
|
23866
|
+
}, isDutyFree$1(record) ? '***' : parseFloat(value).toFixed(2));
|
|
23957
23867
|
}
|
|
23958
23868
|
}
|
|
23959
23869
|
}] // 含税不含税
|
|
@@ -25898,9 +25808,7 @@ var Main$3 = decorator(Form.create())(function (props) {
|
|
|
25898
25808
|
}
|
|
25899
25809
|
}, /*#__PURE__*/React.createElement("div", {
|
|
25900
25810
|
className: "kts-invoice-operate-goods-list-able"
|
|
25901
|
-
}, /*#__PURE__*/React.createElement(AddRowButton$1, null), delRowButton.button, addDiscountRowButton.button, endowCodeButton.button, /*#__PURE__*/React.createElement(TaxIncludedSwitch$1, {
|
|
25902
|
-
onChange: props.onTaxSwitchChange
|
|
25903
|
-
}), /*#__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", {
|
|
25904
25812
|
style: {
|
|
25905
25813
|
flex: 1
|
|
25906
25814
|
}
|
|
@@ -25931,7 +25839,7 @@ var Main$3 = decorator(Form.create())(function (props) {
|
|
|
25931
25839
|
})), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Statistics$1, null)));
|
|
25932
25840
|
});
|
|
25933
25841
|
|
|
25934
|
-
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";
|
|
25935
25843
|
styleInject(css_248z$r);
|
|
25936
25844
|
|
|
25937
25845
|
var RangePicker = DatePicker.RangePicker;
|
|
@@ -25947,272 +25855,126 @@ var RealEstateInfo = decorator(Form.create())(function (props) {
|
|
|
25947
25855
|
}, []);
|
|
25948
25856
|
var readOnly = React.useMemo(function () {
|
|
25949
25857
|
return model === 'readOnly';
|
|
25950
|
-
}, [model]);
|
|
25951
|
-
var goodsList = controller.useMemo(function (s) {
|
|
25952
|
-
return s.goodsListState.goodsList;
|
|
25953
|
-
}, []); //outcome-104 任务 https://wiki.dev.kingxunlian.com/pages/viewpage.action?pageId=180355189
|
|
25954
|
-
//商品和服务税收分类合并编码为“3040502020200000000”时,视为停车费业务,针对停车费业务,蓝字发票增加以下判断:
|
|
25955
|
-
// 单位必须为“平方米”;
|
|
25956
|
-
// 项目名称必须为“车辆停放服务”;
|
|
25957
|
-
// 车牌号必填,最多支持填写3个车牌号;除该场景车牌号必须为空;
|
|
25958
|
-
// 租赁期起止格式必须为“yyyy-MM-dd HH:mm(租赁期起)”+“空格”+“yyyy-MM-dd HH:mm(租赁期止)。
|
|
25959
|
-
|
|
25960
|
-
var isParkFee = React.useCallback(function (taxClassificationCode) {
|
|
25961
|
-
if (taxClassificationCode === '3040502020200000000') {
|
|
25962
|
-
return true;
|
|
25963
|
-
} else {
|
|
25964
|
-
return false;
|
|
25965
|
-
}
|
|
25966
|
-
}, []);
|
|
25967
|
-
var indexRef = React.useRef([]);
|
|
25968
|
-
useEffect(function () {
|
|
25969
|
-
var dd = goodsList === null || goodsList === void 0 ? void 0 : goodsList.reduce(function (acc, cur) {
|
|
25970
|
-
if (cur.lineAttribute !== 1) {
|
|
25971
|
-
acc.push(cur.$index);
|
|
25972
|
-
}
|
|
25973
|
-
|
|
25974
|
-
return acc;
|
|
25975
|
-
}, []);
|
|
25976
|
-
indexRef.current = dd;
|
|
25977
|
-
}, [goodsList, indexRef]); // 注册 form
|
|
25858
|
+
}, [model]); // 注册 form
|
|
25978
25859
|
|
|
25979
25860
|
controller.useForm('realEstateInfo', form);
|
|
25980
|
-
|
|
25981
|
-
var getList = function getList() {
|
|
25982
|
-
var decrease = indexRef.current.length > goodsList.length;
|
|
25983
|
-
|
|
25984
|
-
if (decrease) {
|
|
25985
|
-
//已删行列表
|
|
25986
|
-
var diff = indexRef.current.filter(function (item) {
|
|
25987
|
-
return !goodsList.find(function (i) {
|
|
25988
|
-
return i.$index === item;
|
|
25989
|
-
});
|
|
25990
|
-
});
|
|
25991
|
-
var formData = form.getFieldValue('realEstateDataDto');
|
|
25992
|
-
|
|
25993
|
-
if (Array.isArray(formData) && diff.length > 0) {
|
|
25994
|
-
var newForm = formData === null || formData === void 0 ? void 0 : formData.filter(function (item) {
|
|
25995
|
-
return !diff.find(function (i) {
|
|
25996
|
-
return i === item.$index;
|
|
25997
|
-
});
|
|
25998
|
-
});
|
|
25999
|
-
form.setFieldsValue({
|
|
26000
|
-
realEstateDataDto: newForm
|
|
26001
|
-
});
|
|
26002
|
-
} else {
|
|
26003
|
-
form.setFieldsValue({
|
|
26004
|
-
realEstateDataDto: undefined
|
|
26005
|
-
});
|
|
26006
|
-
}
|
|
26007
|
-
}
|
|
26008
|
-
|
|
26009
|
-
return goodsList.filter(function (item) {
|
|
26010
|
-
return item.lineAttribute !== 1;
|
|
26011
|
-
}).map(function (item, index) {
|
|
26012
|
-
if (item.lineAttribute !== 1) {
|
|
26013
|
-
var isParkFeeItem = isParkFee(item.taxClassificationCode);
|
|
26014
|
-
return /*#__PURE__*/React.createElement(Row$1, {
|
|
26015
|
-
gutter: [17, 0]
|
|
26016
|
-
}, /*#__PURE__*/React.createElement(Col$1, {
|
|
26017
|
-
span: 6
|
|
26018
|
-
}, /*#__PURE__*/React.createElement(Form.Item, {
|
|
26019
|
-
style: {
|
|
26020
|
-
display: 'none'
|
|
26021
|
-
}
|
|
26022
|
-
}, getFieldDecorator("realEstateDataDto[".concat(index, "].$index"), {
|
|
26023
|
-
initialValue: item.$index
|
|
26024
|
-
})( /*#__PURE__*/React.createElement(Input$2, null))), /*#__PURE__*/React.createElement(Form.Item, {
|
|
26025
|
-
label: "\u4E0D\u52A8\u4EA7\u5730\u5740"
|
|
26026
|
-
}, getFieldDecorator("realEstateDataDto[".concat(index, "].realEstateAddress"), {
|
|
26027
|
-
rules: readOnly ? [] : [{
|
|
26028
|
-
required: true,
|
|
26029
|
-
message: '请选择不动产地址'
|
|
26030
|
-
}]
|
|
26031
|
-
})(readOnly ? /*#__PURE__*/React.createElement(MyArrString, null) : /*#__PURE__*/React.createElement(Cascader, {
|
|
26032
|
-
style: {
|
|
26033
|
-
width: '100%'
|
|
26034
|
-
},
|
|
26035
|
-
options: props.realEstateAddressOptions,
|
|
26036
|
-
fieldNames: props.realEstateAddressFieldNames,
|
|
26037
|
-
placeholder: "\u8BF7\u9009\u62E9\u7701\u5E02\u533A\u53BF"
|
|
26038
|
-
})))), /*#__PURE__*/React.createElement(Col$1, {
|
|
26039
|
-
span: 6
|
|
26040
|
-
}, /*#__PURE__*/React.createElement(Form.Item, {
|
|
26041
|
-
label: "\u8BE6\u7EC6\u5730\u5740"
|
|
26042
|
-
}, getFieldDecorator("realEstateDataDto[".concat(index, "].realEstateDetailedAddress"), {
|
|
26043
|
-
rules: readOnly ? [] : [{
|
|
26044
|
-
required: true,
|
|
26045
|
-
message: '请输入详细地址'
|
|
26046
|
-
}, {
|
|
26047
|
-
max: 120,
|
|
26048
|
-
message: '详细地址最多120个字符'
|
|
26049
|
-
}, {
|
|
26050
|
-
validator: function () {
|
|
26051
|
-
var _validator = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(_, value, callback) {
|
|
26052
|
-
var pattern;
|
|
26053
|
-
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
26054
|
-
while (1) {
|
|
26055
|
-
switch (_context.prev = _context.next) {
|
|
26056
|
-
case 0:
|
|
26057
|
-
pattern = /街|路|村|乡|镇|道|巷|号/;
|
|
26058
|
-
|
|
26059
|
-
if (pattern.test(value)) {
|
|
26060
|
-
callback();
|
|
26061
|
-
} else {
|
|
26062
|
-
callback('地址必须包含“街”、“路”、“村”、“乡”、“镇”、“道”、“巷”、“号”等任意一个关键词');
|
|
26063
|
-
}
|
|
26064
|
-
|
|
26065
|
-
case 2:
|
|
26066
|
-
case "end":
|
|
26067
|
-
return _context.stop();
|
|
26068
|
-
}
|
|
26069
|
-
}
|
|
26070
|
-
}, _callee);
|
|
26071
|
-
}));
|
|
26072
|
-
|
|
26073
|
-
function validator(_x, _x2, _x3) {
|
|
26074
|
-
return _validator.apply(this, arguments);
|
|
26075
|
-
}
|
|
26076
|
-
|
|
26077
|
-
return validator;
|
|
26078
|
-
}()
|
|
26079
|
-
}]
|
|
26080
|
-
})(readOnly ? /*#__PURE__*/React.createElement(MyDiv$3, null) : /*#__PURE__*/React.createElement(Input$2, {
|
|
26081
|
-
autoComplete: 'off',
|
|
26082
|
-
placeholder: "\u8BF7\u8F93\u5165\u8BE6\u7EC6\u5730\u5740"
|
|
26083
|
-
})))), !isParkFeeItem && /*#__PURE__*/React.createElement(Col$1, {
|
|
26084
|
-
span: 6
|
|
26085
|
-
}, /*#__PURE__*/React.createElement(Form.Item, {
|
|
26086
|
-
label: "\u79DF\u8D41\u671F\u8D77\u6B62"
|
|
26087
|
-
}, getFieldDecorator("realEstateDataDto[".concat(index, "].leaseTerm"), {
|
|
26088
|
-
rules: readOnly ? [] : [{
|
|
26089
|
-
required: true,
|
|
26090
|
-
message: '请输入租赁期'
|
|
26091
|
-
}]
|
|
26092
|
-
})(readOnly ? /*#__PURE__*/React.createElement(MyArrMoment, null) : /*#__PURE__*/React.createElement(RangePicker, {
|
|
26093
|
-
style: {
|
|
26094
|
-
width: '100%'
|
|
26095
|
-
}
|
|
26096
|
-
})))), isParkFeeItem && /*#__PURE__*/React.createElement(Col$1, {
|
|
26097
|
-
span: 6
|
|
26098
|
-
}, /*#__PURE__*/React.createElement(Form.Item, {
|
|
26099
|
-
label: "\u79DF\u8D41\u671F\u8D77\u6B62"
|
|
26100
|
-
}, getFieldDecorator("realEstateDataDto[".concat(index, "].leaseTerm"), {
|
|
26101
|
-
rules: readOnly ? [] : [{
|
|
26102
|
-
required: true,
|
|
26103
|
-
message: '请输入租赁期'
|
|
26104
|
-
}]
|
|
26105
|
-
})(readOnly ? /*#__PURE__*/React.createElement(MyArrMomentTime, null) : /*#__PURE__*/React.createElement(RangePicker, {
|
|
26106
|
-
style: {
|
|
26107
|
-
width: '100%'
|
|
26108
|
-
},
|
|
26109
|
-
showTime: {
|
|
26110
|
-
format: 'HH:mm'
|
|
26111
|
-
},
|
|
26112
|
-
format: "YYYY-MM-DD HH:mm"
|
|
26113
|
-
})))), /*#__PURE__*/React.createElement(Col$1, {
|
|
26114
|
-
span: 6
|
|
26115
|
-
}, /*#__PURE__*/React.createElement(Form.Item, {
|
|
26116
|
-
label: "\u8DE8\u5730\uFF08\u5E02\uFF09\u6807\u5FD7"
|
|
26117
|
-
}, getFieldDecorator("realEstateDataDto[".concat(index, "].crossCitiesSign"), {
|
|
26118
|
-
rules: readOnly ? [] : [{
|
|
26119
|
-
required: true,
|
|
26120
|
-
message: '请选择跨地(市)标志'
|
|
26121
|
-
}]
|
|
26122
|
-
})(readOnly ? /*#__PURE__*/React.createElement(MyNY, null) : /*#__PURE__*/React.createElement(Select$2, {
|
|
26123
|
-
placeholder: "\u8BF7\u9009\u62E9",
|
|
26124
|
-
style: {
|
|
26125
|
-
width: '100%'
|
|
26126
|
-
}
|
|
26127
|
-
}, /*#__PURE__*/React.createElement(Select$2.Option, {
|
|
26128
|
-
value: 'Y'
|
|
26129
|
-
}, "\u662F"), /*#__PURE__*/React.createElement(Select$2.Option, {
|
|
26130
|
-
value: 'N'
|
|
26131
|
-
}, "\u5426"))))), /*#__PURE__*/React.createElement(Col$1, {
|
|
26132
|
-
span: 6
|
|
26133
|
-
}, /*#__PURE__*/React.createElement(Form.Item, {
|
|
26134
|
-
label: "\u4EA7\u6743\u8BC1\u4E66/\u4E0D\u52A8\u4EA7\u6743\u8BC1\u53F7"
|
|
26135
|
-
}, getFieldDecorator("realEstateDataDto[".concat(index, "].realEstateNumber"), {
|
|
26136
|
-
rules: readOnly ? [] : [{
|
|
26137
|
-
required: true,
|
|
26138
|
-
message: '请输入证书编号,若没有证书填写“无”'
|
|
26139
|
-
}, {
|
|
26140
|
-
max: 40,
|
|
26141
|
-
message: '证书编号最多40个字符'
|
|
26142
|
-
}]
|
|
26143
|
-
})(readOnly ? /*#__PURE__*/React.createElement(MyDiv$3, null) : /*#__PURE__*/React.createElement(Input$2, {
|
|
26144
|
-
autoComplete: 'off',
|
|
26145
|
-
placeholder: "\u8BF7\u8F93\u5165\u8BC1\u4E66\u7F16\u53F7\uFF0C\u82E5\u6CA1\u6709\u8BC1\u4E66\u586B\u5199\u201C\u65E0\u201D"
|
|
26146
|
-
})))), !isParkFeeItem && /*#__PURE__*/React.createElement(Col$1, {
|
|
26147
|
-
span: 6
|
|
26148
|
-
}, /*#__PURE__*/React.createElement(Form.Item, {
|
|
26149
|
-
label: "\u9762\u79EF\u5355\u4F4D"
|
|
26150
|
-
}, getFieldDecorator("realEstateDataDto[".concat(index, "].realEstateUnit"), {
|
|
26151
|
-
rules: readOnly ? [] : [{
|
|
26152
|
-
required: true,
|
|
26153
|
-
message: '请选择面积单位'
|
|
26154
|
-
}]
|
|
26155
|
-
})(readOnly ? /*#__PURE__*/React.createElement(MyDiv$3, null) : /*#__PURE__*/React.createElement(Select$2, {
|
|
26156
|
-
placeholder: "\u8BF7\u9009\u62E9",
|
|
26157
|
-
style: {
|
|
26158
|
-
width: '100%'
|
|
26159
|
-
}
|
|
26160
|
-
}, /*#__PURE__*/React.createElement(Select$2.Option, {
|
|
26161
|
-
value: "\u5E73\u65B9\u5343\u7C73"
|
|
26162
|
-
}, "\u5E73\u65B9\u5343\u7C73"), /*#__PURE__*/React.createElement(Select$2.Option, {
|
|
26163
|
-
value: "\u5E73\u65B9\u7C73"
|
|
26164
|
-
}, "\u5E73\u65B9\u7C73"), /*#__PURE__*/React.createElement(Select$2.Option, {
|
|
26165
|
-
value: "\u516C\u9877"
|
|
26166
|
-
}, "\u516C\u9877"), /*#__PURE__*/React.createElement(Select$2.Option, {
|
|
26167
|
-
value: "\u4EA9"
|
|
26168
|
-
}, "\u4EA9"), /*#__PURE__*/React.createElement(Select$2.Option, {
|
|
26169
|
-
value: "h\u33A1"
|
|
26170
|
-
}, "h\u33A1"), /*#__PURE__*/React.createElement(Select$2.Option, {
|
|
26171
|
-
value: "k\u33A1"
|
|
26172
|
-
}, "k\u33A1"), /*#__PURE__*/React.createElement(Select$2.Option, {
|
|
26173
|
-
value: "\u33A1"
|
|
26174
|
-
}, "\u33A1"))))), isParkFeeItem && /*#__PURE__*/React.createElement(Col$1, {
|
|
26175
|
-
span: 6
|
|
26176
|
-
}, /*#__PURE__*/React.createElement(Form.Item, {
|
|
26177
|
-
label: "\u9762\u79EF\u5355\u4F4D"
|
|
26178
|
-
}, getFieldDecorator("realEstateDataDto[".concat(index, "].realEstateUnit"), {
|
|
26179
|
-
rules: readOnly ? [] : [{
|
|
26180
|
-
required: true,
|
|
26181
|
-
message: '请选择面积单位'
|
|
26182
|
-
}]
|
|
26183
|
-
})(readOnly ? /*#__PURE__*/React.createElement(MyDiv$3, null) : /*#__PURE__*/React.createElement(Select$2, {
|
|
26184
|
-
placeholder: "\u8BF7\u9009\u62E9",
|
|
26185
|
-
style: {
|
|
26186
|
-
width: '100%'
|
|
26187
|
-
}
|
|
26188
|
-
}, /*#__PURE__*/React.createElement(Select$2.Option, {
|
|
26189
|
-
value: "\u5E73\u65B9\u7C73"
|
|
26190
|
-
}, "\u5E73\u65B9\u7C73"))))), isParkFeeItem && /*#__PURE__*/React.createElement(LicensePlateNumber, {
|
|
26191
|
-
form: form,
|
|
26192
|
-
index: index,
|
|
26193
|
-
cd: item.cd,
|
|
26194
|
-
readOnly: readOnly
|
|
26195
|
-
}) // <Col span={6} >
|
|
26196
|
-
// <Form.Item label='车牌号' >
|
|
26197
|
-
// {getFieldDecorator(`realEstateDataDto[${index}].licensePlateNumber`, {
|
|
26198
|
-
// rules: readOnly ? [] : [{ required: true, message: '请选择面积单位' }]
|
|
26199
|
-
// })(
|
|
26200
|
-
// readOnly
|
|
26201
|
-
// ? <MyDiv />
|
|
26202
|
-
// : <LicensePlateNumber form={form}/>
|
|
26203
|
-
// )}
|
|
26204
|
-
// </Form.Item>
|
|
26205
|
-
// </Col>
|
|
26206
|
-
);
|
|
26207
|
-
}
|
|
26208
|
-
});
|
|
26209
|
-
};
|
|
26210
|
-
|
|
26211
25861
|
return /*#__PURE__*/React.createElement("div", {
|
|
26212
25862
|
className: "kts-invoice-operate-real-estate-info-digtal"
|
|
26213
25863
|
}, /*#__PURE__*/React.createElement("div", {
|
|
26214
25864
|
className: 'real-estate-info-digtal-label'
|
|
26215
|
-
}, "\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")))))));
|
|
26216
25978
|
});
|
|
26217
25979
|
|
|
26218
25980
|
var MyDiv$3 = /*#__PURE__*/function (_React$Component) {
|
|
@@ -26288,52 +26050,22 @@ var MyArrMoment = /*#__PURE__*/function (_React$Component3) {
|
|
|
26288
26050
|
color: '#9F603D',
|
|
26289
26051
|
fontWeight: 600
|
|
26290
26052
|
}
|
|
26291
|
-
}, " - "), /*#__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')));
|
|
26292
26054
|
}
|
|
26293
26055
|
}]);
|
|
26294
26056
|
|
|
26295
26057
|
return MyArrMoment;
|
|
26296
26058
|
}(React.Component);
|
|
26297
26059
|
|
|
26298
|
-
var
|
|
26299
|
-
_inherits(
|
|
26300
|
-
|
|
26301
|
-
var _super4 = _createSuper(MyArrMomentTime);
|
|
26302
|
-
|
|
26303
|
-
function MyArrMomentTime() {
|
|
26304
|
-
_classCallCheck(this, MyArrMomentTime);
|
|
26305
|
-
|
|
26306
|
-
return _super4.apply(this, arguments);
|
|
26307
|
-
}
|
|
26308
|
-
|
|
26309
|
-
_createClass(MyArrMomentTime, [{
|
|
26310
|
-
key: "render",
|
|
26311
|
-
value: function render() {
|
|
26312
|
-
var _this$props$value3 = this.props.value,
|
|
26313
|
-
value = _this$props$value3 === void 0 ? [] : _this$props$value3;
|
|
26314
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
26315
|
-
style: this.props.style
|
|
26316
|
-
}, /*#__PURE__*/React.createElement("span", null, hooks.isMoment(value[0]) && value[0].format('YYYY-MM-DD HH:mm')), /*#__PURE__*/React.createElement("span", {
|
|
26317
|
-
style: {
|
|
26318
|
-
color: '#9F603D',
|
|
26319
|
-
fontWeight: 600
|
|
26320
|
-
}
|
|
26321
|
-
}, " - "), /*#__PURE__*/React.createElement("span", null, hooks.isMoment(value[1]) && value[1].format('YYYY-MM-DD HH:mm')));
|
|
26322
|
-
}
|
|
26323
|
-
}]);
|
|
26324
|
-
|
|
26325
|
-
return MyArrMomentTime;
|
|
26326
|
-
}(React.Component);
|
|
26327
|
-
|
|
26328
|
-
var MyNY = /*#__PURE__*/function (_React$Component5) {
|
|
26329
|
-
_inherits(MyNY, _React$Component5);
|
|
26060
|
+
var MyNY = /*#__PURE__*/function (_React$Component4) {
|
|
26061
|
+
_inherits(MyNY, _React$Component4);
|
|
26330
26062
|
|
|
26331
|
-
var
|
|
26063
|
+
var _super4 = _createSuper(MyNY);
|
|
26332
26064
|
|
|
26333
26065
|
function MyNY() {
|
|
26334
26066
|
_classCallCheck(this, MyNY);
|
|
26335
26067
|
|
|
26336
|
-
return
|
|
26068
|
+
return _super4.apply(this, arguments);
|
|
26337
26069
|
}
|
|
26338
26070
|
|
|
26339
26071
|
_createClass(MyNY, [{
|
|
@@ -26348,137 +26080,6 @@ var MyNY = /*#__PURE__*/function (_React$Component5) {
|
|
|
26348
26080
|
return MyNY;
|
|
26349
26081
|
}(React.Component);
|
|
26350
26082
|
|
|
26351
|
-
var LicensePlateNumber = function LicensePlateNumber(props) {
|
|
26352
|
-
var _formData$props$index2;
|
|
26353
|
-
|
|
26354
|
-
var form = props.form,
|
|
26355
|
-
readOnly = props.readOnly;
|
|
26356
|
-
var getFieldDecorator = form.getFieldDecorator;
|
|
26357
|
-
var licenceLimit = 3; // 最多支持填写3个车牌号
|
|
26358
|
-
|
|
26359
|
-
var formData = form.getFieldValue('realEstateDataDto');
|
|
26360
|
-
|
|
26361
|
-
var _React$useState = React.useState(new Array(props.cd || 1).fill('')),
|
|
26362
|
-
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
26363
|
-
value = _React$useState2[0],
|
|
26364
|
-
setVal = _React$useState2[1];
|
|
26365
|
-
|
|
26366
|
-
var cd = React.useMemo(function () {
|
|
26367
|
-
var _formData$props$index;
|
|
26368
|
-
|
|
26369
|
-
return (_formData$props$index = formData[props.index]) === null || _formData$props$index === void 0 ? void 0 : _formData$props$index.cd;
|
|
26370
|
-
}, [(_formData$props$index2 = formData[props.index]) === null || _formData$props$index2 === void 0 ? void 0 : _formData$props$index2.cd]); // useEffect(() => {
|
|
26371
|
-
// if (cd) {
|
|
26372
|
-
// const dd = value.concat(new Array(cd.length-1).fill(''))
|
|
26373
|
-
// setVal(dd);
|
|
26374
|
-
// }
|
|
26375
|
-
// }, [cd])
|
|
26376
|
-
|
|
26377
|
-
var onAdd = function onAdd() {
|
|
26378
|
-
if (value.length < licenceLimit) {
|
|
26379
|
-
setVal([].concat(_toConsumableArray(value), ['']));
|
|
26380
|
-
} else {
|
|
26381
|
-
message.warn('最多支持填写3个车牌号');
|
|
26382
|
-
}
|
|
26383
|
-
}; // 删除车牌号
|
|
26384
|
-
|
|
26385
|
-
|
|
26386
|
-
var onDelete = function onDelete() {
|
|
26387
|
-
if (value.length > 0) {
|
|
26388
|
-
var dd = value.slice(0, -1);
|
|
26389
|
-
setVal(dd);
|
|
26390
|
-
}
|
|
26391
|
-
};
|
|
26392
|
-
|
|
26393
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, value.length > 0 && value.map(function (item, key) {
|
|
26394
|
-
return /*#__PURE__*/React.createElement(Col$1, {
|
|
26395
|
-
span: 6
|
|
26396
|
-
}, /*#__PURE__*/React.createElement(Form.Item, {
|
|
26397
|
-
label: "\u8F66\u724C\u53F7",
|
|
26398
|
-
key: key
|
|
26399
|
-
}, getFieldDecorator("realEstateDataDto[".concat(props.index, "].cphList[").concat(key, "]"), {
|
|
26400
|
-
rules: readOnly ? [] : [{
|
|
26401
|
-
required: true,
|
|
26402
|
-
message: '请输入车牌号,最多20位'
|
|
26403
|
-
}]
|
|
26404
|
-
})(readOnly ? /*#__PURE__*/React.createElement(MyDiv$3, null) : /*#__PURE__*/React.createElement(Input$2, {
|
|
26405
|
-
style: {
|
|
26406
|
-
width: '100%'
|
|
26407
|
-
},
|
|
26408
|
-
maxLength: 20,
|
|
26409
|
-
autoComplete: 'off',
|
|
26410
|
-
placeholder: "\u8BF7\u8F93\u5165\u8F66\u724C\u53F7"
|
|
26411
|
-
}))));
|
|
26412
|
-
}), !readOnly && /*#__PURE__*/React.createElement(Col$1, {
|
|
26413
|
-
span: 6
|
|
26414
|
-
}, /*#__PURE__*/React.createElement(Form.Item, null, /*#__PURE__*/React.createElement("div", {
|
|
26415
|
-
style: {
|
|
26416
|
-
color: 'white'
|
|
26417
|
-
}
|
|
26418
|
-
}, "1"), /*#__PURE__*/React.createElement("a", {
|
|
26419
|
-
style: {
|
|
26420
|
-
marginRight: 10
|
|
26421
|
-
},
|
|
26422
|
-
onClick: onAdd
|
|
26423
|
-
}, "\u6DFB\u52A0\u8F66\u724C\u53F7"), value.length > 1 && /*#__PURE__*/React.createElement("a", {
|
|
26424
|
-
onClick: onDelete
|
|
26425
|
-
}, "\u5220\u9664"))));
|
|
26426
|
-
}; // const LicensePlateNumber: React.FC<PriceInputProps> = (props) => {
|
|
26427
|
-
// const { form } = props;
|
|
26428
|
-
// const { getFieldDecorator } = form;
|
|
26429
|
-
// const licenceLimit = 3; // 最多支持填写3个车牌号
|
|
26430
|
-
// // const { value = [] } = this.props;
|
|
26431
|
-
// const [value, setVal] = React.useState(props.value || ['']);
|
|
26432
|
-
// // const newArr = value.filter(e => !!e);
|
|
26433
|
-
// const newArrLength = value.length;
|
|
26434
|
-
// console.log(value, newArrLength)
|
|
26435
|
-
// // 新增车牌号
|
|
26436
|
-
// const onAdd = () => {
|
|
26437
|
-
// if (newArrLength < licenceLimit) {
|
|
26438
|
-
// setVal([...value, '']);
|
|
26439
|
-
// props.onChange?.([...value, ''])
|
|
26440
|
-
// }
|
|
26441
|
-
// }
|
|
26442
|
-
// // 删除车牌号
|
|
26443
|
-
// const onDelete = () => {
|
|
26444
|
-
// if (newArrLength > 0) {
|
|
26445
|
-
// const dd = value.slice(0, -1)
|
|
26446
|
-
// setVal(dd);
|
|
26447
|
-
// props.onChange?.(dd)
|
|
26448
|
-
// }
|
|
26449
|
-
// }
|
|
26450
|
-
// const onInputChange = (e: React.ChangeEvent<HTMLInputElement>, index: number) => {
|
|
26451
|
-
// console.log(e.target.value);
|
|
26452
|
-
// const dd = value.map((item, i) => {
|
|
26453
|
-
// if (i === index) {
|
|
26454
|
-
// return e.target.value
|
|
26455
|
-
// }
|
|
26456
|
-
// return item
|
|
26457
|
-
// })
|
|
26458
|
-
// setVal(dd);
|
|
26459
|
-
// props.onChange?.(dd)
|
|
26460
|
-
// }
|
|
26461
|
-
// return (
|
|
26462
|
-
// <>
|
|
26463
|
-
// {newArrLength > 0 && value.map((item, index) => {
|
|
26464
|
-
// return
|
|
26465
|
-
// <Form.Item label='车牌号' >
|
|
26466
|
-
// {getFieldDecorator(`realEstateDataDto[${index}].licensePlateNumber`, {
|
|
26467
|
-
// rules: [{ required: true, }]
|
|
26468
|
-
// })(
|
|
26469
|
-
// <Input onChange={(e) => { onInputChange(e, index) }} key={index} style={{ width: '100%' }} autoComplete='off' placeholder="请输入车牌号" />
|
|
26470
|
-
// )}
|
|
26471
|
-
// </Form.Item>
|
|
26472
|
-
// // <Col span={6} >
|
|
26473
|
-
// // <Input onChange={(e) => { onInputChange(e, index) }} key={index} style={{ width: '100%' }} autoComplete='off' placeholder="请输入车牌号" />
|
|
26474
|
-
// // </Col>
|
|
26475
|
-
// })}
|
|
26476
|
-
// <Button type="link" onClick={onAdd}>添加车牌号</Button>
|
|
26477
|
-
// {newArrLength > 1 && <Button type="link" onClick={onDelete}>删除</Button>}
|
|
26478
|
-
// </>
|
|
26479
|
-
// )
|
|
26480
|
-
// }
|
|
26481
|
-
|
|
26482
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";
|
|
26483
26084
|
styleInject(css_248z$s);
|
|
26484
26085
|
|
|
@@ -26501,7 +26102,7 @@ var Architecture = decorator(Form.create())(function (props) {
|
|
|
26501
26102
|
className: "kts-invoice-operate-real-estate-info-digtal"
|
|
26502
26103
|
}, /*#__PURE__*/React.createElement("div", {
|
|
26503
26104
|
className: 'real-estate-info-digtal-label'
|
|
26504
|
-
}, "\u7279\
|
|
26105
|
+
}, "\u7279\u6B8A\u4FE1\u606F-\u5EFA\u7B51\u670D\u52A1"), /*#__PURE__*/React.createElement(Row$1, {
|
|
26505
26106
|
gutter: [17, 0]
|
|
26506
26107
|
}, /*#__PURE__*/React.createElement(Col$1, {
|
|
26507
26108
|
span: 6
|
|
@@ -28107,7 +27708,7 @@ var Main$4 = decorator(Form.create())(function (props) {
|
|
|
28107
27708
|
className: "kts-invoice-operate-freight"
|
|
28108
27709
|
}, /*#__PURE__*/React.createElement("div", {
|
|
28109
27710
|
className: 'real-estate-info-digtal-label'
|
|
28110
|
-
}, "\u7279\
|
|
27711
|
+
}, "\u7279\u6B8A\u4FE1\u606F-\u8D27\u7269\u8FD0\u8F93"), /*#__PURE__*/React.createElement("div", {
|
|
28111
27712
|
className: "kts-invoice-operate-goods-list-digtal",
|
|
28112
27713
|
onClick: function onClick(e) {
|
|
28113
27714
|
e.stopPropagation();
|
|
@@ -29570,10 +29171,9 @@ var ImportGoodsDrawer = (function () {
|
|
|
29570
29171
|
while (1) {
|
|
29571
29172
|
switch (_context.prev = _context.next) {
|
|
29572
29173
|
case 0:
|
|
29573
|
-
s.goodsListState.importGoods.filter = {};
|
|
29574
29174
|
s.goodsListState.importGoods.isVisibleDrawer = false;
|
|
29575
29175
|
|
|
29576
|
-
case
|
|
29176
|
+
case 1:
|
|
29577
29177
|
case "end":
|
|
29578
29178
|
return _context.stop();
|
|
29579
29179
|
}
|