|
|
@@ -1060,7 +1060,6 @@
|
|
|
<el-table-column type="selection" width="55" />
|
|
|
<!-- <el-table-column align="left" label="选择" prop="工单编号" width="100"/> -->
|
|
|
<el-table-column fixed align="left" label="产品名称" prop="产品名称" width="300"/>
|
|
|
- <el-table-column fixed align="left" label="产品名称" prop="产品名称" width="300"/>
|
|
|
<el-table-column fixed align="left" label="工序" prop="工序" width="170"/>
|
|
|
<el-table-column fixed align="left" label="产量" prop="产量" width="100"/>
|
|
|
<el-table-column align="left" label="千件工价" prop="千件工价" width="85"/>
|
|
|
@@ -1113,9 +1112,9 @@
|
|
|
<el-table-column type="selection" width="55" />
|
|
|
<!-- <el-table-column fixed align="left" label="工单编号" prop="工单编号" width="130"/> -->
|
|
|
<el-table-column align="left" fixed label="产品名称" prop="产品名称" width="300"/>
|
|
|
- <!-- <el-table-column align="left" fixed label="工序" prop="工序" width="150"/> -->
|
|
|
- <el-table-column align="left" label="印件号" prop="yjno" width="115"/>
|
|
|
- <el-table-column align="left" label="工序名称" prop="gxmc" width="200"/>
|
|
|
+ <el-table-column align="left" fixed label="工序" prop="工序" width="150"/>
|
|
|
+ <!-- <el-table-column align="left" label="印件号" prop="yjno" width="115"/>
|
|
|
+ <el-table-column align="left" label="工序名称" prop="gxmc" width="200"/> -->
|
|
|
<el-table-column align="left" fixed label="班组" prop="bzdh" width="70"/>
|
|
|
<el-table-column align="left" label="计件箱数" prop="计件箱数" width="90"/>
|
|
|
<el-table-column align="left" label="每箱数量" prop="每箱数量" width="90"/>
|
|
|
@@ -2473,7 +2472,8 @@ import{
|
|
|
AccountingParameterEdit,
|
|
|
gdzl_MachineList,
|
|
|
getOrderProcessCount,
|
|
|
- RejectionEdit
|
|
|
+ RejectionEdit,
|
|
|
+ JPchanliangDetailList
|
|
|
} from "@/api/yunyin/yunying";
|
|
|
import {
|
|
|
MachineTeamAdd,
|
|
|
@@ -3280,38 +3280,39 @@ const JPformdataedit = reactive({
|
|
|
// 双击JP当日上报产量
|
|
|
const JPgytableDatadoubleClick = async (row) => {
|
|
|
console.log(row)
|
|
|
- console.log(12)
|
|
|
- JPformdataedit['工单编号'] = row['工单编号'];
|
|
|
- JPformdataedit['产品名称'] = row['产品名称'];
|
|
|
- JPformdataedit['印件号'] = row['yjno'];
|
|
|
- JPformdataedit['印件名称'] = row['cpmc'];
|
|
|
- JPformdataedit['工序号'] = row['gxh'];
|
|
|
- JPformdataedit['工序名称'] = row['工序'];
|
|
|
- JPformdataedit['检验类别'] = row['检验类型'];
|
|
|
- JPformdataedit['废品率系数'] = row['废品率系数'];
|
|
|
- JPformdataedit['日期'] = row['sczl_rq'];
|
|
|
+ const response = await JPchanliangDetailList({UniqId:row.UniqId})
|
|
|
+ console.log(response)
|
|
|
+ JPformdataedit['工单编号'] = response.data['工单编号'];
|
|
|
+ JPformdataedit['产品名称'] = response.data['成品名称'];
|
|
|
+ JPformdataedit['印件号'] = response.data['yjno'];
|
|
|
+ JPformdataedit['印件名称'] = response.data['产品名称'];
|
|
|
+ JPformdataedit['工序号'] = response.data['gxh'];
|
|
|
+ JPformdataedit['工序名称'] = response.data['gxmc'];
|
|
|
+ JPformdataedit['检验类别'] = response.data['检验类型'];
|
|
|
+ JPformdataedit['废品率系数'] = response.data['废品率系数'];
|
|
|
+ JPformdataedit['日期'] = response.data['sczl_rq'];
|
|
|
JPformdataedit['机器'] = JTMC;
|
|
|
- JPformdataedit['流程标牌'] = row['num'];
|
|
|
- JPformdataedit['计件箱数'] = row['计件箱数'];
|
|
|
- JPformdataedit['每箱数量'] = row['每箱数量'];
|
|
|
- JPformdataedit['换膜总工时'] = row['换膜总工时'];
|
|
|
- JPformdataedit['换膜补产工时'] = row['换膜补时'];
|
|
|
- JPformdataedit['保养工时'] = row['保养工时'];
|
|
|
- JPformdataedit['异常总工时'] = row['异常总工时'];
|
|
|
- JPformdataedit['异常类型'] = row['异常类型'];
|
|
|
- JPformdataedit['异常补贴工时'] = row['异常补时'];
|
|
|
- JPformdataedit['通电工时'] = row['通电工时'];
|
|
|
- JPformdataedit['定额代号'] = row['定额代号'];
|
|
|
- JPformdataedit['bzdh'] = row['bzdh'];
|
|
|
+ JPformdataedit['流程标牌'] = response.data['num'];
|
|
|
+ JPformdataedit['计件箱数'] = response.data['计件箱数'];
|
|
|
+ JPformdataedit['每箱数量'] = response.data['每箱数量'];
|
|
|
+ JPformdataedit['换膜总工时'] = response.data['换膜总工时'];
|
|
|
+ JPformdataedit['换膜补产工时'] = response.data['换膜补时'];
|
|
|
+ JPformdataedit['保养工时'] = response.data['保养工时'];
|
|
|
+ JPformdataedit['异常总工时'] = response.data['异常总工时'];
|
|
|
+ JPformdataedit['异常类型'] = response.data['异常类型'];
|
|
|
+ JPformdataedit['异常补贴工时'] = response.data['异常补时'];
|
|
|
+ JPformdataedit['通电工时'] = response.data['通电工时'];
|
|
|
+ JPformdataedit['定额代号'] = response.data['定额代号'];
|
|
|
+ JPformdataedit['bzdh'] = response.data['bzdh'];
|
|
|
|
|
|
for (let i = 1; i <= 10; i++) {
|
|
|
- JPformdataedit[`组员${i}`]['编号'] = row[`sczl_bh${i}`];
|
|
|
+ JPformdataedit[`组员${i}`]['编号'] = response.data[`sczl_bh${i}`];
|
|
|
}
|
|
|
for (let i = 1; i <= 10; i++) {
|
|
|
- JPformdataedit[`组员${i}`]['姓名'] = row[`sczl_name${i}`];
|
|
|
+ JPformdataedit[`组员${i}`]['姓名'] = response.data[`sczl_name${i}`];
|
|
|
}
|
|
|
for (let i = 1; i <= 10; i++) {
|
|
|
- JPformdataedit[`组员${i}`]['比例'] = row[`sczl_rate${i}`];
|
|
|
+ JPformdataedit[`组员${i}`]['比例'] = response.data[`sczl_rate${i}`];
|
|
|
}
|
|
|
//自动聚焦光标
|
|
|
setTimeout(() => {
|