kts-component-invoice-operate 3.2.58 → 3.2.59

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
@@ -21314,7 +21314,9 @@ var DrawerBody$2 = function DrawerBody() {
21314
21314
  // 导入时清空之前输入的值,使用导入的单价和税率(参考税局系统)
21315
21315
  record.quantity = undefined;
21316
21316
  record.lineAmountExcludeTax = undefined;
21317
- record.lineAmountIncludeTax = undefined; // 中间数据
21317
+ record.lineAmountIncludeTax = undefined;
21318
+ record.itemModelName = undefined;
21319
+ record.itemModelNameSelf = undefined; // 中间数据
21318
21320
 
21319
21321
  between = _objectSpread2({}, record);
21320
21322
  between.itemName = getItemName(record, s.goodsListState.editGood);
@@ -21354,22 +21356,22 @@ var DrawerBody$2 = function DrawerBody() {
21354
21356
  s.goodsListState.importGoods.isVisibleDrawer = false;
21355
21357
 
21356
21358
  if (!s.goodsListState.isTaxIncluded) {
21357
- _context2.next = 26;
21359
+ _context2.next = 28;
21358
21360
  break;
21359
21361
  }
21360
21362
 
21361
- _context2.next = 24;
21363
+ _context2.next = 26;
21362
21364
  return updateUnitPriceExcludingTax(controller, s.goodsListState.form, record);
21363
21365
 
21364
- case 24:
21365
- _context2.next = 28;
21366
+ case 26:
21367
+ _context2.next = 30;
21366
21368
  break;
21367
21369
 
21368
- case 26:
21369
- _context2.next = 28;
21370
+ case 28:
21371
+ _context2.next = 30;
21370
21372
  return updateUnitPriceTax(controller, s.goodsListState.form, record);
21371
21373
 
21372
- case 28:
21374
+ case 30:
21373
21375
  case "end":
21374
21376
  return _context2.stop();
21375
21377
  }
package/dist/index.js CHANGED
@@ -21324,7 +21324,9 @@ var DrawerBody$2 = function DrawerBody() {
21324
21324
  // 导入时清空之前输入的值,使用导入的单价和税率(参考税局系统)
21325
21325
  record.quantity = undefined;
21326
21326
  record.lineAmountExcludeTax = undefined;
21327
- record.lineAmountIncludeTax = undefined; // 中间数据
21327
+ record.lineAmountIncludeTax = undefined;
21328
+ record.itemModelName = undefined;
21329
+ record.itemModelNameSelf = undefined; // 中间数据
21328
21330
 
21329
21331
  between = _objectSpread2({}, record);
21330
21332
  between.itemName = getItemName(record, s.goodsListState.editGood);
@@ -21364,22 +21366,22 @@ var DrawerBody$2 = function DrawerBody() {
21364
21366
  s.goodsListState.importGoods.isVisibleDrawer = false;
21365
21367
 
21366
21368
  if (!s.goodsListState.isTaxIncluded) {
21367
- _context2.next = 26;
21369
+ _context2.next = 28;
21368
21370
  break;
21369
21371
  }
21370
21372
 
21371
- _context2.next = 24;
21373
+ _context2.next = 26;
21372
21374
  return updateUnitPriceExcludingTax(controller, s.goodsListState.form, record);
21373
21375
 
21374
- case 24:
21375
- _context2.next = 28;
21376
+ case 26:
21377
+ _context2.next = 30;
21376
21378
  break;
21377
21379
 
21378
- case 26:
21379
- _context2.next = 28;
21380
+ case 28:
21381
+ _context2.next = 30;
21380
21382
  return updateUnitPriceTax(controller, s.goodsListState.form, record);
21381
21383
 
21382
- case 28:
21384
+ case 30:
21383
21385
  case "end":
21384
21386
  return _context2.stop();
21385
21387
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kts-component-invoice-operate",
3
- "version": "3.2.58",
3
+ "version": "3.2.59",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",
@@ -75,6 +75,8 @@ const DrawerBody = () => {
75
75
  record.quantity = undefined;
76
76
  record.lineAmountExcludeTax = undefined;
77
77
  record.lineAmountIncludeTax = undefined;
78
+ record.itemModelName = undefined;
79
+ record.itemModelNameSelf = undefined;
78
80
 
79
81
  // 中间数据
80
82
  const between = { ...record };