kts-component-invoice-operate 3.2.63 → 3.2.64
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
|
@@ -1542,6 +1542,7 @@ var addGoodDiscountV2 = /*#__PURE__*/(function () {
|
|
|
1542
1542
|
lineAttribute: LineAttributeType$1.折扣行,
|
|
1543
1543
|
taxRate: good.taxRate,
|
|
1544
1544
|
itemName: good.itemName,
|
|
1545
|
+
shorthand: good.shorthand,
|
|
1545
1546
|
taxAmount: -1 * taxAmount,
|
|
1546
1547
|
lineAmountExcludeTax: -1 * lineAmountExcludeTax,
|
|
1547
1548
|
lineAmountIncludeTax: -1 * e.discolineAmountunt,
|
package/dist/index.js
CHANGED
|
@@ -1552,6 +1552,7 @@ var addGoodDiscountV2 = /*#__PURE__*/(function () {
|
|
|
1552
1552
|
lineAttribute: LineAttributeType$1.折扣行,
|
|
1553
1553
|
taxRate: good.taxRate,
|
|
1554
1554
|
itemName: good.itemName,
|
|
1555
|
+
shorthand: good.shorthand,
|
|
1555
1556
|
taxAmount: -1 * taxAmount,
|
|
1556
1557
|
lineAmountExcludeTax: -1 * lineAmountExcludeTax,
|
|
1557
1558
|
lineAmountIncludeTax: -1 * e.discolineAmountunt,
|
package/package.json
CHANGED
|
@@ -41,6 +41,7 @@ export default async (state: InvoiceControllerState, options?: IOptions[]) => {
|
|
|
41
41
|
lineAttribute: LineAttributeType.折扣行,
|
|
42
42
|
taxRate: good.taxRate,
|
|
43
43
|
itemName: good.itemName,
|
|
44
|
+
shorthand: good.shorthand,
|
|
44
45
|
|
|
45
46
|
taxAmount: -1 * taxAmount,
|
|
46
47
|
lineAmountExcludeTax: -1 * lineAmountExcludeTax,
|
|
@@ -21,7 +21,7 @@ export default function uaeSalesDiscount() {
|
|
|
21
21
|
|
|
22
22
|
if (selectedGood.filter(e => e?.lineAttribute === LineAttributeType.折扣行 || e?.lineAttribute === LineAttributeType.被折扣行).length > 0) {
|
|
23
23
|
const content = '不能选择折扣行和被折扣行';
|
|
24
|
-
message.error({ content, key: content })
|
|
24
|
+
message.error({ content, key: content });
|
|
25
25
|
return;
|
|
26
26
|
}
|
|
27
27
|
|