瀏覽代碼

付款管理-外部通道不显示退单处理按钮

ZhangWenQiang 4 年之前
父節點
當前提交
6824b2a492
共有 2 個文件被更改,包括 4 次插入2 次删除
  1. 3 1
      src/views/hlwpayment/HlwPaymentDetailList.vue
  2. 1 1
      src/views/hlwpayment/HlwPaymentList.vue

+ 3 - 1
src/views/hlwpayment/HlwPaymentDetailList.vue

@@ -28,7 +28,7 @@
     
     <!-- 操作按钮区域 -->
     <div class="table-operator">
-      <a-button @click="handleChargeBack" type="primary" icon="rollback">退单处理</a-button>
+      <a-button @click="handleChargeBack" type="primary" icon="rollback" v-if="paymentLane === 1">退单处理</a-button>
     </div>
 
     <!-- table区域-begin -->
@@ -88,6 +88,7 @@
     data () {
       return {
         description: '付款明细表管理页面',
+        paymentLane: 0,
         // 表头
         columns: [
           {
@@ -189,6 +190,7 @@
           this.ipagination.current = 1;
         }
         this.paymentId = this.$route.query.paymentId;
+        this.paymentLane = this.$route.query.paymentLane;
         var params = this.getQueryParams()//查询条件
         params.paymentId = this.paymentId;
         this.loading = true

+ 1 - 1
src/views/hlwpayment/HlwPaymentList.vue

@@ -214,7 +214,7 @@
       },
       //付款明细
       toDetail(record) {
-        this.$router.push({ path: '/wisdom/hlwPaymentDetail/list',query:{ paymentId:record.id } })
+        this.$router.push({ path: '/wisdom/hlwPaymentDetail/list',query:{ paymentId:record.id,paymentLane: record.paymentLane } })
       },
       //支付
       handleReview(record){