@@ -99,7 +99,12 @@
</div>
<div class="df jcfe mt20 mr20 mb20">
- <el-button @click="portReport" type="primary">申请报港</el-button>
+ <el-button
+ @click="portReport"
+ v-if="detail.portReportStatus == 0"
+ type="primary"
+ >申请报港</el-button
+ >
</template>
<script setup>
@@ -51,7 +51,7 @@
align="center"
></el-table-column>
<el-table-column
- prop=""
+ prop="expectedArrivalTime"
label="预计到港时间"
@@ -67,7 +67,7 @@
type="text"
size="small"
>
- 申请报港
+ {{ status == "已报港" ? "查看" : "申请报港" }}
</el-button>
</el-table-column>
@@ -117,6 +117,7 @@ async function portDeclarationDetail(id) {
path: "/voyage/portDeclarationDetail",
query: {
id,
+ status: status.value,
},
});
}