Commit 6ff23df9 authored by 沈翠玲's avatar 沈翠玲

Merge branch 'dev' of http://git.local.topsunit.com/mes/mes-ui into dev

parents 7959ce60 b1822ae9
...@@ -9,6 +9,16 @@ export function listRecord(query) { ...@@ -9,6 +9,16 @@ export function listRecord(query) {
}); });
} }
// 查询刀模版上下机记录列表
export function listRecords(query) {
return request({
url: "/tm/tmToolMachines/warehouse/lists",
method: "get",
params: query,
});
}
// 查询刀模版上下机记录详细 // 查询刀模版上下机记录详细
export function getRecord(toolMachinesRecordId) { export function getRecord(toolMachinesRecordId) {
return request({ return request({
......
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
</template> </template>
<script> <script>
import { listRecord } from "@/api/mes/tm/toolmachinesrecord"; import { listRecords } from "@/api/mes/tm/toolmachinesrecord";
import { genCode } from "@/api/system/autocode/rule"; import { genCode } from "@/api/system/autocode/rule";
import { getToken } from "@/utils/auth"; import { getToken } from "@/utils/auth";
import { treeselect } from "@/api/mes/md/itemtype"; import { treeselect } from "@/api/mes/md/itemtype";
...@@ -136,7 +136,7 @@ export default { ...@@ -136,7 +136,7 @@ export default {
const params = JSON.parse(JSON.stringify(this.queryParams)) const params = JSON.parse(JSON.stringify(this.queryParams))
if (!params.workunitName) delete params.workunitName if (!params.workunitName) delete params.workunitName
if (!params.toolCode) delete params.toolCode if (!params.toolCode) delete params.toolCode
listRecord(params).then((response) => { listRecords(params).then((response) => {
this.itemList = response.rows; this.itemList = response.rows;
this.total = response.total; this.total = response.total;
this.loading = false; this.loading = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment