UNPKG

ttk-app-core

Version:
80 lines (79 loc) 1.76 kB
export function getMeta() { return { name: 'root', component: 'Layout', className: 'ttk-scm-app-set-bookkeeping', children: [{ name: 'main', component: 'Spin', tip: '数据加载中...', spinning: '{{data.loading}}', children: [ { component: '::div', children: [ { name: 'tips', component: '::div', className:'set-bookkeeping-tips', children: '为更快捷的记账,请选择发票默认的结算方式和记账日期' }, { name: 'boot-way', component: '::div', className: 'bookkeeping-item', children: [ { component: '::div', children: '结算方式:', className: 'bookkeeping-item-title', }, { component: '::div', children: '{{$renderBookWay()}}' } ] }, { name: 'book-date', component: '::div', className: 'bookkeeping-item', children: [ { component: '::div', className: 'bookkeeping-item-title', children: '记账日期:' }, { component: '::div', children: '{{$renderBookDate()}}' } ] }, { name: 'tips', component: '::div', className:'set-bookkeeping-tips', _visible:'{{data.other.visible}}', children: '注:选择具体账户时,默认本次采集的发票全部现结' }, ] }, ], } ] } } export function getInitState() { return { data: { bankAccount: [], loading: true, form: { accountDateSet: null, settlement: null, bankAccountId: null, id:null } } } }