Ver Fonte

新增 提单字段

wzg há 1 ano atrás
pai
commit
7048f90061
1 ficheiros alterados com 12 adições e 5 exclusões
  1. 12 5
      src/views/voyage/voyageDetail.vue

+ 12 - 5
src/views/voyage/voyageDetail.vue

@@ -800,7 +800,7 @@
           min-width="100"
           align="center"
         ></el-table-column>
-        <el-table-column label="磅单" min-width="150" align="center">
+        <el-table-column label="磅单" min-width="120" align="center">
           <template v-slot="scope">
             <el-button
               @click="showUpdateDischarge(scope.row, scope.$index, '查看记录')"
@@ -811,6 +811,9 @@
             </el-button>
           </template>
         </el-table-column>
+        <el-table-column label="提单" min-width="80" align="center">
+          <template v-slot="scope">暂无</template>
+        </el-table-column>
         <el-table-column label="操作" min-width="150" align="center">
           <template v-slot="scope">
             <el-button
@@ -1931,6 +1934,7 @@ import url from "../../apis/config";
 import { subTimeStr } from "utils/utils";
 import * as dayjs from "dayjs";
 import isAuthDisabled from "../../auth/isAuthDisabled";
+import data from "./data.js";
 
 const route = useRoute();
 let map = ref({});
@@ -1952,10 +1956,13 @@ async function getVoyageDetail(isInit) {
     spinner: "el-icon-loading",
     background: "rgba(0, 0, 0, 0.7)",
   });
-  let res = await api.getVoyageDetail({
-    type: localStorage.userType,
-    voyageId: route.query.id,
-  });
+  // let res = await api.getVoyageDetail({
+  //   type: localStorage.userType,
+  //   voyageId: route.query.id,
+  // });
+  let res = {
+    data,
+  };
   loading.close();
   if (res.data.status == 0) {
     ElNotification({