|
@@ -441,12 +441,10 @@ export default {
|
|
},
|
|
},
|
|
|
|
|
|
handleSelect(selection, row) {
|
|
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;
|
|
this.tableSelection = this.$refs.table.selection;
|
|
},
|
|
},
|
|
|
|
|
|
@@ -455,6 +453,7 @@ export default {
|
|
},
|
|
},
|
|
|
|
|
|
clickSubmitForm() {
|
|
clickSubmitForm() {
|
|
|
|
+
|
|
this.$refs.mainForm.validate((valid) => {
|
|
this.$refs.mainForm.validate((valid) => {
|
|
if (valid) {
|
|
if (valid) {
|
|
if (this.tableSelection.length < 1) {
|
|
if (this.tableSelection.length < 1) {
|