|
|
@@ -136,7 +136,7 @@
|
|
|
<template #default="scope">
|
|
|
<el-button link type="primary" size="small" @click="auditReceive(scope.row)">领取</el-button>
|
|
|
<el-button link type="primary" size="small" @click="updateSigningTime(scope.row)">更新签单时间</el-button>
|
|
|
- <el-button link type="primary" size="small" @click="handleToDetail(scope)">详情</el-button>
|
|
|
+ <el-button link type="primary" size="small" @click="handleToDetail(scope, '0')">详情</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
@@ -281,7 +281,7 @@
|
|
|
<template #default="scope">
|
|
|
<!-- <el-button link type="primary" size="small" @click="auditReceive(scope.row)">领取</el-button>
|
|
|
<el-button link type="primary" size="small" @click="updateSigningTime(scope.row)">更新签单时间</el-button>-->
|
|
|
- <el-button link type="primary" size="small" @click="handleToDetail(scope)">详情</el-button>
|
|
|
+ <el-button link type="primary" size="small" @click="handleToDetail(scope, '1')">详情</el-button>
|
|
|
<el-button link type="primary" size="small" @click="handleTrack(scope)">订单轨迹</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
@@ -430,7 +430,7 @@
|
|
|
<template #default="scope">
|
|
|
<el-button link type="primary" size="small" @click="auditReceive(scope.row)">领取</el-button>
|
|
|
<el-button link type="primary" size="small" @click="updateSigningTime(scope.row)">更新签单时间</el-button>
|
|
|
- <el-button link type="primary" size="small" @click="handleToDetail(scope)">详情</el-button>
|
|
|
+ <el-button link type="primary" size="small" @click="handleToDetail(scope, '2')">详情</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
@@ -475,7 +475,7 @@ import { useRoute, useRouter } from 'vue-router'
|
|
|
const myRoute = useRoute()
|
|
|
const myRouter = useRouter()
|
|
|
|
|
|
-let activeName = ref('0')
|
|
|
+let activeName = ref(myRoute.query.activeindex as any || '0')
|
|
|
const handleClick = (e) => {
|
|
|
activeName.value = e.props.name
|
|
|
pages.value = 1
|
|
|
@@ -622,12 +622,12 @@ const handleReset = () => {
|
|
|
initData(activeName.value)
|
|
|
}
|
|
|
|
|
|
-const handleToDetail = (scope) => {
|
|
|
+const handleToDetail = (scope, type) => {
|
|
|
myRouter.push({
|
|
|
path: '/finance/auditOrderDetail',
|
|
|
query: {
|
|
|
id: scope.row.orderNo,
|
|
|
- isShow: 0
|
|
|
+ activeindex: type
|
|
|
}
|
|
|
})
|
|
|
}
|