Selaa lähdekoodia

fix:修改全选

luoxiao 1 kuukausi sitten
vanhempi
commit
4df8c6eef8
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/views/pro-operation/check-out/info.vue

+ 1 - 1
src/views/pro-operation/check-out/info.vue

@@ -140,7 +140,7 @@ const selectSeqList = () => {
 
 const handleCheckAll = (val) => {
   if (val) {
-    form.value.seqNoList = seqList.value;
+    form.value.seqNoList = seqList.value.map((item) => item.seqNo);
   } else {
     form.value.seqNoList = [];
   }