|
@@ -63,11 +63,22 @@
|
|
|
<el-table-column label="操作" min-width="80" align="center">
|
|
<el-table-column label="操作" min-width="80" align="center">
|
|
|
<template v-slot="scope">
|
|
<template v-slot="scope">
|
|
|
<el-button
|
|
<el-button
|
|
|
|
|
+ v-if="status == '已报港'"
|
|
|
|
|
+ v-auth="'DECLAREDETAIL'"
|
|
|
@click="portDeclarationDetail(scope.row.id)"
|
|
@click="portDeclarationDetail(scope.row.id)"
|
|
|
type="text"
|
|
type="text"
|
|
|
size="small"
|
|
size="small"
|
|
|
>
|
|
>
|
|
|
- {{ status == "已报港" ? "查看" : "申请报港" }}
|
|
|
|
|
|
|
+ 查看
|
|
|
|
|
+ </el-button>
|
|
|
|
|
+ <el-button
|
|
|
|
|
+ v-else
|
|
|
|
|
+ v-auth="'DODECLARE'"
|
|
|
|
|
+ @click="portDeclarationDetail(scope.row.id)"
|
|
|
|
|
+ type="text"
|
|
|
|
|
+ size="small"
|
|
|
|
|
+ >
|
|
|
|
|
+ 申请报港
|
|
|
</el-button>
|
|
</el-button>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|