| | |
| | | export const tableOption = { |
| | | border: true, |
| | | index: true, |
| | | indexFixed: false, |
| | | height: '292px', |
| | | indexLabel: '序号', |
| | | menuAlign: 'center', |
| | |
| | | delBtn: false, |
| | | align: 'center', |
| | | addBtn: false, |
| | | addBtnText: '添加行', |
| | | addRowBtn: true, |
| | | refreshBtn: false, // 是否显示刷新按钮 |
| | | columnBtn: false, // 是否显示显影按钮H |
| | |
| | | minWidth: 200, |
| | | span: 24 |
| | | }, { |
| | | label: '产品类型', |
| | | label: '隶属品牌', |
| | | prop: 'productType', |
| | | cell: true, |
| | | type: 'input', |
| | |
| | | dataType: 'number', |
| | | minWidth: 200, |
| | | span: 24, |
| | | rules:[{message:'类型必须是数字',trigger:'blur'}] |
| | | rules:[{required:true,message:'类型必须是数字',trigger:'blur'}] |
| | | }, { |
| | | label: '收货地址', |
| | | prop: 'shippingAddress', |
| | | cell: true, |
| | | type: 'input', |
| | | type: 'textarea', |
| | | minWidth: 200, |
| | | span: 24 |
| | | span: 24, |
| | | minRows: 1, |
| | | maxRows: 3 |
| | | }, { |
| | | label: '备注', |
| | | label: '产品备注', |
| | | prop: 'remark', |
| | | cell: true, |
| | | type: 'textarea', |