export const formRules = () => { return [{ field: 'temperatureInterval', type: 'selectil', label: '温度需求', placeholder: '请选择温度需求', required: true, options: [{ label: '常温', value: '常温', }, { label: '冷藏(2-8℃)', value: '冷藏(2-8℃)', }, { label: '冷藏(0-5℃)', value: '冷藏(0-5℃)', }, { label: '冷冻(0℃以下)', value: '冷冻(0℃以下)', } ], }, { field: 'deliveryCondition', type: 'selectil', label: '配送要求', placeholder: '请选择配送要求', required: true, options: [{ label: '保温箱', value: '保温箱', }, { label: '冷藏车', value: '冷藏车', }, { label: '航空', value: '航空', }, { label: '医药整车', value: '医药整车', }, { label: '零担物流', value: '零担物流', } ], }, { field: 'coolerBoxId', type: 'selectkey', label: '保温箱', placeholder: '请选择保温箱', required: true, options: [], }, { field: 'cargoType', type: 'selectil', label: '货物类型', placeholder: '请选择', required: true, options: [{ label: '药品', value: '药品', }, { label: '试剂', value: '试剂', }, { label: '血液制品', value: '血液制品', }, { label: '疫苗', value: '疫苗', }, { label: '其它', value: '其它', } ], }, { field: 'quantity', label: '数量', placeholder: '请输入数量', type: 'input', required: true, }, { field: 'remark', label: '备注', placeholder: '备注', type: 'textarea', }, { field: 'customerName', type: 'input', label: '下单客户', placeholder: '请输入', }, ] } export const pickupRulesil = () => { return [{ field: 'name', label: '姓名', placeholder: '请输入姓名', type: 'input', required: true, }, { field: 'phone', label: '电话', placeholder: '请输入电话', type: 'input', required: true, }, { field: 'address', label: '地址', placeholder: '请输入地址', type: 'input', required: true, }] } export const printList = () => { return [{ arr: [{ arr: [ [{ T_sn: '2024117235321460', T_id: 1, T_rh: 59.8, T_t: 3.1, T_time: '2024-04-24', time: '15:30', }, { T_sn: '2024117235321460', T_id: 2, T_rh: 59.8, T_t: 2.1, T_time: '2024-04-24', time: '15:30', }, { T_sn: '2024117235321460', T_id: 3, T_rh: 59.8, T_t: 23.1, T_time: '2024-04-24', time: '15:30', }, { T_sn: '2024117235321460', T_id: 4, T_rh: 59.8, T_t: 23.1, T_time: '2024-04-24', time: '15:30', } ] ], time: "2024-04-24" }], id: 38, title: '测试', isChecked: true, endTime: '2024-04-24 15:31:18', startTime: '2024-04-24 15:31:18' }, { arr: [{ arr: [ [{ T_sn: '2024117235321460', T_id: 1, T_rh: 59.8, T_t: 3.1, T_time: '2024-04-24', time: '15:30', }, { T_sn: '2024117235321460', T_id: 2, T_rh: 59.8, T_t: 2.1, T_time: '2024-04-24', time: '15:30', }, { T_sn: '2024117235321460', T_id: 3, T_rh: 59.8, T_t: 23.1, T_time: '2024-04-24', time: '15:30', }, { T_sn: '2024117235321460', T_id: 4, T_rh: 59.8, T_t: 23.1, T_time: '2024-04-24', time: '15:30', } ] ], time: "2024-04-24" }], id: 37, title: '测试1', isChecked: true, endTime: '2024-04-24 15:31:18', startTime: '2024-04-24 15:31:18' }, ] }