出库对接
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { request } from "./request";
|
||||
// /unique/code/getMaterialInfo
|
||||
// 列表:物料列表
|
||||
const getMaterial = (params) => {
|
||||
return request("/worn/material/list", params, 'GET');
|
||||
@@ -27,6 +28,10 @@ const detailUniqueCode = (params) => {
|
||||
const getMaterialUnique = (params) => {
|
||||
return request(`/unique/code/materialInfo/${params.code}`, params, 'GET');
|
||||
};
|
||||
// 详情:通过唯一码获取物料信息
|
||||
const getMaterialByQrCodeInfo = (params) => {
|
||||
return request('/unique/code/getMaterialInfo', params, 'POST');
|
||||
};
|
||||
|
||||
export {
|
||||
getMaterial,
|
||||
@@ -35,5 +40,6 @@ export {
|
||||
delUniqueCode,
|
||||
detailUniqueCode,
|
||||
editUniqueCode,
|
||||
getMaterialUnique
|
||||
getMaterialUnique,
|
||||
getMaterialByQrCodeInfo
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user