kts-component-invoice-operate 2.0.8 → 2.0.9

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
@@ -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
  }
package/dist/index.js CHANGED
@@ -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
  }