From 9d81cccfbe7f2e417e1c9be9e5247107e534a838 Mon Sep 17 00:00:00 2001 From: sunzehua Date: Mon, 26 Aug 2024 17:45:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9A=E6=97=B6=E4=BB=BB=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/mskBookingOrder/index.vue | 978 ------------------ src/views/bookingcabin/cabinBooking/api.ts | 18 +- .../bookingcabin/cabinBooking/detail.vue | 20 +- src/views/bookingcabin/cabinBooking/index.vue | 4 +- 4 files changed, 21 insertions(+), 999 deletions(-) delete mode 100644 src/components/mskBookingOrder/index.vue diff --git a/src/components/mskBookingOrder/index.vue b/src/components/mskBookingOrder/index.vue deleted file mode 100644 index c87fb5b7..00000000 --- a/src/components/mskBookingOrder/index.vue +++ /dev/null @@ -1,978 +0,0 @@ - - - - - diff --git a/src/views/bookingcabin/cabinBooking/api.ts b/src/views/bookingcabin/cabinBooking/api.ts index 491c3a1c..57467432 100644 --- a/src/views/bookingcabin/cabinBooking/api.ts +++ b/src/views/bookingcabin/cabinBooking/api.ts @@ -4,7 +4,7 @@ import { DataResult, PageRequest } from '/@/api/model/baseModel' export function SearchShipSailingScheduleSpot(data) { return request({ - url: '/opApi/SpaceBookingSPOTAPI/SearchShipSailingSchedule', + url: '/opApi/SpaceBookingMSKAPISpot/SearchShipSailingSchedule', method: 'post', data, }) @@ -36,7 +36,7 @@ export function SearchCommodities(data) { export function mskGetGetInfoSpot(data) { return request({ - url: '/opApi/SpaceBookingSPOTAPI/GetInfo', + url: '/opApi/SpaceBookingMSKAPISpot/GetInfo', method: 'get', params: data, }) @@ -44,7 +44,7 @@ export function mskGetGetInfoSpot(data) { export function mskGetSaveSpot(data) { return request({ - url: '/opApi/SpaceBookingSPOTAPI/Save', + url: '/opApi/SpaceBookingMSKAPISpot/Save', method: 'post', data, }) @@ -84,14 +84,14 @@ export function mskGetGetInfo(data) { export function GetInitInfoMsk() { return request({ - url: '/opApi/SpaceBookingSPOTAPI/GetInitInfo', + url: '/opApi/SpaceBookingMSKAPISpot/GetInitInfo', method: 'get', }) } export function SendMSKBookingSpot(data) { return request({ - url: '/opApi/SpaceBookingSPOTAPI/SendMSKBooking', + url: '/opApi/SpaceBookingMSKAPISpot/SendMSKBooking', method: 'post', data, }) @@ -106,7 +106,7 @@ export function GetInitInfoMskApi() { export function maskCopySPOT(data) { return request({ - url: '/opApi/SpaceBookingSPOTAPI/BatchCopy', + url: '/opApi/SpaceBookingMSKAPISpot/BatchCopy', method: 'post', data, }) @@ -114,7 +114,7 @@ export function maskCopySPOT(data) { export function SearchCommoditiesSpot(data) { return request({ - url: '/opApi/SpaceBookingSPOTAPI/SearchCommodities', + url: '/opApi/SpaceBookingMSKAPISpot/SearchCommodities', method: 'post', data, }) @@ -122,7 +122,7 @@ export function SearchCommoditiesSpot(data) { export function SearchLocationsSpot(data) { return request({ - url: '/opApi/SpaceBookingSPOTAPI/SearchLocations', + url: '/opApi/SpaceBookingMSKAPISpot/SearchLocations', method: 'post', data, }) @@ -153,7 +153,7 @@ export function BatchSend(parameter) { export function BatchSendSPOT(parameter) { return request({ - url: '/opApi/SpaceBookingSPOTAPI/BatchSend', + url: '/opApi/SpaceBookingMSKAPISpot/BatchSend', method: 'post', data: parameter }) diff --git a/src/views/bookingcabin/cabinBooking/detail.vue b/src/views/bookingcabin/cabinBooking/detail.vue index c06dcfb2..c9c6dfa0 100644 --- a/src/views/bookingcabin/cabinBooking/detail.vue +++ b/src/views/bookingcabin/cabinBooking/detail.vue @@ -761,7 +761,7 @@ const mskSpotInfo = ref({}) const mskApiInfo = ref({}) onMounted(() => { - // getinitInfoMsk() + getinitInfoMsk() GetCtnSelectList().then(res => { ctnallList.value = res.data }) @@ -769,9 +769,9 @@ onMounted(() => { //获取订舱人初始值 function getinitInfoMsk() { - GetInitInfoMsk().then(res => { - mskSpotInfo.value = res.data - }) + // GetInitInfoMsk().then(res => { + // mskSpotInfo.value = res.data + // }) GetInitInfoMskApi().then(res => { mskApiInfo.value = res.data }) @@ -1037,12 +1037,12 @@ function handleSubimt() { function handleSave() { form.value.carrierCode = 'MSK' - if (!form.value.isBookingPartOwnPrice) { - if (!form.value.priceOwnerReferenceId) { - createMessage.warning('请选择持约方合同') - return false - } - } + // if (!form.value.isBookingPartOwnPrice) { + // if (!form.value.priceOwnerReferenceId) { + // createMessage.warning('请选择持约方合同') + // return false + // } + // } formLoading.value = true if (mskType.value === 'add') { if (mskBookType.value === 'spot') { diff --git a/src/views/bookingcabin/cabinBooking/index.vue b/src/views/bookingcabin/cabinBooking/index.vue index 8d5b6711..e259ecbd 100644 --- a/src/views/bookingcabin/cabinBooking/index.vue +++ b/src/views/bookingcabin/cabinBooking/index.vue @@ -167,9 +167,9 @@ const [registerTable, { reload, getSelectRows, setLoading }] = useTable({ fixed: 'right', } }) -const timeValue = ref('') +const timeValue = ref('SpecificTimeDoOnce') function handledbclick(record) { - console.log('双击') + handleEdit(record) } const timeLoad = ref(false) const tenantParam = ref([]) as any