Pārlūkot izejas kodu

feat: 删除create new booking多余代码

Jack Zhou 3 nedēļas atpakaļ
vecāks
revīzija
2960279378

+ 1 - 8
src/views/DestinationDelivery/src/components/CreateNewBooking/src/CreateNewbooking.vue

@@ -1,6 +1,5 @@
 <script setup lang="ts">
 import CalendarDate from '@/components/DateRange/src/components/CalendarDate.vue'
-import AutoSelect from '@/components/AutoSelect/src/AutoSelect.vue'
 import NewbookingTable from './components/NewbookingTable.vue'
 import AddNewAddress from './images/default_add_address@2x.png'
 import NotAvailable from './images/default_destination_not_available@2x.png'
@@ -26,7 +25,6 @@ const DateValue = ref(
 )
 const DeliveryTime = ref('')
 const bookingTableRef = ref()
-const VesselName = ref([])
 const VesselNametest = ref('')
 const ShipperValue = ref('')
 const ConsigneeValue = ref('')
@@ -56,18 +54,15 @@ const recommendateWarning = ref('')
 const ATATimeList = ref(null)
 const ETATimeList = ref(null)
 const Addressradio = ref()
-const LocationName = ref('')
 const AddressLine1 = ref('')
 const AddressLine2 = ref('')
 const AddressLine3 = ref('')
 const AddressLine4 = ref('')
 const CountryCode = ref('')
 const CityCode = ref('')
-const CountryCity = ref('')
 const PostalCode = ref('')
 const ContactPerson = ref('')
 const ContactNumber = ref('')
-const instructions = ref('')
 const modetypeValue = ref('Truck')
 const Requirements = ref('')
 const Modification = ref()
@@ -218,10 +213,8 @@ interface CountryItem {
   value: string
   label: string
 }
-const countrys = ref<CountryItem[]>([])
 const Countryoptions = ref<CountryItem[]>([])
 const Countryloading = ref(false)
-const city = ref<CountryItem[]>([])
 const Cityoptions = ref<CountryItem[]>([])
 const cityloading = ref(false)
 const querySearchCountry = (query: string) => {
@@ -263,7 +256,7 @@ const getCurrentStyle = (current: any) => {
   const dateString = current.format('YYYY.MM.DD')
   if (specialDates.value != undefined && specialDates.value.includes(dateString)) {
     return {
-      background: 'var(--color-delivery-date-picker-current-cell-bg)',
+      background: 'red',
       borderRadius: '6px',
       color: `var(--color-neutral-1)`
     }