|
@@ -171,7 +171,7 @@
|
|
|
(row) => {
|
|
(row) => {
|
|
|
return !this.productLists.some(
|
|
return !this.productLists.some(
|
|
|
(it) => it.categoryId == row.categoryId
|
|
(it) => it.categoryId == row.categoryId
|
|
|
- );
|
|
|
|
|
|
|
+ ) && row.measureQuantity != 0;
|
|
|
}
|
|
}
|
|
|
"
|
|
"
|
|
|
>
|
|
>
|
|
@@ -185,7 +185,7 @@
|
|
|
fixed="left"
|
|
fixed="left"
|
|
|
:selectable="
|
|
:selectable="
|
|
|
(row) => {
|
|
(row) => {
|
|
|
- return !this.productLists.some((it) => it.id == row.id);
|
|
|
|
|
|
|
+ return !this.productLists.some((it) => it.id == row.id) && row.measureQuantity != 0;
|
|
|
}
|
|
}
|
|
|
"
|
|
"
|
|
|
>
|
|
>
|