人工组盘
This commit is contained in:
@@ -200,10 +200,10 @@
|
||||
let arr = []
|
||||
this.checkArr.map(el => {
|
||||
if (el.checked) {
|
||||
arr.push(el.group_id)
|
||||
arr.push({group_id: el.group_id, vehicle_code: this.val1})
|
||||
}
|
||||
})
|
||||
let res = await groupLink(arr.toString(), this.val1)
|
||||
let res = await groupLink(arr)
|
||||
this.disabled2 = false
|
||||
this.checkArr = []
|
||||
this.clearUp()
|
||||
|
||||
@@ -243,10 +243,7 @@ export const groupManual = (vtype, vcode, pcode, mid, mcode, qty, isl) => reques
|
||||
}
|
||||
})
|
||||
// 开始配盘
|
||||
export const groupLink = (id, vcode) => request({
|
||||
export const groupLink = (arr) => request({
|
||||
url:'api/pda/group/link',
|
||||
data: {
|
||||
group_id: id,
|
||||
vehicle_code: vcode
|
||||
}
|
||||
data: arr
|
||||
})
|
||||
Reference in New Issue
Block a user