|
@@ -2478,16 +2478,7 @@ import {
|
|
|
StaProcessAnomaly,
|
|
StaProcessAnomaly,
|
|
|
} from '@/api/mes/job'
|
|
} from '@/api/mes/job'
|
|
|
|
|
|
|
|
- // 获取当前日期
|
|
|
|
|
- const today = new Date();
|
|
|
|
|
- const year = today.getFullYear();
|
|
|
|
|
- const month = String(today.getMonth() + 1).padStart(2, '0'); // 月份从 0 开始,需要补零
|
|
|
|
|
- const day = String(today.getDate()).padStart(2, '0');
|
|
|
|
|
- const hours = String(today.getHours()).padStart(2, '0');
|
|
|
|
|
- const minutes = String(today.getMinutes()).padStart(2, '0');
|
|
|
|
|
- const seconds = String(today.getSeconds()).padStart(2, '0');
|
|
|
|
|
- const currentDate = `${year}-${month}-${day} ${hours}:${minutes}:${seconds}`;
|
|
|
|
|
- const currentDates = `${year}-${month}-${day}`;
|
|
|
|
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
|
|
const printPageRef = ref()
|
|
const printPageRef = ref()
|
|
@@ -4927,7 +4918,17 @@ const zhichengNodeClick = (node, check) => {
|
|
|
};
|
|
};
|
|
|
const processInspectionRecordsItem = async (value) => {
|
|
const processInspectionRecordsItem = async (value) => {
|
|
|
const response = await ProcessInspectionRecordsItem({ process: xunchaData.value.gxmc });
|
|
const response = await ProcessInspectionRecordsItem({ process: xunchaData.value.gxmc });
|
|
|
-
|
|
|
|
|
|
|
+ // 获取当前日期
|
|
|
|
|
+ const today = new Date();
|
|
|
|
|
+ const year = today.getFullYear();
|
|
|
|
|
+ const month = String(today.getMonth() + 1).padStart(2, '0'); // 月份从 0 开始,需要补零
|
|
|
|
|
+ const day = String(today.getDate()).padStart(2, '0');
|
|
|
|
|
+ const hours = String(today.getHours()).padStart(2, '0');
|
|
|
|
|
+ const minutes = String(today.getMinutes()).padStart(2, '0');
|
|
|
|
|
+ const seconds = String(today.getSeconds()).padStart(2, '0');
|
|
|
|
|
+ const currentDate = `${year}-${month}-${day} ${hours}:${minutes}:${seconds}`;
|
|
|
|
|
+ const currentDates = `${year}-${month}-${day}`;
|
|
|
|
|
+
|
|
|
if (response.code === 0) {
|
|
if (response.code === 0) {
|
|
|
zhibiaoselectData.value=response.data.首件.指标检验.map(item=>{
|
|
zhibiaoselectData.value=response.data.首件.指标检验.map(item=>{
|
|
|
item.notjc=true;
|
|
item.notjc=true;
|