Commit 2c126e4d authored by 沈翠玲's avatar 沈翠玲

生产排产->排程

parent b50de70f
...@@ -44,6 +44,15 @@ export function arrangeList(query) { ...@@ -44,6 +44,15 @@ export function arrangeList(query) {
}); });
} }
// 关联工单表查询编排表(合并重复项)
export function distinctList(query) {
return request({
url: "/pro/arrange/distinctList",
method: "post",
data: query,
});
}
// 查询任务工作单元列表 // 查询任务工作单元列表
export function taskWorkunitList(query) { export function taskWorkunitList(query) {
return request({ return request({
......
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
<script> <script>
import { import {
arrangeList distinctList
} from "@/api/mes/pro/scheduleList"; } from "@/api/mes/pro/scheduleList";
export default { export default {
...@@ -115,7 +115,7 @@ export default { ...@@ -115,7 +115,7 @@ export default {
formdata.append('workorderCode', this.queryParams.workorderCode) formdata.append('workorderCode', this.queryParams.workorderCode)
formdata.append('createBy', this.queryParams.createBy) formdata.append('createBy', this.queryParams.createBy)
formdata.append('workorderStatus', ['ORCHESTRATED']) formdata.append('workorderStatus', ['ORCHESTRATED'])
arrangeList(formdata).then((response) => { distinctList(formdata).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