| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229 |
- import { ZC_STATUS } from "@/config/dict";
- export default {
- height: 'auto',
- calcHeight: 30,
- tip: false,
- searchShow: true,
- searchMenuSpan: 6,
- border: true,
- index: true,
- selection: true,
- labelWidth: 120,
- menuWidth: 220,
- dialogClickModal: false,
- dialogWidth: 500,
- dialogType: "drawer",
- column: [
- {
- label: '月份',
- prop: 'yearAndMonth',
- width: 65,
- align: 'center',
- showOverflowTooltip: true,
- display: false
- },
- {
- label: '研发项目编号',
- prop: 'xmbh',
- type: 'input',
- span: 24,
- width: 100,
- align: 'center',
- showOverflowTooltip: true,
- display: false,
- },
- {
- label: '研发项目名称',
- prop: 'xmId',
- span: 24,
- hide: true,
- rules: [{
- required: true,
- message: '请选择资产名称',
- trigger: 'blur'
- }]
- },
- {
- label: '研发项目名称',
- prop: 'xmmc',
- type: 'input',
- span: 24,
- search: true,
- width: 120,
- showOverflowTooltip: true,
- display: false,
- },
- {
- label: '无形资产编码',
- prop: 'zcbm',
- type: 'input',
- span: 24,
- width: 100,
- align: 'center',
- showOverflowTooltip: true,
- display: false,
- },
- {
- label: '无形资产名称',
- prop: 'assetId',
- span: 24,
- hide: true,
- rules: [{
- required: true,
- message: '请选择资产名称',
- trigger: 'blur'
- }]
- },
- {
- label: '无形资产名称',
- prop: 'zcmc',
- type: 'input',
- span: 24,
- minWidth: 140,
- search: true,
- showOverflowTooltip: true,
- display: false,
- },
- {
- label: '资产类别',
- prop: 'zclb',
- type: 'select',
- dicUrl: '/api/kd-system/dict/dictionary?code=zclb',
- props: {
- label: 'dictValue',
- value: 'dictKey',
- },
- span: 24,
- width: 85,
- align: 'center',
- showOverflowTooltip: true,
- display: false,
- },
- {
- label: '功率',
- prop: 'gl',
- type: 'input',
- span: 24,
- width: 70,
- align: 'center',
- showOverflowTooltip: true,
- display: false,
- },
- {
- label: '用途',
- prop: 'yt',
- type: 'select',
- dicUrl: '/api/kd-system/dict/dictionary?code=zcyt',
- props: {
- label: 'dictValue',
- value: 'dictKey',
- },
- search: true,
- span: 24,
- width: 60,
- align: 'center',
- showOverflowTooltip: true,
- display: false,
- },
- {
- label: '摊销开始时间',
- prop: 'kssj',
- type: 'date',
- valueFormat: 'yyyy-MM-dd',
- span: 24,
- width: 95,
- align: 'center',
- showOverflowTooltip: true,
- display: false,
- },
- {
- label: '使用寿命(月)',
- prop: 'sysm',
- type: 'number',
- span: 24,
- width: 90,
- search: true,
- align: 'center',
- showOverflowTooltip: true,
- display: false,
- },
- {
- label: '已使用月数',
- prop: 'ysysm',
- type: 'number',
- span: 24,
- width: 85,
- align: 'center',
- display: false,
- search: true,
- showOverflowTooltip: true,
- display: false,
- },
- {
- label: '资产原值(元)',
- prop: 'zcyz',
- type: 'number',
- span: 24,
- width: 95,
- align: 'center',
- search: true,
- showOverflowTooltip: true,
- display: false,
- },
- {
- label: '净残值率(%)',
- prop: 'jcz',
- type: 'number',
- span: 24,
- width: 80,
- align: 'center',
- showOverflowTooltip: true,
- display: false,
- formatter:(row, value)=>{
- return value+'%'
- }
- },
- {
- label: '月摊销额(每节点/套)(K)',
- prop: 'yzje',
- type: 'number',
- span: 24,
- width: 120,
- align: 'center',
- search: true,
- showOverflowTooltip: true,
- display: false,
- },
- {
- label: '使用人',
- prop: 'userUnicode',
- type: 'select',
- span: 24,
- align: 'center',
- showOverflowTooltip: true,
- hide: true,
- },
- {
- label: '使用人',
- prop: 'userName',
- width: 80,
- align: 'center',
- showOverflowTooltip: true,
- display: false,
- },
- {
- label: '状态',
- prop: 'status',
- type: 'select',
- dicData: ZC_STATUS,
- search: true,
- span: 24,
- width: 90,
- align: 'center',
- showOverflowTooltip: true,
- display: false,
- }
- ],
- };
|