|
@@ -76,16 +76,20 @@
|
|
|
添加航次
|
|
添加航次
|
|
|
</div> -->
|
|
</div> -->
|
|
|
<div>
|
|
<div>
|
|
|
- <el-button
|
|
|
|
|
- v-if="cacheList.length > 1"
|
|
|
|
|
- v-auth="'MERGEVOYAGE'"
|
|
|
|
|
|
|
+ <div
|
|
|
|
|
+ style="display: inline-block"
|
|
|
class="mr20"
|
|
class="mr20"
|
|
|
- @click="showMergeModal()"
|
|
|
|
|
- size="medium"
|
|
|
|
|
- type="primary"
|
|
|
|
|
|
|
+ v-if="cacheList.length > 1"
|
|
|
>
|
|
>
|
|
|
- 合并航次
|
|
|
|
|
- </el-button>
|
|
|
|
|
|
|
+ <el-button
|
|
|
|
|
+ v-auth="'MERGEVOYAGE'"
|
|
|
|
|
+ @click="showMergeModal()"
|
|
|
|
|
+ size="medium"
|
|
|
|
|
+ type="primary"
|
|
|
|
|
+ >
|
|
|
|
|
+ 合并航次
|
|
|
|
|
+ </el-button>
|
|
|
|
|
+ </div>
|
|
|
<el-popover placement="bottom" :width="100" trigger="hover">
|
|
<el-popover placement="bottom" :width="100" trigger="hover">
|
|
|
<template #reference>
|
|
<template #reference>
|
|
|
<el-button size="medium" type="primary">导出</el-button>
|
|
<el-button size="medium" type="primary">导出</el-button>
|
|
@@ -133,7 +137,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
</el-popover>
|
|
</el-popover>
|
|
|
</div>
|
|
</div>
|
|
|
- <el-dialog v-model="mergeVisable" title="合并航次">
|
|
|
|
|
|
|
+ <el-dialog v-model="mergeVisable" title="合并航次" destroy-on-close>
|
|
|
<el-table :data="cacheList" border stripe>
|
|
<el-table :data="cacheList" border stripe>
|
|
|
<el-table-column
|
|
<el-table-column
|
|
|
prop="voyageName"
|
|
prop="voyageName"
|
|
@@ -149,7 +153,6 @@
|
|
|
></el-table-column>
|
|
></el-table-column>
|
|
|
<el-table-column
|
|
<el-table-column
|
|
|
prop="cargo"
|
|
prop="cargo"
|
|
|
- v-if="cargoVisable"
|
|
|
|
|
label="货种"
|
|
label="货种"
|
|
|
min-width="70"
|
|
min-width="70"
|
|
|
align="center"
|
|
align="center"
|
|
@@ -192,6 +195,7 @@
|
|
|
:close-on-click-modal="false"
|
|
:close-on-click-modal="false"
|
|
|
@close="isLoadingZip = false"
|
|
@close="isLoadingZip = false"
|
|
|
width="200px"
|
|
width="200px"
|
|
|
|
|
+ destroy-on-close
|
|
|
>
|
|
>
|
|
|
<div class="df aic jcsb">
|
|
<div class="df aic jcsb">
|
|
|
<div
|
|
<div
|
|
@@ -213,7 +217,11 @@
|
|
|
</el-button>
|
|
</el-button>
|
|
|
</div>
|
|
</div>
|
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
- <el-dialog v-model="voyageAddDialogVisible" title="添加航次">
|
|
|
|
|
|
|
+ <el-dialog
|
|
|
|
|
+ v-model="voyageAddDialogVisible"
|
|
|
|
|
+ title="添加航次"
|
|
|
|
|
+ destroy-on-close
|
|
|
|
|
+ >
|
|
|
<el-form
|
|
<el-form
|
|
|
:rules="rules"
|
|
:rules="rules"
|
|
|
label-position="right"
|
|
label-position="right"
|
|
@@ -296,91 +304,6 @@
|
|
|
</span>
|
|
</span>
|
|
|
</template>
|
|
</template>
|
|
|
</el-dialog>
|
|
</el-dialog>
|
|
|
- <!-- <div class="mt20">
|
|
|
|
|
- <p class="mr20 df aic" style="font-size: 14px; color: #333">
|
|
|
|
|
- 列表筛选:
|
|
|
|
|
- <el-checkbox
|
|
|
|
|
- class="ml20"
|
|
|
|
|
- v-model="selectAllVisable"
|
|
|
|
|
- label="全选"
|
|
|
|
|
- size="default"
|
|
|
|
|
- @change="selectAll"
|
|
|
|
|
- />
|
|
|
|
|
- </p>
|
|
|
|
|
- <el-checkbox
|
|
|
|
|
- v-model="voyageNameVisable"
|
|
|
|
|
- label="航次名称"
|
|
|
|
|
- size="default"
|
|
|
|
|
- @change="selectSingle"
|
|
|
|
|
- disabled
|
|
|
|
|
- />
|
|
|
|
|
- <el-checkbox
|
|
|
|
|
- v-model="loadPortVisable"
|
|
|
|
|
- label="装货港"
|
|
|
|
|
- size="default"
|
|
|
|
|
- @change="selectSingle"
|
|
|
|
|
- />
|
|
|
|
|
- <el-checkbox
|
|
|
|
|
- v-model="dischargePortVisable"
|
|
|
|
|
- label="卸货港"
|
|
|
|
|
- size="default"
|
|
|
|
|
- @change="selectSingle"
|
|
|
|
|
- />
|
|
|
|
|
- <el-checkbox
|
|
|
|
|
- v-model="expectedArrivalTimeVisable"
|
|
|
|
|
- label="预计到港时间"
|
|
|
|
|
- size="default"
|
|
|
|
|
- @change="selectSingle"
|
|
|
|
|
- />
|
|
|
|
|
- <el-checkbox
|
|
|
|
|
- v-model="abnormalStatusVisable"
|
|
|
|
|
- label="航次状态"
|
|
|
|
|
- size="default"
|
|
|
|
|
- @change="selectSingle"
|
|
|
|
|
- />
|
|
|
|
|
- <el-checkbox
|
|
|
|
|
- v-model="daysInPortVisable"
|
|
|
|
|
- label="在港天数"
|
|
|
|
|
- size="default"
|
|
|
|
|
- @change="selectSingle"
|
|
|
|
|
- />
|
|
|
|
|
- <el-checkbox
|
|
|
|
|
- v-model="todayPhotoCountVisable"
|
|
|
|
|
- label="今日照片"
|
|
|
|
|
- size="default"
|
|
|
|
|
- @change="selectSingle"
|
|
|
|
|
- />
|
|
|
|
|
- <el-checkbox
|
|
|
|
|
- v-model="cargoVisable"
|
|
|
|
|
- label="货种"
|
|
|
|
|
- size="default"
|
|
|
|
|
- @change="selectSingle"
|
|
|
|
|
- />
|
|
|
|
|
- <el-checkbox
|
|
|
|
|
- v-model="actualLoadTonsVisable"
|
|
|
|
|
- label="装载吨位"
|
|
|
|
|
- size="default"
|
|
|
|
|
- @change="selectSingle"
|
|
|
|
|
- />
|
|
|
|
|
- <el-checkbox
|
|
|
|
|
- v-model="unloadedtonsVisable"
|
|
|
|
|
- label="已卸货吨位"
|
|
|
|
|
- size="default"
|
|
|
|
|
- @change="selectSingle"
|
|
|
|
|
- />
|
|
|
|
|
- <el-checkbox
|
|
|
|
|
- v-model="remainTonsVisable"
|
|
|
|
|
- label="剩余吨位"
|
|
|
|
|
- size="default"
|
|
|
|
|
- @change="selectSingle"
|
|
|
|
|
- />
|
|
|
|
|
- <el-checkbox
|
|
|
|
|
- v-model="hasInsuranceVisable"
|
|
|
|
|
- label="保险状态"
|
|
|
|
|
- size="default"
|
|
|
|
|
- @change="selectSingle"
|
|
|
|
|
- />
|
|
|
|
|
- </div> -->
|
|
|
|
|
<div
|
|
<div
|
|
|
class="df aic jcfs mt20"
|
|
class="df aic jcfs mt20"
|
|
|
style="
|
|
style="
|
|
@@ -530,7 +453,6 @@
|
|
|
<el-table-column
|
|
<el-table-column
|
|
|
prop="voyageName"
|
|
prop="voyageName"
|
|
|
label="航次名称"
|
|
label="航次名称"
|
|
|
- v-if="voyageNameVisable"
|
|
|
|
|
min-width="140"
|
|
min-width="140"
|
|
|
align="center"
|
|
align="center"
|
|
|
>
|
|
>
|
|
@@ -542,14 +464,12 @@
|
|
|
<el-table-column
|
|
<el-table-column
|
|
|
prop="loadPort"
|
|
prop="loadPort"
|
|
|
label="装货港"
|
|
label="装货港"
|
|
|
- v-if="loadPortVisable"
|
|
|
|
|
min-width="90"
|
|
min-width="90"
|
|
|
align="center"
|
|
align="center"
|
|
|
></el-table-column>
|
|
></el-table-column>
|
|
|
<el-table-column
|
|
<el-table-column
|
|
|
prop="dischargePort"
|
|
prop="dischargePort"
|
|
|
label="卸货港"
|
|
label="卸货港"
|
|
|
- v-if="dischargePortVisable"
|
|
|
|
|
min-width="80"
|
|
min-width="80"
|
|
|
align="center"
|
|
align="center"
|
|
|
></el-table-column>
|
|
></el-table-column>
|
|
@@ -562,7 +482,6 @@
|
|
|
<el-table-column
|
|
<el-table-column
|
|
|
prop="expectedArrivalTime"
|
|
prop="expectedArrivalTime"
|
|
|
label="预计到港时间"
|
|
label="预计到港时间"
|
|
|
- v-if="expectedArrivalTimeVisable"
|
|
|
|
|
sortable
|
|
sortable
|
|
|
min-width="140"
|
|
min-width="140"
|
|
|
align="center"
|
|
align="center"
|
|
@@ -574,7 +493,6 @@
|
|
|
<el-table-column
|
|
<el-table-column
|
|
|
prop="abnormalStatus"
|
|
prop="abnormalStatus"
|
|
|
label="航次状态"
|
|
label="航次状态"
|
|
|
- v-if="abnormalStatusVisable"
|
|
|
|
|
min-width="80"
|
|
min-width="80"
|
|
|
align="center"
|
|
align="center"
|
|
|
>
|
|
>
|
|
@@ -585,7 +503,6 @@
|
|
|
<el-table-column
|
|
<el-table-column
|
|
|
prop="daysInPortStr"
|
|
prop="daysInPortStr"
|
|
|
label="在港天数"
|
|
label="在港天数"
|
|
|
- v-if="daysInPortVisable"
|
|
|
|
|
sortable
|
|
sortable
|
|
|
min-width="100"
|
|
min-width="100"
|
|
|
align="center"
|
|
align="center"
|
|
@@ -593,13 +510,11 @@
|
|
|
<el-table-column
|
|
<el-table-column
|
|
|
prop="todayPhotoCount"
|
|
prop="todayPhotoCount"
|
|
|
label="今日日报"
|
|
label="今日日报"
|
|
|
- v-if="todayPhotoCountVisable"
|
|
|
|
|
min-width="100"
|
|
min-width="100"
|
|
|
align="center"
|
|
align="center"
|
|
|
></el-table-column>
|
|
></el-table-column>
|
|
|
<el-table-column
|
|
<el-table-column
|
|
|
prop="cargo"
|
|
prop="cargo"
|
|
|
- v-if="cargoVisable"
|
|
|
|
|
label="货种"
|
|
label="货种"
|
|
|
min-width="70"
|
|
min-width="70"
|
|
|
align="center"
|
|
align="center"
|
|
@@ -607,21 +522,18 @@
|
|
|
<el-table-column
|
|
<el-table-column
|
|
|
prop="actualLoadTons"
|
|
prop="actualLoadTons"
|
|
|
label="装载吨位"
|
|
label="装载吨位"
|
|
|
- v-if="actualLoadTonsVisable"
|
|
|
|
|
min-width="80"
|
|
min-width="80"
|
|
|
align="center"
|
|
align="center"
|
|
|
></el-table-column>
|
|
></el-table-column>
|
|
|
<el-table-column
|
|
<el-table-column
|
|
|
prop="unloadedtons"
|
|
prop="unloadedtons"
|
|
|
label="已卸货吨位"
|
|
label="已卸货吨位"
|
|
|
- v-if="unloadedtonsVisable"
|
|
|
|
|
min-width="100"
|
|
min-width="100"
|
|
|
align="center"
|
|
align="center"
|
|
|
></el-table-column>
|
|
></el-table-column>
|
|
|
<el-table-column
|
|
<el-table-column
|
|
|
prop="remainTons"
|
|
prop="remainTons"
|
|
|
label="剩余吨位"
|
|
label="剩余吨位"
|
|
|
- v-if="remainTonsVisable"
|
|
|
|
|
min-width="80"
|
|
min-width="80"
|
|
|
align="center"
|
|
align="center"
|
|
|
></el-table-column>
|
|
></el-table-column>
|
|
@@ -651,7 +563,6 @@
|
|
|
<el-table-column
|
|
<el-table-column
|
|
|
prop="hasInsurance"
|
|
prop="hasInsurance"
|
|
|
label="保险状态"
|
|
label="保险状态"
|
|
|
- v-if="hasInsuranceVisable"
|
|
|
|
|
min-width="100"
|
|
min-width="100"
|
|
|
align="center"
|
|
align="center"
|
|
|
>
|
|
>
|
|
@@ -677,7 +588,6 @@
|
|
|
align="center"
|
|
align="center"
|
|
|
></el-table-column> -->
|
|
></el-table-column> -->
|
|
|
<el-table-column
|
|
<el-table-column
|
|
|
- v-auth="'UNMERGEVOYAGE'"
|
|
|
|
|
label="解除"
|
|
label="解除"
|
|
|
min-width="80"
|
|
min-width="80"
|
|
|
align="center"
|
|
align="center"
|
|
@@ -685,6 +595,7 @@
|
|
|
>
|
|
>
|
|
|
<template v-slot="scope">
|
|
<template v-slot="scope">
|
|
|
<el-button
|
|
<el-button
|
|
|
|
|
+ v-auth="'UNMERGEVOYAGE'"
|
|
|
@click="showUnmergeModal(scope.row.id)"
|
|
@click="showUnmergeModal(scope.row.id)"
|
|
|
type="text"
|
|
type="text"
|
|
|
size="small"
|
|
size="small"
|
|
@@ -1161,40 +1072,6 @@ function rowStyle({ row }) {
|
|
|
return rowStyle;
|
|
return rowStyle;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-let voyageNameVisable = ref(true);
|
|
|
|
|
-let loadPortVisable = ref(true);
|
|
|
|
|
-let dischargePortVisable = ref(true);
|
|
|
|
|
-let expectedArrivalTimeVisable = ref(true);
|
|
|
|
|
-let abnormalStatusVisable = ref(true);
|
|
|
|
|
-let daysInPortVisable = ref(true);
|
|
|
|
|
-let todayPhotoCountVisable = ref(true);
|
|
|
|
|
-let cargoVisable = ref(true);
|
|
|
|
|
-let actualLoadTonsVisable = ref(true);
|
|
|
|
|
-let unloadedtonsVisable = ref(true);
|
|
|
|
|
-let remainTonsVisable = ref(true);
|
|
|
|
|
-let hasInsuranceVisable = ref(true);
|
|
|
|
|
-
|
|
|
|
|
-let selectAllVisable = ref(true);
|
|
|
|
|
-function selectAll(e) {
|
|
|
|
|
- loadPortVisable.value = e;
|
|
|
|
|
- dischargePortVisable.value = e;
|
|
|
|
|
- expectedArrivalTimeVisable.value = e;
|
|
|
|
|
- abnormalStatusVisable.value = e;
|
|
|
|
|
- daysInPortVisable.value = e;
|
|
|
|
|
- todayPhotoCountVisable.value = e;
|
|
|
|
|
- cargoVisable.value = e;
|
|
|
|
|
- actualLoadTonsVisable.value = e;
|
|
|
|
|
- unloadedtonsVisable.value = e;
|
|
|
|
|
- remainTonsVisable.value = e;
|
|
|
|
|
- hasInsuranceVisable.value = e;
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
-function selectSingle(e) {
|
|
|
|
|
- if (!e) {
|
|
|
|
|
- selectAllVisable.value = e;
|
|
|
|
|
- }
|
|
|
|
|
-}
|
|
|
|
|
-
|
|
|
|
|
let loadPortFilterStr = ref("");
|
|
let loadPortFilterStr = ref("");
|
|
|
function selectLoadPortFilter(item) {
|
|
function selectLoadPortFilter(item) {
|
|
|
voyageListPostData.value.loadPortId = item.key;
|
|
voyageListPostData.value.loadPortId = item.key;
|