| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155 |
- export default {
- height: 'auto',
- calcHeight: 30,
- tip: false,
- searchShow: true,
- searchMenuSpan: 6,
- border: true,
- index: true,
- addBtn: false,
- menu: false,
- selection: false,
- searchLabelWidth: 140,
- labelWidth: 140,
- menuWidth: 220,
- dialogClickModal: false,
- dialogWidth: 760,
- dialogType: "drawer",
- column: [
- {
- label: '月份',
- prop: 'month',
- type: 'input',
- width: 100,
- align: 'center',
- showOverflowTooltip: true,
- },
- {
- label: '研发项目编号',
- prop: 'yfzcbh',
- type: 'input',
- width: 160,
- align: 'center',
- search: true,
- showOverflowTooltip: true,
- },
- {
- label: '研发项目名称',
- prop: 'yfxmmc',
- type: 'input',
- search: true,
- width: 160,
- showOverflowTooltip: true,
- },
- {
- label: '资产编码',
- prop: 'zcbm',
- type: 'select',
- width: 120,
- align: 'center',
- showOverflowTooltip: true,
- },
- {
- label: '资产名称',
- prop: 'zcmc',
- width: 140,
- align: 'center',
- showOverflowTooltip: true,
- },
- {
- label: '资产类别',
- prop: 'zclb',
- type: 'select',
- width: 120,
- align: 'center',
- dicUrl: '/api/kd-system/dict/dictionary?code=asset_category',
- search: true,
- props: {
- label: 'dictValue',
- value: 'dictKey',
- },
- showOverflowTooltip: true,
- },
- {
- label: '功率',
- prop: 'gl',
- type: 'input',
- width: 90,
- align: 'center',
- showOverflowTooltip: true,
- },
- {
- label: '用途',
- prop: 'yt',
- type: 'select',
- width: 90,
- dicUrl: '/api/kd-system/dict/dictionary?code=asset_category',
- search: true,
- props: {
- label: 'dictValue',
- value: 'dictKey',
- },
- align: 'center',
- showOverflowTooltip: true,
- },
- {
- label: '折旧开始时间',
- prop: 'zjkssj',
- type: 'date',
- valueFormat: 'yyyy-MM-dd',
- width: 120,
- search: true,
- align: 'center',
- showOverflowTooltip: true,
- },
- {
- label: '使用寿命(月)',
- prop: 'sysm',
- type: 'number',
- width: 90,
- search: true,
- align: 'center',
- showOverflowTooltip: true,
- },
- {
- label: '已使用月数',
- prop: 'ysyys',
- type: 'number',
- width: 110,
- search: true,
- align: 'center',
- showOverflowTooltip: true,
- },
- {
- label: '资产原值(元)',
- prop: 'zcyz',
- type: 'number',
- width: 110,
- search: true,
- align: 'center',
- showOverflowTooltip: true,
- },
- {
- label: '净残值率(%)',
- prop: 'jcz',
- type: 'number',
- width: 110,
- search: true,
- align: 'center',
- showOverflowTooltip: true,
- formatter:(row, value)=>{
- return value+'%'
- }
- },
- {
- label: '月折旧额/月摊销额(元)',
- prop: 'zje',
- type: 'number',
- width: 150,
- search: true,
- align: 'center',
- showOverflowTooltip: true,
- },
- ],
- };
|