| | |
| | | }, |
| | | // 列信息 |
| | | columns: [ |
| | | {title: '物品编号', field: 'goodsCode', align: 'center'}, |
| | | {title: '物品名称', field: 'goodsName', align: 'center'}, |
| | | {title: '分类', field: 'categoryName', align: 'center'}, |
| | | {title: '类别', field: 'classification', align: 'center'}, |
| | | {title: '物品编号', field: 'goodsCode', align: 'center', width: 120}, |
| | | {title: '物品名称', field: 'goodsName', align: 'left', minWidth: 140}, |
| | | {title: '分类', field: 'categoryName', align: 'left', minWidth: 140}, |
| | | {title: '类别', field: 'classification', align: 'center', width: 80}, |
| | | // {title: '采购类型', field: 'categoryId', align: 'center'}, |
| | | {title: '所属机构', field: 'agencyName', align: 'center'}, |
| | | {title: '所属机构', field: 'agencyName', align: 'left', minWidth: 140}, |
| | | { |
| | | title: '创建时间', |
| | | field: 'createDate', |
| | |
| | | // 操作信息 |
| | | operation: { |
| | | show: true, // 显示操作列 |
| | | width: '250', // 列宽 |
| | | width: 160, // 列宽 |
| | | attr: [ |
| | | { |
| | | title: '编辑', |
| | |
| | | // this.$message.warning('请先选择左侧机构') |
| | | // } else { |
| | | this.editSetting.id = null; |
| | | this.editSetting.info = null; |
| | | this.editSetting.title = '新增'; |
| | | this.editSetting.show = true; |
| | | // } |
| | | }, |
| | | showAudit(row) { |
| | | finsystenant.editmaterial(row.id).then(res => { |
| | | // console.log(res,'res'); |
| | | this.editSetting.id = res.id; |
| | | this.editSetting.info = JSON.stringify(res); |
| | | this.editSetting.title = '编辑'; |
| | | this.editSetting.show = true; |
| | | }) |
| | | this.editSetting.id = row.id; |
| | | this.editSetting.title = '编辑'; |
| | | this.editSetting.show = true; |
| | | }, |
| | | // 查询table列表 |
| | | search(pageNum) { |