领料申请接口修改

This commit is contained in:
zhouzy062 2024-02-27 10:33:50 +08:00
parent f42b926b71
commit f77902ad2c
3 changed files with 16 additions and 6 deletions

View File

@ -176,6 +176,15 @@ export function getUseTypeTreee(params = {}){
}) })
} }
// 机具领料申请-详情
export function getLeaseApplyListAll(query) {
return request({
url: '/base/tm_task/getLeaseApplyListAll',
method: 'get',
params: query
})
}

View File

@ -164,7 +164,8 @@ import {
getAgreementInfoById, getAgreementInfoById,
submitLeaseApply, submitLeaseApply,
getTaskDetail, getTaskDetail,
editLeaseApply editLeaseApply,
getLeaseApplyListAll
} from '@/api/claimAndRefund/receive' } from '@/api/claimAndRefund/receive'
import { getInfo } from '@/api/login' import { getInfo } from '@/api/login'
export default { export default {
@ -412,7 +413,7 @@ export default {
// //
async GetTaskDetail(taskId){ async GetTaskDetail(taskId){
const res = await getTaskDetail({taskId}) const res = await getLeaseApplyListAll({taskId})
const data = res.rows[0] const data = res.rows[0]

View File

@ -1,7 +1,7 @@
<template> <template>
<div class="app-container" id="receiveManage"> <div class="app-container" id="receiveManage">
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="80px"> <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="80px">
<el-form-item label="申请日期" prop="dictName"> <el-form-item label="申请日期" prop="time">
<el-date-picker <el-date-picker
v-model="queryParams.time" v-model="queryParams.time"
type="daterange" type="daterange"
@ -11,7 +11,7 @@
end-placeholder="结束日期"> end-placeholder="结束日期">
</el-date-picker> </el-date-picker>
</el-form-item> </el-form-item>
<el-form-item label="往来单位" prop="dictName"> <el-form-item label="往来单位" prop="unitId">
<el-select v-model="queryParams.unitId" filterable clearable @change="GetProData" style="width: 240px" placeholder="请选择"> <el-select v-model="queryParams.unitId" filterable clearable @change="GetProData" style="width: 240px" placeholder="请选择">
<el-option <el-option
v-for="item in unitList" v-for="item in unitList"
@ -21,7 +21,7 @@
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="工程名称" prop="dictName"> <el-form-item label="工程名称" prop="proId">
<el-select v-model="queryParams.proId" filterable clearable @change="GetUnitData" style="width: 240px" placeholder="请选择"> <el-select v-model="queryParams.proId" filterable clearable @change="GetUnitData" style="width: 240px" placeholder="请选择">
<el-option <el-option
v-for="item in proList" v-for="item in proList"
@ -31,7 +31,7 @@
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="关键字" prop="dictName"> <el-form-item label="关键字" prop="keyword">
<el-input <el-input
v-model="queryParams.keyword" v-model="queryParams.keyword"
placeholder="请输入关键字" placeholder="请输入关键字"