kts-component-invoice-operate 3.2.74 → 3.2.76
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Invoice/ui/digtal/Stakeholder/index.d.ts +2 -0
- package/dist/index.esm.js +1 -5
- package/dist/index.js +1 -5
- package/package.json +1 -1
- package/src/Invoice/_test/endowCode/index.tsx +66 -147
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/index.tsx +1 -1
- package/src/Invoice/ui/digtal/Stakeholder/index.tsx +14 -9
package/dist/index.esm.js
CHANGED
|
@@ -12532,10 +12532,6 @@ var useColumns = (function (form) {
|
|
|
12532
12532
|
return onChangeItemCode(controller, form, record);
|
|
12533
12533
|
|
|
12534
12534
|
case 2:
|
|
12535
|
-
_context2.next = 4;
|
|
12536
|
-
return onChangeLineAmountIncludeTax(controller, form, record);
|
|
12537
|
-
|
|
12538
|
-
case 4:
|
|
12539
12535
|
case "end":
|
|
12540
12536
|
return _context2.stop();
|
|
12541
12537
|
}
|
|
@@ -16250,7 +16246,7 @@ var Stakeholder$1 = decorator(Form.create())(function (props) {
|
|
|
16250
16246
|
className: "digtal-stakeholder-form"
|
|
16251
16247
|
}, React.createElement(Row, {
|
|
16252
16248
|
gutter: [16, 0]
|
|
16253
|
-
}, React.createElement(Col, {
|
|
16249
|
+
}, props.isNaturalPerson === true && React.createElement(Col, {
|
|
16254
16250
|
span: 24
|
|
16255
16251
|
}, React.createElement(Form.Item, {
|
|
16256
16252
|
label: "\u8D2D\u4E70\u65B9\u4FE1\u606F",
|
package/dist/index.js
CHANGED
|
@@ -12542,10 +12542,6 @@ var useColumns = (function (form) {
|
|
|
12542
12542
|
return onChangeItemCode(controller, form, record);
|
|
12543
12543
|
|
|
12544
12544
|
case 2:
|
|
12545
|
-
_context2.next = 4;
|
|
12546
|
-
return onChangeLineAmountIncludeTax(controller, form, record);
|
|
12547
|
-
|
|
12548
|
-
case 4:
|
|
12549
12545
|
case "end":
|
|
12550
12546
|
return _context2.stop();
|
|
12551
12547
|
}
|
|
@@ -16260,7 +16256,7 @@ var Stakeholder$1 = GreyReactBox.decorator(ktsComponentsAntdX3.Form.create())(fu
|
|
|
16260
16256
|
className: "digtal-stakeholder-form"
|
|
16261
16257
|
}, React__default['default'].createElement(ktsXui.Row, {
|
|
16262
16258
|
gutter: [16, 0]
|
|
16263
|
-
}, React__default['default'].createElement(ktsXui.Col, {
|
|
16259
|
+
}, props.isNaturalPerson === true && React__default['default'].createElement(ktsXui.Col, {
|
|
16264
16260
|
span: 24
|
|
16265
16261
|
}, React__default['default'].createElement(ktsComponentsAntdX3.Form.Item, {
|
|
16266
16262
|
label: "\u8D2D\u4E70\u65B9\u4FE1\u606F",
|
package/package.json
CHANGED
|
@@ -134,157 +134,76 @@ for (let i = 0; i <= 10000; i++) {
|
|
|
134
134
|
|
|
135
135
|
const lines: any[] = [
|
|
136
136
|
{
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
"noticeLineId": null,
|
|
160
|
-
"orderLineId": null,
|
|
161
|
-
"orderLineReference": null,
|
|
162
|
-
"orderNo": null,
|
|
163
|
-
"orderReference": null,
|
|
164
|
-
"priceExcludeTax": 827.17518997,
|
|
165
|
-
"priceIncludeTax": 934.70796467,
|
|
166
|
-
"quantity": 536,
|
|
167
|
-
"receiptDocumentReference": null,
|
|
168
|
-
"receiptLineReference": null,
|
|
169
|
-
"reconciliationDocumentReference": null,
|
|
170
|
-
"reconciliationSheetLineReference": null,
|
|
171
|
-
"relationReferences": null,
|
|
172
|
-
"requisitionLineNo": null,
|
|
173
|
-
"sellersItemCode": null,
|
|
174
|
-
"sellersItemModelName": null,
|
|
175
|
-
"sellersItemName": "*配电控制设备*1",
|
|
176
|
-
"sellersItemUnit": null,
|
|
177
|
-
"specialManagement": null,
|
|
178
|
-
"statementCode": null,
|
|
179
|
-
"statementLineId": null,
|
|
180
|
-
"taxAmount": 57637.65,
|
|
181
|
-
"taxClassificationCode": "1090407030000000000",
|
|
182
|
-
"taxDiscount": 576.38,
|
|
183
|
-
"taxRate": 13,
|
|
184
|
-
"unit": "件",
|
|
185
|
-
"zeroTaxRateFlag": 'dddddd'
|
|
137
|
+
"serialNumber": "1714491422279110656",
|
|
138
|
+
"lineNumber": 1,
|
|
139
|
+
"taxCode": "3070401000000000000",
|
|
140
|
+
"taxName": "信息技术服务",
|
|
141
|
+
"specification": null,
|
|
142
|
+
"itemName": "技术服务费",
|
|
143
|
+
"itemCode": "",
|
|
144
|
+
"unit": "套",
|
|
145
|
+
"quantity": 1.0000000000001,
|
|
146
|
+
"taxRate": 0.06,
|
|
147
|
+
"priceExcludeTax": 5,
|
|
148
|
+
"priceIncludeTax": 5.3,
|
|
149
|
+
"amountTax": 0.3,
|
|
150
|
+
"lineAmountExcludeTax": 5,
|
|
151
|
+
"lineAmountIncludeTax": 5.3,
|
|
152
|
+
"lineAttribute": LineAttributeType.被折扣行,
|
|
153
|
+
"discountGroup": "1714491422291693568",
|
|
154
|
+
"favouredPolicyMark": false,
|
|
155
|
+
"favouredPolicyName": null,
|
|
156
|
+
"zeroTaxRateFlag": null,
|
|
157
|
+
"referenceLines": null,
|
|
158
|
+
"version": 0
|
|
186
159
|
},
|
|
187
160
|
{
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
"noticeLineId": null,
|
|
211
|
-
"orderLineId": null,
|
|
212
|
-
"orderLineReference": null,
|
|
213
|
-
"orderNo": null,
|
|
214
|
-
"orderReference": null,
|
|
215
|
-
"priceExcludeTax": null,
|
|
216
|
-
"priceIncludeTax": null,
|
|
217
|
-
"quantity": null,
|
|
218
|
-
"receiptDocumentReference": null,
|
|
219
|
-
"receiptLineReference": null,
|
|
220
|
-
"reconciliationDocumentReference": null,
|
|
221
|
-
"reconciliationSheetLineReference": null,
|
|
222
|
-
"relationReferences": null,
|
|
223
|
-
"requisitionLineNo": null,
|
|
224
|
-
"sellersItemCode": null,
|
|
225
|
-
"sellersItemModelName": null,
|
|
226
|
-
"sellersItemName": "*配电控制设备*1",
|
|
227
|
-
"sellersItemUnit": null,
|
|
228
|
-
"specialManagement": null,
|
|
229
|
-
"statementCode": null,
|
|
230
|
-
"statementLineId": null,
|
|
231
|
-
"taxAmount": -576.38,
|
|
232
|
-
"taxClassificationCode": "1090407030000000000",
|
|
233
|
-
"taxDiscount": null,
|
|
234
|
-
"taxRate": 13,
|
|
235
|
-
"unit": "",
|
|
236
|
-
"zeroTaxRateFlag": null
|
|
161
|
+
"serialNumber": "1714491422279110656",
|
|
162
|
+
"lineNumber": 2,
|
|
163
|
+
"taxCode": "3070401000000000000",
|
|
164
|
+
"taxName": "信息技术服务",
|
|
165
|
+
"specification": "",
|
|
166
|
+
"itemName": "技术服务费",
|
|
167
|
+
"itemCode": "",
|
|
168
|
+
"unit": "",
|
|
169
|
+
"quantity": null,
|
|
170
|
+
"taxRate": 0.06,
|
|
171
|
+
"priceExcludeTax": null,
|
|
172
|
+
"priceIncludeTax": null,
|
|
173
|
+
"amountTax": -0.06,
|
|
174
|
+
"lineAmountExcludeTax": 5,
|
|
175
|
+
"lineAmountIncludeTax": 5.3,
|
|
176
|
+
"lineAttribute": LineAttributeType.折扣行,
|
|
177
|
+
"discountGroup": "1714491422291693568",
|
|
178
|
+
"favouredPolicyMark": false,
|
|
179
|
+
"favouredPolicyName": null,
|
|
180
|
+
"zeroTaxRateFlag": null,
|
|
181
|
+
"referenceLines": null,
|
|
182
|
+
"version": 0
|
|
237
183
|
},
|
|
238
184
|
{
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
"noticeLineId": null,
|
|
262
|
-
"orderLineId": null,
|
|
263
|
-
"orderLineReference": null,
|
|
264
|
-
"orderNo": null,
|
|
265
|
-
"orderReference": null,
|
|
266
|
-
"priceExcludeTax": null,
|
|
267
|
-
"priceIncludeTax": null,
|
|
268
|
-
"quantity": null,
|
|
269
|
-
"receiptDocumentReference": null,
|
|
270
|
-
"receiptLineReference": null,
|
|
271
|
-
"reconciliationDocumentReference": null,
|
|
272
|
-
"reconciliationSheetLineReference": null,
|
|
273
|
-
"relationReferences": null,
|
|
274
|
-
"requisitionLineNo": null,
|
|
275
|
-
"sellersItemCode": null,
|
|
276
|
-
"sellersItemModelName": null,
|
|
277
|
-
"sellersItemName": "*配电控制设备*1",
|
|
278
|
-
"sellersItemUnit": null,
|
|
279
|
-
"specialManagement": null,
|
|
280
|
-
"statementCode": null,
|
|
281
|
-
"statementLineId": null,
|
|
282
|
-
"taxAmount": -576.38,
|
|
283
|
-
"taxClassificationCode": "1090407030000000000",
|
|
284
|
-
"taxDiscount": null,
|
|
285
|
-
"taxRate": 0,
|
|
286
|
-
"unit": "",
|
|
287
|
-
"zeroTaxRateFlag": null
|
|
185
|
+
"serialNumber": "1714491422279110656",
|
|
186
|
+
"lineNumber": 3,
|
|
187
|
+
"taxCode": "3070401000000000000",
|
|
188
|
+
"taxName": "信息技术服务",
|
|
189
|
+
"specification": null,
|
|
190
|
+
"itemName": "技术服务费",
|
|
191
|
+
"itemCode": null,
|
|
192
|
+
"unit": "套",
|
|
193
|
+
"quantity": 1,
|
|
194
|
+
"taxRate": 0.06,
|
|
195
|
+
"priceExcludeTax": 2,
|
|
196
|
+
"priceIncludeTax": 2.12,
|
|
197
|
+
"amountTax": 0.12,
|
|
198
|
+
"lineAmountExcludeTax": 5,
|
|
199
|
+
"lineAmountIncludeTax": 5.3,
|
|
200
|
+
"lineAttribute": LineAttributeType.正常,
|
|
201
|
+
"discountGroup": null,
|
|
202
|
+
"favouredPolicyMark": false,
|
|
203
|
+
"favouredPolicyName": null,
|
|
204
|
+
"zeroTaxRateFlag": null,
|
|
205
|
+
"referenceLines": null,
|
|
206
|
+
"version": 0
|
|
288
207
|
}
|
|
289
208
|
]
|
|
290
209
|
|
|
@@ -115,7 +115,7 @@ export default (form: WrappedFormUtils) => {
|
|
|
115
115
|
<ItemCodeInput
|
|
116
116
|
onChange={async () => {
|
|
117
117
|
await onChangeItemCode(controller, form, record);
|
|
118
|
-
await onChangeLineAmountIncludeTax(controller, form, record);
|
|
118
|
+
// await onChangeLineAmountIncludeTax(controller, form, record);
|
|
119
119
|
}}
|
|
120
120
|
/>
|
|
121
121
|
)}
|
|
@@ -62,6 +62,9 @@ export interface IStakeholder {
|
|
|
62
62
|
|
|
63
63
|
/** 票种类型 */
|
|
64
64
|
isVatNormal?: boolean;
|
|
65
|
+
|
|
66
|
+
/** 是否可以选择自然人 */
|
|
67
|
+
isNaturalPerson?: boolean;
|
|
65
68
|
}
|
|
66
69
|
|
|
67
70
|
/** 干系人 */
|
|
@@ -114,15 +117,17 @@ export default decorator<IStakeholder, IStakeholder & FormComponentProps>(Form.c
|
|
|
114
117
|
<div>
|
|
115
118
|
<Form className="digtal-stakeholder-form" >
|
|
116
119
|
<Row gutter={[16, 0]}>
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
120
|
+
{
|
|
121
|
+
props.isNaturalPerson === true &&
|
|
122
|
+
<Col span={24} >
|
|
123
|
+
<Form.Item label='购买方信息' colon={false}>
|
|
124
|
+
{getFieldDecorator('naturalPersonFlag', {
|
|
125
|
+
})(
|
|
126
|
+
<NaturalPersonFlag readOnly={isReadOnly('naturalPersonFlag')} />
|
|
127
|
+
)}
|
|
128
|
+
</Form.Item>
|
|
129
|
+
</Col>
|
|
130
|
+
}
|
|
126
131
|
<Col span={24} >
|
|
127
132
|
<Form.Item label='名称' colon={false}>
|
|
128
133
|
{getFieldDecorator('buyerName', {
|