Browse Source

正式订单日志

szdq
wangxy 3 years ago
parent
commit
b7da39b570
1 changed files with 13 additions and 1 deletions
  1. +13
    -1
      src/views/plan/workbench/formalOrder/top.vue

+ 13
- 1
src/views/plan/workbench/formalOrder/top.vue View File

@ -44,7 +44,7 @@
<span v-else>{{ scope.row[item] }}</span>
</template>
</el-table-column>
<el-table-column label="操作" width="160">
<el-table-column label="操作" width="220">
<template #default="scope">
<el-button
size="small"
@ -55,6 +55,12 @@
@click.stop="handlePublish(scope.row)"
size="small"
>发布</el-button
>
<el-button
class="edit-button-style"
@click.stop="handleDetails(scope.row)"
size="small"
>日志</el-button
>
</template>
</el-table-column>
@ -136,6 +142,12 @@ export default {
})
.catch(() => { });
},
//
handleDetails(row) {
const baseUrl = (process.env["VUE_APP_BASE_URL"] || 'http://101.201.121.115:9007/').slice(0, -1)
const url = baseUrl +'/admin/common/log/read/salesorderfile/' + row['SalesOrderHead-VersionId']
window.open(url, '_blank')
},
//
rowClickStation(row) {
this.currentVersionId = row['SalesOrderHead-VersionId']


Loading…
Cancel
Save