From 879c92304ff4e6f4cc2c2012d20548f8375d9c1a Mon Sep 17 00:00:00 2001 From: rui_li <877258667@qq.com> Date: Tue, 15 Mar 2022 18:46:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=88=E5=B9=B6=E5=8D=B7=E5=92=8CFQC?= =?UTF-8?q?=E6=8E=92=E4=BA=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/schedule/order_schedule_fqc.js | 18 +- .../modules/schedule/order_schedule_fqc.vue | 1529 +++++------------ .../modules/yieldReport/com_merge_roll.vue | 9 +- 3 files changed, 482 insertions(+), 1074 deletions(-) diff --git a/src/api/schedule/order_schedule_fqc.js b/src/api/schedule/order_schedule_fqc.js index 73ee05e..f7f20c2 100644 --- a/src/api/schedule/order_schedule_fqc.js +++ b/src/api/schedule/order_schedule_fqc.js @@ -1,13 +1,13 @@ import { createAPI } from '@/utils/httpRequest.js' -// 获取机台休息班次的信息 -export const getResourceRestList = data => createAPI('schedule/getResourceRestList', 'POST', data) +// 获取FQC待排产的工单 +export const getShopOrderListWithFqc = data => createAPI('scheduling/getShopOrderListWithFqc', 'POST', data) -// 获取信息 -export const getShopOrderList = data => createAPI('schedule/getShopOrderList', 'POST', data) +// 获取FQC的操作员信息 +export const getOperatorListWithFqc = data => createAPI('scheduling/getOperatorListWithFqc', 'POST', data) -// 获取信息 -export const getOrderScheduleList = data => createAPI('schedule/getOrderScheduleList', 'POST', data) +// 获取FQC的排产记录 +export const getOrderScheduleListWithFqc = data => createAPI('scheduling/getOrderScheduleListWithFqc', 'POST', data) //获取当前加工中心对应的机台数据 export const getCurrentWorkCenterNoByResourceId = data => createAPI('scheduling/getCurrentWorkCenterNoByResourceId', 'POST', data) @@ -24,5 +24,11 @@ export const addWaitSchedule = data => createAPI('scheduling/addWaitSchedule', ' //重新排产生产工单的操作 export const reScheduleWorkOrders = data => createAPI('scheduling/reScheduleWorkOrders', 'POST', data) +//上移派工单 +export const moveUpSchedule = data => createAPI('scheduling/moveUpSchedule', 'POST', data) + +//上移派工单 +export const moveDownSchedule = data => createAPI('scheduling/moveDownSchedule', 'POST', data) + diff --git a/src/views/modules/schedule/order_schedule_fqc.vue b/src/views/modules/schedule/order_schedule_fqc.vue index 0012294..6833346 100644 --- a/src/views/modules/schedule/order_schedule_fqc.vue +++ b/src/views/modules/schedule/order_schedule_fqc.vue @@ -5,54 +5,54 @@ - + - + - + - + - + - + - + - + - + - + @@ -121,7 +121,7 @@ - 刷新数据 @@ -139,6 +139,10 @@ :height="tableHeight" :width="tableLeftWidth" :data="operatorList" border + :cell-style="customerCellStyle" :cell-class-name="customerCellClassName" + @row-click="setCurrentOperatorRow" + highlight-current-row + ref="operatorTable" v-loading="dataListLoading" style="margin-left: -15px; margin-top: -5px;"> @@ -182,12 +189,15 @@ - +
- + - + - - - 刷新排产清单 + 刷新排产清单 @@ -265,12 +275,14 @@
- - - - - - - - - - - - - - - - - - - @@ -2411,4 +1797,19 @@ div.customer-el-card-blue { .customer-checkbox + .customer-checkbox { margin-top: 20px; } + +/*统一的input内容颜色样式*/ +.customer-input-color-red /deep/ .el-input__inner { + color: red; +} + +/deep/ .customer-tab .el-tabs__content{ + padding: 0px !important; +} + +/*table中input*/ +div.table-input /deep/ input.el-input__inner{ + text-align: right; +} + diff --git a/src/views/modules/yieldReport/com_merge_roll.vue b/src/views/modules/yieldReport/com_merge_roll.vue index a3daf16..5e09f9e 100644 --- a/src/views/modules/yieldReport/com_merge_roll.vue +++ b/src/views/modules/yieldReport/com_merge_roll.vue @@ -13,7 +13,7 @@
- + @@ -158,13 +158,14 @@ export default { //首先判断数值是否通过判断 let newRollQty = this.pageData.newRollQty; if (newRollQty == null || newRollQty == '') { - this.$message.error('请输入新卷数量!'); + //this.$message.error('请输入新卷数量!'); this.pageData.newRollQty = 0;//重新赋值 return false; } - + //转换成整数 + newRollQty = parseInt(newRollQty); if (newRollQty <= 0 || !Number.isInteger(newRollQty)) { - this.$message.error('新卷数量必须是大于零的整数!'); + //this.$message.error('新卷数量必须是大于零的整数!'); this.pageData.newRollQty = 0;//重新赋值 return false; }