Browse Source

bug 修复

lilei 3 years ago
parent
commit
a7540c6e6c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/salesManagement/outboundOrder/list.vue

+ 2 - 2
src/views/salesManagement/outboundOrder/list.vue

@@ -74,11 +74,11 @@
           <a-button
             size="small"
             type="link"
-            v-if="detailPermissions(record)"
+            v-if="$hasPermissions('B_outboundOrderDetail')"
             class="button-success"
             @click="handleDetail(record)"
             id="outboundOrderList-detail-btn">详情</a-button>
-          <span v-if="!(record.state=='WAIT'&&$hasPermissions('B_outboundOut')) && !(detailPermissions(record))">--</span>
+          <span v-if="!(record.state=='WAIT'&&$hasPermissions('B_outboundOut')) && !($hasPermissions('B_outboundOrderDetail'))">--</span>
         </template>
       </s-table>
     </a-spin>