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