import { ref } from 'vue'; export const mockData = ref([ { id: 1, orderNo: "INT202403150001", customerName: "广州铁路局", status: "0", // Maps to 待处理 initially, will change based on mock workplan status createTime: "2025-02-25", remark: "测试数据1", workPlan: [ { date: "2025-02-25", description: "订单创建时间" }, { date: "2025-03-20", description: "排程排产确定" }, { date: "2025-04-30", description: "原材料采购到货时" }, { date: "2025-05-01", description: "启动生产作业时间" }, { date: "2025-05-28", description: "已经完成生产 80%" }, { date: "2025-06-30", description: "预计生产完成时间" }, { date: "2025-07-30", description: "预计检测完成时间" }, { date: "2025-08-01", description: "预计发货时间" }, ], orderName: "广州铁路局CR400AF轮对订单", type: "订单", deliveryTime: "2025-12-30", currentStatus: "生产中", // Based on image selectedCarType: "CR400AF", // Use a specific model name from carTypeOptions planCount: 2, modelInput: "CR400AF", modelDesc: "高速动车组轮对", selectedPartInfo: { id: 3, name: "动力轮对" }, // Example part info customerAddress: "广州市天河区", zip: "510000", linkman: "张三", linkway: "13921000000", }, { id: 2, orderNo: "INT202403150002", customerName: "长沙铁路局", status: "1", // Maps to 已确认 initially createTime: "2025-02-24 24:27:02", remark: "测试数据2", workPlan: [ { date: "2025-03-01", description: "意向创建时间" }, { date: "2025-03-10", description: "初步沟通" }, { date: "2025-04-01", description: "方案设计" }, ], orderName: "长沙铁路局CR400BF轮对意向", type: "意向单", deliveryTime: "2025-10-31", currentStatus: "设计中", // Based on image selectedCarType: "其他", // This is already consistent with carTypeOptions planCount: 1, modelInput: "", modelDesc: "", selectedPartInfo: null, customerAddress: "长沙市", zip: "410000", linkman: "李四", linkway: "13921000001", }, { id: 3, orderNo: "INT202403150003", customerName: "唐山机车厂", status: "0", // Maps to 待处理 initially createTime: "2025-04-24 24:27:02", remark: "测试数据3", workPlan: [ { date: "2025-03-05", description: "订单创建时间" }, { date: "2025-03-25", description: "排程排产确定" }, ], orderName: "唐山机车厂CRH3A轮对订单", type: "订单", deliveryTime: "2025-07-31", currentStatus: "订单确认中", // Based on image selectedCarType: "JR800AF", // Use a specific model name from carTypeOptions planCount: 3, modelInput: "CRH3A", // Keep this as it's input, not selected modelDesc: "动车组轮对", selectedPartInfo: { id: 3, name: "动力轮对" }, // Example part info customerAddress: "唐山市", zip: "063000", linkman: "张三", linkway: "13921000000", }, { id: 4, orderNo: "INT202403150004", customerName: "西安铁路局", status: "2", // Maps to 已取消 initially createTime: "2025-04-24 24:27:02", remark: "测试数据4", workPlan: [ { date: "2025-03-06", description: "订单创建时间" }, { date: "2025-03-26", description: "订单已取消" }, ], orderName: "西安铁路局CR400AF轮对700量订单", type: "订单", deliveryTime: "2025-07-31", currentStatus: "原料采购中", // Based on image selectedCarType: "CR400AF", // Use a specific model name from carTypeOptions planCount: 5, modelInput: "CR400AF", // Keep this as it's input, not selected modelDesc: "高速动车组轮对", selectedPartInfo: { id: 3, name: "动力轮对" }, // Example part info customerAddress: "西安市", zip: "710000", linkman: "李四", linkway: "13921000001", } ]);