export const formRules = () => { return [ { field: 'T_sn', label: '1、充装管道压力', placeholder: '充装管道压力', type: 'input', colWidth: 12, unit: 'MPa', rules: [{ required: true, message: '请输入充装管道压力', trigger: 'blur' }] }, { field: 'T_sn', label: '2、充装重量', placeholder: '充装重量', type: 'input', colWidth: 12, unit: 'kg', rules: [{ required: true, message: '请输入充装重量', trigger: 'blur' }] }, { field: 'T_sn', label: '3、复称重量', placeholder: '复称重量', type: 'input', colWidth: 12, unit: 'kg', rules: [{ required: true, message: '请输入复称重量', trigger: 'blur' }] }, { field: 'T_name', label: '4、是否腐蚀', type: 'radio', colWidth: 12, rules: [{ required: true, message: '请选择是否腐蚀', trigger: 'change' }], options: [{ label: '无', value: "1", }, { label: '有', value: "2", } ] }, { field: 'T_name', label: '5、是否有裂纹', type: 'radio', colWidth: 12, rules: [{ required: true, message: '请选择是否有裂纹', trigger: 'change' }], options: [{ label: '无', value: "1", }, { label: '有', value: "2", } ] }, { field: 'T_name', label: '6、是否变形', type: 'radio', colWidth: 12, rules: [{ required: true, message: '请选择是否变形', trigger: 'change' }], options: [{ label: '无', value: "1", }, { label: '有', value: "2", } ] }, { field: 'T_name', label: '7、是否有损伤', type: 'radio', colWidth: 12, rules: [{ required: true, message: '请选择是否有损伤', trigger: 'change' }], options: [{ label: '无', value: "1", }, { label: '有', value: "2", } ] }, { field: 'T_name', label: '8、安全附件完好', type: 'radio', colWidth: 12, rules: [{ required: true, message: '请选择安全附件完好状态', trigger: 'change' }], options: [{ label: '完好', value: "1", }, { label: '缺失', value: "2", } ] }, { field: 'T_name', label: '9、余压正常(或抽真空)', type: 'radio', colWidth: 12, rules: [{ required: true, message: '请选择余压状态', trigger: 'change' }], options: [{ label: '正常', value: "1", }, { label: '不正常', value: "2", } ] }, { field: 'T_name', label: '10、瓶体有无变形', type: 'radio', colWidth: 12, rules: [{ required: true, message: '请选择瓶体有无变形', trigger: 'change' }], options: [{ label: '无', value: "1", }, { label: '有', value: "2", } ] }, { field: 'T_name', label: '11、充装过程有无泄漏', type: 'radio', colWidth: 12, rules: [{ required: true, message: '请选择充装过程有无泄漏', trigger: 'change' }], options: [{ label: '无', value: "1", }, { label: '有', value: "2", } ] }, { field: 'T_name', label: '12、瓶体温度正常', type: 'radio', colWidth: 12, rules: [{ required: true, message: '请选择瓶体温度正常状态', trigger: 'change' }], options: [{ label: '正常', value: "1", }, { label: '不正常', value: "2", } ] }, { field: 'T_name', label: '13、充装后有无泄漏', type: 'radio', colWidth: 12, rules: [{ required: true, message: '请选择充装后有无泄漏', trigger: 'change' }], options: [{ label: '无', value: "1", }, { label: '有', value: "2", } ] }, { field: 'T_name', label: '14、警示标志完好', type: 'radio', colWidth: 12, rules: [{ required: true, message: '请选择警示标志完好状态', trigger: 'change' }], options: [{ label: '完好', value: "1", }, { label: '缺失', value: "2", } ] }, { field: 'T_name', label: '15、充装标签完好', type: 'radio', colWidth: 12, rules: [{ required: true, message: '请选择充装标签完好状态', trigger: 'change' }], options: [{ label: '完好', value: "1", }, { label: '缺失', value: "2", } ] }, { field: 'T_name', label: '16、封口完好', type: 'radio', colWidth: 12, rules: [{ required: true, message: '请选择封口完好状态', trigger: 'change' }], options: [{ label: '完好', value: "1", }, { label: '缺失', value: "2", } ] }, ] }