From 68eaf315b64145e487d10e66183d542ee7f94d10 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期二, 05 七月 2022 17:35:33 +0800
Subject: [PATCH] 1.生产管理完成部分功能2.自定义页面打印、二维码图形、水印显示实现了一个demo

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

diff --git a/src/views/zzmx/jpgj.vue b/src/views/zzmx/jpgj.vue
index 736c146..40df116 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%"
       top="15vh"
+      :fullscreen="isFullscreen"
       :close-on-click-modal="false"
       @closed="handleClose"
       @close="handleClose"
@@ -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