Commit 3f2a35f6 authored by 沈翠玲's avatar 沈翠玲

排产相关

parent ae1e3387
......@@ -187,7 +187,14 @@ export function listByUser(query) {
params: query
})
}
// 查询工作单元,排除已绑定的
export function listByUserNoAssist(query) {
return request({
url: '/mes/md/workunitWorker/listByUserNoAssist',
method: 'get',
params: query
})
}
// 修改人工作单元
export function updateWorkunituserList(query) {
return request({
......
......@@ -182,7 +182,7 @@
@click="handleVirtualReporting"
>虚拟报工</el-button>
</el-col>
<!-- <el-col :span="1.5">
<el-col :span="1.5">
<el-button
type="primary"
plain
......@@ -190,7 +190,7 @@
:disabled='single'
@click="handleUnschedule"
>取消排产</el-button>
</el-col> -->
</el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
</el-row>
......
......@@ -96,7 +96,7 @@
<script>
import {
getworkstationList} from '@/api/mes/pro/scheduleList'
import { listByUser } from "@/api/system/user";
import { listByUserNoAssist } from "@/api/system/user";
export default {
name: "WorkunitSelectSingle",
components: {},
......@@ -178,7 +178,7 @@
/** 查询生产工单列表 */
getList() {
this.loading = true;
listByUser(this.queryParams).then((response) => {
listByUserNoAssist(this.queryParams).then((response) => {
this.workunitList = response.rows;
this.loading = false;
this.total = response.total
......
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