From b807a12b89dc9126bac49c02a3902bec758f4f9b Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期一, 09 六月 2025 11:55:27 +0800
Subject: [PATCH] 检验标准未带出

---
 src/views/business/inspectionTask/components/viewManHourDia.vue |   29 +++++++++++++++++++++++++++--
 1 files changed, 27 insertions(+), 2 deletions(-)

diff --git a/src/views/business/inspectionTask/components/viewManHourDia.vue b/src/views/business/inspectionTask/components/viewManHourDia.vue
index c5dc4ca..54268fd 100644
--- a/src/views/business/inspectionTask/components/viewManHourDia.vue
+++ b/src/views/business/inspectionTask/components/viewManHourDia.vue
@@ -6,9 +6,23 @@
       width="80%"
       @close="editInspectionDia = false"
     >
+      <div>
+        <el-form :model="entity" :inline="true">
+          <el-form-item label="妫�楠岄」" prop="outputWorkTime">
+            <el-input v-model="entity.inspectionItem" clearable size="small"></el-input>
+          </el-form-item>
+          <el-form-item>
+            <el-button size="small" type="primary" @click="getList0">鏌ヨ</el-button>
+          </el-form-item>
+        </el-form>
+      </div>
       <lims-table :tableData="tableData0" :column="column0"
                   :page="page0" :tableLoading="tableLoading"
-                  height="560" @pagination="pagination0"></lims-table>
+                  height="500" @pagination="pagination0"></lims-table>
+      <span slot="footer" class="dialog-footer" v-if="insState == 99">
+        <el-button @click="editInspectionDia = false">鍙� 娑�</el-button>
+        <el-button type="primary" @click="handleSubmit">纭� 瀹�</el-button>
+      </span>
     </el-dialog>
     <el-dialog :visible.sync="editAskDia" title="淇敼" width="50%">
       <el-form ref="form" :model="editForm" label-width="100px">
@@ -62,7 +76,9 @@
       editInspectionDia: false,
       entity: {
         orderId: 0,
+        inspectionItem: ''
       },
+      insState: 0,
       tableData0: [],
       tableLoading: false,
       column0: [
@@ -91,6 +107,9 @@
               clickFun: (row) => {
                 this.editIns(row);
               },
+              disabled: (row) => {
+                return this.insState == 3 || this.insState == 5 || this.insState == 99
+              },
             },
           ],
         },
@@ -117,7 +136,8 @@
   },
   // 鏂规硶闆嗗悎
   methods: {
-    showDialog(id) {
+    showDialog(id, insState) {
+      this.insState = insState
       this.editInspectionDia = true;
       this.entity.orderId = id;
       this.getList0();
@@ -156,6 +176,11 @@
           this.handleEditLoading = false;
         });
     },
+    // 纭宸ユ椂
+    handleSubmit () {
+      this.editInspectionDia = false;
+      this.$emit("submit");
+    },
     pagination0({ page, limit }) {
       this.page0.current = page;
       this.page0.size = limit;

--
Gitblit v1.9.3