| | |
| | | import detail from '../distribution/detail'; |
| | | import * as finsystenant from '@/api/baseSetting/finsystenant'; |
| | | import { getBaseUrl } from '@/utils/base'; |
| | | import * as DateFormatter from "@/utils/DateFormatter"; |
| | | |
| | | export default { |
| | | name: 'index', |
| | |
| | | table: { |
| | | showIndex: true, // 是否显示序号 |
| | | expand: false, // 是否显示详情数据 |
| | | url: SettingIplatform.apiBaseURL + '/pc/fin/sys/tenant/select/list', // 请求地址 |
| | | url: SettingIplatform.apiBaseURL + '/pc/l/wh/form/transfer/department/list', // 请求地址 |
| | | // 工具条 |
| | | tools: { |
| | | columnsCtrl: { |
| | |
| | | }, |
| | | // 列信息 |
| | | columns: [ |
| | | { title: '单号', field: 'code', align: 'center' }, |
| | | { title: '物品名称', field: 'lv', align: 'center' }, |
| | | { title: '类别', field: 'lv', align: 'center' }, |
| | | { title: '规格型号', field: 'lv', align: 'center' }, |
| | | { title: '分发数量', field: 'summary', align: 'left' }, |
| | | { title: '所属机构', field: 'summary', align: 'left' }, |
| | | { title: '部门', field: 'summary', align: 'left' }, |
| | | { title: '分发人', field: 'summary', align: 'left' }, |
| | | { title: '操作时间', field: 'summary', align: 'left' }, |
| | | {title: '单号', field: 'businessFormCode', align: 'center', width: 130}, |
| | | {title: '物品名称', field: 'goodsName', align: 'left', minWidth: 140}, |
| | | { |
| | | title: '类别', field: 'type', align: 'center', formatter: (row) => { |
| | | return {value: row.type + '类'}; |
| | | }, |
| | | }, |
| | | {title: '规格型号', field: 'goodsModelName', align: 'left', minWidth: 130}, |
| | | {title: '分发数量', field: 'goodsCount', align: 'center'}, |
| | | {title: '所属机构', field: 'tenantName', align: 'left', minWidth: 130}, |
| | | {title: '部门', field: 'departmentName', align: 'left', minWidth: 130}, |
| | | {title: '分发人', field: 'operatorName', align: 'center'}, |
| | | { |
| | | title: '操作时间', field: 'createTime', align: 'center', |
| | | width: 160, |
| | | formatter: (row) => { |
| | | return {value: DateFormatter.LongToDateTime(row.createTime)}; |
| | | }, |
| | | }, |
| | | ], |
| | | // 操作信息 |
| | | operation: { |
| | | show: true, // 显示操作列 |
| | | width: '200', // 列宽 |
| | | width: 160, // 列宽 |
| | | attr: [ |
| | | { |
| | | title: '使用人', |
| | |
| | | }, |
| | | }; |
| | | }, |
| | | created() {}, |
| | | created() { |
| | | }, |
| | | methods: { |
| | | handleEdit(row) { |
| | | this.editSetting.id = row.id; |