| | |
| | | <div class="filter-container" style="margin-bottom: 10px"> |
| | | <my-search ref="searchBar" :items="items" @search="filterForm"></my-search> |
| | | </div> |
| | | <div class="title" align="center">物品统计表</div> |
| | | <div class="title">物品统计表</div> |
| | | <el-table |
| | | v-loading="loading" |
| | | :data="tableData" |
| | | border |
| | | style="width: 100%"> |
| | | <el-table-column |
| | | fixed="left" |
| | | align="center" |
| | | prop="orgName" |
| | | label="机构" |
| | | width="150"> |
| | | min-width="150"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | fixed="left" |
| | | align="center" |
| | | prop="warehouseName" |
| | | label="仓库/部门" |
| | | width="150"> |
| | | min-width="150"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | fixed="left" |
| | | align="center" |
| | | prop="goodsCode" |
| | | label="物品编码" |
| | | width="150"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | fixed="left" |
| | | align="center" |
| | | prop="goodsTemplateName" |
| | | label="物品名称" |
| | | width="150"> |
| | | min-width="150"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | fixed="left" |
| | | align="center" |
| | | prop="baseGoodsModelsName" |
| | | label="规格型号" |
| | | width="150"> |
| | | min-width="150"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | fixed="left" |
| | | align="center" |
| | | prop="zaiKuNum" |
| | | label="在库/在用数量" |
| | |
| | | </el-table-column> |
| | | |
| | | <el-table-column |
| | | fixed="left" |
| | | align="center" |
| | | prop="baoFeiNum" |
| | | label="报废数" |
| | | width="150"> |
| | | </el-table-column> |
| | | <!-- <el-table-column--> |
| | | <!-- align="center"--> |
| | | <!-- prop="diaoBoNum"--> |
| | | <!-- label="调拨数"--> |
| | | <!-- width="150">--> |
| | | <!-- </el-table-column>--> |
| | | <el-table-column |
| | | fixed="left" |
| | | align="center" |
| | | prop="diaoBoNum" |
| | | label="调拨数" |
| | | width="150"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | fixed="left" |
| | | align="center" |
| | | prop="totalNum" |
| | | label="总数量" |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import {getGoodsStatistics} from '@/api/dashboard/goodsStatis.js' |
| | | import {formatDate,LongToDate} from "@/utils/DateFormatter"; |
| | | import {downLoad} from "@/utils/base"; |
| | | import SettingIplatform from '@/utils/settingIplatform'; |
| | | import {getGoodsStatistics} from '@/api/dashboard/goodsStatis.js' |
| | | import {formatDate} from "@/utils/DateFormatter"; |
| | | import SettingIplatform from '@/utils/settingIplatform'; |
| | | |
| | | export default { |
| | | export default { |
| | | data() { |
| | | return { |
| | | items: [ |
| | |
| | | placeholder: '请选择', |
| | | defaultValue: '', |
| | | options: [], |
| | | cascader: [{key:'warehouseId',queryKey: 'agencyId'},{key:'goodsTemplateId',queryKey: 'agencyId'}], |
| | | cascader: [{key:'baseWarehouseId',queryKey: 'agencyId'},{key:'goodsTemplateId',queryKey: 'agencyId'}], |
| | | optionsConfig: { url: '/pc/fin/sys/tenant/select/tree_fin_tenant', props: null }, |
| | | }, |
| | | { |