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