Преглед изворни кода

更新 文案,样式,日期格式

wzh пре 3 година
родитељ
комит
6eda47a96f
1 измењених фајлова са 7 додато и 10 уклоњено
  1. 7 10
      src/views/voyage/voyageDetail.vue

+ 7 - 10
src/views/voyage/voyageDetail.vue

@@ -361,9 +361,9 @@
   <div class="line-container-p24">
     <div v-auth="'SHIPDISCHARGE'">
       <div class="container-second-title df aic jcsb">
-        <div>{{ voyage.dischargeProt }} - 天气信息</div>
+        <div>卸货港 - {{ voyage.dischargeProt }} - 天气信息</div>
       </div>
-      <el-table style="width: 800px" :data="weatherTableData" stripe>
+      <el-table style="width: 1200px" :data="weatherTableData" stripe>
         <el-table-column
           type="index"
           label="序号"
@@ -401,7 +401,7 @@
           align="center"
         ></el-table-column>
       </el-table>
-      <div style="width: 800px; text-align: right; margin-top: 43px">
+      <div style="width: 1200px; text-align: right; margin-top: 43px">
         <el-pagination
           background
           layout="prev, pager, next"
@@ -415,7 +415,7 @@
       <div class="container-second-title df aic jcsb">
         <div>提单信息</div>
       </div>
-      <el-table :data="labTableData" stripe style="width: 800px">
+      <el-table :data="labTableData" stripe style="width: 1200px">
         <el-table-column
           type="index"
           label="序号"
@@ -447,7 +447,7 @@
           </template>
         </el-table-column>
       </el-table>
-      <div style="text-align: right; margin-top: 43px">
+      <div style="text-align: right; margin-top: 43px; width: 1200px">
         <el-pagination
           background
           layout="prev, pager, next"
@@ -515,7 +515,7 @@
           >下载卸货信息</el-button
         >
       </div>
-      <el-table :data="dischargeList" stripe style="width: 800px">
+      <el-table :data="dischargeList" stripe style="width: 1200px">
         <el-table-column
           type="index"
           label="序号"
@@ -553,7 +553,7 @@
           </template>
         </el-table-column>
       </el-table>
-      <div style="width: 100%; text-align: right; margin-top: 43px">
+      <div style="width: 1200px; text-align: right; margin-top: 43px">
         <el-pagination
           background
           layout="prev, pager, next"
@@ -1454,9 +1454,6 @@ async function getPortWeatherList() {
     currentPage: weatherCurrentPage.value,
   });
   weatherTableData.value = res.data.result;
-  for (let i of weatherTableData.value) {
-    i.reporttime = i.reporttime.substring(0, 10);
-  }
   weatherTotal.value = res.data.total;
 }