From b71ae6310a48763ca79216db617e36c99d7b9ef7 Mon Sep 17 00:00:00 2001
From: zhoushihao <zsh19950802@163.com>
Date: 星期二, 31 十二月 2024 17:02:13 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 UI-Project/src/views/hollow/hollowequipment.vue |   47 ++++++++++++++++++++++++++++++++++-------------
 1 files changed, 34 insertions(+), 13 deletions(-)

diff --git a/UI-Project/src/views/hollow/hollowequipment.vue b/UI-Project/src/views/hollow/hollowequipment.vue
index 3b92cbb..6546cf7 100644
--- a/UI-Project/src/views/hollow/hollowequipment.vue
+++ b/UI-Project/src/views/hollow/hollowequipment.vue
@@ -718,7 +718,7 @@
   </el-dialog>
   <!-- 涓┖閰嶆柟 -->
   <el-dialog v-model="mulan" top="15vh" width="80%" :title="$t('hellow.hollowformula')">
-    <el-button id="searchButton" type="primary"  @click="add = true">
+    <el-button id="searchButton" type="primary"  @click="openAddDialog">
           {{ $t('basicData.add') }}
         </el-button>
       <el-table ref="table" style="margin-top: 20px;height: 400px;"
@@ -824,18 +824,18 @@
 const topRemove = ref('')
 const filmsId = ref('')
 const flowCardId = ref('')
-const  casFour = ref('')
-const  casOne = ref('')
-const  casThree = ref('')
-const  casTwo = ref('')
-const  frameFour = ref('')
-const  frameOne = ref('')
-const  frameThree = ref('')
-const  frameTwo = ref('')
-const  intervalFrameHeight = ref('')
-const  intervalFrameType = ref('')
-const  intervalFrameWidth = ref('')
-const  sealInsert = ref('')
+const casFour = ref('')
+const casOne = ref('')
+const casThree = ref('')
+const casTwo = ref('')
+const frameFour = ref('')
+const frameOne = ref('')
+const frameThree = ref('')
+const frameTwo = ref('')
+const intervalFrameHeight = ref('')
+const intervalFrameType = ref('')
+const intervalFrameWidth = ref('')
+const sealInsert = ref('')
 const dialogFormVisiblea = ref(false)
 const dialogFormVisibleb = ref(false)
 const dialogFormVisiblec = ref(false)
@@ -950,6 +950,27 @@
     sealInsert.value = row.sealInsert;
     adda.value = true;
 } 
+function openAddDialog() {  
+    formulaName.value = '';
+    filmRemove.value = '';
+    bottomRemove.value = '';
+    leftRemove.value = '';
+    rightRemove.value = '';
+    topRemove.value = '';
+    casFour.value = '';
+    casOne.value = '';
+    casThree.value = '';
+    casTwo.value = '';
+    frameFour.value = '';
+    frameOne.value = '';
+    frameThree.value = '';
+    frameTwo.value = '';
+    intervalFrameHeight.value = '';
+    intervalFrameType.value = '';
+    intervalFrameWidth.value = '';
+    sealInsert.value = '';
+    add.value = true;
+}
 const handlezhiban = () => {
   dialogFormVisiblea.value = true;
   fetchFlowCardId();

--
Gitblit v1.8.0