Explorar el Código

fix: 作废、取消调整code值

Howie hace 2 años
padre
commit
7094b79376
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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() => {