From bed893abbebac6a1e43478b693e1f862a6b6c8fe Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期六, 09 七月 2022 17:25:20 +0800
Subject: [PATCH] 1.生产开报工实现部分2.修改bug

---
 src/views/zzmx/jpgj.vue |   19 +++++++++++--------
 1 files changed, 11 insertions(+), 8 deletions(-)

diff --git a/src/views/zzmx/jpgj.vue b/src/views/zzmx/jpgj.vue
index 736c146..5f98a55 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,10 +197,11 @@
     </div>
 
     <el-dialog
-      :title="operation==='add'?'鏂板':'淇敼'"
+      :title="operation==='add'?'鏂板':'缂栬緫'"
       :visible.sync="dialogVisible"
-      width="70%"
+      width="1200px"
       top="15vh"
+      :fullscreen="isFullscreen"
       :close-on-click-modal="false"
       @closed="handleClose"
       @close="handleClose"
@@ -426,7 +427,7 @@
 
 const SER_HZ = /^[\u4e00-\u9fa5]+$/
 export default {
-  name: 'Zzjg',
+  name: 'JPGJ',
   components: {
     Pagination
   },
@@ -450,6 +451,7 @@
       }
     }
     return {
+      isFullscreen: false,
       mainHeight: 0,
       tableHeight: 0,
       form: {
@@ -752,12 +754,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 +784,7 @@
       this.stepDialogArr = []
       this.eqpDialogArr = []
       this.$refs.dialogForm.clearValidate()
+      this.getBeatRateSearch()
     },
     // 瀵硅瘽妗嗗彇娑�
     dialogVisibleCancel() {
@@ -815,6 +817,7 @@
       this.$nextTick(() => {
         this.mainHeight = window.innerHeight - 250
         this.tableHeight = this.mainHeight - 100
+        // this.isFullscreen = window.innerHeight < 800
       })
     }
   }

--
Gitblit v1.9.3