站内库存查询
This commit is contained in:
		
							parent
							
								
									526646f27c
								
							
						
					
					
						commit
						a88ff52693
					
				| 
						 | 
					@ -522,6 +522,13 @@ export function getRetainedEquipmentListApi(query) {
 | 
				
			||||||
    params: query
 | 
					    params: query
 | 
				
			||||||
  })
 | 
					  })
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					export function getStoreNumAndUseListApi(query) {
 | 
				
			||||||
 | 
					  return request({
 | 
				
			||||||
 | 
					    url: '/material/material_maMachine/getStoreNumAndUseList',
 | 
				
			||||||
 | 
					    method: 'get',
 | 
				
			||||||
 | 
					    params: query
 | 
				
			||||||
 | 
					  })
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// 保有设备总量查询-无分页
 | 
					// 保有设备总量查询-无分页
 | 
				
			||||||
export function getRetainedEquipmentListNoPageApi(query) {
 | 
					export function getRetainedEquipmentListNoPageApi(query) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -84,7 +84,7 @@
 | 
				
			||||||
          </span>
 | 
					          </span>
 | 
				
			||||||
        </template>
 | 
					        </template>
 | 
				
			||||||
      </el-table-column>
 | 
					      </el-table-column>
 | 
				
			||||||
      <el-table-column label="总保有量" align="center" prop="allNum" :show-overflow-tooltip="true"></el-table-column>
 | 
					      <!-- <el-table-column label="总保有量" align="center" prop="allNum" :show-overflow-tooltip="true"></el-table-column> -->
 | 
				
			||||||
      <!-- <el-table-column label="总保有量资产(万元)" align="center" prop="totalPrice" :show-overflow-tooltip="true" /> -->
 | 
					      <!-- <el-table-column label="总保有量资产(万元)" align="center" prop="totalPrice" :show-overflow-tooltip="true" /> -->
 | 
				
			||||||
      <el-table-column label="管理模式" align="center" prop="manageType" :show-overflow-tooltip="true" />
 | 
					      <el-table-column label="管理模式" align="center" prop="manageType" :show-overflow-tooltip="true" />
 | 
				
			||||||
    </el-table>
 | 
					    </el-table>
 | 
				
			||||||
| 
						 | 
					@ -198,7 +198,7 @@
 | 
				
			||||||
import {
 | 
					import {
 | 
				
			||||||
  getStorageInfoListApi,
 | 
					  getStorageInfoListApi,
 | 
				
			||||||
  getUserRecordListApi,
 | 
					  getUserRecordListApi,
 | 
				
			||||||
  getRetainedEquipmentListApi,
 | 
					  getStoreNumAndUseListApi,
 | 
				
			||||||
  getRetainedEquipmentListNoPageApi
 | 
					  getRetainedEquipmentListNoPageApi
 | 
				
			||||||
} from '@/api/materialsStation'
 | 
					} from '@/api/materialsStation'
 | 
				
			||||||
export default {
 | 
					export default {
 | 
				
			||||||
| 
						 | 
					@ -272,7 +272,7 @@ export default {
 | 
				
			||||||
        pageNum: this.queryParams.pageNum
 | 
					        pageNum: this.queryParams.pageNum
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
      try {
 | 
					      try {
 | 
				
			||||||
        const res = await getRetainedEquipmentListApi(params)
 | 
					        const res = await getStoreNumAndUseListApi(params)
 | 
				
			||||||
        this.tableList = res.data.rows || []
 | 
					        this.tableList = res.data.rows || []
 | 
				
			||||||
        console.log('🚀 ~ getList ~ this.tableList:', this.tableList)
 | 
					        console.log('🚀 ~ getList ~ this.tableList:', this.tableList)
 | 
				
			||||||
        this.total = res.data.total || 0
 | 
					        this.total = res.data.total || 0
 | 
				
			||||||
| 
						 | 
					@ -352,7 +352,7 @@ export default {
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
          ...this.queryParams
 | 
					          ...this.queryParams
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
        `工机具台账详情_${new Date().getTime()}.xlsx`
 | 
					        `站内库存查询_${new Date().getTime()}.xlsx`
 | 
				
			||||||
      )
 | 
					      )
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    //查看在库编码数据
 | 
					    //查看在库编码数据
 | 
				
			||||||
| 
						 | 
					@ -379,7 +379,7 @@ export default {
 | 
				
			||||||
      this.download(
 | 
					      this.download(
 | 
				
			||||||
        'material/material_maMachine/exportStorageInfoList',
 | 
					        'material/material_maMachine/exportStorageInfoList',
 | 
				
			||||||
        { ...this.dialogQuery },
 | 
					        { ...this.dialogQuery },
 | 
				
			||||||
        `综合查询_在库设备_${new Date().getTime()}.xlsx`
 | 
					        `站内库存查询_在库设备_${new Date().getTime()}.xlsx`
 | 
				
			||||||
      )
 | 
					      )
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    // ------------------
 | 
					    // ------------------
 | 
				
			||||||
| 
						 | 
					@ -407,7 +407,7 @@ export default {
 | 
				
			||||||
      this.download(
 | 
					      this.download(
 | 
				
			||||||
        'material/material_maMachine/exportUserRecordList',
 | 
					        'material/material_maMachine/exportUserRecordList',
 | 
				
			||||||
        { ...this.dialogUseQuery },
 | 
					        { ...this.dialogUseQuery },
 | 
				
			||||||
        `综合查询_在用设备_${new Date().getTime()}.xlsx`
 | 
					        `站内库存查询_在用设备_${new Date().getTime()}.xlsx`
 | 
				
			||||||
      )
 | 
					      )
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue