From b51361558da5e1763bc37a0ca7195ce7bc5eb251 Mon Sep 17 00:00:00 2001
From: wujian <14790700720@163.com>
Date: 星期一, 22 一月 2024 18:39:05 +0800
Subject: [PATCH] add生产报表-拧紧数据

---
 jcdm-ui/src/views/main/bs/orderScheduling/index.vue |   17 +++++++++++------
 1 files changed, 11 insertions(+), 6 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..38f14ba 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">
 
@@ -368,7 +372,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 +413,7 @@
         combinedBoxTime: null,
         finalAssemblyTime: null,
         operator: null,
-        operateTime: '',
+        operateTime: null,
         status: null,
         spareField1: null,
         spareField2: null,
@@ -417,7 +421,8 @@
         spareField4: null,
         createUser: null,
         updateUser: null,
-        remarks: null
+        remarks: null,
+        dateConditions: [],
       },
       // 琛ㄥ崟鍙傛暟
       form: {},
@@ -470,6 +475,7 @@
     /** 鏌ヨ璁㈠崟鎺掍骇鍒楄〃 */
     getList() {
       this.loading = true;
+      console.log(this.queryParams)
       listOrderScheduling(this.queryParams).then(response => {
         this.orderSchedulingList = response.rows;
         this.total = response.total;
@@ -518,7 +524,6 @@
     handleQuery() {
       this.queryParams.pageNum = 1;
       this.getList();
-      this.$modal.msgSuccess(this.queryParams.operateTime);
     },
     /** 閲嶇疆鎸夐挳鎿嶄綔 */
     resetQuery() {

--
Gitblit v1.9.3