pengyh 1 gadu atpakaļ
vecāks
revīzija
a18aa4ccf5

+ 2 - 3
src/views/mallManagement/order/order_refund/index.vue

@@ -117,7 +117,7 @@
 				        </el-col>
 				        <el-col :xs="24" :sm="24" :lg="4" style="text-align: right;">
 				          <el-link type="primary" v-if="$restrict('orderNote')" :underline="false" @click="showRemark(order)">订单备注</el-link>
-				          <el-link type="primary" v-if="$restrict('detail')" :underline="false" @click="showDetail(index)">查看详情</el-link>
+				          <el-link type="primary" v-if="$restrict('detail')" :underline="false" @click="showDetail(order.orderRefundId)">查看详情</el-link>
 				          <!-- <el-link type="primary" :underline="false" @click="queryWorkOrder(order.orderId)">订单工单</el-link> -->
 				        </el-col>
 				      </el-row>
@@ -472,8 +472,7 @@ export default {
 		this.openForm('materialDetail',order)
     },
     // 查看详情
-    showDetail(index) {
-      const orderRefundId = this.dataList[index].orderRefundId
+    showDetail(orderRefundId) {
       // let {href} = this.$router.resolve({path: `/order/order_refund_detail?orderRefundId=${orderRefundId}`});
       // window.open(href, '_blank');
       this.$router.push({