zck 11 месяцев назад
Родитель
Сommit
f81d3b0250

+ 3 - 3
src/view/performance/12-orderAccounting/index.vue

@@ -22,7 +22,7 @@
               <el-button type="primary" icon="edit" class="bt" @click="pd_lcdlistonClick">流程单查询</el-button>
               <el-button type="primary" icon="edit" class="bt" @click="exportExcel">导出Excel</el-button>
               <el-button type="primary" icon="edit" class="bt" @click="ygdy">超节损员工打印</el-button>
-              <el-button type="primary" icon="edit" class="bt" @click="rcgdsj">超节损结算</el-button>
+              <el-button type="success" icon="edit" class="bt" @click="rcgdsj">数据处理</el-button>
             </el-form-item>
           </el-form>
 
@@ -136,8 +136,8 @@
 			   :jjcp_yjno="jjcp_yjno"
             />
 
- <!-- 超节损结算 -->
- <el-dialog v-model="onrcgdsj"  title="超节损结算" destroy-on-close style="height: 30%;width: 20%;">
+ <!-- 数据处理 -->
+ <el-dialog v-model="onrcgdsj"  title="工单质量考核数据核算" destroy-on-close style="height: 30%;width: 20%;">
   <el-form-item label="选择年月" label-width="100px">
     <el-date-picker
 			    v-model="rcgdsjrq"

+ 12 - 11
src/view/performance/chejianbaogong.vue

@@ -2478,16 +2478,7 @@ import {
   StaProcessAnomaly,
 } 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()
@@ -4927,7 +4918,17 @@ const zhichengNodeClick = (node, check) => {
 };
 const processInspectionRecordsItem = async (value) => {
   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) {
 	zhibiaoselectData.value=response.data.首件.指标检验.map(item=>{
 		 item.notjc=true;