人工组盘

This commit is contained in:
2024-02-20 09:04:43 +08:00
parent 2cb61060b9
commit 49925aff89
2 changed files with 4 additions and 7 deletions

View File

@@ -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()

View File

@@ -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
}
}) })