kts-component-invoice-operate 2.0.8 → 2.0.11

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
@@ -3095,7 +3095,7 @@ var useCommodityComparisonButton = (function () {
3095
3095
  key: "3",
3096
3096
  disabled: disabled,
3097
3097
  onClick: onClick
3098
- }, "\u6267\u884C\u5546\u54C1\u5BF9\u7167");
3098
+ }, "\u5546\u54C1\u6620\u5C04");
3099
3099
  }, [disabled, onClick, onComply]);
3100
3100
  return {
3101
3101
  menuItem: menuItem
@@ -10337,7 +10337,6 @@ var useColumns = (function (form) {
10337
10337
  dataSource: unitList,
10338
10338
  onChange: function () {
10339
10339
  var _onChange2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
10340
- var key, value;
10341
10340
  return _regeneratorRuntime().wrap(function _callee4$(_context4) {
10342
10341
  while (1) {
10343
10342
  switch (_context4.prev = _context4.next) {
@@ -10346,12 +10345,14 @@ var useColumns = (function (form) {
10346
10345
  return controller.wait();
10347
10346
 
10348
10347
  case 2:
10349
- key = isMyShow ? 'unit' : 'unitOther';
10350
- value = {};
10351
- value[key] = form.getFieldsValue().unit;
10352
- controller.setEditGood(value);
10348
+ // const key = isMyShow ? 'unit' : 'unitOther';
10349
+ // const value = {} as any;
10350
+ // value[key] = form.getFieldsValue().unit;
10351
+ controller.setEditGood({
10352
+ unit: form.getFieldsValue().unit
10353
+ });
10353
10354
 
10354
- case 6:
10355
+ case 3:
10355
10356
  case "end":
10356
10357
  return _context4.stop();
10357
10358
  }
@@ -13605,7 +13606,7 @@ function AddComparisonDrawer() {
13605
13606
  width: 500,
13606
13607
  onClose: onClose,
13607
13608
  placement: "right",
13608
- title: "\u6DFB\u52A0\u5546\u54C1\u5BF9\u7167",
13609
+ title: "\u5546\u54C1\u6620\u5C04",
13609
13610
  visible: !!good,
13610
13611
  footer: React.createElement("div", {
13611
13612
  style: {
package/dist/index.js CHANGED
@@ -3105,7 +3105,7 @@ var useCommodityComparisonButton = (function () {
3105
3105
  key: "3",
3106
3106
  disabled: disabled,
3107
3107
  onClick: onClick
3108
- }, "\u6267\u884C\u5546\u54C1\u5BF9\u7167");
3108
+ }, "\u5546\u54C1\u6620\u5C04");
3109
3109
  }, [disabled, onClick, onComply]);
3110
3110
  return {
3111
3111
  menuItem: menuItem
@@ -10347,7 +10347,6 @@ var useColumns = (function (form) {
10347
10347
  dataSource: unitList,
10348
10348
  onChange: function () {
10349
10349
  var _onChange2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
10350
- var key, value;
10351
10350
  return _regeneratorRuntime().wrap(function _callee4$(_context4) {
10352
10351
  while (1) {
10353
10352
  switch (_context4.prev = _context4.next) {
@@ -10356,12 +10355,14 @@ var useColumns = (function (form) {
10356
10355
  return controller.wait();
10357
10356
 
10358
10357
  case 2:
10359
- key = isMyShow ? 'unit' : 'unitOther';
10360
- value = {};
10361
- value[key] = form.getFieldsValue().unit;
10362
- controller.setEditGood(value);
10358
+ // const key = isMyShow ? 'unit' : 'unitOther';
10359
+ // const value = {} as any;
10360
+ // value[key] = form.getFieldsValue().unit;
10361
+ controller.setEditGood({
10362
+ unit: form.getFieldsValue().unit
10363
+ });
10363
10364
 
10364
- case 6:
10365
+ case 3:
10365
10366
  case "end":
10366
10367
  return _context4.stop();
10367
10368
  }
@@ -13615,7 +13616,7 @@ function AddComparisonDrawer() {
13615
13616
  width: 500,
13616
13617
  onClose: onClose,
13617
13618
  placement: "right",
13618
- title: "\u6DFB\u52A0\u5546\u54C1\u5BF9\u7167",
13619
+ title: "\u5546\u54C1\u6620\u5C04",
13619
13620
  visible: !!good,
13620
13621
  footer: React__default['default'].createElement("div", {
13621
13622
  style: {