diff --git a/hb_client/src/api/inm.js b/hb_client/src/api/inm.js index 6c95d11..f4437c9 100644 --- a/hb_client/src/api/inm.js +++ b/hb_client/src/api/inm.js @@ -46,7 +46,7 @@ export function createInventory(data) { //仓库对应的物料 export function getfifodetailList(query) { return request({ - url: '/inm/fifodetail/', + url: '/inm/fifoitem/', method: 'get', params: query }) @@ -60,6 +60,14 @@ export function getfifoList(query) { params: query }) } +//出入库记录删除 +export function deleteFifoitem(id, data) { + return request({ + url: `/inm/fifoitem/${id}/`, + method: 'delete', + data + }) +} //物料批次 export function getmaterialbatchList(query) { @@ -79,3 +87,11 @@ export function audit(id, data) { data }) } +//出入库检测 +export function createTestrecord(data) { + return request({ + url: '/inm/fifoitem/test/', + method: 'post', + data + }) +} \ No newline at end of file diff --git a/hb_client/src/api/qm.js b/hb_client/src/api/qm.js index 1e87b95..be4d101 100644 --- a/hb_client/src/api/qm.js +++ b/hb_client/src/api/qm.js @@ -57,11 +57,4 @@ export function deleteTestitem(id, data) { data }) } -//提交物料检查项目 -export function createTestrecord(data) { - return request({ - url: '/qm/testrecord/', - method: 'post', - data - }) -} + diff --git a/hb_client/src/views/em/detection.vue b/hb_client/src/views/em/detection.vue index 4238688..3838c41 100644 --- a/hb_client/src/views/em/detection.vue +++ b/hb_client/src/views/em/detection.vue @@ -34,11 +34,12 @@ diff --git a/hb_client/src/views/em/equipment.vue b/hb_client/src/views/em/equipment.vue index e31e26d..e2b7104 100644 --- a/hb_client/src/views/em/equipment.vue +++ b/hb_client/src/views/em/equipment.vue @@ -38,32 +38,33 @@ fit stripe highlight-current-row - max-height="600" + height="100" + v-el-height-adaptive-table="{bottomOffset: 50}" > - + - + - + - + - + - + - + - + - + - + - + - +