|
@@ -111,7 +111,7 @@
|
|
|
:pagination="ipagination"
|
|
|
:loading="loading"
|
|
|
:rowSelection="{fixed:true,selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
|
|
|
-
|
|
|
+ :scroll="{ x: 1500 }"
|
|
|
@change="handleTableChange">
|
|
|
|
|
|
<template slot="htmlSlot" slot-scope="text">
|
|
@@ -199,57 +199,68 @@
|
|
|
{
|
|
|
title:'资产编号',
|
|
|
align:"center",
|
|
|
+ width:100,
|
|
|
dataIndex: 'assetNumber'
|
|
|
},
|
|
|
{
|
|
|
title:'资产名称',
|
|
|
align:"center",
|
|
|
- dataIndex: 'assetName'
|
|
|
+ dataIndex: 'assetName',
|
|
|
+ width:100,
|
|
|
},
|
|
|
{
|
|
|
title:'资产类别',
|
|
|
align:"center",
|
|
|
- dataIndex: 'assetsCategory'
|
|
|
+ dataIndex: 'assetsCategory',
|
|
|
+ width:100,
|
|
|
},
|
|
|
{
|
|
|
title:'品牌',
|
|
|
align:"center",
|
|
|
- dataIndex: 'brand'
|
|
|
+ dataIndex: 'brand',
|
|
|
+ width:80,
|
|
|
},
|
|
|
{
|
|
|
title:'单位名称',
|
|
|
align:"center",
|
|
|
- dataIndex: 'unitName'
|
|
|
+ dataIndex: 'unitName',
|
|
|
+ width:100,
|
|
|
},
|
|
|
{
|
|
|
title:'规格型号',
|
|
|
align:"center",
|
|
|
- dataIndex: 'model'
|
|
|
+ dataIndex: 'model',
|
|
|
+ width:100,
|
|
|
},
|
|
|
{
|
|
|
title:'计量单位',
|
|
|
align:"center",
|
|
|
- dataIndex: 'unit'
|
|
|
+ dataIndex: 'unit',
|
|
|
+ width:100,
|
|
|
},
|
|
|
{
|
|
|
title:'数量',
|
|
|
align:"center",
|
|
|
- dataIndex: 'quantity'
|
|
|
+ dataIndex: 'quantity',
|
|
|
+ width:80,
|
|
|
},
|
|
|
{
|
|
|
title:'金额',
|
|
|
align:"center",
|
|
|
- dataIndex: 'amount'
|
|
|
+ dataIndex: 'amount',
|
|
|
+ width:80,
|
|
|
},
|
|
|
{
|
|
|
title:'使用年限',
|
|
|
align:"center",
|
|
|
- dataIndex: 'exp'
|
|
|
+ dataIndex: 'exp',
|
|
|
+ width:100,
|
|
|
},
|
|
|
{
|
|
|
title:'购置日期',
|
|
|
align:"center",
|
|
|
dataIndex: 'purhcaseDate',
|
|
|
+ width:100,
|
|
|
customRender:function (text) {
|
|
|
return !text?"":(text.length>10?text.substr(0,10):text)
|
|
|
}
|
|
@@ -258,6 +269,7 @@
|
|
|
title:'入库日期',
|
|
|
align:"center",
|
|
|
dataIndex: 'inDate',
|
|
|
+ width:100,
|
|
|
customRender:function (text) {
|
|
|
return !text?"":(text.length>10?text.substr(0,10):text)
|
|
|
}
|
|
@@ -265,27 +277,32 @@
|
|
|
{
|
|
|
title:'存放地点',
|
|
|
align:"center",
|
|
|
- dataIndex: 'place'
|
|
|
+ dataIndex: 'place',
|
|
|
+ width:100,
|
|
|
},
|
|
|
{
|
|
|
title:'使用人',
|
|
|
align:"center",
|
|
|
- dataIndex: 'user'
|
|
|
+ dataIndex: 'user',
|
|
|
+ width:90,
|
|
|
},
|
|
|
{
|
|
|
title:'使用部门',
|
|
|
align:"center",
|
|
|
- dataIndex: 'userDept'
|
|
|
+ dataIndex: 'userDept',
|
|
|
+ width:100,
|
|
|
},
|
|
|
{
|
|
|
title:'资产状态',
|
|
|
align:"center",
|
|
|
- dataIndex: 'state'
|
|
|
+ dataIndex: 'state',
|
|
|
+ width:100,
|
|
|
},
|
|
|
{
|
|
|
title:'入库人',
|
|
|
align:"center",
|
|
|
dataIndex: 'operator',
|
|
|
+ width:90,
|
|
|
// customRender: (value, row, index) => {
|
|
|
// const obj = {
|
|
|
// children: value,
|
|
@@ -299,6 +316,7 @@
|
|
|
title:'入库部门',
|
|
|
align:"center",
|
|
|
dataIndex: 'operatorDept',
|
|
|
+ width:100,
|
|
|
// customRender: (value, row, index) => {
|
|
|
// const obj = {
|
|
|
// children: value,
|
|
@@ -312,6 +330,7 @@
|
|
|
title:'入库日期',
|
|
|
align:"center",
|
|
|
dataIndex: 'operatorDate',
|
|
|
+ width:100,
|
|
|
// customRender: (value, row, index) => {
|
|
|
// const obj = {
|
|
|
// children: value,
|
|
@@ -325,6 +344,7 @@
|
|
|
title: '操作',
|
|
|
dataIndex: 'action',
|
|
|
align:"center",
|
|
|
+ width:120,
|
|
|
customRender: (value, row, index) => {
|
|
|
const obj = {
|
|
|
children:
|