ERPTurbo_Client/packages/app-client/src/components/order/index.ts
shenyifei 2aa7df132a refactor(order): 为订单表单组件添加表单验证功能
- 为 BasicInfoSection 组件添加 validateForm 方法,校验本车次号和运费类型
- 为 CompanyInfoSection 组件添加 validateForm 方法,校验销售方选择
- 为 DealerInfoSection 组件添加 validateForm 方法,校验经销商选择
- 为 DeliveryFormSection 组件添加 validateForm 方法,调用内部表单验证
- 为 MarketPriceSection 组件添加 validateForm 方法,校验报价方式和销售单价
- 在审核页面中使用各组件的验证方法替代原有验证逻辑
- 为各组件导出对应的 Ref 类型定义
- 更新应用版本号从 v0.0.64 到 v0.0.65
2026-01-04 13:54:55 +08:00

79 lines
4.9 KiB
TypeScript

export { default as OrderVehicle } from "./module/OrderVehicle";
export type { OrderVehicleRef } from "./module/OrderVehicle";
export { default as SupplierWeigh } from "./module/SupplierWeigh";
export type { SupplierWeighRef } from "./module/SupplierWeigh";
export { default as StallWeigh } from "./module/StallWeigh";
export type { StallWeighRef } from "./module/StallWeigh";
export { default as SupplierInfo } from "./module/SupplierInfo";
export type { SupplierInfoRef } from "./module/SupplierInfo";
export { default as StallInfo } from "./module/StallInfo";
export type { StallInfoRef } from "./module/StallInfo";
export { default as SupplierPackage } from "./module/SupplierPackage";
export type { SupplierPackageRef } from "./module/SupplierPackage";
export { default as StallPackage } from "./module/StallPackage";
export type { StallPackageRef } from "./module/StallPackage";
export { default as TicketUpload } from "./module/TicketUpload";
export { default as OrderCost } from "./module/OrderCost";
export type { OrderCostRef } from "./module/OrderCost";
export { default as OrderCostItem } from "./module/OrderCostItem";
export type { OrderCostItemRef } from "./module/OrderCostItem";
export { default as OrderPackage } from "./module/OrderPackage";
export { default as SupplierList } from "./module/SupplierList";
export { default as StallList } from "./module/StallList";
export { default as PurchasePreview } from "./module/MadePreview";
export { default as MarketPreview } from "./module/MarketPreview";
export { default as MadeOption } from "./module/MadeOption";
export type { MadeOptionRef } from "./module/MadeOption";
export { default as MarketOption } from "./module/MarketOption";
export type { MarketOptionRef } from "./module/MarketOption";
export { default as OrderRejectApprove } from "./button/OrderRejectApprove";
export { default as OrderRejectFinal } from "./button/OrderRejectFinal";
export { default as OrderSubmitReview } from "./button/OrderSubmitReview";
export { default as OrderWithdrawReview } from "./button/OrderWithdrawReview";
export { default as OrderFinalApprove } from "./button/OrderFinalApprove";
export { default as CompanyInfoSection } from "./section/CompanyInfoSection";
export type { CompanyInfoSectionRef } from "./section/CompanyInfoSection";
export { default as DealerInfoSection } from "./section/DealerInfoSection";
export type { DealerInfoSectionRef } from "./section/DealerInfoSection";
export { default as BasicInfoSection } from "./section/BasicInfoSection";
export type { BasicInfoSectionRef } from "./section/BasicInfoSection";
export { default as SupplierInfoSection } from "./section/SupplierInfoSection";
export { default as PurchaseCostInfoSection } from "./section/PurchaseCostInfoSection";
export { default as PackageInfoSection } from "./section/PackageInfoSection";
export { default as EmptyBoxInfoSection } from "./section/EmptyBoxInfoSection";
export { default as PackagingCostSection } from "./section/PackagingCostSection";
export { default as ProductionLossSection } from "./section/ProductionLossSection";
export { default as CostSummarySection } from "./section/CostSummarySection";
export { default as MarketPriceSection } from "./section/MarketPriceSection";
export type { MarketPriceSectionRef } from "./section/MarketPriceSection";
export { default as RebateCalcSection } from "./section/RebateCalcSection";
export { default as TaxSubsidySection } from "./section/TaxSubsidySection";
export { default as TaxProvisionSection } from "./section/TaxProvisionSection";
export { default as CostDifferenceSection } from "./section/CostDifferenceSection";
export { default as MaterialCostSection } from "./section/MaterialCostSection";
export { default as ProductionAdvanceSection } from "./section/ProductionAdvanceSection";
export { default as WorkerAdvanceSection } from "./section/WorkerAdvanceSection";
export { default as DeliveryFormSection } from "./section/DeliveryFormSection";
export type { DeliveryFormSectionRef } from "./section/DeliveryFormSection";
export { default as PurchaseFormSection } from "./section/PurchaseFormSection";
export { default as PurchaseStep1Form } from "./document/Step1Form";
export type { Step1FormRef as PurchaseStep1FormRef } from "./document/Step1Form";
export { default as PurchaseStep2Preview } from "./document/Step2Preview";
export { default as PurchaseStep3Success } from "./document/Step3Success";
export { default as OrderItem } from "./OrderItem";
export { default as OrderList } from "./OrderList";
export { default as CostCreate } from "./cost/CostCreate";
export { default as CostList } from "./cost/CostList";
export { default as CostCard } from "./cost/CostCard";
export { default as PackageList } from "./package/PackageList";
export { default as PackageCard } from "./package/PackageCard";
export { default as PackageCreate } from "./package/PackageCreate";
export { default as OrderSupplierPicker } from "./supplier/OrderSupplierPicker";