diff --git a/src/api/purchase/goodsEntry.js b/src/api/purchase/goodsEntry.js index b5e9b9ed..b6452df6 100644 --- a/src/api/purchase/goodsEntry.js +++ b/src/api/purchase/goodsEntry.js @@ -17,4 +17,14 @@ export function purchaseWarehouse(data) { method: 'post', data: data }) -} \ No newline at end of file +} + + +// 查询入库编码列表 +export function getMachineById(data) { + return request({ + url: '/material/purchase/storage/getMachineById', + method: 'post', + data: data + }) +} diff --git a/src/views/material/back/component/home.vue b/src/views/material/back/component/home.vue index 36c20499..078762b9 100644 --- a/src/views/material/back/component/home.vue +++ b/src/views/material/back/component/home.vue @@ -124,13 +124,13 @@ 退料接收 - +
-
验收结论:
+
验收结论:
{ - this.tableList = response.rows; - this.total = response.total; + this.tableList = response.data.rows; + this.total = response.data.total; this.loading = false; }); }, diff --git a/src/views/material/purchase/goodsArrived/component/addTools.vue b/src/views/material/purchase/goodsArrived/component/addTools.vue index 226816ac..598c772f 100644 --- a/src/views/material/purchase/goodsArrived/component/addTools.vue +++ b/src/views/material/purchase/goodsArrived/component/addTools.vue @@ -794,7 +794,7 @@ export default { } }) this.equipmentList.forEach((item, index) => { - if (item.id == row.id) { + if (item.typeId == row.typeId) { this.equipmentList.splice(index, 1) } }) diff --git a/src/views/material/purchase/goodsArrived/component/home.vue b/src/views/material/purchase/goodsArrived/component/home.vue index 724f7982..20da8ccf 100644 --- a/src/views/material/purchase/goodsArrived/component/home.vue +++ b/src/views/material/purchase/goodsArrived/component/home.vue @@ -187,7 +187,12 @@ 未完成 --> - +