|
@@ -57,6 +57,12 @@
|
|
|
</template>
|
|
|
|
|
|
<!-- 订单类型显示 -->
|
|
|
+ <template slot="orderCode" slot-scope="{row}">
|
|
|
+ <el-link type="primary" :underline="true" @click="handleView(row)">
|
|
|
+ {{ row.orderCode }}
|
|
|
+ </el-link>
|
|
|
+ </template>
|
|
|
+
|
|
|
<template slot="orderType" slot-scope="{row}">
|
|
|
<el-tag :type="getOrderTypeTagType(row.orderType)">
|
|
|
{{ getOrderTypeLabel(row.orderType) }}
|
|
@@ -338,6 +344,14 @@ export default {
|
|
|
this.orderFormVisible = true
|
|
|
},
|
|
|
|
|
|
+ // 新增:点击订单编码查看详情
|
|
|
+ handleView(row) {
|
|
|
+ if (!row || !row.id) return
|
|
|
+ this.isEditMode = true
|
|
|
+ this.editOrderId = row.id
|
|
|
+ this.orderFormVisible = true
|
|
|
+ },
|
|
|
+
|
|
|
/**
|
|
|
* 同步数据(调用通用unification接口)
|
|
|
* @returns {Promise<void>}
|