|
@@ -823,9 +823,11 @@
|
|
|
data: [this.workOrderInfo]
|
|
data: [this.workOrderInfo]
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
|
|
+ this.isFinalCheckProduction = false;
|
|
|
|
|
+
|
|
|
if (!this.$store.state.user.info.workCenterIds) {
|
|
if (!this.$store.state.user.info.workCenterIds) {
|
|
|
return this.$message.warning('该用户没有权限报工');
|
|
return this.$message.warning('该用户没有权限报工');
|
|
|
- }3
|
|
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
const isWorkCenter =
|
|
const isWorkCenter =
|
|
|
this.$store.state.user.info.workCenterIds.includes(
|
|
this.$store.state.user.info.workCenterIds.includes(
|
|
@@ -860,7 +862,6 @@
|
|
|
// }
|
|
// }
|
|
|
|
|
|
|
|
// this.isFinalCheckProduction = true;
|
|
// this.isFinalCheckProduction = true;
|
|
|
- this.isFinalCheckProduction = false;
|
|
|
|
|
|
|
|
|
|
if (this.taskObj.id != '-1') {
|
|
if (this.taskObj.id != '-1') {
|
|
|
const result = await this.checkQualityResult();
|
|
const result = await this.checkQualityResult();
|