diff --git a/src/views/modules/yieldReport/com_finish_roll.vue b/src/views/modules/yieldReport/com_finish_roll.vue
index 52aaa40..0f5b292 100644
--- a/src/views/modules/yieldReport/com_finish_roll.vue
+++ b/src/views/modules/yieldReport/com_finish_roll.vue
@@ -43,7 +43,8 @@
-
+
+
@@ -262,6 +263,7 @@ export default {
showShiftFlag: false,
showNumFlag:false,
sfdcTimeList: [],
+ preItemNo: 0,
scheduleData: {
site: this.$store.state.user.site,
username: this.$store.state.user.name,
@@ -543,6 +545,8 @@ export default {
this.pageData.resourceId = scheduleData.resourceId;
this.pageData.operatorId = operatorData.operatorId;
this.pageData.operatorName = operatorData.operatorName;
+
+ this.preItemNo = scheduleData.preItemNo
//this.scheduleData.reportedTime = this.dayjs(new Date()).format('YYYY-MM-DD HH:mm:ss');
//重置时间
this.pageData.reportedTime = this.dayjs(new Date()).format('YYYY-MM-DD HH:mm:ss');
diff --git a/src/views/modules/yieldReport/com_produce_report_normal.vue b/src/views/modules/yieldReport/com_produce_report_normal.vue
index 176f15b..8797238 100644
--- a/src/views/modules/yieldReport/com_produce_report_normal.vue
+++ b/src/views/modules/yieldReport/com_produce_report_normal.vue
@@ -168,7 +168,8 @@
width="75"
:label="'操作'">
- 刀模替换
- 其它操作
@@ -2837,13 +2839,14 @@ export default {
planStartTime: '',
planFinishTime: '',
qtyRequiredOriginal: 0,
+ preItemNo: '',
preItemDesc: '',
nextItemDesc: '',
nextItemNo: 0,
operatorId: '',
functionName: '',
currentRollFlag: false,
- repairOrderFlag:'',
+ repairOrderFlag: '',
checkMultipleRoll: ''
},
currentRollOps: {
@@ -2899,15 +2902,15 @@ export default {
},
methods: {
// 不良记录
- sfdcDefectListSummaries(param){
- const { columns, data } = param;
+ sfdcDefectListSummaries(param) {
+ const {columns, data} = param;
const sums = [];
columns.forEach((column, index) => {
if (index === 1) {
sums[index] = "合计: ";
return;
}
- if (index == 4){
+ if (index == 4) {
const values = data.map(item => Number(item[column.property]));
if (!values.every(value => isNaN(value))) {
sums[index] = values.reduce((prev, curr) => {
@@ -2918,25 +2921,25 @@ export default {
return prev;
}
}, 0);
- sums[index] ;
+ sums[index];
}
- sums[index] = (sums[index]?sums[index]:0)
+ sums[index] = (sums[index] ? sums[index] : 0)
}
});
return sums;
},
// 机器下机卷
- sfdcRollListSummaries(param){
- const { columns, data } = param;
+ sfdcRollListSummaries(param) {
+ const {columns, data} = param;
const sums = [];
columns.forEach((column, index) => {
if (index === 0) {
sums[index] = '下机卷总数:';
return;
}
- if (index == 14){
- let list = data.filter(item => item.virtualRollFlag!='Y' && item.rollType !='删除卷')
+ if (index == 14) {
+ let list = data.filter(item => item.virtualRollFlag != 'Y' && item.rollType != '删除卷')
const values = list.map(item => Number(item[column.property]));
let sum = 0
if (!values.every(value => isNaN(value))) {
@@ -2950,7 +2953,7 @@ export default {
}, 0);
}
- sums[0]+= sum?sum:0
+ sums[0] += sum ? sum : 0
}
});
return sums;
@@ -3013,6 +3016,7 @@ export default {
this.scheduleData.workCenterNo = data.row.workCenterNo;
this.scheduleData.workCenterDesc = data.row.workCenterDesc;
this.scheduleData.resourceDesc = data.row.resourceDesc;
+ this.scheduleData.preItemNo = data.row.preItemNo;
});
},
// 获取当前卷的信息
@@ -3152,6 +3156,7 @@ export default {
this.scheduleData.workCenterNo = data.row.workCenterNo;
this.scheduleData.workCenterDesc = data.row.workCenterDesc;
this.scheduleData.resourceDesc = data.row.resourceDesc;
+ this.scheduleData.preItemNo = data.row.preItemNo;
//设置弹窗的标题
this.titleCon = '机台工作台' + ' - ' + data.row.itemDesc + ' '
+ data.row.resourceDesc + ' (' + this.operatorData.operatorName + ')';
diff --git a/src/views/modules/yieldReport/not_over_finish_roll.vue b/src/views/modules/yieldReport/not_over_finish_roll.vue
index bf6749b..3a60f9d 100644
--- a/src/views/modules/yieldReport/not_over_finish_roll.vue
+++ b/src/views/modules/yieldReport/not_over_finish_roll.vue
@@ -19,39 +19,48 @@
-
+
-
+
-
+
-
+
-
+
-
-
- 列表
-
-
-
- 刷新
-
-
-
- 结束卷
-
-
-
- 关闭
-
+
+
+ 列表
+
+
+
+
+ 刷新
+
+
+
+
+ 结束卷
+
+
+
+
+ 关闭
+
+
@@ -61,134 +70,154 @@
是否报告产量
+ v-model="pageData.reportedFlag">是否报告产量
+
-
+
-
+
-
+
-
+
-
-
+
+
-
-
-
+
+
+
@@ -215,7 +244,7 @@
- {{scope.row[item.columnProp]}}
+ {{ scope.row[item.columnProp] }}
@@ -230,24 +259,24 @@
+ :visible.sync="showExceptionFlag"
+ @initExceptionReason="initExceptionReason">
+ @initScheduleShift="initScheduleShift">