| | |
| | | allowClear: true |
| | | }, |
| | | { |
| | | type: 'radio', |
| | | type: 'text', |
| | | field: 'business_type', |
| | | label: '发票类型', |
| | | initval: wrap.business_type || 'sell', |
| | | required: true, |
| | | options: [ |
| | | {value: 'sell', label: '销项发票'}, |
| | | {value: 'buy', label: '进项发票'}, |
| | | ] |
| | | label: '开票类型', |
| | | initval: wrap.business_type || 'sell_01', |
| | | required: true |
| | | }, |
| | | { |
| | | type: 'color', |
| | |
| | | allowClear: true, |
| | | required: false |
| | | }, |
| | | { |
| | | type: 'radio', |
| | | field: 'backBtn', |
| | | label: '返回按钮', |
| | | initval: wrap.backBtn || 'hide', |
| | | required: true, |
| | | options: [ |
| | | {value: 'hide', label: '隐藏'}, |
| | | {value: 'show', label: '显示'}, |
| | | ] |
| | | }, |
| | | ] |
| | | |
| | | return wrapForm |