优化
This commit is contained in:
@@ -5,7 +5,8 @@ const BASE_URL = '/materialType/materialType'
|
||||
export interface MaterialTypeResp {
|
||||
id: string
|
||||
typeName: string
|
||||
floatRatio: string
|
||||
upFloatRatio: string
|
||||
downFloatRatio: string
|
||||
createTime: string
|
||||
updateTime: string
|
||||
createUser: string
|
||||
@@ -26,6 +27,11 @@ export function listMaterialType(query: MaterialTypePageQuery) {
|
||||
}
|
||||
|
||||
/** @desc 新增物料品类 */
|
||||
export function addMaterialType(data: any) {
|
||||
return http.post(`${BASE_URL}`, data)
|
||||
}
|
||||
|
||||
/** @desc 查询物料品类 */
|
||||
export function selectList() {
|
||||
return http.get(`${BASE_URL}/selectList`)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user