项目清单确认流程只能单选
This commit is contained in:
@@ -626,8 +626,8 @@ export default {
|
||||
selectListChange(data) {
|
||||
// 单选
|
||||
if (data.length > 1) {
|
||||
this.$refs.selection.clearSelection();
|
||||
this.$refs.selection.toggleRowSelection(data.pop());
|
||||
this.$refs.listSelection.clearSelection();
|
||||
this.$refs.listSelection.toggleRowSelection(data.pop());
|
||||
}
|
||||
this.multipleSelection = data
|
||||
|
||||
@@ -637,8 +637,8 @@ export default {
|
||||
selectProjectChange(data) {
|
||||
// 单选
|
||||
if (data.length > 1) {
|
||||
this.$refs.selection.clearSelection();
|
||||
this.$refs.selection.toggleRowSelection(data.pop());
|
||||
this.$refs.projectSelection.clearSelection();
|
||||
this.$refs.projectSelection.toggleRowSelection(data.pop());
|
||||
}
|
||||
this.multipleSelection = data
|
||||
|
||||
|
||||
Reference in New Issue
Block a user