howie 2 anni fa
parent
commit
b5f811c635
1 ha cambiato i file con 5 aggiunte e 6 eliminazioni
  1. 5 6
      src/views/supply/pickup/components/pickup_form.vue

+ 5 - 6
src/views/supply/pickup/components/pickup_form.vue

@@ -441,12 +441,10 @@ export default {
     },
 
     handleSelect(selection, row) {
-      this.$refs.table.toggleRowSelection(row);
-      this.deliverList.forEach((item) => {
-        if (item.invoiceId === row.invoiceId) {
-          this.$refs.table.toggleRowSelection(item);
-        }
-      });
+      // this.$refs.table.toggleRowSelection(row);
+      // this.deliverList.forEach((item) => {
+      //     this.$refs.table.toggleRowSelection(item);
+      // });
       this.tableSelection = this.$refs.table.selection;
     },
 
@@ -455,6 +453,7 @@ export default {
     },
 
     clickSubmitForm() {
+
       this.$refs.mainForm.validate((valid) => {
         if (valid) {
           if (this.tableSelection.length < 1) {