123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125 |
- export const formRules = () => {
- return [{
- field: 'deliveryName',
- label: '配送人',
- placeholder: '请选择配送人',
- type: 'selectiveSearch',
- required: true,
- }, {
- field: 'reCheckName',
- label: '复核人',
- placeholder: '请选择复核人',
- type: 'selectiveSearch',
- required: true,
- }, {
- field: 'tamperProofLabel',
- label: '防拆标签码',
- placeholder: '请输入防拆标签码',
- type: 'input',
- required: true,
- }, {
- field: 'tamperProofLabelImg',
- label: '防拆标签图片',
- placeholder: '请上传防拆标签图片',
- type: 'upload',
- required: true,
- }, {
- field: 'remark',
- label: '备注',
- placeholder: '备注',
- type: 'textarea',
- }]
- }
- 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 iceRaftRulesil = () => {
- return [{
- field: 'code',
- label: '编号',
- placeholder: '请输入编号',
- type: 'input',
- required: true,
- }, {
- field: 'label',
- label: '冰排备注',
- placeholder: '请输入冰排备注',
- type: 'input',
- required: true,
- }, {
- field: 'status',
- label: '状态',
- placeholder: '请选择状态',
- type: 'selectiveSearch',
- required: true,
- options: [{
- value: '2',
- label: '正常'
- }, {
- value: '1',
- label: '停用'
- }]
- }, {
- field: 'freezeClaim',
- label: '冷冻要求',
- placeholder: '请输入冷冻时间',
- type: 'selectiveSearch',
- required: true,
- options: [{
- label: '48小时',
- value: 48,
- }, {
- label: '24小时',
- value: 24,
- }, {
- label: '12小时',
- value: 12,
- }]
- }, {
- field: 'suitableForCold',
- label: '释冷温度',
- placeholder: '请输入释冷温度',
- type: 'input',
- required: true,
- }, {
- field: 'iceColdAddress',
- label: '释冷地点',
- placeholder: '请输入释冷地点',
- type: 'input',
- required: true,
- }]
- }
- export const printList = () => {
- return [{
- field: 'name',
- label: '姓名',
- placeholder: '请输入姓名',
- type: 'input',
- required: true,
- }, {
- field: 'phone',
- label: '电话',
- placeholder: '请输入电话',
- type: 'input',
- required: true,
- }]
- }
|