change
This commit is contained in:
139
utils/getData1.js
Normal file
139
utils/getData1.js
Normal file
@@ -0,0 +1,139 @@
|
||||
import request from './request.js'
|
||||
|
||||
// 项目:xzhy
|
||||
// 小料箱公共接口
|
||||
// 查询库区
|
||||
export const querySectCode = () => request({
|
||||
url:'api/pdaSmallBoxPublic/querySectCode',
|
||||
data: {}
|
||||
})
|
||||
// 查询入库业务类型
|
||||
export const queryInBillType = () => request({
|
||||
url:'api/pdaSmallBoxPublic/queryInBillType',
|
||||
data: {}
|
||||
})
|
||||
|
||||
// 【大料箱】空载具出入库共 (2) 个
|
||||
// 绑定
|
||||
export const bindEmptyVehicle = (strcode, scode) => request({
|
||||
url:'api/pda/largeMaterialBox/bindEmptyVehicle',
|
||||
data: {struct_code: strcode, storagevehicle_code: scode}
|
||||
})
|
||||
// 绑定
|
||||
export const unBindEmptyVehicle = (strcode, scode) => request({
|
||||
url:'api/pda/largeMaterialBox/unBindEmptyVehicle',
|
||||
data: {struct_code: strcode, storagevehicle_code: scode}
|
||||
})
|
||||
|
||||
|
||||
// 【大料箱】料箱入库共 (3) 个
|
||||
// 根据载具号获取组盘状态下的组盘信息-表格
|
||||
export const getInGroupInfo = (scode) => request({
|
||||
url:'api/pda/largeMaterialBox/getInGroupInfo',
|
||||
data: {storagevehicle_code: scode}
|
||||
})
|
||||
// 获取入库类型
|
||||
export const largeMaterialBoxgetType = (type) => request({
|
||||
url:'api/pda/largeMaterialBox/getType',
|
||||
data: {type: type}
|
||||
})
|
||||
// 确认入库
|
||||
export const materialBoxInConfirm = (btype, strcode, scode, tableData) => request({
|
||||
url:'api/pda/largeMaterialBox/materialBoxInConfirm',
|
||||
data: {bill_type: btype, struct_code: strcode, storagevehicle_code: scode, tableData: tableData}
|
||||
})
|
||||
|
||||
// 【大料箱】物料入库共 (3) 个
|
||||
// 根据载具号获取入库状态下的组盘信息-表格,同上
|
||||
|
||||
// 获取物料信息
|
||||
export const getMaterialInfo = (material) => request({
|
||||
url:'api/pda/largeMaterialBox/getMaterialInfo',
|
||||
data: {material: material}
|
||||
})
|
||||
// 确认入库
|
||||
export const materialInConfirm = (btype, strcode, scode, tableData, obj) => request({
|
||||
url:'api/pda/largeMaterialBox/materialInConfirm',
|
||||
data: {bill_type: btype, struct_code: strcode, storagevehicle_code: scode, tableData: tableData, material_info: obj}
|
||||
})
|
||||
|
||||
// 【大料箱】大料箱出库共 (3) 个
|
||||
// 获取单据信息-表格
|
||||
export const getIoDisDocumentInfo = (query, bdate, btype) => request({
|
||||
url:'api/pda/largeMaterialBox/getIoDisDocumentInfo',
|
||||
data: {query: query, biz_date: bdate, bill_type: btype}
|
||||
})
|
||||
// 根据载具号或点位获取库存数量
|
||||
export const getInvInfoQty = (vehicleStructCode) => request({
|
||||
url:'api/pda/largeMaterialBox/getInvInfoQty',
|
||||
data: {vehicleStructCode: vehicleStructCode}
|
||||
})
|
||||
// 确认出库
|
||||
export const materialBoxOutConfirm = (id, scode, strcode, tsscode, qty) => request({
|
||||
url:'api/pda/largeMaterialBox/materialBoxOutConfirm',
|
||||
data: {iostorinvdis_id: id, storagevehicle_code: scode, struct_code: strcode, ts_storagevehicle_code: tsscode, plan_qty: qty}
|
||||
})
|
||||
|
||||
// 【大料箱】退库确认共 (2) 个
|
||||
// 根据载具号获取出库状态下的组盘信息-表格
|
||||
export const getOutGroupInfo = (scode) => request({
|
||||
url:'api/pda/largeMaterialBox/getOutGroupInfo',
|
||||
data: {storagevehicle_code: scode}
|
||||
})
|
||||
// 确认退回
|
||||
export const returnConfirm = (scode, bcode, qty) => request({
|
||||
url:'api/pda/largeMaterialBox//returnConfirm',
|
||||
data: {storagevehicle_code: scode, bom_code: bcode, residue_qty: qty}
|
||||
})
|
||||
|
||||
// 【大料箱】大料箱移库共 (2) 个
|
||||
// 根据点位或载具号获取移库单信息
|
||||
export const getMoveDocumentInfo = (type, vehicleStructCode, id) => request({
|
||||
url:'api/pda/largeMaterialBox/getMoveDocumentInfo',
|
||||
data: {type: type, vehicleStructCode: vehicleStructCode, moveinvdtl_id: id}
|
||||
})
|
||||
// 确认移库
|
||||
export const materialBoxMoveConfirm = (rowsout, rowsin) => request({
|
||||
url:'api/pda/largeMaterialBox/materialBoxMoveConfirm',
|
||||
data: {rows_out: rowsout, rows_in: rowsin}
|
||||
})
|
||||
|
||||
// 【大料箱】大料箱盘库共 (3) 个
|
||||
// 获取盘点单信息
|
||||
export const getCheckDocumentInfo = (bcode) => request({
|
||||
url:'api/pda/largeMaterialBox/getCheckDocumentInfo',
|
||||
data: {bill_code: bcode}
|
||||
})
|
||||
// 确认盘点
|
||||
export const materialBoxInventoryConfirm = (bcode) => request({
|
||||
url:'api/pda/largeMaterialBox/materialBoxInventoryConfirm',
|
||||
data: {}
|
||||
})
|
||||
// 根据载具号或点位获取库存数量_copy-getInvInfoQty
|
||||
|
||||
|
||||
// 【小料箱】空载具入库共 (1) 个
|
||||
// 呼叫入库
|
||||
export const vehicleIn = (scode, pcode, sectcode) => request({
|
||||
url:'api/pdaVehicleIn/vehicleIn',
|
||||
data: {storagevehicle_code: scode, point_code: pcode, sect_code: sectcode}
|
||||
})
|
||||
|
||||
// 【小料箱】空载具出库共 (1) 个
|
||||
// 呼叫出库
|
||||
export const vehicleOut = (outqty, pcode, vtype, sectcode) => request({
|
||||
url:'api/pdaVehicleOut/vehicleOut',
|
||||
data: {out_qty: outqty, point_code: pcode, vehicle_type: vtype, sect_code: sectcode}
|
||||
})
|
||||
|
||||
// 【小料箱】小料箱入库共 (2) 个
|
||||
// 查询列表数据
|
||||
export const queryGroupInfo = (scode) => request({
|
||||
url:'api/pdaSmallBoxPublic/queryGroupInfo',
|
||||
data: {storagevehicle_code: scode}
|
||||
})
|
||||
// 确认入库
|
||||
export const pdaSmallBoxconfirmIn = (btype, pcode, rows) => request({
|
||||
url:'api/pdaSmallBox/confirmIn',
|
||||
data: {bill_type: btype, point_code: pcode, rows: rows}
|
||||
})
|
||||
Reference in New Issue
Block a user