From 0f8aca36a23b098e40d94c5f0207b1cb5e409fa9 Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期三, 19 六月 2024 14:30:29 +0800
Subject: [PATCH] 修改检验任务bug

---
 src/components/view/b2-standard.vue |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/components/view/b2-standard.vue b/src/components/view/b2-standard.vue
index 345c03a..0884527 100644
--- a/src/components/view/b2-standard.vue
+++ b/src/components/view/b2-standard.vue
@@ -456,7 +456,7 @@
         </div>
       </div>
     </el-dialog>
-    <el-dialog title="鍖洪棿璁剧疆" :visible.sync="sectionUpDia" width="70%">
+    <el-dialog title="鍖洪棿璁剧疆" :visible.sync="sectionUpDia" width="70%" :close-on-click-modal="false">
       <div class="body" style="padding: 5px 0;">
         <el-table :data="sectionList" border style="width: 100%" height="350px">
           <el-table-column type="index" label="搴忓彿" width="70" align="center">
@@ -498,7 +498,7 @@
       <span slot="footer" class="dialog-footer">
         <el-button @click="sectionUpDia = false">鍙� 娑�</el-button>
         <el-button type="primary" @click="sectionLoadAdd" :loading="sectionLoad">淇� 瀛�</el-button>
-        <el-button type="primary" @click="sectionList.push({thing: ''})" icon="el-icon-plus"></el-button>
+        <el-button type="primary" @click="sectionList.push({thing: '',price: sectionRow.price,manHour: sectionRow.manHour})" icon="el-icon-plus"></el-button>
       </span>
     </el-dialog>
     <el-dialog title="鏁版嵁瀵煎叆" :visible.sync="uploadDia" width="500px">
@@ -1218,6 +1218,7 @@
           }
           this.sectionRow = {}
           this.sectionUpDia = true
+          this.sectionList = []
         } else {
           // 鍊兼槸涓�涓璞�
           this.sectionRow = row

--
Gitblit v1.9.3