Commit ba20be2d authored by 沈翠玲's avatar 沈翠玲

刀模版领用单

parent 7a23f16e
......@@ -8,7 +8,14 @@ export function listTmToolRequest(query) {
params: query
})
}
// 查询刀模版申请单列表(/排除已领用)
export function listTmToolRequestUsed(query) {
return request({
url: '/tm/tmToolRequest/list/unused',
method: 'get',
params: query
})
}
// 查询刀模版申请单详细
export function getTmToolRequest(toolRequestId) {
return request({
......
......@@ -146,7 +146,7 @@
</template>
<script>
import { listTmToolRequest } from "@/api/mes/tm/tmToolRequest";
import { listTmToolRequestUsed } from "@/api/mes/tm/tmToolRequest";
export default {
name: "TmRequestSelectSingle",
components: {},
......@@ -220,7 +220,7 @@ export default {
/** 查询品牌列表 */
getList() {
this.loading = true;
listTmToolRequest(this.queryParams).then((response) => {
listTmToolRequestUsed(this.queryParams).then((response) => {
this.toolRequestList = response.rows;
this.total = response.total;
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