46 lines
834 B
JavaScript
46 lines
834 B
JavaScript
import { http } from '@/utils/http'
|
|
|
|
// 获取铭牌信息
|
|
export const getInfoByCode = (data) => {
|
|
return http({
|
|
method: 'GET',
|
|
url: '/material/ma_machine/getInfoByCode',
|
|
data,
|
|
})
|
|
}
|
|
|
|
// 更新铭牌
|
|
export const updateInfo = (data) => {
|
|
return http({
|
|
method: 'PUT',
|
|
url: '/material/ma_machine',
|
|
data,
|
|
})
|
|
}
|
|
|
|
export const getSupplierList = (data) => {
|
|
return http({
|
|
method: 'GET',
|
|
url: '/material/ma_supplier_info/select',
|
|
data,
|
|
})
|
|
}
|
|
|
|
// 盘点绑定-获取设备信息
|
|
export const getInventoryInfo = (data) => {
|
|
return http({
|
|
method: 'GET',
|
|
url: '/material/purchase/bind/getInventoryInfo',
|
|
data,
|
|
})
|
|
}
|
|
|
|
// 盘点绑定-绑定
|
|
export const inventoryBind = (data) => {
|
|
return http({
|
|
method: 'POST',
|
|
url: '/material/purchase/bind/inventoryBind',
|
|
data,
|
|
})
|
|
}
|