From dab59f7624a2fb8d4114bb67b554ff09d91f810c Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期四, 10 四月 2025 13:07:36 +0800
Subject: [PATCH] Merge branch 'radio-frequency-cable' of http://114.132.189.42:9002/r/lims-ruoyi-before into radio-frequency-cable

---
 src/views/business/costStatistics/index.vue |   35 ++++++++++++++++++++++++++++++-----
 1 files changed, 30 insertions(+), 5 deletions(-)

diff --git a/src/views/business/costStatistics/index.vue b/src/views/business/costStatistics/index.vue
index 6243ee8..221cfd4 100644
--- a/src/views/business/costStatistics/index.vue
+++ b/src/views/business/costStatistics/index.vue
@@ -1,4 +1,5 @@
 <template>
+<!--  璐圭敤缁熻椤甸潰-->
   <div class="capacity-scope">
     <div class="search">
       <div>
@@ -16,8 +17,8 @@
             </el-select>
           </el-form-item>
           <el-form-item>
-            <el-button type="primary" icon="el-icon-search" size="mini" @click="refreshTable">鏌� 璇�</el-button>
-            <el-button icon="el-icon-refresh" size="mini" @click="refresh">閲� 缃�</el-button>
+            <el-button type="primary" size="mini" @click="refreshTable">鏌ヨ</el-button>
+            <el-button size="mini" @click="refresh">閲嶇疆</el-button>
           </el-form-item>
         </el-form>
       </div>
@@ -27,16 +28,18 @@
                   :height="'calc(100vh - 250px)'" @pagination="pagination"
                   :page="page" :tableLoading="tableLoading"></lims-table>
     </div>
+    <viewInfoDia ref="viewInfoDia" v-if="viewInfoDia"></viewInfoDia>
   </div>
 </template>
 
 <script>
 import limsTable from "@/components/Table/lims-table.vue";
+import viewInfoDia from "./components/viewInfoDia.vue";
 import {selectRatesPage} from "@/api/business/insOrderRates";
 import {selectCustomPageList} from "@/api/system/customer";
 
 export default {
-  components: {limsTable},
+  components: {limsTable,viewInfoDia},
   data() {
     return {
       entity: {
@@ -54,14 +57,29 @@
         { label: '濮旀墭浜�', prop: 'prepareUser' },
         { label: '鐢熶骇鍗曚綅', prop: 'production' },
         { label: '宸ョ▼鍚嶇О', prop: 'engineering' },
-        { label: '宸ユ椂', prop: 'cost' }
+        { label: '宸ユ椂', prop: 'cost' },
+        {
+          dataType: "action",
+          fixed: "right",
+          label: "鎿嶄綔",
+          operation: [
+            {
+              name: "鏌ョ湅璇︽儏",
+              type: "text",
+              clickFun: (row) => {
+                this.openDia(row)
+              },
+            },
+          ],
+        }
       ],
       page: {
         total: 0,
         size: 10,
         current: 1
       },
-      companyOptions: []
+      companyOptions: [],
+      viewInfoDia: false
     }
   },
   mounted() {
@@ -106,6 +124,13 @@
       this.page.size = page.limit
       this.refreshTable()
     },
+    // 鏌ョ湅璇︽儏
+    openDia (row) {
+      this.viewInfoDia = true
+      this.$nextTick(() => {
+        this.$refs.viewInfoDia.openDia(row)
+      })
+    },
   }
 }
 </script>

--
Gitblit v1.9.3