diff --git a/src/api/mes/attached.js b/src/api/mes/attached.js new file mode 100644 index 00000000..62b9c795 --- /dev/null +++ b/src/api/mes/attached.js @@ -0,0 +1,45 @@ +import request from '@/utils/request' +// import request from '@/api/attached' + +// 查询物料附属信息列表 +export function listAttached(query) { + return request({ + url: '/mes/attached/list', + method: 'get', + params: query + }) +} + +// 查询物料附属信息详细 +export function getAttached(id) { + return request({ + url: '/mes/attached/' + id, + method: 'get' + }) +} + +// 新增物料附属信息 +export function addAttached(data) { + return request({ + url: '/mes/attached', + method: 'post', + data: data + }) +} + +// 修改物料附属信息 +export function updateAttached(data) { + return request({ + url: '/mes/attached', + method: 'put', + data: data + }) +} + +// 删除物料附属信息 +export function delAttached(id) { + return request({ + url: '/mes/attached/' + id, + method: 'delete' + }) +} diff --git a/src/views/mes/attached/index.vue b/src/views/mes/attached/index.vue new file mode 100644 index 00000000..36dc0e1b --- /dev/null +++ b/src/views/mes/attached/index.vue @@ -0,0 +1,471 @@ + + +