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

刀模版领用单

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