Procházet zdrojové kódy

fix: 作废、取消调整code值

Howie před 2 roky
rodič
revize
7094b79376
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      src/views/supply/pickup/pickup_list.vue

+ 2 - 2
src/views/supply/pickup/pickup_list.vue

@@ -158,7 +158,7 @@ export default {
               ''
             )}
 
-            {this.$checkBtnRole('cancel', this.$route.meta.roles) &&
+            {this.$checkBtnRole('cancelDelete', this.$route.meta.roles) &&
             ((this.isDealer && !row.printNum) || !this.isDealer) ? (
                 <el-popconfirm
                   onOnConfirm={async() => {
@@ -173,7 +173,7 @@ export default {
               ) : (
                 ''
               )}
-              {this.$checkBtnRole('cancelDelete', this.$route.meta.roles) &&
+              {this.$checkBtnRole('cancel', this.$route.meta.roles) &&
             ((this.isDealer && !row.printNum) || !this.isDealer) ? (
                 <el-popconfirm
                   onOnConfirm={async() => {