erp-el-element/api/InventoryManagement.js

436 lines
9.1 KiB
JavaScript
Raw Normal View History

2024-05-07 11:30:13 +08:00
import request from './../utils/request'
// 审签图报表
export function approval_drawing_report(data) {
return request({
url: '/api/report/approval_drawing_report',
method: 'post',
data
})
}
// 导出excel接口
// export function approval_drawing_report(data) {
// return request({
// url: '/api/report/approval_drawing_report',
// method: 'post',
// data
// })
// }
// 查看借机记录
export function phone_move_list(data) {
return request({
url: '/api/phone_move/phone_move_list',
method: 'post',
data
})
}
export function model_statistical(data) {
return request({
url: '/api/console/model_statistical',
method: 'post',
data
})
}
/* 查看详情*/
export function model_statistical_detail(data) {
return request({
url: '/api/console/model_statistical_detail',
method: 'post',
data
})
}
/* 库存列表*/
export function location_storage_statistical(data) {
return request({
url: '/api/console/location_storage_statistical',
method: 'post',
data
})
}
/* 库存列表详情*/
export function model_storage_statistical(data) {
return request({
url: '/api/console/model_storage_statistical',
method: 'post',
data
})
}
/* 库存统计列表*/
export function inventory_statistic_list(data) {
return request({
url: '/api/statistic/inventory_statistic_list',
method: 'post',
data
})
}
/* 库存统计option*/
export function res_advanced_search(data) {
return request({
url: '/api/res/res_advanced_search',
method: 'post',
data
})
}
/* 品牌接口*/
export function cate_brand_list_in_stock(data) {
return request({
url: '/api/brand/cate_brand_list_in_stock',
method: 'post',
data
})
}
/* 盘库--质检员库存列*/
export function warehouse_list(data) {
return request({
url: '/api/make_inventory/warehouse_list',
method: 'post',
data
})
}
/* 历史盘库*/
export function history_make_inventory(data) {
return request({
url: '/api/make_inventory/history_make_inventory',
method: 'post',
data
})
}
/* 锁定库存*/
export function lock_inventory(data) {
return request({
url: '/api/make_inventory/lock_inventory',
method: 'post',
data
})
}
/* 新增盘库*/
export function add_inventory(data) {
return request({
url: '/api/make_inventory/add_inventory',
method: 'post',
data
})
}
/* 盘库详情*/
export function history_inventory_details(data) {
return request({
url: '/api/make_inventory/history_inventory_details',
method: 'post',
data
})
}
/* 开始录入机器*/
export function enter_phone(data) {
return request({
url: '/api/make_inventory/enter_phone',
method: 'post',
data
})
}
/* 盘库---保存*/
export function make_inventory_save(data) {
return request({
url: '/api/make_inventory/make_inventory_save',
method: 'post',
data
})
}
/* 盘库---缺少数量*/
export function lack_phone(data) {
return request({
url: '/api/make_inventory/lack_phone',
method: 'post',
data
})
}
/* 机器销售退货(待收货)列表*/
export function res_wait_receiving(data) {
return request({
url: '/api/res/res_wait_receiving',
method: 'post',
data
})
}
/* 销售退货(待收货)---批量收货*/
export function batch_receiving(data) {
return request({
url: '/api/res/batch_receiving',
method: 'post',
data
})
}
/* 机器待回机列表*/
export function res_wait_repair_back(data) {
return request({
url: '/api/res/res_wait_repair_back',
method: 'post',
data
})
}
/* 待出库列表/出库单*/
export function wait_out_storage(data) {
return request({
url: '/api/statistic/wait_out_storage',
method: 'post',
data
})
}
/* 待出库列表/出库单 详情*/
export function wait_out_storage_details(data) {
return request({
url: '/api/statistic/wait_out_storage_details',
method: 'post',
data
})
}
/* 出库单-详情*/
export function out_storage_details(data) {
return request({
url: '/api/statistic/out_storage_details',
method: 'post',
data
})
}
//待出库列表-详情
export function wait_storage_details(data) {
return request({
url: '/api/statistic/wait_storage_details',
method: 'post',
data
})
}
/* 出库工作台---获取机器*/
export function get_out_storage_imei(data) {
return request({
url: '/api/statistic/get_out_storage_imei',
method: 'post',
data
})
}
/* 确认出库*/
export function confirm_out_storage(data) {
return request({
url: '/api/statistic/confirm_out_storage',
method: 'post',
data
})
}
/* 手动出库---imei获取机器*/
export function out_batch_get_model(data) {
return request({
url: '/api/statistic/out_batch_get_model',
method: 'post',
data
})
}
/* 手动出库---批量出库*/
export function out_storage_batch(data) {
return request({
url: '/api/statistic/out_storage_batch',
method: 'post',
data
})
}
/* 调拨单*/
export function transfers_order_list(data) {
return request({
url: '/api/inspection/transfers_order_list',
method: 'post',
data
})
}
/* 分配调拨*/
export function distribute_transfers(data) {
return request({
url: '/api/inspection/distribute_transfers',
method: 'post',
data
})
}
/* 调拨记录*/
export function transfers_record_list(data) {
return request({
url: '/api/inspection/transfers_record_list',
method: 'post',
data
})
}
/* 仓管确认、取消调拨*/
export function transfers_order_confirm(data) {
return request({
url: '/api/inspection/transfers_order_confirm',
method: 'post',
data
})
}
/* 快递单号出库*/
export function out_storage_express_single(data) {
return request({
url: '/api/statistic/out_storage_express_single',
method: 'post',
data
})
}
/* 维修单列表*/
export function repair_order_list(data) {
return request({
url: '/api/repair/repair_order_list',
method: 'post',
data
})
}
/* 维修单详情*/
export function repair_order_details(data) {
return request({
url: '/api/repair/repair_order_details',
method: 'post',
data
})
}
/* 维修工作台---搜索imei*/
export function batch_get_model(data) {
return request({
url: '/api/repair/batch_get_model',
method: 'post',
data
})
}
/* 维修工作台---批量寄修*/
export function batch_repair(data) {
return request({
url: '/api/repair/batch_repair',
method: 'post',
data
})
}
/* 维修工作台---批量回机*/
export function batch_back(data) {
return request({
url: '/api/repair/batch_back',
method: 'post',
data
})
}
/* 维修工作台---批量返工*/
export function batch_rework(data) {
return request({
url: '/api/repair/batch_rework',
method: 'post',
data
})
}
/* 回机获取维修故障金额*/
export function repair_back_amount(data) {
return request({
url: '/api/repair/repair_back_amount',
method: 'post',
data
})
}
/* 批量回机获取维修故障金额*/
export function batch_repair_back_amount(data) {
return request({
url: '/api/repair/batch_repair_back_amount',
method: 'post',
data
})
}
/* 采购退货取消退货待收货列表*/
export function res_wait_purchase_refunds(data) {
return request({
url: '/api/res/res_wait_purchase_refunds',
method: 'post',
data
})
}
/* 采购取消退货---确认收货*/
export function purchase_confirm_goods(data) {
return request({
url: '/api/refunds/purchase_confirm_goods',
method: 'post',
data
})
}
/* 采购取消退货---确认收货*/
export function batch_sales_add(data) {
return request({
url: '/api/console/batch_get_model',
method: 'post',
data
})
}
/* 采购取消退货---确认收货*/
export function batch_operation_add(data) {
return request({
url: '/api/console/batch_operation_add',
method: 'post',
data
})
}
/* 采购申请退货批量操作---取消退货、确认退货---获取机器*/
export function get_imei(data) {
return request({
url: '/api/refunds/get_imei',
method: 'post',
data
})
}
/* 采购申请退货---批量取消*/
export function batch_cancel_refunds(data) {
return request({
url: '/api/refunds/batch_cancel_refunds',
method: 'post',
data
})
}
/* 采购申请退货---批量确认*/
export function batch_confirm_refunds(data) {
return request({
url: '/api/refunds/batch_confirm_refunds',
method: 'post',
data
})
}
/* 维修工作台---搜索imei---现场维修*/
export function batch_get_model_field_repair(data) {
return request({
url: '/api/repair/batch_get_model_field_repair',
method: 'post',
data
})
}
/* 批量正在维修*/
export function batch_repair_ing(data) {
return request({
url: '/api/repair/batch_repair_ing',
method: 'post',
data
})
}
/* 批量手动完成*/
export function batch_repair_ack(data) {
return request({
url: '/api/repair/batch_repair_ack',
method: 'post',
data
})
}
2024-06-20 14:42:44 +08:00
export function getDicts(dictType) {
return request({
url: '/api/sysdict/get_dict',
method: 'post',
data: {dict_code:Array.isArray(dictType)?dictType:[dictType]}
})
}