From 9a8a72b1bdfda6b8155f8afb1b2bcbe97a62e1aa Mon Sep 17 00:00:00 2001
From: ouyangxq <775153912@qq.com>
Date: Tue, 15 Sep 2026 10:38:53 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/modules/cross-border/components/BusinessOrdersView.vue | 5 +++--
src/modules/cross-border/containerSpecifications.ts | 7 +++++++
2 files changed, 10 insertions(+), 2 deletions(-)
create mode 100644 src/modules/cross-border/containerSpecifications.ts
diff --git a/src/modules/cross-border/components/BusinessOrdersView.vue b/src/modules/cross-border/components/BusinessOrdersView.vue
index e7e23ce..9bba647 100644
--- a/src/modules/cross-border/components/BusinessOrdersView.vue
+++ b/src/modules/cross-border/components/BusinessOrdersView.vue
@@ -13,6 +13,7 @@ import {
type TransportDetail,
type TransportSummary,
} from '../api/businessOrders'
+import { CONTAINER_SPECIFICATIONS, DEFAULT_CONTAINER_TYPE } from '../containerSpecifications'
const props = defineProps<{ kind: CrossBorderBusinessKind }>()
const auth = useAuthStore()
@@ -155,7 +156,7 @@ function emptyForm(): BusinessForm {
return {
purchaseCategory: '', productName: '', productSpecification: '', productUrl: '', purchaseQuantity: 1,
transportMode: 'SHARED_TRUCK', palletRequired: 'NO', transportType: 'PORT_PICKUP', origin: '', originAddress: '',
- destination: '', destinationAddress: '', containerType: '', palletCount: 1, packageCount: 0,
+ destination: '', destinationAddress: '', containerType: DEFAULT_CONTAINER_TYPE, palletCount: 1, packageCount: 0,
totalWeightKg: 0, totalVolumeCbm: 0, currency: 'USD', contactName: '', contactInfo: '', requestedDate: '',
receivingAddress: '', remark: '',
}
@@ -328,7 +329,7 @@ onMounted(() => void load())
-
+
diff --git a/src/modules/cross-border/containerSpecifications.ts b/src/modules/cross-border/containerSpecifications.ts
new file mode 100644
index 0000000..d92fb62
--- /dev/null
+++ b/src/modules/cross-border/containerSpecifications.ts
@@ -0,0 +1,7 @@
+export const CONTAINER_SPECIFICATIONS = [
+ { type: '40GP', recommendedMinCbm: 56, capacityCbm: 58, maxWeightKg: 19500 },
+ { type: '40HQ', recommendedMinCbm: 65, capacityCbm: 68, maxWeightKg: 19500 },
+ { type: '45HQ', recommendedMinCbm: 82, capacityCbm: 86, maxWeightKg: 19500 },
+] as const
+
+export const DEFAULT_CONTAINER_TYPE = '40HQ' as const