Explorar o código

fix: 作废、取消调整code值

Howie %!s(int64=2) %!d(string=hai) anos
pai
achega
7094b79376
Modificáronse 1 ficheiros con 2 adicións e 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() => {