| | |
| | | placeholder: '请选择', |
| | | defaultValue: '', |
| | | options: [], |
| | | cascader: [{key: 'goodsModelId', queryKey: 'goodsTemplatesId'}], |
| | | cascader: [{key: 'baseGoodsModelsId', queryKey: 'goodsTemplatesId'}], |
| | | optionsConfig: { |
| | | label: 'goodsName', |
| | | value: 'id', |
| | |
| | | }, |
| | | { |
| | | type: 'select', |
| | | dataIndex: 'goodsModelId', |
| | | dataIndex: 'baseGoodsModelsId', |
| | | label: '规格型号', |
| | | placeholder: '请输入', |
| | | defaultValue: '', |
| | |
| | | }, |
| | | { |
| | | type: 'text', |
| | | dataIndex: 'operatorName', |
| | | dataIndex: 'createName', |
| | | label: '创建人', |
| | | placeholder: '请输入', |
| | | defaultValue: '', |
| | |
| | | }, |
| | | },*/ |
| | | {title: '规格型号', field: 'baseGoodsModelsName', align: 'left', minWidth: 130}, |
| | | {title: '报废数量', field: 'counts', align: 'center'}, |
| | | {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: '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(); |
| | | } |