kts-component-invoice-operate 1.0.92 → 1.0.93

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
@@ -5145,10 +5145,10 @@ var DrawerBody$2 = function DrawerBody() {
5145
5145
 
5146
5146
  case 8:
5147
5147
  if (s.goodsListState.editGood.lineAmountExcludeTax || s.goodsListState.editGood.lineAmountIncludeTax) {
5148
- delete record.priceExcludeTax;
5149
- delete record.priceIncludeTax;
5150
- delete record.lineAmountExcludeTax;
5151
- delete record.lineAmountIncludeTax;
5148
+ record.priceExcludeTax = s.goodsListState.editGood.priceExcludeTax;
5149
+ record.priceIncludeTax = s.goodsListState.editGood.priceIncludeTax;
5150
+ record.lineAmountExcludeTax = s.goodsListState.editGood.lineAmountExcludeTax;
5151
+ record.lineAmountIncludeTax = s.goodsListState.editGood.lineAmountIncludeTax;
5152
5152
  }
5153
5153
 
5154
5154
  s.goodsListState.editGood = _objectSpread2(_objectSpread2({}, s.goodsListState.editGood), record);
package/dist/index.js CHANGED
@@ -5155,10 +5155,10 @@ var DrawerBody$2 = function DrawerBody() {
5155
5155
 
5156
5156
  case 8:
5157
5157
  if (s.goodsListState.editGood.lineAmountExcludeTax || s.goodsListState.editGood.lineAmountIncludeTax) {
5158
- delete record.priceExcludeTax;
5159
- delete record.priceIncludeTax;
5160
- delete record.lineAmountExcludeTax;
5161
- delete record.lineAmountIncludeTax;
5158
+ record.priceExcludeTax = s.goodsListState.editGood.priceExcludeTax;
5159
+ record.priceIncludeTax = s.goodsListState.editGood.priceIncludeTax;
5160
+ record.lineAmountExcludeTax = s.goodsListState.editGood.lineAmountExcludeTax;
5161
+ record.lineAmountIncludeTax = s.goodsListState.editGood.lineAmountIncludeTax;
5162
5162
  }
5163
5163
 
5164
5164
  s.goodsListState.editGood = _objectSpread2(_objectSpread2({}, s.goodsListState.editGood), record);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kts-component-invoice-operate",
3
- "version": "1.0.92",
3
+ "version": "1.0.93",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",
@@ -79,10 +79,10 @@ const DrawerBody = () => {
79
79
  if (!s.goodsListState.editGood || !s.goodsListState.form) return;
80
80
 
81
81
  if (s.goodsListState.editGood.lineAmountExcludeTax || s.goodsListState.editGood.lineAmountIncludeTax) {
82
- delete record.priceExcludeTax;
83
- delete record.priceIncludeTax;
84
- delete record.lineAmountExcludeTax;
85
- delete record.lineAmountIncludeTax;
82
+ record.priceExcludeTax = s.goodsListState.editGood.priceExcludeTax;
83
+ record.priceIncludeTax = s.goodsListState.editGood.priceIncludeTax;
84
+ record.lineAmountExcludeTax = s.goodsListState.editGood.lineAmountExcludeTax;
85
+ record.lineAmountIncludeTax = s.goodsListState.editGood.lineAmountIncludeTax;
86
86
  }
87
87
 
88
88
  s.goodsListState.editGood = { ...s.goodsListState.editGood, ...record };