diff --git a/sub-operation-service/src/assets/images/warehouseLogistics/car-icon.png b/sub-operation-service/src/assets/images/warehouseLogistics/car-icon.png new file mode 100644 index 0000000..11ba0f4 Binary files /dev/null and b/sub-operation-service/src/assets/images/warehouseLogistics/car-icon.png differ diff --git a/sub-operation-service/src/assets/images/warehouseLogistics/company-vehicles1.png b/sub-operation-service/src/assets/images/warehouseLogistics/company-vehicles1.png new file mode 100644 index 0000000..033b809 Binary files /dev/null and b/sub-operation-service/src/assets/images/warehouseLogistics/company-vehicles1.png differ diff --git a/sub-operation-service/src/assets/images/warehouseLogistics/company-vehicles2.png b/sub-operation-service/src/assets/images/warehouseLogistics/company-vehicles2.png new file mode 100644 index 0000000..08a7e1e Binary files /dev/null and b/sub-operation-service/src/assets/images/warehouseLogistics/company-vehicles2.png differ diff --git a/sub-operation-service/src/assets/images/warehouseLogistics/company-vehicles3.png b/sub-operation-service/src/assets/images/warehouseLogistics/company-vehicles3.png new file mode 100644 index 0000000..ab72510 Binary files /dev/null and b/sub-operation-service/src/assets/images/warehouseLogistics/company-vehicles3.png differ diff --git a/sub-operation-service/src/views/shoppingCarts/components/leftMenu.vue b/sub-operation-service/src/views/shoppingCarts/components/leftMenu.vue index 3e655c1..cab4b07 100644 --- a/sub-operation-service/src/views/shoppingCarts/components/leftMenu.vue +++ b/sub-operation-service/src/views/shoppingCarts/components/leftMenu.vue @@ -2,7 +2,7 @@
- +
- +
@@ -120,74 +100,48 @@ import Common from '../components/common.vue'; import { useGetCommonData } from '@/store/modules/common.js'; import { storeToRefs } from 'pinia'; import { ElMessage } from 'element-plus'; +import { getRegion } from '@/apis/common'; const store = useGetCommonData(); const { data } = storeToRefs(store); - const route = useRoute(); const router = useRouter(); -const tab0 = reactive(['物流服务', '物流需求']); -const tab1 = reactive(['全部', '物流公司', '个人']); -const tab2 = reactive(['全部', '11米7', '13米', '13米7', '15米']); -const tab3 = reactive(['全部', '厢式', '平板', '高栏', '飞翼', '开顶']); +const tab0 = reactive(['选择位置']); const currentTab0 = ref(0); -const currentTab1 = ref(0); -const currentTab2 = ref(0); -const currentTab3 = ref(0); +const formSize = 'large'; + +import img1 from './images/xiangshi.png'; +import img2 from './images/gaolan.png'; const state = reactive({ menus: warehouseLogisticsRoutes[0].children, query: { current: {}, + selectedAddress: [], + detailAddress: '', }, data: [ { - imageUrl: '/storage1.jpg', - title: '果蔬保鲜仓储', - description: '绿鲜蔬选果蔬仓储中心 ', - location: '临沧市-耿马县', - price: '600.0', - rank: '1', + imageUrl: img1, + title: '长途大车', + licensePlate: '云AL6AB7', + conductor: '15m', + vehicleNature: '物流公司', + vehicleModel: '厢式', + maximumPayload: '1000吨', + freeTime: '2025.05.05', + price: '¥20元/吨/公里', }, { - imageUrl: '/storage2.jpg', - title: '果蔬保鲜仓储', - description: '绿鲜蔬选果蔬仓储中心', - location: '临沧市-耿马县', - price: '600.0', - rank: '2', - }, - { - imageUrl: '/storage3.jpg', - title: '果蔬保鲜仓储', - description: '绿鲜蔬选果蔬仓储中心 ', - location: '临沧市-耿马县', - price: '600.0', - rank: '3', - }, - { - imageUrl: '/storage3.jpg', - title: '果蔬保鲜仓储', - description: '绿鲜蔬选果蔬仓储中心 ', - location: '临沧市-耿马县', - price: '600.0', - rank: '', - }, - { - imageUrl: '/storage3.jpg', - title: '果蔬保鲜仓储', - description: '绿鲜蔬选果蔬仓储中心 ', - location: '临沧市-耿马县', - price: '600.0', - rank: '', - }, - { - imageUrl: '/storage3.jpg', - title: '果蔬保鲜仓储', - description: '绿鲜蔬选果蔬仓储中心 ', - location: '临沧市-耿马县', - price: '600.0', - rank: '', + imageUrl: img2, + title: '长途大车', + licensePlate: '云AL5B15', + conductor: '13m', + vehicleNature: '个人', + vehicleModel: '高栏', + maximumPayload: '800吨', + freeTime: '2025.05.08', + price: '¥20元/吨/公里', }, ], }); @@ -200,13 +154,7 @@ const paginations = reactive({ const dialogFormVisible = ref(false); const formLabelWidth = ref('120px'); - -onMounted(() => { - getWarehouseList('1'); -}); - const currentTab = ref(0); - const currentChange = (current) => { paginations.page = current; getWarehouseList(currentTab.value + 1); @@ -279,6 +227,30 @@ const priceConfirm = () => { } }); }; + +// 级联选择器配置 +const cascaderProps = ref({ + label: 'areaName', // 选项标签字段名 + value: 'areaCode', // 选项值字段名 + children: 'areaChildVOS', // 子选项字段名 + emitPath: true, + expandTrigger: 'hover', +}); +// 省市区数据(示例) +const addressOptions = ref([]); +const getArea = async () => { + const res = await getRegion(); + if (res.code === 200) { + addressOptions.value = res.data; + } else { + ElMessage.error(res.message); + } +}; + +onMounted(() => { + // getWarehouseList('1'); + getArea(); +}); diff --git a/sub-operation-service/src/views/warehouseLogistics/warehouse/application.vue b/sub-operation-service/src/views/warehouseLogistics/warehouse/application.vue index 123db85..948d0fb 100644 --- a/sub-operation-service/src/views/warehouseLogistics/warehouse/application.vue +++ b/sub-operation-service/src/views/warehouseLogistics/warehouse/application.vue @@ -120,6 +120,119 @@ :style="{ width: unifiedWidth }" > + +
分拣包装需要
+ + + 需要 + 不需要 + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
附加服务
+ + + + + + + + + + + + +
企业信息
+ + + + + + + + + + + +