kts-component-invoice-operate 2.0.21 → 2.0.22
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
|
@@ -9996,7 +9996,7 @@ var RowMenu = (function (props) {
|
|
|
9996
9996
|
var arr = [];
|
|
9997
9997
|
model !== 'prefab' && isAddDiscount !== false && addDiscount && arr.push(addDiscount); // 添加折扣行
|
|
9998
9998
|
|
|
9999
|
-
arr.push(addComparison); // 添加商品对照
|
|
9999
|
+
props.goods.lineAttribute !== LineAttributeType$1.折扣行 && arr.push(addComparison); // 添加商品对照
|
|
10000
10000
|
// endowCode && arr.push(endowCode); // 赋码
|
|
10001
10001
|
|
|
10002
10002
|
model !== 'prefab' && delItem && arr.push(delItem); // 删除
|
|
@@ -13525,7 +13525,7 @@ function AddComparisonDrawer() {
|
|
|
13525
13525
|
good.itemName = shorthand ? "*".concat(shorthand, "*").concat(values.itemName) : values.itemName;
|
|
13526
13526
|
good.itemNameSelf = shorthand ? "*".concat(shorthand, "*").concat(values.itemNameSelf) : values.itemNameSelf;
|
|
13527
13527
|
|
|
13528
|
-
if (good.lineAttribute
|
|
13528
|
+
if (good.lineAttribute !== LineAttributeType$1.折扣行) {
|
|
13529
13529
|
good.itemModelName = values.itemModelName;
|
|
13530
13530
|
good.itemModelNameSelf = values.itemModelNameSelf;
|
|
13531
13531
|
}
|
package/dist/index.js
CHANGED
|
@@ -10006,7 +10006,7 @@ var RowMenu = (function (props) {
|
|
|
10006
10006
|
var arr = [];
|
|
10007
10007
|
model !== 'prefab' && isAddDiscount !== false && addDiscount && arr.push(addDiscount); // 添加折扣行
|
|
10008
10008
|
|
|
10009
|
-
arr.push(addComparison); // 添加商品对照
|
|
10009
|
+
props.goods.lineAttribute !== LineAttributeType$1.折扣行 && arr.push(addComparison); // 添加商品对照
|
|
10010
10010
|
// endowCode && arr.push(endowCode); // 赋码
|
|
10011
10011
|
|
|
10012
10012
|
model !== 'prefab' && delItem && arr.push(delItem); // 删除
|
|
@@ -13535,7 +13535,7 @@ function AddComparisonDrawer() {
|
|
|
13535
13535
|
good.itemName = shorthand ? "*".concat(shorthand, "*").concat(values.itemName) : values.itemName;
|
|
13536
13536
|
good.itemNameSelf = shorthand ? "*".concat(shorthand, "*").concat(values.itemNameSelf) : values.itemNameSelf;
|
|
13537
13537
|
|
|
13538
|
-
if (good.lineAttribute
|
|
13538
|
+
if (good.lineAttribute !== LineAttributeType$1.折扣行) {
|
|
13539
13539
|
good.itemModelName = values.itemModelName;
|
|
13540
13540
|
good.itemModelNameSelf = values.itemModelNameSelf;
|
|
13541
13541
|
}
|