From 33d9266f5b3f72b518b17645a4d04921eea49651 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期六, 02 七月 2022 11:38:36 +0800
Subject: [PATCH] 1.修改bug

---
 src/views/zzmx/jpgj.vue |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/views/zzmx/jpgj.vue b/src/views/zzmx/jpgj.vue
index 736c146..bc9b21e 100644
--- a/src/views/zzmx/jpgj.vue
+++ b/src/views/zzmx/jpgj.vue
@@ -176,7 +176,7 @@
           >
             <template slot-scope="{row}">
               <div class="operationClass">
-                <el-button type="text" @click="edit('edit',row)">淇敼</el-button>
+                <el-button type="text" @click="edit('edit',row)">缂栬緫</el-button>
                 <el-button type="text" @click="del(row)">鍒犻櫎</el-button>
               </div>
             </template>
@@ -197,7 +197,7 @@
     </div>
 
     <el-dialog
-      :title="operation==='add'?'鏂板':'淇敼'"
+      :title="operation==='add'?'鏂板':'缂栬緫'"
       :visible.sync="dialogVisible"
       width="70%"
       top="15vh"
@@ -752,12 +752,11 @@
         type: 'warning'
       }).then(() => {
         const data = {
-          partcode: this.eqpTable.partcode,
-          routecode: this.eqpTable.routecode,
-          stepcode: this.eqpTable.stepcode,
+          partcode: row.partcode,
+          routecode: row.route_code,
+          stepcode: row.stepcode,
           eqpcode: row.eqp_code
         }
-        console.log(data)
         DeleteBeatRate(data).then(res => {
           if (res.code === '200') {
             this.$message.success('鍒犻櫎鎴愬姛!')
@@ -783,6 +782,7 @@
       this.stepDialogArr = []
       this.eqpDialogArr = []
       this.$refs.dialogForm.clearValidate()
+      this.getBeatRateSearch()
     },
     // 瀵硅瘽妗嗗彇娑�
     dialogVisibleCancel() {

--
Gitblit v1.9.3