kts-component-invoice-operate 3.2.74 → 3.2.75

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -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
  }
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kts-component-invoice-operate",
3
- "version": "3.2.74",
3
+ "version": "3.2.75",
4
4
  "scripts": {
5
5
  "dev": "dumi dev",
6
6
  "start": "dumi dev",
@@ -134,157 +134,76 @@ for (let i = 0; i <= 10000; i++) {
134
134
 
135
135
  const lines: any[] = [
136
136
  {
137
- "buyersItemCode": null,
138
- "buyersItemModelName": "GN-G32Z104",
139
- "buyersItemName": "*配电控制设备*公牛(BULL)",
140
- "buyersItemUnit": null,
141
- "discount": 5010.04,
142
- "discountGroup": "31b6d887-4877-4926-abe8-ab49ef6902da",
143
- "dispatchDocumentReference": null,
144
- "dispatchLineReference": null,
145
- "favouredPolicyMark": "0",
146
- "favouredPolicyName": null,
147
- "id": "40823568750477313",
148
- "itemModelName": "GN-G32Z104",
149
- "itemName": "*配电控制设备*公牛(BULL)",
150
- "lineAmountExcludeTax": 443365.88,
151
- "lineAmountIncludeTax": 501003.53,
152
- "lineAttribute": 0,
153
- "lineDiscountExcludeTax": 4433.66,
154
- "lineDiscountRate": null,
155
- "lineId": "1740823580142206976",
156
- "lineOrder": 1,
157
- "materialCode": null,
158
- "noticeCodeNo": null,
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
- "buyersItemCode": null,
189
- "buyersItemModelName": "GN-G32Z104",
190
- "buyersItemName": "*配电控制设备*公牛(BULL)",
191
- "buyersItemUnit": null,
192
- "discount": null,
193
- "discountGroup": "31b6d887-4877-4926-abe8-ab49ef6902da",
194
- "dispatchDocumentReference": null,
195
- "dispatchLineReference": null,
196
- "favouredPolicyMark": "0",
197
- "favouredPolicyName": null,
198
- "id": "40823568750477313",
199
- "itemModelName": "",
200
- "itemName": "*配电控制设备*公牛(BULL)",
201
- "lineAmountExcludeTax": -4433.66,
202
- "lineAmountIncludeTax": -5010.04,
203
- "lineAttribute": 0,
204
- "lineDiscountExcludeTax": null,
205
- "lineDiscountRate": null,
206
- "lineId": "1740823580142206976",
207
- "lineOrder": 2,
208
- "materialCode": null,
209
- "noticeCodeNo": null,
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
- "buyersItemCode": null,
240
- "buyersItemModelName": "GN-G32Z104",
241
- "buyersItemName": "打折",
242
- "buyersItemUnit": null,
243
- "discount": null,
244
- "discountGroup": "31b6d887-4877-4926-abe8-ab49ef6902da",
245
- "dispatchDocumentReference": null,
246
- "dispatchLineReference": null,
247
- "favouredPolicyMark": "0",
248
- "favouredPolicyName": null,
249
- "id": "40823568750477313",
250
- "itemModelName": "",
251
- "itemName": "打折",
252
- "lineAmountExcludeTax": 100,
253
- "lineAmountIncludeTax": 100,
254
- "lineAttribute": 4,
255
- "lineDiscountExcludeTax": null,
256
- "lineDiscountRate": null,
257
- "lineId": "1740823580142206976",
258
- "lineOrder": 2,
259
- "materialCode": null,
260
- "noticeCodeNo": null,
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
  )}