kts-component-invoice-operate 3.2.168 → 3.2.169

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
@@ -24909,7 +24909,8 @@ var DrawerBody$3 = function DrawerBody(props) {
24909
24909
  }, _callee11);
24910
24910
  })), []);
24911
24911
  var onSubmit1 = React.useCallback(function (key, info) {
24912
- console.log('1231231231', key, info); // 根据税编改变税率列表
24912
+ // console.log('1231231231', key, info);
24913
+ // 根据税编改变税率列表
24913
24914
  // 如果只有一个,默认选中,有多个时,置空,用户手选
24914
24915
  // if (controller.state.goodsListState.isUpdateGoodsTaxRateList) {
24915
24916
  // if (info.node.taxRateList?.length) {
@@ -24930,15 +24931,14 @@ var DrawerBody$3 = function DrawerBody(props) {
24930
24931
  // s.value = info.node.taxRate
24931
24932
  // }
24932
24933
  // });
24933
-
24934
24934
  actions.setFieldState('taxClassificationCode', /*#__PURE__*/function () {
24935
24935
  var _ref12 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee12(s) {
24936
24936
  return _regeneratorRuntime().wrap(function _callee12$(_context12) {
24937
24937
  while (1) {
24938
24938
  switch (_context12.prev = _context12.next) {
24939
24939
  case 0:
24940
- if (info.node.taxCategoryCode) {
24941
- s.value = info.node.taxCategoryCode;
24940
+ if (info.taxCategoryCode) {
24941
+ s.value = info.taxCategoryCode;
24942
24942
  }
24943
24943
 
24944
24944
  case 1:
@@ -24959,8 +24959,8 @@ var DrawerBody$3 = function DrawerBody(props) {
24959
24959
  while (1) {
24960
24960
  switch (_context13.prev = _context13.next) {
24961
24961
  case 0:
24962
- if (info.node.shorthand) {
24963
- s.value = info.node.shorthand;
24962
+ if (info.shorthand) {
24963
+ s.value = info.shorthand;
24964
24964
  }
24965
24965
 
24966
24966
  case 1:
package/dist/index.js CHANGED
@@ -24919,7 +24919,8 @@ var DrawerBody$3 = function DrawerBody(props) {
24919
24919
  }, _callee11);
24920
24920
  })), []);
24921
24921
  var onSubmit1 = React__default['default'].useCallback(function (key, info) {
24922
- console.log('1231231231', key, info); // 根据税编改变税率列表
24922
+ // console.log('1231231231', key, info);
24923
+ // 根据税编改变税率列表
24923
24924
  // 如果只有一个,默认选中,有多个时,置空,用户手选
24924
24925
  // if (controller.state.goodsListState.isUpdateGoodsTaxRateList) {
24925
24926
  // if (info.node.taxRateList?.length) {
@@ -24940,15 +24941,14 @@ var DrawerBody$3 = function DrawerBody(props) {
24940
24941
  // s.value = info.node.taxRate
24941
24942
  // }
24942
24943
  // });
24943
-
24944
24944
  actions.setFieldState('taxClassificationCode', /*#__PURE__*/function () {
24945
24945
  var _ref12 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee12(s) {
24946
24946
  return _regeneratorRuntime().wrap(function _callee12$(_context12) {
24947
24947
  while (1) {
24948
24948
  switch (_context12.prev = _context12.next) {
24949
24949
  case 0:
24950
- if (info.node.taxCategoryCode) {
24951
- s.value = info.node.taxCategoryCode;
24950
+ if (info.taxCategoryCode) {
24951
+ s.value = info.taxCategoryCode;
24952
24952
  }
24953
24953
 
24954
24954
  case 1:
@@ -24969,8 +24969,8 @@ var DrawerBody$3 = function DrawerBody(props) {
24969
24969
  while (1) {
24970
24970
  switch (_context13.prev = _context13.next) {
24971
24971
  case 0:
24972
- if (info.node.shorthand) {
24973
- s.value = info.node.shorthand;
24972
+ if (info.shorthand) {
24973
+ s.value = info.shorthand;
24974
24974
  }
24975
24975
 
24976
24976
  case 1:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
- "name": "kts-component-invoice-operate",
3
- "version": "3.2.168",
2
+ "name": "kts-component-invoice-operate",
3
+ "version": "3.2.169",
4
4
  "scripts": {
5
5
  "dev": "dumi dev --max-old-space-size=6096",
6
6
  "start": "dumi dev",
@@ -355,7 +355,7 @@ const DrawerBody = (props: { defaultValue: IGood }) => {
355
355
  await onLoad();
356
356
  }, []);
357
357
  const onSubmit1 = React.useCallback((key: any, info: any) => {
358
- console.log('1231231231', key, info);
358
+ // console.log('1231231231', key, info);
359
359
  // 根据税编改变税率列表
360
360
  // 如果只有一个,默认选中,有多个时,置空,用户手选
361
361
  // if (controller.state.goodsListState.isUpdateGoodsTaxRateList) {
@@ -381,14 +381,14 @@ const DrawerBody = (props: { defaultValue: IGood }) => {
381
381
  // });
382
382
 
383
383
  actions.setFieldState('taxClassificationCode', async s => {
384
- if(info.node.taxCategoryCode) {
385
- s.value = info.node.taxCategoryCode
384
+ if(info.taxCategoryCode) {
385
+ s.value = info.taxCategoryCode
386
386
  }
387
387
  });
388
388
 
389
389
  actions.setFieldState('shorthand', async (s) => {
390
- if (info.node.shorthand){
391
- s.value = info.node.shorthand
390
+ if (info.shorthand){
391
+ s.value = info.shorthand
392
392
  }
393
393
  });
394
394
  setOpen(false);