fix: 新功能开发,原有功能优化。
This commit is contained in:
44
src/api/health/medicineStockIn.js
Normal file
44
src/api/health/medicineStockIn.js
Normal file
@@ -0,0 +1,44 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询药品入库清单列表
|
||||
export function listMedicineStockIn(query) {
|
||||
return request({
|
||||
url: '/health/medicineStockIn/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询药品入库清单详细
|
||||
export function getMedicineStockIn(id) {
|
||||
return request({
|
||||
url: '/health/medicineStockIn/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增药品入库清单
|
||||
export function addMedicineStockIn(data) {
|
||||
return request({
|
||||
url: '/health/medicineStockIn',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改药品入库清单
|
||||
export function updateMedicineStockIn(data) {
|
||||
return request({
|
||||
url: '/health/medicineStockIn',
|
||||
method: 'put',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除药品入库清单
|
||||
export function delMedicineStockIn(id) {
|
||||
return request({
|
||||
url: '/health/medicineStockIn/' + id,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user