kts-component-invoice-operate 2.0.20 → 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); // 删除
|
|
@@ -13524,8 +13524,11 @@ function AddComparisonDrawer() {
|
|
|
13524
13524
|
good.itemCodeSelf = values.itemCodeSelf;
|
|
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
|
-
|
|
13528
|
-
good.
|
|
13527
|
+
|
|
13528
|
+
if (good.lineAttribute !== LineAttributeType$1.折扣行) {
|
|
13529
|
+
good.itemModelName = values.itemModelName;
|
|
13530
|
+
good.itemModelNameSelf = values.itemModelNameSelf;
|
|
13531
|
+
}
|
|
13529
13532
|
};
|
|
13530
13533
|
|
|
13531
13534
|
setGood(good);
|
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); // 删除
|
|
@@ -13534,8 +13534,11 @@ function AddComparisonDrawer() {
|
|
|
13534
13534
|
good.itemCodeSelf = values.itemCodeSelf;
|
|
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
|
-
|
|
13538
|
-
good.
|
|
13537
|
+
|
|
13538
|
+
if (good.lineAttribute !== LineAttributeType$1.折扣行) {
|
|
13539
|
+
good.itemModelName = values.itemModelName;
|
|
13540
|
+
good.itemModelNameSelf = values.itemModelNameSelf;
|
|
13541
|
+
}
|
|
13539
13542
|
};
|
|
13540
13543
|
|
|
13541
13544
|
setGood(good);
|