You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

48 lines
1.4 KiB

import axiosUtil from '@/utils/request'
let baseURL = window.SITE_CONFIG['apiURL']
let procApi = baseURL + '/api/app/report-proc/execute-procedure-by-proc?procName='
// 通用获取页面数据
export function getReportPageList(procName, data) {
return axiosUtil.ajax_post(procApi+procName,data)
}
// 获取 物料
export function getItemCodeList() {
return axiosUtil.ajax_post(procApi+'Proc_InputWhere_ItemCode',{})
}
// 获取 库位
export function getLocationCodeList() {
return axiosUtil.ajax_post(procApi+'Proc_InputWhere_LocationCode',{})
}
// 获取 发货类型
export function getDeliverRequestType() {
return axiosUtil.ajax_post(procApi+'Proc_InputWhere_DeliverRequest_Type',{})
}
// 获取 供应商
export function getSupplierCode() {
return axiosUtil.ajax_post(procApi+'Proc_InputWhere_SupplierCode',{})
}
// 获取 ERP库位
export function getLocationErpCode() {
return axiosUtil.ajax_post(procApi+'Proc_InputWhere_LocationErpCode',{})
}
// 获取 领料类别
export function getUnplannedIssueType() {
return axiosUtil.ajax_post(procApi+'Proc_InputWhere_UnplannedIssue_Type',{})
}
// 获取 退料类别
export function getUnplannedReceiptType() {
return axiosUtil.ajax_post(procApi+'Proc_InputWhere_UnplannedReceipt_Type',{})
}
// 获取 库存状态
export function getInventoryBalanceStatus() {
return axiosUtil.ajax_post(procApi+'Proc_InputWhere_InventoryBalance_Status',{})
}