/** Demo 模板页本地种子数据(无后端依赖) */ export const demoUnits: Api.ItemUnit.ItemUnitItem[] = [ { id: 'demo-unit-1', unitCode: 'KG', unitName: '千克', tenantNo: 'demo', orderNum: 1, remark: 'Demo 示例', createTime: '2026-01-01 10:00:00', updateTime: '2026-01-01 10:00:00' }, { id: 'demo-unit-2', unitCode: 'TON', unitName: '吨', tenantNo: 'demo', orderNum: 2, remark: '', createTime: '2026-01-02 10:00:00', updateTime: '2026-01-02 10:00:00' } ] export const demoCategories: Api.Category.CategoryItem[] = [ { id: 'demo-cat-1', name: '化工原料', parentId: '0', sortOrder: 1, isActive: true, imageUrl: '', createAt: '2026-01-01 10:00:00' }, { id: 'demo-cat-2', name: '树脂类', parentId: 'demo-cat-1', sortOrder: 1, isActive: true, imageUrl: '', createAt: '2026-01-01 10:00:00' }, { id: 'demo-cat-3', name: '溶剂类', parentId: 'demo-cat-1', sortOrder: 2, isActive: true, imageUrl: '', createAt: '2026-01-01 10:00:00' } ] export const demoProducts: Api.Product.ProductItem[] = [ { id: 'demo-prod-1', name: '环氧树脂 E-51', categoryId: 'demo-cat-2', categoryName: '树脂类', unitId: 'demo-unit-1', unitName: '千克', description: 'Demo 商品示例', imageUrl: '', isActive: true, createAt: '2026-01-03 10:00:00' }, { id: 'demo-prod-2', name: '丙酮', categoryId: 'demo-cat-3', categoryName: '溶剂类', unitId: 'demo-unit-2', unitName: '吨', description: '', imageUrl: '', isActive: true, createAt: '2026-01-04 10:00:00' } ] export const demoOrders: Api.Order.OrderItem[] = [ { id: 'demo-order-1', orderNo: 'DD202601001', clientId: 'demo-client-1', clientName: '示例客户 A', regionId: 'demo-region-1', regionName: '华东区', priceListId: 'demo-price-1', totalAmount: '12800.00', paidAmount: '12800.00', receivableAmount: '0.00', refundAmount: '0.00', status: 'completed', paymentMethod: 'transfer', contactPerson: '张三', contactPhone: '13800000001', deliveryAddress: '浙江省杭州市示例路 1 号', createAt: '2026-01-10 09:30:00' }, { id: 'demo-order-2', orderNo: 'DD202601002', clientId: 'demo-client-2', clientName: '示例客户 B', regionId: 'demo-region-2', regionName: '华南区', priceListId: 'demo-price-1', totalAmount: '5600.00', paidAmount: '0.00', receivableAmount: '5600.00', refundAmount: '0.00', status: 'pending_payment', paymentMethod: 'cash', contactPerson: '李四', contactPhone: '13800000002', deliveryAddress: '广东省广州市示例路 2 号', createAt: '2026-01-11 14:20:00' } ] export const demoRegions: Api.Region.RegionItem[] = [ { id: 'demo-region-1', name: '华东区', code: 'EAST', isActive: true, sortOrder: 1, createAt: '2026-01-01 10:00:00' }, { id: 'demo-region-2', name: '华南区', code: 'SOUTH', isActive: true, sortOrder: 2, createAt: '2026-01-01 10:00:00' } ]