change
This commit is contained in:
@@ -135,7 +135,14 @@
|
|||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
this.currentData.stor_code = this.index
|
this.currentData.stor_code = this.index
|
||||||
let res = await groupPlate(this.currentData.material_id, this.currentData.pcsn, this.currentData.qty, this.val2, this.val1, this.val3)
|
let arr = [
|
||||||
|
{
|
||||||
|
material_id: this.currentData.material_id,
|
||||||
|
qty: this.currentData.qty,
|
||||||
|
pcsn: this.currentData.pcsn,
|
||||||
|
}
|
||||||
|
]
|
||||||
|
let res = await groupPlate(arr, this.val2, this.val1, this.val3)
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: res.message,
|
title: res.message,
|
||||||
icon: 'none'
|
icon: 'none'
|
||||||
|
|||||||
@@ -40,9 +40,9 @@ export const getMaterialList = (search, page, size) => request({
|
|||||||
|
|
||||||
// 入库管理
|
// 入库管理
|
||||||
// 物料组盘确认
|
// 物料组盘确认
|
||||||
export const groupPlate = (mid, pcsn, qty, vcode, ecode, siteCode) => request({
|
export const groupPlate = (arr, vcode, ecode, siteCode) => request({
|
||||||
url:'api/pda/iosIn/groupPlate',
|
url:'api/pda/iosIn/groupPlate',
|
||||||
data: {material_id: mid, pcsn: pcsn, qty: qty, vehicle_code: vcode, ext_code: ecode, siteCode}
|
data: {data: arr, vehicle_code: vcode, ext_code: ecode, siteCode: siteCode}
|
||||||
})
|
})
|
||||||
// 组盘入库确认
|
// 组盘入库确认
|
||||||
export const confirmIn = (vcode, sitecode, sid) => request({
|
export const confirmIn = (vcode, sitecode, sid) => request({
|
||||||
|
|||||||
Reference in New Issue
Block a user