From b1dbfd44f6bafaa4d24e0c1c3a0f7ae548e77f60 Mon Sep 17 00:00:00 2001
From: 王震 <10952869+daywangzhen@user.noreply.gitee.com>
Date: 星期三, 27 十二月 2023 17:41:06 +0800
Subject: [PATCH] Merge branch 'master' of http://114.132.189.42:9002/r/mes-ocea-before

---
 src/views/plan/masterproductionschedule/index.vue |   26 +-------------------------
 1 files changed, 1 insertions(+), 25 deletions(-)

diff --git a/src/views/plan/masterproductionschedule/index.vue b/src/views/plan/masterproductionschedule/index.vue
index 5aca1b1..dcfb387 100644
--- a/src/views/plan/masterproductionschedule/index.vue
+++ b/src/views/plan/masterproductionschedule/index.vue
@@ -595,7 +595,7 @@
         operatorConfig: {
           fixed: 'right',
           label: '鎿嶄綔',
-          width: 140,
+          width: 100,
           minWidth: 100
         }
       },
@@ -644,14 +644,6 @@
             type: 'text',
             size: 'small',
             fun: this.searchMasterPlanSourceHandle
-          })
-    }
-    if(this.permissions.plan_masterproductionschedule_del){
-      optionList.push({
-            text: '浣滃簾',
-            type: 'text',
-            size: 'small',
-            fun: this.deleteMainPlan
           })
     }
     if(optionList.length>0){
@@ -726,22 +718,6 @@
         }
       }
       return ''
-    },
-    // 鍒犻櫎
-    deleteMainPlan(row) {
-      this.$confirm('鏄惁纭浣滃簾ID涓�' + row.id, '鎻愮ず', {
-        confirmButtonText: '纭畾',
-        cancelButtonText: '鍙栨秷',
-        closeOnClickModal: false,
-        type: 'warning'
-      })
-        .then(function() {
-          return delObj(row.id)
-        })
-        .then((data) => {
-          this.$message.success('鍒犻櫎鎴愬姛')
-          this.getData()
-        })
     },
     // 鏌ョ湅鐢熶骇璁″垝鏉ユ簮
     searchMasterPlanSourceHandle(row) {

--
Gitblit v1.9.3