| | |
| | | </div> |
| | | </div> |
| | | <div class="one-hed"> |
| | | <div class="box"><span class="span-two">部门:</span>{{ item.agencyName }}</div> |
| | | <div class="box"><span class="span-two">部门:</span>{{ item.departmentName }}</div> |
| | | <div class="box"><span class="span-two">操作人:</span>{{ item.operatorName }}</div> |
| | | <div class="box"> |
| | | <span class="span-two">报废时间:</span>{{ item.dealTime | formatTime }} |
| | |
| | | import edit from './edit'; |
| | | import detail from './detail'; |
| | | import listPage from '@/views/mixins/listPage' |
| | | import {getUserDetail} from "@/utils/auth"; |
| | | import SettingIplatform from "@/utils/settingIplatform"; |
| | | |
| | | export default { |
| | | name: 'index', |
| | |
| | | }, |
| | | { |
| | | type: 'select', |
| | | dataIndex: 'businessFormCode', |
| | | dataIndex: 'inAgencyId', |
| | | label: '分发部门', |
| | | placeholder: '请输入', |
| | | placeholder: '请选择', |
| | | optionsConfig: { |
| | | url: `/pc/fin/sys/tenant/department/list/all?tenantId=${getUserDetail().tenantId}`, |
| | | label: 'name', |
| | | value: 'id', |
| | | }, |
| | | defaultValue: '', |
| | | options:[] |
| | | options: [], |
| | | }, |
| | | { |
| | | type: 'text', |
| | | dataIndex: 'goodsName', |
| | | type: 'select', |
| | | dataIndex: 'goodsTemplateId', |
| | | label: '物品名称', |
| | | placeholder: '可模糊搜索', |
| | | defaultValue: '', |
| | | }, |
| | | { |
| | | type: 'text', |
| | | dataIndex: 'createName', |
| | | label: '报废人', |
| | | placeholder: '请输入', |
| | | defaultValue: '', |
| | | options: [], |
| | | optionsConfig: { |
| | | label: 'goodsName', |
| | | value: 'id', |
| | | url: SettingIplatform.apiBaseURL + `/pc/base/goods/template/query/goodsTemplate?tenantId=${getUserDetail().tenantId}`, |
| | | }, |
| | | }, |
| | | { |
| | | type: 'date-picker', |
| | |
| | | this.total = res.totalRows; |
| | | this.loading = false; |
| | | }); |
| | | }, |
| | | fifterForm(params) { |
| | | this.filterFrom = Object.assign(this.filterFrom, params); |
| | | if (this.filterFrom.startTime) { |
| | | this.filterFrom.startTime = this.filterFrom.startTime.replace(/\-/g, ''); |
| | | } |
| | | if (this.filterFrom.endTime) { |
| | | this.filterFrom.endTime = this.filterFrom.endTime.replace(/\-/g, ''); |
| | | } |
| | | if (this.filterFrom.agencyId&&this.filterFrom.agencyId.length) { |
| | | this.filterFrom.agencyId = this.filterFrom.agencyId[this.filterFrom.agencyId.length - 1]; |
| | | } |
| | | this.search(1); |
| | | }, |
| | | }, |
| | | }; |