| | |
| | | table: { |
| | | showIndex: true, // 是否显示序号 |
| | | expand: false, // 是否显示详情数据 |
| | | url: SettingIplatform.apiBaseURL + '/pc/l/wh/form/transfer/department/list', // 请求地址 |
| | | url: SettingIplatform.apiBaseURL + '/pc/l/wh/form/scrapped/deptListByModel2', // 请求地址 |
| | | // 工具条 |
| | | tools: { |
| | | columnsCtrl: { |
| | |
| | | // 列信息 |
| | | columns: [ |
| | | {title: '单号', field: 'businessFormCode', align: 'center', width: 130}, |
| | | {title: '物品名称', field: 'goodsName', align: 'left', minWidth: 140}, |
| | | {title: '物品名称', field: 'baseGoodsTemplateName', align: 'left', minWidth: 140}, |
| | | /*{ |
| | | title: '类别', field: 'type', align: 'center', formatter: (row) => { |
| | | return {value: row.type + '类'}; |
| | | }, |
| | | },*/ |
| | | {title: '规格型号', field: 'goodsModelName', align: 'left', minWidth: 130}, |
| | | {title: '报废数量', field: 'count', align: 'center'}, |
| | | {title: '规格型号', field: 'baseGoodsModelsName', align: 'left', minWidth: 130}, |
| | | {title: '报废数量', field: 'counts', align: 'center'}, |
| | | /*{title: '所属机构', field: 'tenantName', align: 'left', minWidth: 130},*/ |
| | | {title: '部门', field: 'departmentName', align: 'left', minWidth: 130}, |
| | | {title: '创建人', field: 'operatorName', align: 'center', width: 100}, |
| | | { |
| | | title: '操作时间', field: 'createTime', align: 'center', |
| | | title: '操作时间', field: 'dealTime', align: 'center', |
| | | width: 160, |
| | | formatter: (row) => { |
| | | return {value: DateFormatter.LongToDateTime(row.createTime)}; |
| | | return {value: DateFormatter.LongToDateTime(row.dealTime)}; |
| | | }, |
| | | }, |
| | | ], |
| | |
| | | // 查询table列表 |
| | | search(pageNum) { |
| | | if (pageNum != undefined) { |
| | | this.$refs.myTable.search(pageNum); |
| | | this.$refs.myTable.search({pageNum}); |
| | | } else { |
| | | this.$refs.myTable.search(); |
| | | } |