预定舱模块
parent
84121a7a18
commit
d17c05a72b
@ -0,0 +1,144 @@
|
|||||||
|
// @ts-ignore
|
||||||
|
import { request } from '/@/utils/request'
|
||||||
|
import { DataResult, PageRequest } from '/@/api/model/baseModel'
|
||||||
|
|
||||||
|
export function SearchShipSailingScheduleSpot(data) {
|
||||||
|
return request<DataResult>({
|
||||||
|
url: '/BookingMSKSPOTAPI/SearchShipSailingSchedule',
|
||||||
|
method: 'post',
|
||||||
|
data,
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
export function SearchShipSailingSchedule(data) {
|
||||||
|
return request<DataResult>({
|
||||||
|
url: '/BookingMSKAPI/SearchShipSailingSchedule',
|
||||||
|
method: 'post',
|
||||||
|
data,
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
export function getContractno(data) {
|
||||||
|
return request<DataResult>({
|
||||||
|
url: '/Para/QuerytParaContractNoInfo',
|
||||||
|
method: 'get',
|
||||||
|
params: data,
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
export function SearchCommodities(data) {
|
||||||
|
return request<DataResult>({
|
||||||
|
url: '/BookingMSKAPI/SearchCommodities',
|
||||||
|
method: 'post',
|
||||||
|
data,
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
export function mskGetGetInfoSpot(data) {
|
||||||
|
return request<DataResult>({
|
||||||
|
url: '/BookingMSKSPOTAPI/GetInfo',
|
||||||
|
method: 'get',
|
||||||
|
params: data,
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
export function mskGetSaveSpot(data) {
|
||||||
|
return request<DataResult>({
|
||||||
|
url: '/BookingMSKSPOTAPI/Save',
|
||||||
|
method: 'post',
|
||||||
|
data,
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
export function SearchLocations(data) {
|
||||||
|
return request<DataResult>({
|
||||||
|
url: '/BookingMSKAPI/SearchLocations',
|
||||||
|
method: 'post',
|
||||||
|
data,
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
export function SendMSKBooking(data) {
|
||||||
|
return request<DataResult>({
|
||||||
|
url: '/BookingMSKAPI/SendMSKBooking',
|
||||||
|
method: 'post',
|
||||||
|
data,
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
export function mskGetSave(data) {
|
||||||
|
return request<DataResult>({
|
||||||
|
url: '/BookingMSKAPI/Save',
|
||||||
|
method: 'post',
|
||||||
|
data,
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
export function mskGetGetInfo(data) {
|
||||||
|
return request<DataResult>({
|
||||||
|
url: '/BookingMSKAPI/GetInfo',
|
||||||
|
method: 'get',
|
||||||
|
params: data,
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
export function GetInitInfoMsk() {
|
||||||
|
return request<DataResult>({
|
||||||
|
url: '/BookingMSKSPOTAPI/GetInitInfo',
|
||||||
|
method: 'get',
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
export function SendMSKBookingSpot(data) {
|
||||||
|
return request<DataResult>({
|
||||||
|
url: '/BookingMSKSPOTAPI/SendMSKBooking',
|
||||||
|
method: 'post',
|
||||||
|
data,
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
export function GetInitInfoMskApi() {
|
||||||
|
return request<DataResult>({
|
||||||
|
url: '/BookingMSKAPI/GetInitInfo',
|
||||||
|
method: 'get',
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
export function maskCopySPOT(data) {
|
||||||
|
return request<DataResult>({
|
||||||
|
url: '/BookingMSKSPOTAPI/BatchCopy',
|
||||||
|
method: 'post',
|
||||||
|
data,
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
export function SearchCommoditiesSpot(data) {
|
||||||
|
return request<DataResult>({
|
||||||
|
url: '/BookingMSKSPOTAPI/SearchCommodities',
|
||||||
|
method: 'post',
|
||||||
|
data,
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
export function SearchLocationsSpot(data) {
|
||||||
|
return request<DataResult>({
|
||||||
|
url: '/BookingMSKSPOTAPI/SearchLocations',
|
||||||
|
method: 'post',
|
||||||
|
data,
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
export function CheckWarningBatchCopy(data) {
|
||||||
|
return request<DataResult>({
|
||||||
|
url: '/BookingMSKAPI/CheckWarningBatchCopy',
|
||||||
|
method: 'post',
|
||||||
|
data,
|
||||||
|
})
|
||||||
|
}
|
||||||
|
export function maskCopy(data) {
|
||||||
|
return request<DataResult>({
|
||||||
|
url: '/BookingMSKAPI/BatchCopy',
|
||||||
|
method: 'post',
|
||||||
|
data,
|
||||||
|
})
|
||||||
|
}
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,451 @@
|
|||||||
|
<template>
|
||||||
|
<div class="ds-sea-export-table">
|
||||||
|
<BasicTable class="ds-table" @register="registerTable" @row-dbClick="handledbclick">
|
||||||
|
<template #toolbar>
|
||||||
|
|
||||||
|
</template>
|
||||||
|
<template v-slot:bodyCell="{ column, record }">
|
||||||
|
<template v-if="column.dataIndex == 'vessel'">
|
||||||
|
<span>{{ record.vessel }} / {{ record.voyno }}</span>
|
||||||
|
</template>
|
||||||
|
<template v-if="column.dataIndex == 'etd'">
|
||||||
|
<span>{{ record.etd ? record.etd.substring(0, 10) : '' }}</span>
|
||||||
|
</template>
|
||||||
|
<template v-if="column.dataIndex == 'eta'">
|
||||||
|
<span>{{ record.eta ? record.eta.substring(0, 10) : '' }}</span>
|
||||||
|
</template>
|
||||||
|
<template v-if="column.dataIndex == 'shipRateTotalAmount'">
|
||||||
|
<span>{{ record.shipRateTotalCurrency }} {{ record.shipRateTotalAmount }}</span>
|
||||||
|
</template>
|
||||||
|
<template v-if="column.dataIndex == 'isRecvBC'">
|
||||||
|
<BulbFilled style="color: green;font-size: 16px;" :title="record.lstRecvBCDate" v-if="record.isRecvBC" />
|
||||||
|
</template>
|
||||||
|
<template v-if="column.dataIndex == 'isRecvBKCancel'">
|
||||||
|
<BulbFilled style="color: red;font-size: 16px;" :title="record.lstRecvBCDate" v-if="record.isRecvBKCancel" />
|
||||||
|
</template>
|
||||||
|
<template v-if="column.dataIndex == 'isShipperOwned'">
|
||||||
|
<CheckCircleFilled v-if="record.isShipperOwned" style="color: green;font-size: 16px;" />
|
||||||
|
</template>
|
||||||
|
<template v-if="column.dataIndex === 'action'" >
|
||||||
|
<a>刷新</a>
|
||||||
|
</template>
|
||||||
|
</template>
|
||||||
|
</BasicTable>
|
||||||
|
<cabinModal @register="registerModal"></cabinModal>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
<script lang="ts" setup>
|
||||||
|
import { BasicTable, useTable, TableAction } from '/@/components/Table'
|
||||||
|
import { PageDataByBooking } from '../../operation/seaexport/api/BookingLedger'
|
||||||
|
import { columns, searchFormSchema, FeeStatus } from './columns'
|
||||||
|
import { BulbFilled, CheckCircleFilled } from '@ant-design/icons-vue';
|
||||||
|
import cabinModal from './detail.vue'
|
||||||
|
import { useModal } from '/@/components/Modal'
|
||||||
|
const [registerModal, { openModal }] = useModal()
|
||||||
|
const [registerTable, { reload, getForm, getPaginationRef, getSelectRows, setProps }] = useTable({
|
||||||
|
title: '',
|
||||||
|
api: async (p) => {
|
||||||
|
const res: API.DataResult = await PageDataByBooking(p)
|
||||||
|
return new Promise((resolve) => {
|
||||||
|
resolve({
|
||||||
|
data: [
|
||||||
|
{
|
||||||
|
"vessel": "ARIES",
|
||||||
|
"voyno": "412S",
|
||||||
|
"contracT_NO": "299026908",
|
||||||
|
"bookinG_SLOT_TYPE": "CONTRACT_ORDER",
|
||||||
|
"bookinG_SLOT_TYPE_NAME": "合约订舱",
|
||||||
|
"bookinG_PARTY": "QINGDAO CHENGSI FREIGHT FORWARDER CO",
|
||||||
|
"carrierid": "MSK",
|
||||||
|
"carrier": "马士基",
|
||||||
|
"etd": "2024-04-01 00:00:00",
|
||||||
|
"eta": "2024-04-23 00:00:00",
|
||||||
|
"ctN_STAT": "20OT*8",
|
||||||
|
"usE_CTN_STAT": "",
|
||||||
|
"remaiN_CTN_STAT": "20OT*8",
|
||||||
|
"totaL_ORDERS": 6,
|
||||||
|
"usE_NUM": 0,
|
||||||
|
"canceL_NUM": 0,
|
||||||
|
"totaL_CTNS": 8,
|
||||||
|
"usE_CTNS_NUM": 0,
|
||||||
|
"remaiN_CTNS_NUM": 8,
|
||||||
|
"placereceipt": "Qingdao,Shandong,China",
|
||||||
|
"placedelivery": "Brisbane,Queensland,Australia",
|
||||||
|
"portloadid": "CNTAO",
|
||||||
|
"portload": "QINGDAO",
|
||||||
|
"portdischargeid": "AUBNE",
|
||||||
|
"portdischarge": "BRISBANE, AUSTRALIA",
|
||||||
|
"portdischargE_COUNTRY_CODE": "AU",
|
||||||
|
"portdischargE_COUNTRY": "AUSTRALIA"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"vessel": "ARIES",
|
||||||
|
"voyno": "412S",
|
||||||
|
"contracT_NO": "299026908",
|
||||||
|
"bookinG_SLOT_TYPE": "CONTRACT_ORDER",
|
||||||
|
"bookinG_SLOT_TYPE_NAME": "合约订舱",
|
||||||
|
"bookinG_PARTY": "QINGDAO CHENGSI FREIGHT FORWARDER CO",
|
||||||
|
"carrierid": "MSK",
|
||||||
|
"carrier": "马士基",
|
||||||
|
"etd": "2024-04-01 00:00:00",
|
||||||
|
"eta": "2024-04-26 00:00:00",
|
||||||
|
"ctN_STAT": "40OH*1",
|
||||||
|
"usE_CTN_STAT": "",
|
||||||
|
"remaiN_CTN_STAT": "40OH*1",
|
||||||
|
"totaL_ORDERS": 1,
|
||||||
|
"usE_NUM": 0,
|
||||||
|
"canceL_NUM": 0,
|
||||||
|
"totaL_CTNS": 1,
|
||||||
|
"usE_CTNS_NUM": 0,
|
||||||
|
"remaiN_CTNS_NUM": 1,
|
||||||
|
"placereceipt": "Qingdao,Shandong,China",
|
||||||
|
"placedelivery": "Melbourne,Victoria,Australia",
|
||||||
|
"portloadid": "CNTAO",
|
||||||
|
"portload": "QINGDAO",
|
||||||
|
"portdischargeid": "AUMEL",
|
||||||
|
"portdischarge": "MELBOURNE,VI,AU",
|
||||||
|
"portdischargE_COUNTRY_CODE": "AU",
|
||||||
|
"portdischargE_COUNTRY": "澳大利亚(AUSTRALIA)"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"vessel": "CHRISTA SCHULTE",
|
||||||
|
"voyno": "413S",
|
||||||
|
"contracT_NO": "299026908",
|
||||||
|
"bookinG_SLOT_TYPE": "CONTRACT_ORDER",
|
||||||
|
"bookinG_SLOT_TYPE_NAME": "合约订舱",
|
||||||
|
"bookinG_PARTY": "QINGDAO CHENGSI FREIGHT FORWARDER CO",
|
||||||
|
"carrierid": "MSK",
|
||||||
|
"carrier": "马士基",
|
||||||
|
"etd": "2024-03-30 00:00:00",
|
||||||
|
"eta": "2024-04-21 00:00:00",
|
||||||
|
"ctN_STAT": "20OT*1 20TK*1",
|
||||||
|
"usE_CTN_STAT": "",
|
||||||
|
"remaiN_CTN_STAT": "20OT*1 20TK*1",
|
||||||
|
"totaL_ORDERS": 2,
|
||||||
|
"usE_NUM": 0,
|
||||||
|
"canceL_NUM": 0,
|
||||||
|
"totaL_CTNS": 2,
|
||||||
|
"usE_CTNS_NUM": 0,
|
||||||
|
"remaiN_CTNS_NUM": 2,
|
||||||
|
"placereceipt": "Qingdao,Shandong,China",
|
||||||
|
"placedelivery": "Sydney,New South Wales,Australia",
|
||||||
|
"portloadid": "CNTAO",
|
||||||
|
"portload": "QINGDAO",
|
||||||
|
"portdischargeid": "AUSYD",
|
||||||
|
"portdischarge": "SYDNEY, AUSTRALIA",
|
||||||
|
"portdischargE_COUNTRY_CODE": "AU",
|
||||||
|
"portdischargE_COUNTRY": "AUSTRALIA"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"vessel": "COSCO KOREA",
|
||||||
|
"voyno": "413W",
|
||||||
|
"contracT_NO": "299026908",
|
||||||
|
"bookinG_SLOT_TYPE": "CONTRACT_ORDER",
|
||||||
|
"bookinG_SLOT_TYPE_NAME": "合约订舱",
|
||||||
|
"bookinG_PARTY": "QINGDAO CHENGSI FREIGHT FORWARDER CO",
|
||||||
|
"carrierid": "MSK",
|
||||||
|
"carrier": "马士基",
|
||||||
|
"etd": "2024-03-31 00:00:00",
|
||||||
|
"eta": "2024-04-25 00:00:00",
|
||||||
|
"ctN_STAT": "20OT*1",
|
||||||
|
"usE_CTN_STAT": "",
|
||||||
|
"remaiN_CTN_STAT": "20OT*1",
|
||||||
|
"totaL_ORDERS": 1,
|
||||||
|
"usE_NUM": 0,
|
||||||
|
"canceL_NUM": 0,
|
||||||
|
"totaL_CTNS": 1,
|
||||||
|
"usE_CTNS_NUM": 0,
|
||||||
|
"remaiN_CTNS_NUM": 1,
|
||||||
|
"placereceipt": "Qingdao,Shandong,China",
|
||||||
|
"placedelivery": "Fremantle,Western Australia,Australia",
|
||||||
|
"portloadid": "CNTAO",
|
||||||
|
"portload": "QINGDAO",
|
||||||
|
"portdischargeid": "AUFRE",
|
||||||
|
"portdischarge": "FREMANTLE,WA,AUSTRALIA",
|
||||||
|
"portdischargE_COUNTRY_CODE": "AU",
|
||||||
|
"portdischargE_COUNTRY": "AUSTRALIA"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"vessel": "COSCO KOREA",
|
||||||
|
"voyno": "413W",
|
||||||
|
"contracT_NO": "299026908",
|
||||||
|
"bookinG_SLOT_TYPE": "CONTRACT_ORDER",
|
||||||
|
"bookinG_SLOT_TYPE_NAME": "合约订舱",
|
||||||
|
"bookinG_PARTY": "QINGDAO CHENGSI FREIGHT FORWARDER CO",
|
||||||
|
"carrierid": "MSK",
|
||||||
|
"carrier": "马士基",
|
||||||
|
"etd": "2024-03-31 00:00:00",
|
||||||
|
"eta": "2024-05-13 00:00:00",
|
||||||
|
"ctN_STAT": "40HC*1 20GP*1",
|
||||||
|
"usE_CTN_STAT": "",
|
||||||
|
"remaiN_CTN_STAT": "40HC*1 20GP*1",
|
||||||
|
"totaL_ORDERS": 2,
|
||||||
|
"usE_NUM": 0,
|
||||||
|
"canceL_NUM": 0,
|
||||||
|
"totaL_CTNS": 2,
|
||||||
|
"usE_CTNS_NUM": 0,
|
||||||
|
"remaiN_CTNS_NUM": 2,
|
||||||
|
"placereceipt": "Qingdao,Shandong,China",
|
||||||
|
"placedelivery": "Adelaide,South Australia,Australia",
|
||||||
|
"portloadid": "CNTAO",
|
||||||
|
"portload": "QINGDAO",
|
||||||
|
"portdischargeid": "AUADL",
|
||||||
|
"portdischarge": "ADELAIDE,SA,AUSTRALIA",
|
||||||
|
"portdischargE_COUNTRY_CODE": "AU",
|
||||||
|
"portdischargE_COUNTRY": "AUSTRALIA"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"vessel": "GSL VINIA",
|
||||||
|
"voyno": "414S",
|
||||||
|
"contracT_NO": "299026908",
|
||||||
|
"bookinG_SLOT_TYPE": "CONTRACT_ORDER",
|
||||||
|
"bookinG_SLOT_TYPE_NAME": "合约订舱",
|
||||||
|
"bookinG_PARTY": "QINGDAO CHENGSI FREIGHT FORWARDER CO",
|
||||||
|
"carrierid": "MSK",
|
||||||
|
"carrier": "马士基",
|
||||||
|
"etd": "2024-04-10 00:00:00",
|
||||||
|
"eta": "2024-05-17 00:00:00",
|
||||||
|
"ctN_STAT": "40HC*1",
|
||||||
|
"usE_CTN_STAT": "",
|
||||||
|
"remaiN_CTN_STAT": "40HC*1",
|
||||||
|
"totaL_ORDERS": 1,
|
||||||
|
"usE_NUM": 0,
|
||||||
|
"canceL_NUM": 0,
|
||||||
|
"totaL_CTNS": 1,
|
||||||
|
"usE_CTNS_NUM": 0,
|
||||||
|
"remaiN_CTNS_NUM": 1,
|
||||||
|
"placereceipt": "Qingdao,Shandong,China",
|
||||||
|
"placedelivery": "Lyttelton,New Zealand",
|
||||||
|
"portloadid": "CNTAO",
|
||||||
|
"portload": "QINGDAO",
|
||||||
|
"portdischargeid": "NZLYT",
|
||||||
|
"portdischarge": "LYTTELTON, NEW ZEALAND",
|
||||||
|
"portdischargE_COUNTRY_CODE": "NZ",
|
||||||
|
"portdischargE_COUNTRY": "NEW ZEALAND"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"vessel": "CHRISTA SCHULTE",
|
||||||
|
"voyno": "413S",
|
||||||
|
"contracT_NO": "299026908",
|
||||||
|
"bookinG_SLOT_TYPE": "CONTRACT_ORDER",
|
||||||
|
"bookinG_SLOT_TYPE_NAME": "合约订舱",
|
||||||
|
"bookinG_PARTY": "QINGDAO CHENGSI FREIGHT FORWARDER CO",
|
||||||
|
"carrierid": "MSK",
|
||||||
|
"carrier": "马士基",
|
||||||
|
"etd": "2024-03-30 00:00:00",
|
||||||
|
"eta": "2024-04-26 00:00:00",
|
||||||
|
"ctN_STAT": "20OT*1",
|
||||||
|
"usE_CTN_STAT": "",
|
||||||
|
"remaiN_CTN_STAT": "20OT*1",
|
||||||
|
"totaL_ORDERS": 1,
|
||||||
|
"usE_NUM": 0,
|
||||||
|
"canceL_NUM": 0,
|
||||||
|
"totaL_CTNS": 1,
|
||||||
|
"usE_CTNS_NUM": 0,
|
||||||
|
"remaiN_CTNS_NUM": 1,
|
||||||
|
"placereceipt": "Qingdao,Shandong,China",
|
||||||
|
"placedelivery": "Melbourne,Victoria,Australia",
|
||||||
|
"portloadid": "CNTAO",
|
||||||
|
"portload": "QINGDAO",
|
||||||
|
"portdischargeid": "AUMEL",
|
||||||
|
"portdischarge": "MELBOURNE,VI,AU",
|
||||||
|
"portdischargE_COUNTRY_CODE": "AU",
|
||||||
|
"portdischargE_COUNTRY": "澳大利亚(AUSTRALIA)"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"vessel": "MAERSK YOSEMITE",
|
||||||
|
"voyno": "415S",
|
||||||
|
"contracT_NO": "298546855",
|
||||||
|
"bookinG_SLOT_TYPE": "CONTRACT_ORDER",
|
||||||
|
"bookinG_SLOT_TYPE_NAME": "合约订舱",
|
||||||
|
"bookinG_PARTY": "QINGDAO CHENGSI FREIGHT FORWARDER CO",
|
||||||
|
"carrierid": "MSK",
|
||||||
|
"carrier": "马士基",
|
||||||
|
"etd": "2024-04-03 00:00:00",
|
||||||
|
"eta": "2024-04-23 00:00:00",
|
||||||
|
"ctN_STAT": "40NOR*2",
|
||||||
|
"usE_CTN_STAT": "",
|
||||||
|
"remaiN_CTN_STAT": "40NOR*2",
|
||||||
|
"totaL_ORDERS": 1,
|
||||||
|
"usE_NUM": 0,
|
||||||
|
"canceL_NUM": 0,
|
||||||
|
"totaL_CTNS": 2,
|
||||||
|
"usE_CTNS_NUM": 0,
|
||||||
|
"remaiN_CTNS_NUM": 2,
|
||||||
|
"placereceipt": "Qingdao,Shandong,China",
|
||||||
|
"placedelivery": "Balboa,Panama",
|
||||||
|
"portloadid": "CNTAO",
|
||||||
|
"portload": "QINGDAO",
|
||||||
|
"portdischargeid": "PABLB",
|
||||||
|
"portdischarge": "BALBOA,PANAMA",
|
||||||
|
"portdischargE_COUNTRY_CODE": "PA",
|
||||||
|
"portdischargE_COUNTRY": "PANAMA"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"vessel": "MAERSK YOSEMITE",
|
||||||
|
"voyno": "415S",
|
||||||
|
"contracT_NO": "298546855",
|
||||||
|
"bookinG_SLOT_TYPE": "CONTRACT_ORDER",
|
||||||
|
"bookinG_SLOT_TYPE_NAME": "合约订舱",
|
||||||
|
"bookinG_PARTY": "QINGDAO CHENGSI FREIGHT FORWARDER CO",
|
||||||
|
"carrierid": "MSK",
|
||||||
|
"carrier": "马士基",
|
||||||
|
"etd": "2024-04-05 00:00:00",
|
||||||
|
"eta": "2024-06-10 00:00:00",
|
||||||
|
"ctN_STAT": "40NOR*3",
|
||||||
|
"usE_CTN_STAT": "",
|
||||||
|
"remaiN_CTN_STAT": "40NOR*3",
|
||||||
|
"totaL_ORDERS": 1,
|
||||||
|
"usE_NUM": 0,
|
||||||
|
"canceL_NUM": 0,
|
||||||
|
"totaL_CTNS": 3,
|
||||||
|
"usE_CTNS_NUM": 0,
|
||||||
|
"remaiN_CTNS_NUM": 3,
|
||||||
|
"placereceipt": "Qingdao,Shandong,China",
|
||||||
|
"placedelivery": "Caucedo,Dominican Republic",
|
||||||
|
"portloadid": "CNTAO",
|
||||||
|
"portload": "QINGDAO",
|
||||||
|
"portdischargeid": "DO004",
|
||||||
|
"portdischarge": "CAUCEDO",
|
||||||
|
"portdischargE_COUNTRY_CODE": "DO",
|
||||||
|
"portdischargE_COUNTRY": "DOMINICA"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"vessel": "GSL VINIA",
|
||||||
|
"voyno": "414S",
|
||||||
|
"contracT_NO": "299026908",
|
||||||
|
"bookinG_SLOT_TYPE": "CONTRACT_ORDER",
|
||||||
|
"bookinG_SLOT_TYPE_NAME": "合约订舱",
|
||||||
|
"bookinG_PARTY": "QINGDAO CHENGSI FREIGHT FORWARDER CO",
|
||||||
|
"carrierid": "MSK",
|
||||||
|
"carrier": "马士基",
|
||||||
|
"etd": "2024-04-10 00:00:00",
|
||||||
|
"eta": "2024-05-11 00:00:00",
|
||||||
|
"ctN_STAT": "20GP*1",
|
||||||
|
"usE_CTN_STAT": "",
|
||||||
|
"remaiN_CTN_STAT": "20GP*1",
|
||||||
|
"totaL_ORDERS": 1,
|
||||||
|
"usE_NUM": 0,
|
||||||
|
"canceL_NUM": 0,
|
||||||
|
"totaL_CTNS": 1,
|
||||||
|
"usE_CTNS_NUM": 0,
|
||||||
|
"remaiN_CTNS_NUM": 1,
|
||||||
|
"placereceipt": "Qingdao,Shandong,China",
|
||||||
|
"placedelivery": "Tauranga,New Zealand",
|
||||||
|
"portloadid": "CNTAO",
|
||||||
|
"portload": "QINGDAO",
|
||||||
|
"portdischargeid": "NZTRG",
|
||||||
|
"portdischarge": "TAURANGA, NEW ZEALAND",
|
||||||
|
"portdischargE_COUNTRY_CODE": "NZ",
|
||||||
|
"portdischargE_COUNTRY": "NEW ZEALAND"
|
||||||
|
}
|
||||||
|
], total: 10
|
||||||
|
})
|
||||||
|
})
|
||||||
|
},
|
||||||
|
beforeFetch: (p) => {
|
||||||
|
var data = getForm().getFieldsValue()
|
||||||
|
const postParam: API.PageRequest = {
|
||||||
|
queryCondition: '',
|
||||||
|
pageCondition: {
|
||||||
|
pageIndex: p.current,
|
||||||
|
pageSize: p.pageSize,
|
||||||
|
sortConditions: []
|
||||||
|
}
|
||||||
|
}
|
||||||
|
console.log(data)
|
||||||
|
return postParam
|
||||||
|
},
|
||||||
|
columns,
|
||||||
|
formConfig: {
|
||||||
|
labelWidth: 120,
|
||||||
|
schemas: searchFormSchema,
|
||||||
|
},
|
||||||
|
clickToRowSelect: false,
|
||||||
|
isTreeTable: false,
|
||||||
|
pagination: true,
|
||||||
|
striped: true,
|
||||||
|
useSearchForm: true,
|
||||||
|
showTableSetting: true,
|
||||||
|
bordered: true,
|
||||||
|
showIndexColumn: true,
|
||||||
|
indexColumnProps: {
|
||||||
|
width: 60,
|
||||||
|
},
|
||||||
|
canResize: true,
|
||||||
|
resizeHeightOffset: 80,
|
||||||
|
|
||||||
|
actionColumn: {
|
||||||
|
width: 50,
|
||||||
|
title: '操作',
|
||||||
|
dataIndex: 'action',
|
||||||
|
fixed: 'right',
|
||||||
|
}
|
||||||
|
})
|
||||||
|
function handledbclick(record) {
|
||||||
|
console.log('双击')
|
||||||
|
}
|
||||||
|
function handleAdd() {
|
||||||
|
openModal(true, 123)
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="less" scoped>
|
||||||
|
/deep/ .ant-form-item {
|
||||||
|
margin-bottom: 10px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/deep/ .ant-card-body {
|
||||||
|
padding-bottom: 0px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.table-operator {
|
||||||
|
margin-bottom: 18px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.Close {
|
||||||
|
height: 45px;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vxe-table--render-default .vxe-body--row.row--stripe {
|
||||||
|
background: #f5f9fe;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ant-card-body {
|
||||||
|
padding-top: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.inline {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.inline-right {
|
||||||
|
position: absolute;
|
||||||
|
top: 6px;
|
||||||
|
right: 25px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.change {
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
margin-top: 25px;
|
||||||
|
|
||||||
|
div {
|
||||||
|
width: 120px;
|
||||||
|
height: 50px;
|
||||||
|
background-color: rgb(247, 249, 250);
|
||||||
|
border: 1px solid rgb(247, 249, 250);
|
||||||
|
color: rgb(105, 102, 102);
|
||||||
|
line-height: 50px;
|
||||||
|
text-align: center;
|
||||||
|
cursor: pointer;
|
||||||
|
transition: box-shadow 0.3s, background-color 0.3s;
|
||||||
|
margin-right: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
div:hover {
|
||||||
|
border: 1px solid #d1cfcf;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue