人工组盘
This commit is contained in:
@@ -200,10 +200,10 @@
|
|||||||
let arr = []
|
let arr = []
|
||||||
this.checkArr.map(el => {
|
this.checkArr.map(el => {
|
||||||
if (el.checked) {
|
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.disabled2 = false
|
||||||
this.checkArr = []
|
this.checkArr = []
|
||||||
this.clearUp()
|
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',
|
url:'api/pda/group/link',
|
||||||
data: {
|
data: arr
|
||||||
group_id: id,
|
|
||||||
vehicle_code: vcode
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
Reference in New Issue
Block a user