kts-component-invoice-operate 1.1.0 → 1.1.1

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
@@ -5834,6 +5834,10 @@ var DrawerBody$3 = function DrawerBody(props) {
5834
5834
  function ctn(l) {
5835
5835
  var p = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '0';
5836
5836
  if (!l || !l.length) return [/*#__PURE__*/React.createElement(React.Fragment, null)];
5837
+ var ls = l.filter(function (e) {
5838
+ return e.pid === p;
5839
+ });
5840
+ debugger;
5837
5841
  return l.filter(function (e) {
5838
5842
  return e.pid === p;
5839
5843
  }).map(function (e) {
@@ -5958,6 +5962,11 @@ var DrawerBody$3 = function DrawerBody(props) {
5958
5962
  }, _callee9);
5959
5963
  }))();
5960
5964
  }, [filter]);
5965
+ React.useEffect(function () {
5966
+ if (visible) {
5967
+ setList([]);
5968
+ }
5969
+ }, [visible]);
5961
5970
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Input, {
5962
5971
  readOnly: true,
5963
5972
  value: props.value,
@@ -5971,7 +5980,9 @@ var DrawerBody$3 = function DrawerBody(props) {
5971
5980
  onClose: function onClose() {
5972
5981
  setVisible(false);
5973
5982
  }
5974
- }, /*#__PURE__*/React.createElement(Form, null, /*#__PURE__*/React.createElement(Form.Item, {
5983
+ }, /*#__PURE__*/React.createElement(Form, {
5984
+ key: "".concat(visible)
5985
+ }, /*#__PURE__*/React.createElement(Form.Item, {
5975
5986
  label: "\u4EA7\u54C1\u6216\u670D\u52A1\u7B80\u79F0"
5976
5987
  }, /*#__PURE__*/React.createElement(Input, {
5977
5988
  onChange: function onChange(e) {
package/dist/index.js CHANGED
@@ -5844,6 +5844,10 @@ var DrawerBody$3 = function DrawerBody(props) {
5844
5844
  function ctn(l) {
5845
5845
  var p = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '0';
5846
5846
  if (!l || !l.length) return [/*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null)];
5847
+ var ls = l.filter(function (e) {
5848
+ return e.pid === p;
5849
+ });
5850
+ debugger;
5847
5851
  return l.filter(function (e) {
5848
5852
  return e.pid === p;
5849
5853
  }).map(function (e) {
@@ -5968,6 +5972,11 @@ var DrawerBody$3 = function DrawerBody(props) {
5968
5972
  }, _callee9);
5969
5973
  }))();
5970
5974
  }, [filter]);
5975
+ React__default['default'].useEffect(function () {
5976
+ if (visible) {
5977
+ setList([]);
5978
+ }
5979
+ }, [visible]);
5971
5980
  return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(ktsComponentsAntdX3.Input, {
5972
5981
  readOnly: true,
5973
5982
  value: props.value,
@@ -5981,7 +5990,9 @@ var DrawerBody$3 = function DrawerBody(props) {
5981
5990
  onClose: function onClose() {
5982
5991
  setVisible(false);
5983
5992
  }
5984
- }, /*#__PURE__*/React__default['default'].createElement(ktsComponentsAntdX3.Form, null, /*#__PURE__*/React__default['default'].createElement(ktsComponentsAntdX3.Form.Item, {
5993
+ }, /*#__PURE__*/React__default['default'].createElement(ktsComponentsAntdX3.Form, {
5994
+ key: "".concat(visible)
5995
+ }, /*#__PURE__*/React__default['default'].createElement(ktsComponentsAntdX3.Form.Item, {
5985
5996
  label: "\u4EA7\u54C1\u6216\u670D\u52A1\u7B80\u79F0"
5986
5997
  }, /*#__PURE__*/React__default['default'].createElement(ktsComponentsAntdX3.Input, {
5987
5998
  onChange: function onChange(e) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kts-component-invoice-operate",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",
@@ -65,21 +65,29 @@ class MyController1 extends Invoice.InvoiceController {
65
65
  console.log('===> 准备赋码的货物索引列表', s.goodsListState.endowCode.endowcodeGoodIndex);
66
66
 
67
67
  s.goodsListState.endowCode.getTaxCategoryCodeTree = async (value) => {
68
- console.log('===>搜索条件', value);
69
- return [
70
- { label: '3040201990000000000/aaa/bbb', id: '3040201990000000000', pid: '0', taxRate: 3, shorthand: 'aaa' },
71
- { label: '3040201990000000001/aaa/bbb', id: '3040201990000000001', pid: '3040201990000000000', taxRate: 3, shorthand: 'aaa' },
72
- { label: '3040201990000000002/aaa/bbb', id: '3040201990000000002', pid: '3040201990000000000', taxRate: 3, shorthand: 'aaa' },
73
- { label: '3040201990000000003/aaa/bbb', id: '3040201990000000003', pid: '3040201990000000000', taxRate: 3, shorthand: 'aaa' },
74
- { label: '3040201990000000004/aaa/bbb', id: '3040201990000000004', pid: '3040201990000000000', taxRate: 3, shorthand: 'aaa' },
75
- { label: '3040201990000000005/aaa/bbb', id: '3040201990000000005', pid: '3040201990000000000', taxRate: 3, shorthand: 'aaa' },
76
- { label: '3040201990000000006/aaa/bbb', id: '3040201990000000006', pid: '3040201990000000000', taxRate: 3, shorthand: 'aaa' },
77
- { label: '3040201990000000007/aaa/bbb', id: '3040201990000000007', pid: '3040201990000000000', taxRate: 3, shorthand: 'aaa' },
78
- { label: '3040201990000000008/aaa/bbb', id: '3040201990000000008', pid: '3040201990000000000', taxRate: 3, shorthand: 'aaa' },
79
- { label: '3040201990000000009/aaa/bbb', id: '3040201990000000009', pid: '3040201990000000000', taxRate: 3, shorthand: 'aaa' },
80
- { label: '3040201990000000010/aaa/bbb', id: '3040201990000000010', pid: '3040201990000000000', taxRate: 3, shorthand: 'aaa' },
81
- { label: '3040201990000000011/aaa/bbb', id: '3040201990000000011', pid: '3040201990000000000', taxRate: 3, shorthand: 'aaa' },
82
- ]
68
+ // console.log('===>搜索条件', value);
69
+ // return [
70
+ // { label: '3040201990000000000/aaa/bbb', id: '3040201990000000000', pid: '0', taxRate: 3, shorthand: 'aaa' },
71
+ // { label: '3040201990000000001/aaa/bbb', id: '3040201990000000001', pid: '3040201990000000000', taxRate: 3, shorthand: 'aaa' },
72
+ // { label: '3040201990000000002/aaa/bbb', id: '3040201990000000002', pid: '3040201990000000000', taxRate: 3, shorthand: 'aaa' },
73
+ // { label: '3040201990000000003/aaa/bbb', id: '3040201990000000003', pid: '3040201990000000000', taxRate: 3, shorthand: 'aaa' },
74
+ // { label: '3040201990000000004/aaa/bbb', id: '3040201990000000004', pid: '3040201990000000000', taxRate: 3, shorthand: 'aaa' },
75
+ // { label: '3040201990000000005/aaa/bbb', id: '3040201990000000005', pid: '3040201990000000000', taxRate: 3, shorthand: 'aaa' },
76
+ // { label: '3040201990000000006/aaa/bbb', id: '3040201990000000006', pid: '3040201990000000000', taxRate: 3, shorthand: 'aaa' },
77
+ // { label: '3040201990000000007/aaa/bbb', id: '3040201990000000007', pid: '3040201990000000000', taxRate: 3, shorthand: 'aaa' },
78
+ // { label: '3040201990000000008/aaa/bbb', id: '3040201990000000008', pid: '3040201990000000000', taxRate: 3, shorthand: 'aaa' },
79
+ // { label: '3040201990000000009/aaa/bbb', id: '3040201990000000009', pid: '3040201990000000000', taxRate: 3, shorthand: 'aaa' },
80
+ // { label: '3040201990000000010/aaa/bbb', id: '3040201990000000010', pid: '3040201990000000000', taxRate: 3, shorthand: 'aaa' },
81
+ // { label: '3040201990000000011/aaa/bbb', id: '3040201990000000011', pid: '3040201990000000000', taxRate: 3, shorthand: 'aaa' },
82
+ // ]
83
+ return moke.map(e => {
84
+ return {
85
+ label: `${e.taxCategoryCode}-${e.shorthand}`,
86
+ shorthand: e.shorthand,
87
+ id: e.taxCategoryCode,
88
+ pid: e.pid
89
+ }
90
+ })
83
91
  };
84
92
  });
85
93
  }
@@ -168,3 +176,866 @@ const lines: any[] = [
168
176
  }
169
177
  ]
170
178
 
179
+ const moke = [
180
+ {
181
+ "bbh": "34.0",
182
+ "createTime": "2019-09-12 08:54:16.0",
183
+ "gjz": "稻谷、早籼稻、晚籼稻、中籼稻、粳稻、糯稻",
184
+ "gxsj": "20200601",
185
+ "hzx": "N",
186
+ "id": 50550,
187
+ "pid": "1010101000000000000",
188
+ "productName": "稻谷",
189
+ "qysj": "20190401",
190
+ "shorthand": "谷物",
191
+ "sm": "包括早籼稻、晚籼稻、中籼稻、粳稻、糯稻、其他稻谷。",
192
+ "specification": null,
193
+ "ssflbbh": "32.0",
194
+ "statusDesc": null,
195
+ "taxCategoryCode": "1010101010000000000",
196
+ "updateTime": "2021-08-17 15:12:33.0",
197
+ "zzssl": "9%",
198
+ "zzstsgl": "免税",
199
+ "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
200
+ },
201
+ {
202
+ "bbh": "34.0",
203
+ "createTime": "2019-09-12 08:54:16.0",
204
+ "gjz": "小麦、硬质小麦、软质小麦",
205
+ "gxsj": "20200601",
206
+ "hzx": "N",
207
+ "id": 50551,
208
+ "pid": "1010101000000000000",
209
+ "productName": "小麦",
210
+ "qysj": "20190401",
211
+ "shorthand": "谷物",
212
+ "sm": "包括硬质小麦、软质小麦、其他小麦。",
213
+ "specification": null,
214
+ "ssflbbh": "32.0",
215
+ "statusDesc": null,
216
+ "taxCategoryCode": "1010101020000000000",
217
+ "updateTime": "2021-08-17 15:12:22.0",
218
+ "zzssl": "9%",
219
+ "zzstsgl": "免税",
220
+ "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
221
+ },
222
+ {
223
+ "bbh": "34.0",
224
+ "createTime": "2019-09-12 08:54:16.0",
225
+ "gjz": "玉米、白玉米、黄玉米、糯玉米、甜玉米",
226
+ "gxsj": "20200601",
227
+ "hzx": "N",
228
+ "id": 50552,
229
+ "pid": "1010101000000000000",
230
+ "productName": "玉米",
231
+ "qysj": "20190401",
232
+ "shorthand": "谷物",
233
+ "sm": "包括白玉米、黄玉米、糯玉米、甜玉米、其他玉米。",
234
+ "specification": null,
235
+ "ssflbbh": "32.0",
236
+ "statusDesc": null,
237
+ "taxCategoryCode": "1010101030000000000",
238
+ "updateTime": "2021-08-17 15:12:27.0",
239
+ "zzssl": "9%",
240
+ "zzstsgl": "免税",
241
+ "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)、《财政部、国家税务总局关于免征蔬菜流通环节增值税有关问题的通知》(财税〔2011〕137号)"
242
+ },
243
+ {
244
+ "bbh": "34.0",
245
+ "createTime": "2019-09-12 08:54:16.0",
246
+ "gjz": "谷子、硬谷子、糯谷子",
247
+ "gxsj": "20200601",
248
+ "hzx": "N",
249
+ "id": 50553,
250
+ "pid": "1010101000000000000",
251
+ "productName": "谷子",
252
+ "qysj": "20190401",
253
+ "shorthand": "谷物",
254
+ "sm": "包括硬谷子、糯谷子、其他谷子。",
255
+ "specification": null,
256
+ "ssflbbh": "32.0",
257
+ "statusDesc": null,
258
+ "taxCategoryCode": "1010101040000000000",
259
+ "updateTime": "2021-08-17 15:12:12.0",
260
+ "zzssl": "9%",
261
+ "zzstsgl": "免税",
262
+ "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
263
+ },
264
+ {
265
+ "bbh": "34.0",
266
+ "createTime": "2019-09-12 08:54:16.0",
267
+ "gjz": "高粱、红粒高粱、白粒高粱、糯高粱",
268
+ "gxsj": "20200601",
269
+ "hzx": "N",
270
+ "id": 50554,
271
+ "pid": "1010101000000000000",
272
+ "productName": "高粱",
273
+ "qysj": "20190401",
274
+ "shorthand": "谷物",
275
+ "sm": "包括红粒高粱、白粒高粱、糯高粱、其他高粱。",
276
+ "specification": null,
277
+ "ssflbbh": "32.0",
278
+ "statusDesc": null,
279
+ "taxCategoryCode": "1010101050000000000",
280
+ "updateTime": "2021-08-17 15:12:30.0",
281
+ "zzssl": "9%",
282
+ "zzstsgl": "免税",
283
+ "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
284
+ },
285
+ {
286
+ "bbh": "34.0",
287
+ "createTime": "2019-09-12 08:54:16.0",
288
+ "gjz": "大麦、裸大麦、皮大麦",
289
+ "gxsj": "20200601",
290
+ "hzx": "N",
291
+ "id": 50555,
292
+ "pid": "1010101000000000000",
293
+ "productName": "大麦",
294
+ "qysj": "20190401",
295
+ "shorthand": "谷物",
296
+ "sm": "包括裸大麦、皮大麦。",
297
+ "specification": null,
298
+ "ssflbbh": "32.0",
299
+ "statusDesc": null,
300
+ "taxCategoryCode": "1010101060000000000",
301
+ "updateTime": "2021-08-17 15:12:08.0",
302
+ "zzssl": "9%",
303
+ "zzstsgl": "免税",
304
+ "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
305
+ },
306
+ {
307
+ "bbh": "34.0",
308
+ "createTime": "2019-09-12 08:54:16.0",
309
+ "gjz": "裸燕麦、皮燕麦",
310
+ "gxsj": "20200601",
311
+ "hzx": "N",
312
+ "id": 50556,
313
+ "pid": "1010101000000000000",
314
+ "productName": "燕麦",
315
+ "qysj": "20190401",
316
+ "shorthand": "谷物",
317
+ "sm": "包括裸燕麦、皮燕麦。",
318
+ "specification": null,
319
+ "ssflbbh": "32.0",
320
+ "statusDesc": null,
321
+ "taxCategoryCode": "1010101070000000000",
322
+ "updateTime": "2021-08-17 15:12:29.0",
323
+ "zzssl": "9%",
324
+ "zzstsgl": "免税",
325
+ "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
326
+ },
327
+ {
328
+ "bbh": "34.0",
329
+ "createTime": "2019-09-12 08:54:16.0",
330
+ "gjz": "黑麦",
331
+ "gxsj": "20200601",
332
+ "hzx": "N",
333
+ "id": 50557,
334
+ "pid": "1010101000000000000",
335
+ "productName": "黑麦",
336
+ "qysj": "20190401",
337
+ "shorthand": "谷物",
338
+ "sm": "",
339
+ "specification": null,
340
+ "ssflbbh": "32.0",
341
+ "statusDesc": null,
342
+ "taxCategoryCode": "1010101080000000000",
343
+ "updateTime": "2021-08-17 15:12:11.0",
344
+ "zzssl": "9%",
345
+ "zzstsgl": "免税",
346
+ "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
347
+ },
348
+ {
349
+ "bbh": "34.0",
350
+ "createTime": "2019-09-12 08:54:16.0",
351
+ "gjz": "荞麦、甜荞麦、苦荞麦",
352
+ "gxsj": "20200601",
353
+ "hzx": "N",
354
+ "id": 50558,
355
+ "pid": "1010101000000000000",
356
+ "productName": "荞麦",
357
+ "qysj": "20190401",
358
+ "shorthand": "谷物",
359
+ "sm": "包括甜荞麦、苦荞麦。",
360
+ "specification": null,
361
+ "ssflbbh": "32.0",
362
+ "statusDesc": null,
363
+ "taxCategoryCode": "1010101090000000000",
364
+ "updateTime": "2021-08-17 15:12:30.0",
365
+ "zzssl": "9%",
366
+ "zzstsgl": "免税",
367
+ "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
368
+ },
369
+ {
370
+ "bbh": "34.0",
371
+ "createTime": "2019-09-12 08:54:16.0",
372
+ "gjz": "糜子、硬糜子、糯糜子、紫米、薏苡",
373
+ "gxsj": "20200601",
374
+ "hzx": "N",
375
+ "id": 50559,
376
+ "pid": "1010101000000000000",
377
+ "productName": "其他谷物",
378
+ "qysj": "20190401",
379
+ "shorthand": "谷物",
380
+ "sm": "包括糜子(硬糜子、糯糜子)、紫米、薏苡等。",
381
+ "specification": null,
382
+ "ssflbbh": "32.0",
383
+ "statusDesc": null,
384
+ "taxCategoryCode": "1010101990000000000",
385
+ "updateTime": "2021-08-17 15:12:19.0",
386
+ "zzssl": "9%",
387
+ "zzstsgl": "免税",
388
+ "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
389
+ },
390
+ {
391
+ "bbh": "34.0",
392
+ "createTime": "2019-09-12 08:54:16.0",
393
+ "gjz": "种用谷物、种用皮大麦、种用裸大麦、种用糯高粱、种用红粒高粱、种用白粒高粱、种用甜玉米、种用糯玉米、种用黄玉米、种用白玉米、种用硬质小麦、种用软质小麦、种用中籼稻、种用早籼稻、种用晚籼稻、种用糯稻、种用粳稻",
394
+ "gxsj": "20200601",
395
+ "hzx": "N",
396
+ "id": 50683,
397
+ "pid": "1010119000000000000",
398
+ "productName": "种用谷物",
399
+ "qysj": "20190401",
400
+ "shorthand": "种子种苗",
401
+ "sm": "包括种用硬质小麦、种用甜玉米、种用软质小麦、种用皮大麦、种用糯玉米、种用糯高粱、种用裸大麦、种用黄玉米、种用红粒高粱、种用白玉米、种用白粒高粱、其他种用玉米、其他种用小麦、其他种用高粱、种用中籼稻、种用早籼稻、种用晚籼稻、种用糯稻、种用粳稻、其他种用稻谷。",
402
+ "specification": null,
403
+ "ssflbbh": "32.0",
404
+ "statusDesc": null,
405
+ "taxCategoryCode": "1010119010000000000",
406
+ "updateTime": "2021-08-17 15:12:24.0",
407
+ "zzssl": "9%",
408
+ "zzstsgl": "免税",
409
+ "zzszcyj": "《财政部、国家税务总局关于若干农业生产资料征免增值税政策的通知》(财税〔2001〕113号)"
410
+ },
411
+ {
412
+ "bbh": "34.0",
413
+ "createTime": "2019-09-12 08:54:16.0",
414
+ "gjz": "小麦粉、小麦专用粉、小麦自发粉",
415
+ "gxsj": "20200601",
416
+ "hzx": "N",
417
+ "id": 50923,
418
+ "pid": "1030101000000000000",
419
+ "productName": "小麦粉",
420
+ "qysj": "20190401",
421
+ "shorthand": "谷物细粉",
422
+ "sm": "",
423
+ "specification": null,
424
+ "ssflbbh": "32.0",
425
+ "statusDesc": null,
426
+ "taxCategoryCode": "1030101010000000000",
427
+ "updateTime": "2021-08-17 15:12:14.0",
428
+ "zzssl": "9%",
429
+ "zzstsgl": "免税",
430
+ "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
431
+ },
432
+ {
433
+ "bbh": "34.0",
434
+ "createTime": "2019-09-12 08:54:16.0",
435
+ "gjz": "大米粉、籼米细粉、粳米细粉",
436
+ "gxsj": "20200601",
437
+ "hzx": "N",
438
+ "id": 50924,
439
+ "pid": "1030101000000000000",
440
+ "productName": "大米粉",
441
+ "qysj": "20190401",
442
+ "shorthand": "谷物细粉",
443
+ "sm": "",
444
+ "specification": null,
445
+ "ssflbbh": "32.0",
446
+ "statusDesc": null,
447
+ "taxCategoryCode": "1030101020000000000",
448
+ "updateTime": "2021-08-17 15:12:08.0",
449
+ "zzssl": "9%",
450
+ "zzstsgl": "免税",
451
+ "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
452
+ },
453
+ {
454
+ "bbh": "34.0",
455
+ "createTime": "2019-09-12 08:54:16.0",
456
+ "gjz": "玉米细粉、糯米细粉、荞麦细粉、黑麦细粉、莜麦细粉、高粱细粉、大麦细粉",
457
+ "gxsj": "20200601",
458
+ "hzx": "N",
459
+ "id": 50925,
460
+ "pid": "1030101000000000000",
461
+ "productName": "其他谷物细粉",
462
+ "qysj": "20190401",
463
+ "shorthand": "谷物细粉",
464
+ "sm": "",
465
+ "specification": null,
466
+ "ssflbbh": "32.0",
467
+ "statusDesc": null,
468
+ "taxCategoryCode": "1030101990000000000",
469
+ "updateTime": "2021-08-17 15:12:08.0",
470
+ "zzssl": "9%",
471
+ "zzstsgl": "免税",
472
+ "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
473
+ },
474
+ {
475
+ "bbh": "34.0",
476
+ "createTime": "2019-09-12 08:54:16.0",
477
+ "gjz": "籼米、粳米",
478
+ "gxsj": "20200601",
479
+ "hzx": "N",
480
+ "id": 50928,
481
+ "pid": "1030102010000000000",
482
+ "productName": "大米",
483
+ "qysj": "20190401",
484
+ "shorthand": "谷物加工品",
485
+ "sm": "",
486
+ "specification": null,
487
+ "ssflbbh": "32.0",
488
+ "statusDesc": null,
489
+ "taxCategoryCode": "1030102010100000000",
490
+ "updateTime": "2021-08-17 15:12:11.0",
491
+ "zzssl": "9%",
492
+ "zzstsgl": "免税",
493
+ "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
494
+ },
495
+ {
496
+ "bbh": "34.0",
497
+ "createTime": "2019-09-12 08:54:16.0",
498
+ "gjz": "大米",
499
+ "gxsj": "20200601",
500
+ "hzx": "N",
501
+ "id": 50929,
502
+ "pid": "1030102010000000000",
503
+ "productName": "小米",
504
+ "qysj": "20190401",
505
+ "shorthand": "谷物加工品",
506
+ "sm": "",
507
+ "specification": null,
508
+ "ssflbbh": "32.0",
509
+ "statusDesc": null,
510
+ "taxCategoryCode": "1030102010200000000",
511
+ "updateTime": "2021-08-17 15:12:25.0",
512
+ "zzssl": "9%",
513
+ "zzstsgl": "免税",
514
+ "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
515
+ },
516
+ {
517
+ "bbh": "34.0",
518
+ "createTime": "2019-09-12 08:54:16.0",
519
+ "gjz": "糯米",
520
+ "gxsj": "20200601",
521
+ "hzx": "N",
522
+ "id": 50930,
523
+ "pid": "1030102010000000000",
524
+ "productName": "糯米",
525
+ "qysj": "20190401",
526
+ "shorthand": "谷物加工品",
527
+ "sm": "",
528
+ "specification": null,
529
+ "ssflbbh": "32.0",
530
+ "statusDesc": null,
531
+ "taxCategoryCode": "1030102010300000000",
532
+ "updateTime": "2021-08-17 15:12:14.0",
533
+ "zzssl": "9%",
534
+ "zzstsgl": "免税",
535
+ "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
536
+ },
537
+ {
538
+ "bbh": "34.0",
539
+ "createTime": "2019-09-12 08:54:16.0",
540
+ "gjz": "高粱米",
541
+ "gxsj": "20200601",
542
+ "hzx": "N",
543
+ "id": 50931,
544
+ "pid": "1030102010000000000",
545
+ "productName": "高粱米",
546
+ "qysj": "20190401",
547
+ "shorthand": "谷物加工品",
548
+ "sm": "",
549
+ "specification": null,
550
+ "ssflbbh": "32.0",
551
+ "statusDesc": null,
552
+ "taxCategoryCode": "1030102010400000000",
553
+ "updateTime": "2021-08-17 15:12:13.0",
554
+ "zzssl": "9%",
555
+ "zzstsgl": "免税",
556
+ "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
557
+ },
558
+ {
559
+ "bbh": "34.0",
560
+ "createTime": "2019-09-12 08:54:16.0",
561
+ "gjz": "脱壳燕麦",
562
+ "gxsj": "20200601",
563
+ "hzx": "N",
564
+ "id": 50932,
565
+ "pid": "1030102010000000000",
566
+ "productName": "脱壳燕麦",
567
+ "qysj": "20190401",
568
+ "shorthand": "谷物加工品",
569
+ "sm": "指已脱壳但未去皮的燕麦。",
570
+ "specification": null,
571
+ "ssflbbh": "32.0",
572
+ "statusDesc": null,
573
+ "taxCategoryCode": "1030102010500000000",
574
+ "updateTime": "2021-08-17 15:12:06.0",
575
+ "zzssl": "9%",
576
+ "zzstsgl": "免税",
577
+ "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
578
+ },
579
+ {
580
+ "bbh": "34.0",
581
+ "createTime": "2019-09-12 08:54:16.0",
582
+ "gjz": "脱壳青稞",
583
+ "gxsj": "20200601",
584
+ "hzx": "N",
585
+ "id": 50933,
586
+ "pid": "1030102010000000000",
587
+ "productName": "脱壳青稞",
588
+ "qysj": "20190401",
589
+ "shorthand": "谷物加工品",
590
+ "sm": "",
591
+ "specification": null,
592
+ "ssflbbh": "32.0",
593
+ "statusDesc": null,
594
+ "taxCategoryCode": "1030102010600000000",
595
+ "updateTime": "2021-08-17 15:12:11.0",
596
+ "zzssl": "9%",
597
+ "zzstsgl": "免税",
598
+ "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
599
+ },
600
+ {
601
+ "bbh": "34.0",
602
+ "createTime": "2019-09-12 08:54:16.0",
603
+ "gjz": "珠粒大麦",
604
+ "gxsj": "20200601",
605
+ "hzx": "N",
606
+ "id": 50934,
607
+ "pid": "1030102010000000000",
608
+ "productName": "珠粒大麦",
609
+ "qysj": "20190401",
610
+ "shorthand": "谷物加工品",
611
+ "sm": "",
612
+ "specification": null,
613
+ "ssflbbh": "32.0",
614
+ "statusDesc": null,
615
+ "taxCategoryCode": "1030102010700000000",
616
+ "updateTime": "2021-08-17 15:12:12.0",
617
+ "zzssl": "9%",
618
+ "zzstsgl": "免税",
619
+ "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
620
+ },
621
+ {
622
+ "bbh": "34.0",
623
+ "createTime": "2019-09-12 08:54:16.0",
624
+ "gjz": "",
625
+ "gxsj": "20200601",
626
+ "hzx": "N",
627
+ "id": 50935,
628
+ "pid": "1030102010000000000",
629
+ "productName": "其他碾磨、脱壳谷物",
630
+ "qysj": "20190401",
631
+ "shorthand": "谷物加工品",
632
+ "sm": "",
633
+ "specification": null,
634
+ "ssflbbh": "32.0",
635
+ "statusDesc": null,
636
+ "taxCategoryCode": "1030102019900000000",
637
+ "updateTime": "2021-08-17 15:12:21.0",
638
+ "zzssl": "9%",
639
+ "zzstsgl": "免税",
640
+ "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
641
+ },
642
+ {
643
+ "bbh": "34.0",
644
+ "createTime": "2019-09-12 08:54:16.0",
645
+ "gjz": "小麦粗磨、大米粗磨、玉米粗磨、燕麦粗磨",
646
+ "gxsj": "20200601",
647
+ "hzx": "N",
648
+ "id": 50936,
649
+ "pid": "1030102000000000000",
650
+ "productName": "粗磨谷物",
651
+ "qysj": "20190401",
652
+ "shorthand": "谷物加工品",
653
+ "sm": "包括谷物去壳谷粉、粗粉及团粒。",
654
+ "specification": null,
655
+ "ssflbbh": "32.0",
656
+ "statusDesc": null,
657
+ "taxCategoryCode": "1030102020000000000",
658
+ "updateTime": "2021-08-17 15:12:15.0",
659
+ "zzssl": "9%",
660
+ "zzstsgl": "免税",
661
+ "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
662
+ },
663
+ {
664
+ "bbh": "34.0",
665
+ "createTime": "2019-09-12 08:54:16.0",
666
+ "gjz": "燕麦片、大麦片、玉米片、谷物胚芽",
667
+ "gxsj": "20200601",
668
+ "hzx": "N",
669
+ "id": 50937,
670
+ "pid": "1030102000000000000",
671
+ "productName": "谷物加工制品",
672
+ "qysj": "20190401",
673
+ "shorthand": "谷物加工品",
674
+ "sm": "包括燕麦片、大麦片、玉米片,谷物胚芽等。",
675
+ "specification": null,
676
+ "ssflbbh": "32.0",
677
+ "statusDesc": null,
678
+ "taxCategoryCode": "1030102030000000000",
679
+ "updateTime": "2021-08-17 15:12:19.0",
680
+ "zzssl": "13%、9%",
681
+ "zzstsgl": "免税",
682
+ "zzszcyj": "《财政部 国家税务总局关于粮食企业增值税征免问题的通知》(财税字〔1999〕198号)"
683
+ },
684
+ {
685
+ "bbh": "34.0",
686
+ "createTime": "2019-09-12 08:54:16.0",
687
+ "gjz": "谷物制品类罐头、甜玉米罐头、米粥罐头、米饭罐头、八宝粥罐头、蔬菜粥罐头、八宝饭罐头",
688
+ "gxsj": "20200601",
689
+ "hzx": "N",
690
+ "id": 51065,
691
+ "pid": "1030205000000000000",
692
+ "productName": "谷物制品类罐头",
693
+ "qysj": "20190401",
694
+ "shorthand": "罐头",
695
+ "sm": "指经过处理后的谷类、干果及其他原料(桂圆、枸杞、蔬菜等)装罐制成的罐头产品",
696
+ "specification": null,
697
+ "ssflbbh": "32.0",
698
+ "statusDesc": null,
699
+ "taxCategoryCode": "1030205080000000000",
700
+ "updateTime": "2021-08-17 15:12:25.0",
701
+ "zzssl": "13%",
702
+ "zzstsgl": "",
703
+ "zzszcyj": ""
704
+ },
705
+ {
706
+ "bbh": "34.0",
707
+ "createTime": "2019-09-12 08:54:16.0",
708
+ "gjz": "谷物磨粉工业用筛、谷物磨粉工业用筛架、混合滚筒、分离滚筒、谷物磨粉机的滚筒、谷物磨粉机的变换器、谷物磨粉工业用机械零件",
709
+ "gxsj": "20200601",
710
+ "hzx": "N",
711
+ "id": 53402,
712
+ "pid": "1090220000000000000",
713
+ "productName": "谷物磨粉工业用机械零件",
714
+ "qysj": "20190401",
715
+ "shorthand": "食品制造机械",
716
+ "sm": "包括谷物磨粉工业用筛及筛架、混合或分离滚筒、谷物磨粉机的滚筒或变换器、其他谷物磨粉工业用机械零件",
717
+ "specification": null,
718
+ "ssflbbh": "32.0",
719
+ "statusDesc": null,
720
+ "taxCategoryCode": "1090220050000000000",
721
+ "updateTime": "2021-08-17 15:12:11.0",
722
+ "zzssl": "13%",
723
+ "zzstsgl": "",
724
+ "zzszcyj": ""
725
+ },
726
+ {
727
+ "bbh": "34.0",
728
+ "createTime": "2019-09-12 08:54:16.0",
729
+ "gjz": "",
730
+ "gxsj": "20200601",
731
+ "hzx": "Y",
732
+ "id": 50549,
733
+ "pid": "1010100000000000000",
734
+ "productName": "谷物",
735
+ "qysj": "20190401",
736
+ "shorthand": "谷物",
737
+ "sm": "包括稻谷、小麦、玉米、谷子、高粱、大麦、燕麦、黑麦、荞麦、其他谷物,不包括种用谷物(详见101011901)。",
738
+ "specification": null,
739
+ "ssflbbh": "32.0",
740
+ "statusDesc": null,
741
+ "taxCategoryCode": "1010101000000000000",
742
+ "updateTime": "2021-08-17 15:12:22.0",
743
+ "zzssl": "",
744
+ "zzstsgl": "",
745
+ "zzszcyj": ""
746
+ },
747
+ {
748
+ "bbh": "34.0",
749
+ "createTime": "2019-09-12 08:54:16.0",
750
+ "gjz": "种子、种苗、种用谷物、种用薯类、种用油料、种用豆类、种用饲料作物、蔬菜籽、花草种、水果籽",
751
+ "gxsj": "20200601",
752
+ "hzx": "Y",
753
+ "id": 50682,
754
+ "pid": "1010100000000000000",
755
+ "productName": "种子、种苗",
756
+ "qysj": "20190401",
757
+ "shorthand": "种子种苗",
758
+ "sm": "包括种用谷物、种用薯类、种用油料、种用豆类、种用饲料作物、蔬菜籽、花草种、水果籽及其他种子、种苗",
759
+ "specification": null,
760
+ "ssflbbh": "32.0",
761
+ "statusDesc": null,
762
+ "taxCategoryCode": "1010119000000000000",
763
+ "updateTime": "2021-08-17 15:12:22.0",
764
+ "zzssl": "",
765
+ "zzstsgl": "",
766
+ "zzszcyj": ""
767
+ },
768
+ {
769
+ "bbh": "34.0",
770
+ "createTime": "2019-09-12 08:54:16.0",
771
+ "gjz": "",
772
+ "gxsj": "20200601",
773
+ "hzx": "Y",
774
+ "id": 50922,
775
+ "pid": "1030100000000000000",
776
+ "productName": "谷物细粉",
777
+ "qysj": "20190401",
778
+ "shorthand": "谷物细粉",
779
+ "sm": "",
780
+ "specification": null,
781
+ "ssflbbh": "32.0",
782
+ "statusDesc": null,
783
+ "taxCategoryCode": "1030101000000000000",
784
+ "updateTime": "2021-08-17 15:12:09.0",
785
+ "zzssl": "",
786
+ "zzstsgl": "",
787
+ "zzszcyj": ""
788
+ },
789
+ {
790
+ "bbh": "34.0",
791
+ "createTime": "2019-09-12 08:54:16.0",
792
+ "gjz": "",
793
+ "gxsj": "20200601",
794
+ "hzx": "Y",
795
+ "id": 50927,
796
+ "pid": "1030102000000000000",
797
+ "productName": "碾磨、脱壳谷物",
798
+ "qysj": "20190401",
799
+ "shorthand": "谷物加工品",
800
+ "sm": "",
801
+ "specification": null,
802
+ "ssflbbh": "32.0",
803
+ "statusDesc": null,
804
+ "taxCategoryCode": "1030102010000000000",
805
+ "updateTime": "2021-08-17 15:12:07.0",
806
+ "zzssl": "",
807
+ "zzstsgl": "",
808
+ "zzszcyj": ""
809
+ },
810
+ {
811
+ "bbh": "34.0",
812
+ "createTime": "2019-09-12 08:54:16.0",
813
+ "gjz": "",
814
+ "gxsj": "20200601",
815
+ "hzx": "Y",
816
+ "id": 51057,
817
+ "pid": "1030200000000000000",
818
+ "productName": "罐头",
819
+ "qysj": "20190401",
820
+ "shorthand": "罐头",
821
+ "sm": "",
822
+ "specification": null,
823
+ "ssflbbh": "32.0",
824
+ "statusDesc": null,
825
+ "taxCategoryCode": "1030205000000000000",
826
+ "updateTime": "2021-08-17 15:12:13.0",
827
+ "zzssl": "",
828
+ "zzstsgl": "",
829
+ "zzszcyj": ""
830
+ },
831
+ {
832
+ "bbh": "34.0",
833
+ "createTime": "2019-09-12 08:54:16.0",
834
+ "gjz": "",
835
+ "gxsj": "20200601",
836
+ "hzx": "Y",
837
+ "id": 53397,
838
+ "pid": "1090200000000000000",
839
+ "productName": "食品、饮料、烟草专用生产设备零件",
840
+ "qysj": "20190401",
841
+ "shorthand": "食品制造机械",
842
+ "sm": "",
843
+ "specification": null,
844
+ "ssflbbh": "32.0",
845
+ "statusDesc": null,
846
+ "taxCategoryCode": "1090220000000000000",
847
+ "updateTime": "2021-08-17 15:12:09.0",
848
+ "zzssl": "",
849
+ "zzstsgl": "",
850
+ "zzszcyj": ""
851
+ },
852
+ {
853
+ "bbh": "34.0",
854
+ "createTime": "2019-09-12 08:54:16.0",
855
+ "gjz": "",
856
+ "gxsj": "20200601",
857
+ "hzx": "Y",
858
+ "id": 50548,
859
+ "pid": "1010000000000000000",
860
+ "productName": "农业产品",
861
+ "qysj": "20190401",
862
+ "shorthand": "农业产品",
863
+ "sm": "",
864
+ "specification": null,
865
+ "ssflbbh": "32.0",
866
+ "statusDesc": null,
867
+ "taxCategoryCode": "1010100000000000000",
868
+ "updateTime": "2021-08-17 15:12:32.0",
869
+ "zzssl": "",
870
+ "zzstsgl": "",
871
+ "zzszcyj": ""
872
+ },
873
+ {
874
+ "bbh": "34.0",
875
+ "createTime": "2019-09-12 08:54:16.0",
876
+ "gjz": "",
877
+ "gxsj": "20200601",
878
+ "hzx": "Y",
879
+ "id": 50921,
880
+ "pid": "1030000000000000000",
881
+ "productName": "农副食品,动、植物油制品",
882
+ "qysj": "20190401",
883
+ "shorthand": "农副食品",
884
+ "sm": "",
885
+ "specification": null,
886
+ "ssflbbh": "32.0",
887
+ "statusDesc": null,
888
+ "taxCategoryCode": "1030100000000000000",
889
+ "updateTime": "2021-08-17 15:12:23.0",
890
+ "zzssl": "",
891
+ "zzstsgl": "",
892
+ "zzszcyj": ""
893
+ },
894
+ {
895
+ "bbh": "34.0",
896
+ "createTime": "2019-09-12 08:54:16.0",
897
+ "gjz": "",
898
+ "gxsj": "20200601",
899
+ "hzx": "Y",
900
+ "id": 50926,
901
+ "pid": "1030100000000000000",
902
+ "productName": "碾磨谷物及谷物加工品",
903
+ "qysj": "20190401",
904
+ "shorthand": "谷物加工品",
905
+ "sm": "",
906
+ "specification": null,
907
+ "ssflbbh": "32.0",
908
+ "statusDesc": null,
909
+ "taxCategoryCode": "1030102000000000000",
910
+ "updateTime": "2021-08-17 15:12:20.0",
911
+ "zzssl": "",
912
+ "zzstsgl": "",
913
+ "zzszcyj": ""
914
+ },
915
+ {
916
+ "bbh": "34.0",
917
+ "createTime": "2019-09-12 08:54:16.0",
918
+ "gjz": "",
919
+ "gxsj": "20200601",
920
+ "hzx": "Y",
921
+ "id": 51032,
922
+ "pid": "1030000000000000000",
923
+ "productName": "食品及加工盐",
924
+ "qysj": "20190401",
925
+ "shorthand": "食品",
926
+ "sm": "",
927
+ "specification": null,
928
+ "ssflbbh": "32.0",
929
+ "statusDesc": null,
930
+ "taxCategoryCode": "1030200000000000000",
931
+ "updateTime": "2021-08-17 15:12:30.0",
932
+ "zzssl": "",
933
+ "zzstsgl": "",
934
+ "zzszcyj": ""
935
+ },
936
+ {
937
+ "bbh": "34.0",
938
+ "createTime": "2019-09-12 08:54:16.0",
939
+ "gjz": "",
940
+ "gxsj": "20200601",
941
+ "hzx": "Y",
942
+ "id": 53261,
943
+ "pid": "1090000000000000000",
944
+ "productName": "专用设备",
945
+ "qysj": "20190401",
946
+ "shorthand": "专用设备",
947
+ "sm": "指只在一个特定产业,用来生产、加工、处理特定产品或者改变特定物质形态的机械设备及其专门配套件",
948
+ "specification": null,
949
+ "ssflbbh": "32.0",
950
+ "statusDesc": null,
951
+ "taxCategoryCode": "1090200000000000000",
952
+ "updateTime": "2021-08-17 15:12:15.0",
953
+ "zzssl": "",
954
+ "zzstsgl": "",
955
+ "zzszcyj": ""
956
+ },
957
+ {
958
+ "bbh": "34.0",
959
+ "createTime": "2019-09-12 08:54:16.0",
960
+ "gjz": "",
961
+ "gxsj": "20200601",
962
+ "hzx": "Y",
963
+ "id": 50547,
964
+ "pid": "1000000000000000000",
965
+ "productName": "农、林、牧、渔业类产品",
966
+ "qysj": "20190401",
967
+ "shorthand": "农产品",
968
+ "sm": "",
969
+ "specification": null,
970
+ "ssflbbh": "32.0",
971
+ "statusDesc": null,
972
+ "taxCategoryCode": "1010000000000000000",
973
+ "updateTime": "2021-08-17 15:12:19.0",
974
+ "zzssl": "",
975
+ "zzstsgl": "",
976
+ "zzszcyj": ""
977
+ },
978
+ {
979
+ "bbh": "34.0",
980
+ "createTime": "2019-09-12 08:54:16.0",
981
+ "gjz": "",
982
+ "gxsj": "20200601",
983
+ "hzx": "Y",
984
+ "id": 50920,
985
+ "pid": "1000000000000000000",
986
+ "productName": "食品、饮料、烟、酒类产品",
987
+ "qysj": "20190401",
988
+ "shorthand": "食品类产品",
989
+ "sm": "",
990
+ "specification": null,
991
+ "ssflbbh": "32.0",
992
+ "statusDesc": null,
993
+ "taxCategoryCode": "1030000000000000000",
994
+ "updateTime": "2021-08-17 15:12:07.0",
995
+ "zzssl": "",
996
+ "zzstsgl": "",
997
+ "zzszcyj": ""
998
+ },
999
+ {
1000
+ "bbh": "34.0",
1001
+ "createTime": "2019-09-12 08:54:16.0",
1002
+ "gjz": "",
1003
+ "gxsj": "20200601",
1004
+ "hzx": "Y",
1005
+ "id": 53022,
1006
+ "pid": "1000000000000000000",
1007
+ "productName": "机械、设备类产品",
1008
+ "qysj": "20190401",
1009
+ "shorthand": "机械设备",
1010
+ "sm": "",
1011
+ "specification": null,
1012
+ "ssflbbh": "32.0",
1013
+ "statusDesc": null,
1014
+ "taxCategoryCode": "1090000000000000000",
1015
+ "updateTime": "2021-08-17 15:12:15.0",
1016
+ "zzssl": "",
1017
+ "zzstsgl": "",
1018
+ "zzszcyj": ""
1019
+ },
1020
+ {
1021
+ "bbh": "34.0",
1022
+ "createTime": "2019-09-12 08:54:16.0",
1023
+ "gjz": "",
1024
+ "gxsj": "20200601",
1025
+ "hzx": "Y",
1026
+ "id": 50546,
1027
+ "pid": "0",
1028
+ "productName": "货物",
1029
+ "qysj": "20190401",
1030
+ "shorthand": "货物",
1031
+ "sm": "",
1032
+ "specification": null,
1033
+ "ssflbbh": "32.0",
1034
+ "statusDesc": null,
1035
+ "taxCategoryCode": "1000000000000000000",
1036
+ "updateTime": "2021-08-17 15:12:12.0",
1037
+ "zzssl": "",
1038
+ "zzstsgl": "",
1039
+ "zzszcyj": ""
1040
+ }
1041
+ ]
@@ -173,10 +173,13 @@ const DrawerBody = (props: { defaultValue: IGood }) => {
173
173
  /** 创建 树节点 */
174
174
  const createTreeNode = React.useCallback(() => {
175
175
  if (!list) return <></>;
176
+
176
177
  return ctn(list);
177
178
 
178
179
  function ctn(l: any[], p = '0') {
179
180
  if (!l || !l.length) return [<></>];
181
+ const ls = l.filter(e => e.pid === p);
182
+ debugger;
180
183
  return l.filter(e => e.pid === p).map(e => {
181
184
  return (
182
185
  <TreeNode title={e.label} key={e.id}>
@@ -223,6 +226,12 @@ const DrawerBody = (props: { defaultValue: IGood }) => {
223
226
  })()
224
227
  }, [filter])
225
228
 
229
+ React.useEffect(() => {
230
+ if (visible) {
231
+ setList([])
232
+ }
233
+ }, [visible])
234
+
226
235
  return (
227
236
  <>
228
237
  <InputAntd readOnly value={props.value} onClick={() => { setVisible(true) }} />
@@ -232,7 +241,7 @@ const DrawerBody = (props: { defaultValue: IGood }) => {
232
241
  width={500}
233
242
  onClose={() => { setVisible(false) }}
234
243
  >
235
- <Form>
244
+ <Form key={`${visible}`} >
236
245
  <Form.Item label="产品或服务简称" >
237
246
  <InputAntd onChange={e => { setFilter({ ...filter, val: e.target.value }) }} />
238
247
  </Form.Item>
@@ -241,7 +250,7 @@ const DrawerBody = (props: { defaultValue: IGood }) => {
241
250
  </Form.Item>
242
251
  </Form>
243
252
  {
244
- list && list.length>0 &&
253
+ list && list.length > 0 &&
245
254
  <Tree
246
255
  defaultExpandAll
247
256
  selectedKeys={[]}