From aead81c14ebf1e592d66293213b61c945dacf7c1 Mon Sep 17 00:00:00 2001
From: wujian <14790700720@163.com>
Date: 星期一, 22 一月 2024 16:45:08 +0800
Subject: [PATCH] add 作业指导

---
 jcdm-ui/src/views/main/bs/orderScheduling/index.vue |   45 ++++++++++++++++++++++++++++++++++-----------
 1 files changed, 34 insertions(+), 11 deletions(-)

diff --git a/jcdm-ui/src/views/main/bs/orderScheduling/index.vue b/jcdm-ui/src/views/main/bs/orderScheduling/index.vue
index be23462..3117645 100644
--- a/jcdm-ui/src/views/main/bs/orderScheduling/index.vue
+++ b/jcdm-ui/src/views/main/bs/orderScheduling/index.vue
@@ -60,6 +60,7 @@
               :value="dict.value"/>
           </el-select>
         </el-form-item>
+        <br/>
         <el-form-item label="鍚堢鎶ュ伐" prop="report10">
           <el-input
             v-model="queryParams.report10"
@@ -84,9 +85,10 @@
             @keyup.enter.native="handleQuery"
           />
         </el-form-item>
+        <br/>
         <el-form-item label="鎿嶄綔鏃堕棿" prop="operateTime">
           <el-date-picker
-            v-model="queryParams.operateTime"
+            v-model="queryParams.dateConditions"
             type="datetimerange"
             :picker-options="pickerOptions"
             value-format="yyyy-MM-dd HH:mm:ss"
@@ -155,7 +157,9 @@
 
           </el-table-column>
           <el-table-column label="浜у搧绫诲瀷" align="center" prop="productType">
-
+            <template slot-scope="scope">
+              <dict-tag :options="dict.type.material_type" :value="scope.row.productType"/>
+            </template>
           </el-table-column>
           <el-table-column label="鏈哄瀷" align="center" prop="model">
 
@@ -190,12 +194,24 @@
           <el-table-column label="CVT鎶ュ伐" align="center" prop="report30">
 
           </el-table-column>
-          <el-table-column label="鍚堢涓婄嚎" align="center" prop="combinedBoxTime">
-
+          <el-table-column label="鍚堢涓婄嚎鏃堕棿" align="center" prop="boxClosingOnlineTime" width="160">
           </el-table-column>
-          <el-table-column label="鎬昏涓嬬嚎" align="center" prop="finalAssemblyTime">
-
+          <el-table-column label="鍚堢涓嬬嚎鏃堕棿" align="center" prop="closingBoxOfflineTime" width="160">
           </el-table-column>
+          <el-table-column label="鎬昏涓婄嚎鏃堕棿" align="center" prop="finalAssemblyLaunchTime" width="160">
+          </el-table-column>
+          <el-table-column label="鎬昏涓嬬嚎鏃堕棿" align="center" prop="finalAssemblyOfflineTime" width="160">
+          </el-table-column>
+          <el-table-column label="CVT涓婄嚎鏃堕棿" align="center" prop="cvtLaunchTime" width="160">
+          </el-table-column>
+          <el-table-column label="CVT涓嬬嚎鏃堕棿" align="center" prop="cvtOfflineTime" width="160">
+          </el-table-column>
+<!--          <el-table-column label="鍚堢涓婄嚎" align="center" prop="combinedBoxTime">-->
+
+<!--          </el-table-column>-->
+<!--          <el-table-column label="鎬昏涓嬬嚎" align="center" prop="finalAssemblyTime">-->
+
+<!--          </el-table-column>-->
           <el-table-column label="鎿嶄綔浜�" align="center" prop="operator">
 
           </el-table-column>
@@ -368,7 +384,7 @@
 
 export default {
   name: "OrderScheduling",
-  dicts: ['order_scheduling_produce_status','quality_status','print_status'],
+  dicts: ['order_scheduling_produce_status','quality_status','print_status','material_type'],
   data() {
     return {
       // 閬僵灞�
@@ -409,7 +425,7 @@
         combinedBoxTime: null,
         finalAssemblyTime: null,
         operator: null,
-        operateTime: '',
+        operateTime: null,
         status: null,
         spareField1: null,
         spareField2: null,
@@ -417,7 +433,8 @@
         spareField4: null,
         createUser: null,
         updateUser: null,
-        remarks: null
+        remarks: null,
+        dateConditions: [],
       },
       // 琛ㄥ崟鍙傛暟
       form: {},
@@ -470,6 +487,7 @@
     /** 鏌ヨ璁㈠崟鎺掍骇鍒楄〃 */
     getList() {
       this.loading = true;
+      console.log(this.queryParams)
       listOrderScheduling(this.queryParams).then(response => {
         this.orderSchedulingList = response.rows;
         this.total = response.total;
@@ -510,7 +528,13 @@
         updateUser: null,
         updateTime: null,
         remarks: null,
-        report30: null
+        report30: null,
+        boxClosingOnlineTime: null,
+        closingBoxOfflineTime: null,
+        finalAssemblyLaunchTime: null,
+        finalAssemblyOfflineTime: null,
+        cvtLaunchTime: null,
+        cvtOfflineTime: null
       };
       this.resetForm("form");
     },
@@ -518,7 +542,6 @@
     handleQuery() {
       this.queryParams.pageNum = 1;
       this.getList();
-      this.$modal.msgSuccess(this.queryParams.operateTime);
     },
     /** 閲嶇疆鎸夐挳鎿嶄綔 */
     resetQuery() {

--
Gitblit v1.9.3