|
@@ -166,7 +166,7 @@
|
|
|
}
|
|
|
|
|
|
table.list.forEach((item) => {
|
|
|
- if (table.ids?.includes(+item.id)) {
|
|
|
+ if (table.ids?.includes(item.id)) {
|
|
|
multipleTableRef.value?.toggleRowSelection(item, true);
|
|
|
toggleRowSelection('row', [item], item);
|
|
|
}
|
|
@@ -269,8 +269,6 @@
|
|
|
}
|
|
|
|
|
|
function confirm() {
|
|
|
- console.log(table.selectedGoods);
|
|
|
- return;
|
|
|
// 直接使用选中的商品数据
|
|
|
const selectedGoodsData =
|
|
|
table.selectedGoods.length > 0
|