fix:多选数组传参增加id
This commit is contained in:
parent
e0fa44f976
commit
e9a1c6041d
|
|
@ -496,6 +496,7 @@ export default {
|
||||||
if(this.selection.length>0){
|
if(this.selection.length>0){
|
||||||
this.selection.forEach(item=>{
|
this.selection.forEach(item=>{
|
||||||
let obj = {};
|
let obj = {};
|
||||||
|
obj.id = item.id;
|
||||||
obj.wm = item.id;
|
obj.wm = item.id;
|
||||||
obj.batch = item.batch;
|
obj.batch = item.batch;
|
||||||
obj.process = item.material_.process_name;
|
obj.process = item.material_.process_name;
|
||||||
|
|
|
||||||
|
|
@ -519,6 +519,7 @@ export default {
|
||||||
if(this.selection.length>0){
|
if(this.selection.length>0){
|
||||||
this.selection.forEach(item=>{
|
this.selection.forEach(item=>{
|
||||||
let obj = {};
|
let obj = {};
|
||||||
|
obj.id = item.id;
|
||||||
obj.wm = item.id;
|
obj.wm = item.id;
|
||||||
obj.batch = item.batch;
|
obj.batch = item.batch;
|
||||||
obj.process = item.material_.process_name;
|
obj.process = item.material_.process_name;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue