ttk-app-core
Version:
enterprise develop framework
1,364 lines (1,322 loc) • 63.5 kB
JavaScript
import { consts } from 'edf-consts'
import moment from 'moment'
import utils from 'edf-utils'
import certi from './images/certi.png'
import circle from './images/circle.png'
import shixin from './images/shixin.png'
export function getMeta() {
return {
name: 'root',
component: 'Layout',
className: 'app-account-monthaccount',
children: {
name: 'spin',
component: 'Spin',
tip:'数据加载中...',
className: 'spinContainer',
// spinning:true,
spinning: '{{data.loading}}',
size: 'large',
children:[
{
name: 'header',
component: '::div',
className: 'app-account-monthaccount-header',
children: [
{
name: 'date',
allowClear: false,
component: 'DatePicker.MonthPicker',
className: 'app-account-monthaccount-header-left',
value: '{{$stringToMoment(data.other.period)}}',
placeholder:'',
dropdownClassName: 'app-account-monthaccount-header-datePicker',
monthCellContentRender: '{{$monthCellCustom}}',
onChange: `{{function(d){$setField('data.other.period', $momentToString(d,'YYYY-MM'))}}}`,
disabledDate: `{{function(current){ var disabledDate = new Date(data.other.disabledDate)
return current && current.valueOf() < disabledDate
}}}`,
},
{
name: 'refreshBtn',
component: 'Icon',
fontFamily: 'edficon',
type: 'shuaxin',
className: 'refresh',
title:'刷新',
onClick: '{{$refresh}}'
},
{
name: 'rightBtn',
component: '::div',
className: 'app-account-monthaccount-header-right',
// _visible: false,
_visible: '{{data.other.isEdit&&data.other.currentMenu=="cerficate"}}',
children: [
{
name: 'rightBtn',
component: '::div',
className: 'app-account-monthaccount-header-right-setting',
children: [{
name: 'setting',
component: 'Radio.Group',
// options: '{{data.other.setting}}',
value: '{{data.generateMode}}',
children: [{
name: 'borrow',
component: 'Radio',
value: 1,
children: '系统自动生成'
}, {
name: 'loan',
component: 'Radio',
value: 0,
children: '手工点击生成'
}],
// _visible: '{{data.other.currentMenu=="cerficate"?true:false}}',
onChange: `{{function(v){$setField('data.generateMode',v.target.value)}}}`,
}]
},
{
name: 'create',
component: 'Button',
className: 'create',
_visible:'{{data.generateMode==1?false:true}}',
// type: 'primary',
children: '一键生成',
onClick:'{{function(){$batchGenerate()}}}'
}
]
}
]
},
{
name: 'content',
component: 'Layout',
className: 'app-account-monthaccount-content',
children: [{
name: 'monthLeft',
component: '::div',
className: 'month-left',
children: [
{
name: 'menu1',
component: '::div',
className: '{{data.other.currentMenu=="cerficate"?"currentMenu menu":"menu"}}',
onClick: '{{function(){$clickMenu("cerficate")}}}',
onMouseOver: '{{function(){$mouseMenu("cerficate")}}}',
onMouseLeave:'{{function(){$mouseOutMenu()}}}',
children: [{
name: 'line',
component: '::div',
className: '{{data.other.currentMenuLine=="cerficate"?"currentLine1 menuLeft":"menuLeft"}}',
// className: 'menuLeft currentLine1',
},{
name: 'line',
component: '::div',
className: 'menuRight',
children: [
{
name: 'title',
component: '::div',
className: 'menuTitle',
children: [
{
name: 'num',
component: '::span',
className: 'num',
children: '1'
},
{
name: 'name',
component: '::span',
className: 'name',
children: '期末凭证'
}
]
},
{
name: 'icon',
component: '::div',
className: 'icon',
children: {
name:'img',
component: '::img',
src:`${certi}`
}
},
{
name: 'name',
component: 'Button',
className: 'viewCerficate',
children: '期末凭证'
}
]
},
{
name: 'name',
component: '::div',
className: 'arrow',
}
]
},
{
name: 'menu2',
component: '::div',
className: '{{data.other.currentMenu=="account"?"currentMenu menu1 menu":"menu1 menu"}}',
onClick: '{{function(){$clickMenu("account")}}}',
onMouseOver: '{{function(){$mouseMenu("account")}}}',
onMouseLeave:'{{function(){$mouseOutMenu()}}}',
children: [{
name: 'line',
component: '::div',
className: '{{data.other.currentMenuLine=="account"?"currentLine2 menuLeft":"menuLeft"}}',
// className: 'menuLeft currentLine2',
},{
name: 'line',
component: '::div',
className: 'menuRight',
children: [
{
name: 'title',
component: '::div',
className: 'menuTitle',
children: [
{
name: 'num',
component: '::span',
className: 'num',
children: '2'
},
{
name: 'name',
component: '::span',
className: 'name',
children: '期末结账'
}
]
},
{
name: 'icon',
component: '::div',
className: 'quanWap',
children: [
{
name: 'div1',
component: '::div',
className: '{{data.other.rotation?"div div1 rotation":"div div1"}}',
// children: {
// name:'img',
// component: '::img',
// children: `${circle}`
// }
},
{
name: 'div2',
component: '::div',
className: '{{data.other.rotation?"div div2 ripple":"div div2"}}',
// children: {
// name:'img',
// component: '::img',
// children: `${shixin}`
// }
},
]
// fontFamily: 'edficon',
// type: 'yewu'
},
{
name: 'name',
component: '::div',
className: 'btnContainer',
children: [
{
name: 'name',
component: 'Button',
className: 'checkBtn',
style: {diaplay: 'block',marginRight:'10px'},
children: '{{data.other.checkBtn?"立即检查":"重新检查"}}',
// _visible: '{{data.other.checkBtn}}',
onClick: '{{$accountCheck}}',
},
// {
// name: 'name',
// component: 'Button',
// className: 'checkBtn',
// style: {diaplay: 'block',marginRight:'10px'},
// children: '重新检查',
// _visible: '{{!data.other.checkBtn}}',
// onClick: '{{$accountCheck}}',
// },
{
name: 'name',
component: 'Button',
className: '{{data.other.isEdit?"endingClosingBtn":"endingClosingBtn noEdit"}}',
style: {diaplay: 'block'},
disabled: '{{!data.other.isEdit}}',
_visible: '{{!data.other.unMonthEndingClosingBtn}}',
children: '{{data.immediatelyAccountBtn?"立即结账":"直接结账"}}',
onClick:'{{$monthEndingClosing}}',
},
{
name: 'name',
component: 'Button',
_visible: '{{data.other.unMonthEndingClosingBtn}}',
className: 'unendingClosingBtn endingClosingBtn',
// style: {display: '{{data.finalRecord&&data.finalRecord.month?"inline-block":"none"}}'},
style: {diaplay: 'block',marginRight:'10px'},
children: '反结账',
onClick: '{{$undoMonthEndingClosing}}'
},
]
}
]
},
{
name: 'name',
component: '::div',
className: 'arrow',
}
]
}
]
},
{
name: 'monthRight',
component: '::div',
className: 'month-right',
style: {display: '{{data.other.currentMenu=="account"?"block":"none"}}'},
children: [
// {
// name: 'navheader',
// component: '::div',
// className: 'account-header',
// children: [{
// name: 'header',
// component: '::div',
// className: 'nav-header',
// children: [
// {
// name: 'header',
// component: '::span',
// className: 'nav-header-title',
// children: '本次结账会计期间:'
// },{
// name: 'header',
// component: '::div',
// className: 'nav-header-time',
// children: {
// name: 'header',
// component: '::div',
// className: 'nav-header-subtime',
// children: `{{data.currentAccount && data.currentAccount.year+"年"+data.currentAccount.month +"月"}}`
// }
// },{
// name: 'undoMonthEndingClosing',
// component: 'Button',
// type: 'primary',
// // disabled: '{{data.disabledUndoMonthEndingClosing}}',
// style: {display: '{{data.finalRecord&&data.finalRecord.month?"inline-block":"none"}}'},
// onClick: '{{$undoMonthEndingClosing}}',
// className: 'undoMonthEndingClosing',
// children: '反结账'
// }
// ]
// },{
// name: 'headerbutton1',
// component: 'Button',
// type: 'primary',
// style: {display: '{{data.isBtnShow?"block":"none"}}'},
// onClick: '{{$accountCheck}}',
// className: 'nav-header-button',
// children: '结账检查'
// },{
// name: 'headerbutton3',
// component: 'Button',
// style: {display: '{{data.isAccountShow?"block":"none"}}'},
// type: 'primary',
// // disabled: '{{data.disabled}}',
// onClick:'{{$monthEndingClosing}}',
// className: 'nav-header-button',
// children: '月末结账'
// }
// ,{
// name: 'headerbutton2',
// component: 'Button',
// style: {display: '{{data.isAgainShow?"block":"none"}}'},
// type: 'primary',
// onClick: '{{$accountCheckAgain}}',
// className: 'nav-header-button',
// children: '重新检查'
// }]
// },
{
name: 'spin',
component: '::div',
tip:'数据加载中...',
// className: 'spinContainer',
spinning: false,
// spinning: '{{data.loading}}',
size: 'large',
children: {
name: 'content',
component: 'Collapse',
activeKey: '{{data.activeKey}}',
onChange: '{{function(key){$collapseExpand(key)}}}',
className: 'account-content',
children: [{
name: 'subcontent',
component: 'Collapse.Panel',
disabled: '{{!data.activeBtn}}',
style: {display: '{{data.initialBalanceShow == true?"block":"none"}}'},
className: 'account-content-item',
key: 'item1',
header: {
name: 'subcontent1',
component: '::div',
className: 'item-title',
children: [
{
name: 'left',
component: '::img',
src: '{{$getPhoto("initialBalance")}}',
className: 'title-icon',
},
{
name: 'subcontent1',
component: '::p',
className: 'item-text',
children: '期初余额检查'
},
]
},
// style: {display: '{{JSON.stringify(data.accountCheck.initialBalance) == "{}"?"none":"block"}}'},
children: [{
name: 'subcontent2',
component: '::div',
className: 'item-content1',
style: {display: '{{data.isBtnShow ?"none":"block"}}'},
children:[
{
name: 'subcontent2',
component: '::div',
className: 'item-content',
children: [{
name: 'subcontent2',
component: '::div',
className: '{{data.accountCheck.initialBalance && data.accountCheck.initialBalance.checkPeriodBegin?"subContent":"redSign subContent"}}',
children: [
{
name:'left',
component:'::div',
className:'left',
children: [
{
name: 'icon',
component: 'Icon',
type: '{{data.accountCheck.initialBalance && data.accountCheck.initialBalance.checkPeriodBegin?"chenggongtishi":"jinggao"}}',
fontFamily: 'edficon',
className: 'itemIcon'
// className: '{{data.accountCheck.initialBalance && data.accountCheck.initialBalance.checkPeriodBegin?"itemIcon":"redIcon itemIcon"}}',
},
{
name: 'item',
component: '::div',
style:{display:'inline'},
children: '{{data.accountCheck.initialBalance && data.accountCheck.initialBalance.checkPeriodBegin?"期初余额试算平衡":"期初余额试算不平衡,请处理"}}'
},
]
},
{
name: 'btn1',
component: '::a',
onClick:'{{$goBeginBalance}}',
style:{display:'{{data.accountCheck.initialBalance&&data.accountCheck.initialBalance.checkPeriodBegin?"none":"block"}}'},
className: 'item-btn redBtn',
children: '期初余额'
}
]
},{
name: 'subcontent2',
component: '::div',
style: {display:'{{data.currentAccount&&parseInt(data.currentAccount.month) == 1?"none":"block"}}'},
className: '{{data.accountCheck.initialBalance && data.accountCheck.initialBalance.checkYearBegin?"subContent":"redSign subContent"}}',
children: [
{
name:'left',
component:'::div',
className:'left',
children: [
{
name: 'icon',
component: 'Icon',
type: '{{data.accountCheck.initialBalance && data.accountCheck.initialBalance.checkYearBegin?"chenggongtishi":"jinggao"}}',
fontFamily: 'edficon',
className: 'itemIcon'
},
{
name: 'item',
component: '::div',
children: '{{data.accountCheck.initialBalance && data.accountCheck.initialBalance.checkYearBegin?"年初余额试算平衡":"年初余额试算不平衡,请处理"}}'
}
]
},
{
name: 'btn1',
component: '::a',
onClick:'{{$goBeginBalance}}',
style:{display:'{{data.accountCheck.initialBalance&&data.accountCheck.initialBalance.checkYearBegin?"none":"block"}}'},
className: 'item-btn redBtn',
children: '期初余额'
}
]
},{
name: 'subcontent2',
component: '::div',
className: '{{data.accountCheck.initialBalance && data.accountCheck.initialBalance.checkLossProfit?"subContent":"redSign subContent"}}',
children: [
{
name:'left',
component:'::div',
className:'left',
children: [
{
name: 'icon',
component: 'Icon',
type: '{{data.accountCheck.initialBalance && data.accountCheck.initialBalance.checkLossProfit?"chenggongtishi":"jinggao"}}',
fontFamily: 'edficon',
className: 'itemIcon'
},
{
name: 'item',
component: '::div',
children: '{{data.accountCheck.initialBalance && data.accountCheck.initialBalance.checkLossProfit?"损益类科目的期初余额为0":"损益类科目的期初余额不为0"}}'
}
]
},
{
name: 'btn1',
component: '::a',
onClick:'{{$goBeginBalance}}',
style:{display:'{{data.accountCheck.initialBalance&&data.accountCheck.initialBalance.checkLossProfit?"none":"block"}}'},
className: 'item-btn redBtn',
children: '期初余额'
}
]
}]
},
// {
// name: 'btn1',
// component: 'Button',
// onClick:'{{$goBeginBalance}}',
// style:{display:'{{data.accountCheck.initialBalance&&data.accountCheck.initialBalance.checkPeriodBegin&&data.accountCheck.initialBalance.checkYearBegin&&data.accountCheck.initialBalance.checkLossProfit?"none":"block"}}'},
// className: 'item-btn redBtn',
// children: '期初余额'
// }
]
}]
},
{
name: 'subcontent',
component: 'Collapse.Panel',
disabled: '{{!data.activeBtn}}',
className: 'account-content-item',
key: 'item2',
header: {
name: 'subcontent1',
component: '::div',
className: 'item-title',
children: [
{
name: 'left',
component: '::img',
src: '{{$getPhoto("voucherAudit")}}',
className: 'title-icon',
},
{
name: 'subcontent1',
component: '::p',
className: 'item-text',
children: '凭证检查'
},
]
},
children: [
{
name: 'subcontent2',
component: '::div',
className: 'item-content1',
// style: {display: '{{data.isExpand ?"block":"none"}}'},
children:[
{
name: 'subcontent2',
component: '::div',
className: 'item-content',
children: [{
name: 'subcontent-item1',
component: '::div',
className: '{{data.accountCheck.voucherAudit && data.accountCheck.voucherAudit.docExistence?"subContent":"redSign subContent"}}',
children: [
{
name:'left',
component:'::div',
className:'left',
children: [
{
name: 'icon',
component: 'Icon',
type: '{{data.accountCheck.voucherAudit && data.accountCheck.voucherAudit.docExistence?"chenggongtishi":"jinggao"}}',
fontFamily: 'edficon',
className: 'itemIcon'
},
{
name: 'item',
component: '::div',
children: '{{data.accountCheck.voucherAudit && data.accountCheck.voucherAudit.docExistence?"本月不存在未审核凭证":"本月存在未审核凭证,请处理"}}'
}
]
},
{
name: 'btn1',
component: '::a',
onClick: '{{$goVoucherAudit}}',
style: {display:'{{data.accountCheck.voucherAudit&&data.accountCheck.voucherAudit.docExistence?"none":"block"}}'},
className: '{{data.accountCheck.voucherAudit && data.accountCheck.voucherAudit.docExistence == false?"redBtn item-btn":"item-btn yellowBtn"}}',
children: '凭证管理'
}
]
},{
name: 'subcontent-item2',
component: '::div',
className: 'subContent',
children: [
{
name:'left',
component:'::div',
className:'left',
children: [
{
name: 'icon',
component: 'Icon',
type: 'chenggongtishi',
fontFamily: 'edficon',
className: 'itemIcon'
},
{
name: 'item',
component: '::div',
children:'{{data.accountCheck.voucherAudit&&"本月凭证数:" + data.accountCheck.voucherAudit.docCount}}'
}
]
}
]
},{
name: 'subcontent-item3',
component: '::div',
className: 'subContent',
children: [
{
name:'left',
component:'::div',
className:'left',
children: [
{
name: 'icon',
component: 'Icon',
type: 'chenggongtishi',
fontFamily: 'edficon',
className: 'itemIcon'
},
{
name: 'item',
component: '::div',
children:'{{data.accountCheck.voucherAudit&&"本月已审核凭证数:" + data.accountCheck.voucherAudit.auditDocCount}}'
}
]
}
]
},{
name: 'subcontent2',
component: '::div',
className: '{{data.accountCheck.documentNumber && data.accountCheck.documentNumber.docCodeIsSeries?"subContent":"yellowSign subContent"}}',
children: [
{
name:'left',
component:'::div',
className:'left',
children: [
{
name: 'icon',
component: 'Icon',
type: '{{data.accountCheck.documentNumber && data.accountCheck.documentNumber.docCodeIsSeries?"chenggongtishi":"jinggao"}}',
fontFamily: 'edficon',
className: 'itemIcon'
},
{
name: 'item',
component: '::div',
children: '{{data.accountCheck.documentNumber && data.accountCheck.documentNumber.docCodeIsSeries?"凭证不存在断号":"凭证存在断号,请处理"}}'
}
]
},
{
name: 'btn1',
component: '::a',
onClick: '{{$goVoucherAudit}}',
style: {display:'{{data.accountCheck.voucherAudit&&data.accountCheck.documentNumber.docCodeIsSeries?"none":"block"}}'},
className: '{{data.accountCheck.voucherAudit && data.accountCheck.documentNumber.docCodeIsSeries == false?"yellowBtn item-btn":"item-btn "}}',
children: '凭证管理'
}
]
},{
name: 'subcontent2',
component: '::div',
className: '{{data.accountCheck.documentNumber && data.accountCheck.documentNumber.docCodeIsSequence?"subContent":"yellowSign subContent"}}',
children: [
{
name:'left',
component:'::div',
className:'left',
children: [
{
name: 'icon',
component: 'Icon',
type: '{{data.accountCheck.documentNumber && data.accountCheck.documentNumber.docCodeIsSequence?"chenggongtishi":"jinggao"}}',
fontFamily: 'edficon',
className: 'itemIcon'
},
{
name: 'item',
component: '::div',
children: '{{data.accountCheck.documentNumber && data.accountCheck.documentNumber.docCodeIsSequence?"本月凭证号已按凭证日期排序":"本月凭证号没有按凭证日期排序"}}'
}
]
},
{
name: 'btn1',
component: '::a',
onClick: '{{$goVoucherAudit}}',
style: {display:'{{data.accountCheck.voucherAudit&&data.accountCheck.documentNumber.docCodeIsSequence?"none":"block"}}'},
className: '{{data.accountCheck.voucherAudit && data.accountCheck.documentNumber.docCodeIsSequence == false?"yellowBtn item-btn":"item-btn "}}',
children: '凭证管理'
}
]
}
]
},
// {
// name: 'btn1',
// component: 'Button',
// onClick: '{{$goVoucherAudit}}',
// style: {display:'{{data.accountCheck.voucherAudit&&data.accountCheck.voucherAudit.docExistence&&data.accountCheck.documentNumber.docCodeIsSequence&&data.accountCheck.documentNumber.docCodeIsSeries?"none":"block"}}'},
// className: '{{data.accountCheck.voucherAudit && data.accountCheck.voucherAudit.docExistence == false?"redBtn item-btn":"item-btn yellowBtn"}}',
// children: '凭证管理'
// }
]
}
]
},
{
name: 'subcontent',
component: 'Collapse.Panel',
disabled: '{{!data.activeBtn}}',
className: 'account-content-item',
key: 'item3',
header: {
name: 'subcontent1',
component: '::div',
className: 'item-title',
children: [
{
name: 'left',
component: '::img',
src: '{{$getPhoto("accountBalanceCheck")}}',
className: 'title-icon',
},
{
name: 'subcontent1',
component: '::p',
className: 'item-text',
children: '科目余额'
},
]
},
children: [{
name: 'subcontent2',
component: '::div',
className: 'item-content ',
// style: {display: '{{data.isExpand ?"block":"none"}}'},
children: [{
name: 'subcontent2',
component: '::div',
className: 'subContent accountBalance',
children: {
name: 'option',
component: '::div',
key: '{{_rowIndex}}',
className: 'subItem',
style: {
display: `{{$getSubContentDisplay(data,data.accountCheck.mecBalanceDto.mecDtoList[_rowIndex])}}`
},
children: [
{
name: 'icon',
component: 'Icon',
type: '{{data.accountCheck.mecBalanceDto.mecDtoList[_rowIndex].accountBalance<0?"jinggao":"chenggongtishi"}}',
fontFamily: 'edficon',
className: 'itemIcon'
},
{
name: 'option',
component: '::div',
className: 'item-left',
title: '{{data.accountCheck.mecBalanceDto.mecDtoList[_rowIndex].gradeName}}',
children: '{{data.accountCheck.mecBalanceDto.mecDtoList[_rowIndex].gradeName}}'
},
{
name: 'option',
component: '::div',
style: {display: '{{data.accountCheck.mecBalanceDto.mecDtoList[_rowIndex].accountBalance < 0?"inline-block":"none"}}'},
className: 'item-right ',
children: [
{
name: 'option',
component: '::span',
className: 'item-code yellowSign',
children: '{{data.accountCheck.mecBalanceDto.mecDtoList[_rowIndex].accountCode}}'
},{
name: 'option',
component: '::span',
className: 'item-name yellowSign',
children: '{{data.accountCheck.mecBalanceDto.mecDtoList[_rowIndex].accountName}}'
},{
name: 'option',
component: '::span',
className: 'item-balance yellowSign',
children: '余额小于0,'
},{
name: 'option',
component: '::div',
className: 'item-link',
children: [
{
name: 'option',
component: '::span',
children: '查看',
style:{marginRight:'3px'}
},{
name: 'option',
component: '::a',
className: 'detail',
onClick: '{{function(){$goDetailAccount(data.accountCheck.mecBalanceDto.mecDtoList[_rowIndex].accountCode)}}}',
children: '明细账'
}
]
}
]
},{
name: 'option',
component: '::div',
style: {display: '{{data.accountCheck.mecBalanceDto.mecDtoList[_rowIndex].accountBalance < 0?"none":"inline-block"}}'},
className: 'item-right',
children: '正常'
}
],
_power: 'for in data.accountCheck.mecBalanceDto.mecDtoList'
}
},
{
name: 'subcontent3',
component: '::div',
className: 'subContent accountBalance',
children: {
name: 'option',
component: '::div',
key: '{{_rowIndex}}',
className: 'subItem',
style: {
display: `{{$getSubContent3Display(data.accountCheck.mecBalanceDto.mecBalanceDiffDtoList[_rowIndex])}}`
},
// value: "{{data.accountCheck.accountBalanceCheck[_rowIndex] }}",
children: [
{
name: 'icon',
component: 'Icon',
type: '{{data.accountCheck.mecBalanceDto.mecBalanceDiffDtoList[_rowIndex].diffVal < 0?"jinggao":"chenggongtishi"}}',
fontFamily: 'edficon',
className: 'itemIcon'
},
{
name: 'option',
component: '::div',
className: 'item-left',
title: '{{data.accountCheck.mecBalanceDto.mecBalanceDiffDtoList[_rowIndex].accountCode1.slice(0,4)=="1601"?"固定资产":"无形资产"}}',
children:
`{{$getSubContentChildren1(data.accountCheck.mecBalanceDto.mecBalanceDiffDtoList[_rowIndex])}}`
},
{
name: 'option',
component: '::div',
style: {display: '{{data.accountCheck.mecBalanceDto.mecBalanceDiffDtoList[_rowIndex].diffVal < 0?"inline-block":"none"}}'},
className: 'item-right ',
children: [
{
name: 'option',
component: '::span',
className: 'item-code yellowSign',
style:{marginRight:'5px'},
children: '{{data.accountCheck.mecBalanceDto.mecBalanceDiffDtoList[_rowIndex].accountCode1}}'
},
{
name: 'option',
component: '::span',
className: 'item-name yellowSign',
style:{marginRight:0},
children: '{{data.accountCheck.mecBalanceDto.mecBalanceDiffDtoList[_rowIndex].accountName1}}'
},{
name: 'option',
component: '::span',
className: 'item-balance yellowSign',
// style:{marginRight:0},
children: '原值 -'
},{
name: 'option',
component: '::span',
className: 'item-code yellowSign',
style:{marginRight:'5px'},
children: '{{data.accountCheck.mecBalanceDto.mecBalanceDiffDtoList[_rowIndex].accountCode2}}'
},{
name: 'option',
component: '::span',
className: 'item-name yellowSign',
style:{marginRight:0},
children: '{{data.accountCheck.mecBalanceDto.mecBalanceDiffDtoList[_rowIndex].accountName2}}'
},{
name: 'option',
component: '::span',
className: 'item-name yellowSign',
style:{marginRight:0},
children: `{{$getSubContentChildren2(data.accountCheck.mecBalanceDto.mecBalanceDiffDtoList[_rowIndex])}}`
},{
name: 'option',
component: '::span',
className: 'yellowSign',
children: '<0,'
},{
name: 'option',
component: '::div',
className: 'item-link',
children: [
{
name: 'option',
component: '::span',
children: '查看',
style:{marginRight:'3px'}
},{
name: 'option',
component: '::a',
className: 'detail',
onClick: '{{function(){$goBalanceAccount(data.accountCheck.mecBalanceDto.mecBalanceDiffDtoList[_rowIndex].accountCode1.slice(0,4),data.accountCheck.mecBalanceDto.mecBalanceDiffDtoList[_rowIndex].accountCode2.slice(0,4))}}}',
children: '余额表'
}
]
}
]
},{
name: 'option',
component: '::div',
style: {display: '{{data.accountCheck.mecBalanceDto.mecBalanceDiffDtoList[_rowIndex].diffVal < 0?"none":"inline-block"}}'},
className: 'item-right',
children: '正常'
}
],
_power: 'for in data.accountCheck.mecBalanceDto.mecBalanceDiffDtoList'
}
}
]
}]
},
{
name: 'subcontent',
component: 'Collapse.Panel',
disabled: '{{!data.activeBtn}}',
className: 'account-content-item',
key: 'item4',
header: {
name: 'subcontent1',
component: '::div',
className: 'item-title',
children: [
{
name: 'left',
component: '::img',
src: '{{$getPhoto("profitLoss")}}',
className: 'title-icon',
},
{
name: 'subcontent1',
component: '::p',
className: 'item-text',
children: '损益结转检查'
},
]
},
children: [
{
name: 'subcontent2',
component: '::div',
className: 'item-content1 ',
// style: {display: '{{data.isExpand?"block":"none"}}'},
children: [{
name: 'subcontent2',
component: '::div',
className: 'item-content profitLoss',
style: {display: '{{data.isBtnShow?"none":"flex"}}'},
children: [
{
name: 'left',
component: '::div',
className: 'left',
children: [
{
name: 'icon',
component: 'Icon',
type: '{{data.accountCheck && data.accountCheck.profitLoss == 0?"jinggao":"chenggongtishi"}}',
fontFamily: 'edficon',
className: 'itemIcon'
},
{
name: 'subcontent2',
component: '::div',
style:{display:'inline'},
className: '{{data.accountCheck && data.accountCheck.profitLoss == 0?"redSign subContent":"subContent"}}',
children: '{{data.profitLossAccount && data.profitLossAccount}}'
}
]
},
{
name: 'btn1',
component: '::a',
onClick: '{{$goProfitLoss}}',
style:{display:'{{data.accountCheck&&data.accountCheck.profitLoss == 0?"block":"none"}}'},
className: 'item-btn redBtn',
children: '损益结转'
}
]
},
// {
// name: 'btn1',
// component: 'Button',
// onClick: '{{$goProfitLoss}}',
// style:{display:'{{data.accountCheck&&data.accountCheck.profitLoss == 0?"block":"none"}}'},
// className: 'item-btn redBtn',
// children: '损益结转'
// }
]
}]
},
{
name: 'subcontent',
component: 'Collapse.Panel',
disabled: '{{!data.activeBtn}}',
className: 'account-content-item',
key: 'item5',
header: {
name: 'subcontent1',
component: '::div',
className: 'item-title',
children: [
{
name: 'left',
component: '::img',
src: '{{$getPhoto("reportCheck")}}',
className: 'title-icon',
},
{
name: 'subcontent1',
component: '::p',
className: 'item-text',
children: '财务报表'
},
]
},
children: [
{
name: 'subcontent2',
component: '::div',
className: 'item-content1',
// style: {display: '{{data.isBtnShow?"none":"block"}}'},
children: [
{
name: 'subcontent2',
component: '::div',
className: 'item-content',
children: [{
name: 'subcontent2',
component: '::div',
className: 'subContent accountBalance',
children: [
{
name: 'subcontent14',
component: '::div',
className: '{{data.accountCheck.reportCheck &&data.accountCheck.reportCheck.isNeedBalanceRecalculation?"subItem":""}}',
children: {
name:'reportCheck4',
component:'::span',
className: '{{"link yellowSign"}}',
style: {display: '{{data.accountCheck.reportCheck &&data.accountCheck.reportCheck.isNeedBalanceRecalculation?"block":"none"}}'},
children: '{{"资产负债表数据变更,需要重新计算!"}}',
children:[
{
name: 'icon',
component: 'Icon',
type: '{{data.accountCheck.reportCheck &&data.accountCheck.reportCheck.isNeedBalanceRecalculation?"jinggao":"chenggongtishi"}}',
fontFamily: 'edficon',
className: 'itemIcon'
},
{
name:'reportCheck2',
component:'::span',
children: '{{"资产负债表数据变更,需要重新计算!"}}',
},{
name:'reportCheck2',
component:'::span',
children: '{{"查看"}}',
style:{marginRight:'3px',color:'rgba(0, 0, 0, 0.65)'}
}
,{
name:'reportCheck2',
component:'::a',
style: {marginRight:'3px',textDecoration:'underline'},
onClick: '{{$goBalanceSheetPass}}',
children: '{{"资产负债表"}}',
}
]
}
},{
name: 'subcontent15',
component: '::div',
className: '{{data.accountCheck.reportCheck &&data.accountCheck.reportCheck.isNeedProfitStatementRecalculation?"subItem":""}}',
children: {
name:'reportCheck5',
component:'::span',
className: '{{"link yellowSign"}}',
style: {display: '{{data.accountCheck.reportCheck &&data.accountCheck.reportCheck.isNeedProfitStatementRecalculation?"block":"none"}}'},
children: '{{"利润表数据变更,需要重新计算!"}}',
children:[
{
name: 'icon',
component: 'Icon',
type: '{{data.accountCheck.reportCheck &&data.accountCheck.reportCheck.isNeedProfitStatementRecalculation?"jinggao":"chenggongtishi"}}',
fontFamily: 'edficon',
className: 'itemIcon'
},
{
name:'reportCheck2',
component:'::span',
children: '{{"利润表数据变更,需要重新计算!"}}',
},{
name:'reportCheck2',
component:'::span',
children: '{{"查看"}}',
style:{marginRight:'3px',color:'rgba(0, 0, 0, 0.65)'}
}
,{
name:'reportCheck2',
component:'::a',
onClick: '{{$goBalanceAndProfitStatementPass}}',
style: {textDecoration:'underline'},
children: '{{"利润表"}}',
}
]
}
},
{
name: 'subcontent11',
component: '::div',
// className: 'subItem',
children: [{
name:'reportCheck1',
component:'::span',
className: '{{data.accountCheck.reportCheck &&data.accountCheck.reportCheck.balanceSheetPass?"link subItem":"link subItem redSign"}}',
// style: {display: '{{data.accountCheck.reportCheckForCarryForwardDto &&data.accountCheck.reportCheckForCarryForwardDto.balanceSheetPass?"block":"none"}}'},
children: [
{
name: 'icon',
component: 'Icon',
type: '{{data.accountCheck.reportCheck&&data.accountCheck.reportCheck.balanceSheetPass?"chenggongtishi":"jinggao"}}',
fontFamily: 'edficon',
className: 'itemIcon'
},
{
name:'reportCheck2',
component:'::span',
style:{marginRight:'3px'},
children: '{{data.accountCheck.reportCheck&&data.accountCheck.reportCheck.balanceSheetPass?"资产负债表平衡":"资产负债表不平衡,"}}',
},{
name:'reportCheck2',
component:'::span',
style:{marginRight:'3px',color:'rgba(0, 0, 0, 0.65)'},
children: '{{data.accountCheck.reportCheck &&data.accountCheck.reportCheck.balanceSheetPass?"":"查看"}}'
},{
name:'reportCheck2',
component:'::a',
onClick: '{{$goBalanceSheetPass}}',
style: {marginRight:'3px',textDecoration:'underline'},
children: '{{data.accountCheck.reportCheck &&data.accountCheck.reportCheck.balanceSheetPass?"":"资产负债表"}}'
}
]
},]
},{
name: 'subcontent12',
component: '::div',
// className: 'subItem',
children: {
name:'reportCheck2',
component:'::span',
className: '{{data.accountCheck.reportCheck &&data.accountCheck.reportCheck.balanceAndProfitStatementPass?"link subItem":"link subItem yellowSign"}}',
// style: {display: '{{data.accountCheck.assetCheck &&data.accountCheck.assetCheck.state == false?"block":"none"}}'},
// children: '{{data.accountCheck.reportCheck&&data.accountCheck.reportCheck.balanceAndProfitStatementPass?"资产负债表与利润表勾稽正确":"资产负债表与利润表勾稽不正确"}}',
children: [
{
name: 'icon',
component: 'Icon',
type: '{{data.accountCheck.reportCheck&&data.accountCheck.reportCheck.balanceAndProfitStatementPass?"chenggongtishi":"jinggao"}}',
fontFamily: 'edficon',
className: 'itemIcon'
},
{
name:'reportCheck2',
component:'::span',
children: '{{data.accountCheck.reportCheck&&data.accountCheck.reportCheck.balanceAndProfitStatementPass?"资产负债表与利润表勾稽正确":"资产负债表与利润表勾稽不正确,"}}'
},{
name:'reportCheck2',
component:'::span',
style:{marginRight:'3px',color:'rgba(0, 0, 0, 0.65)'},
children: '{{data.accountCheck.reportCheck&&data.accountCheck.reportCheck.balanceAndProfitStatementPass?"":"查看"}}'
},{
name:'reportCheck2',
component:'::a',
onClick: '{{$goBalanceSheetPass}}',
style: {marginRight:'3px',textDecoration:'underline'},
children: '{{data.accountCheck.reportCheck&&data.accountCheck.reportCheck.balanceAndProfitStatementPass?"":"资产负债表"}}'
},{
name:'reportCheck2',
component:'::a',
className:'pauseMark',
children: '{{data.accountCheck.reportCheck&&data.accountCheck.reportCheck.balanceAndProfitStatementPass?"":"、"}}',
style:{marginRight:'3px'}
},{
name:'reportCheck2',
component:'::a',
style: {textDecoration:'underline'},
onClick: '{{$goBalanceAndProfitStatementPass}}',
children: '{{data.accountCheck.reportCheck&&data.accountCheck.reportCheck.balanceAndProfitStatementPass?"":"利润表"}}'
}]
}
},{
name: 'subcontent13',
component: '::div',
// className: 'subItem',
children: {
name:'reportCheck3',
component:'::span',
className: '{{data.accountCheck.reportCheck &&data.accountCheck.reportCheck.balanceAndCashFlowPass?"link subItem":"link subItem redSign"}}',
// style: {display: '{{data.accountCheck.assetCheck &&data.accountCheck.assetCheck.state == false?"block":"none"}}'},
children: '{{data.accountCheck.reportCheck &&data.accountCheck.reportCheck.balanceAndCashFlowPass?"资产负债表与现金流量表勾稽正确":"资产负债表与现金流量表勾稽不正确"}}',
children:[
{
name: 'icon',
component: 'Icon',
type: '{{data.accountCheck.reportCheck &&data.accountCheck.reportCheck.balanceAndCashFlowPass?"chenggongtishi":"jinggao"}}',
fontFamily: 'edficon',
className: 'itemIcon'
},
{
name:'reportCheck2',
component:'::span',
children: '{{data.accountCheck.reportCheck &&data.accountCheck.reportCheck.balanceAndCashFlowPass?"资产负债表与现金流量表勾稽正确":"资产负债表与现金流量表勾稽不正确,"}}',
},{
name:'reportCheck2',
component:'::span',
children: '{{data.accountCheck.reportCheck &&data.accountCheck.reportCheck.balanceAndCashFlowPass?"":"查看"}}',
style:{marginRight:'3px',color:'rgba(0, 0, 0, 0.65)'}
}
,{
name:'reportCheck2',
component:'::a',
style: {marginRight:'3px',textDecoration:'underline'},
onClick: '{{$goBalanceSheetPass}}',
children: '{{data.accountCheck.reportCheck &&data.accountCheck.reportCheck.balanceAndCashFlowPass?"":"资产负债表"}}',
},{
name:'reportCheck2',
component:'::a',
className:'pauseMark',
children: '{{data.accountCheck.reportCheck &&data.accountCheck.reportCheck.balanceAndCashFlowPass?"":"、"}}',
style:{marginRight:'3px'}
},{
name:'reportCheck2',
component:'::a',
onClick: '{{$goBalanceAndCashFlowPass}}',
style: {textDecoration:'underline'},
children: '{{data.accountCheck.reportCheck &&data.accountCheck.reportCheck.balanceAndCashFlowPass?"":"现金流量表"}}',
}
]
}
}
]
}]
},
// {
// name: 'btn1',
// component: 'Button',
// onClick:'{{$goAssetCheck}}',
// style: {display: '{{data.accountCheck.assetCheck&&data.accountCheck.assetCheck.state?"none":"block"}}'},
// className: 'item-btn yellowBtn',
// children: '折旧/摊销'
// }
]
}]
},
{
name: 'subcontent',
component: 'Collapse.Panel',
disabled: '{{!data.activeBtn}}',
className: 'account-content-item',
key: 'item6',
header: {
name: 'subcontent1',
component: '::div',
className: 'item-title',
children: [
// {
// name: 'left',
// component: 'Icon',
// type: 'zichanqingkuangjiancha',
// fontFamily: 'edficon',
// className: 'title-icon',
// },
{
name: 'left',
component: '::img',
src: '{{$getPhoto("assetCheck")}}',
className: 'title-icon',
},
{
name: 'subcontent1',
component: '::p',
className: 'item-text',
children: '资产情况检查'
},
]
},
children: [
{
name: 'subcontent2',
component: '::div',
className: 'item-content1',
// style: {display: '{{data.isBtnShow?"none":"block"}}'},
children: [
{
name: 'subcontent2',
com