|
|
|
@ -126,12 +126,15 @@ export default {
|
|
|
|
|
// 多选框选中数据
|
|
|
|
|
handleBomSelectionChange(selection) {
|
|
|
|
|
|
|
|
|
|
if(selection.length>1){
|
|
|
|
|
/* if(selection.length>1){
|
|
|
|
|
this.$modal.msgSuccess("只能选一个");
|
|
|
|
|
}
|
|
|
|
|
} */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
this.ids = selection[0].userCode;
|
|
|
|
|
this.idsName = selection[0].userName;
|
|
|
|
|
/* this.ids = selection[0].userCode;
|
|
|
|
|
this.idsName = selection[0].userName; */
|
|
|
|
|
this.ids = selection.map(item => item.userCode).join(',');
|
|
|
|
|
this.idsName = selection.map(item => item.userName).join(',');
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|