From 3b02a02e6f615f167b06ca4d62d094cda777d862 Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期一, 22 一月 2024 09:55:35 +0800
Subject: [PATCH] 模具使用记录

---
 src/views/equipment/mould/index.vue |   17 ++++++-----------
 1 files changed, 6 insertions(+), 11 deletions(-)

diff --git a/src/views/equipment/mould/index.vue b/src/views/equipment/mould/index.vue
index c9f1616..8f82e7d 100644
--- a/src/views/equipment/mould/index.vue
+++ b/src/views/equipment/mould/index.vue
@@ -2,6 +2,7 @@
   <div class="mod-config">
       <basic-container>
         <ttable
+        @handleSelectionChange="handleSelectionChange"
         :table="table"
         :ajaxFun="ajaxFun"
         :prelang="prelang"
@@ -40,6 +41,7 @@
 export default {
   data(){
       return {
+          diaPrintTab: false,
           editRules: {
             code: [{required:true,message:'璇疯緭鍏ユā鍏风紪鍙�',trigger:'blur'}],
             name: [{required:true,message:'璇疯緭鍏ユā鍏峰悕绉�',trigger:'blur'}]
@@ -51,6 +53,7 @@
           dialogVisible: false,
           ajaxFun: fetchList,
           prelang: 'moudle',
+          multipleSelection: [],
           dataListLoading: false,
           options: {
               height: 300, // 榛樿楂樺害-涓轰簡琛ㄥご鍥哄畾
@@ -132,7 +135,6 @@
   },
   components: {
     ttable,
-    TableForm
   },
   watch: {
     dialogVisible(newVal){
@@ -152,13 +154,6 @@
             fun: this.addOrUpdateHandle
         })
     }
-    if(this.permissions.equipment_mould_lableprint){
-        this.table.toolbar.push({
-            text: '鏍囩鎵撳嵃',
-            type: 'primary',
-            fun: this.lableprint
-        })
-    }
     if(this.permissions.equipment_mould_del){
         this.table.operator = [{
             text: '鍒犻櫎',
@@ -171,6 +166,9 @@
 
   },
   methods: {
+    handleSelectionChange(val) {
+      this.multipleSelection = val
+    },
     deleteHandle(row){
         this.$confirm('鏄惁纭鍒犻櫎妯″叿鍚嶇О涓�' + row.name, '鎻愮ず', {
           confirmButtonText: '纭畾',
@@ -184,9 +182,6 @@
             this.$message.success('鍒犻櫎鎴愬姛')
             this.getData()
           })
-    },
-    lableprint(){
-
     },
     confirmSaveOrUpdateMould(){
         this.$refs.editForm.validate(valid=>{

--
Gitblit v1.9.3