领料申请接口修改

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

View File

@ -1,7 +1,7 @@
<template>
<div class="app-container" id="receiveManage">
<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
v-model="queryParams.time"
type="daterange"
@ -11,7 +11,7 @@
end-placeholder="结束日期">
</el-date-picker>
</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-option
v-for="item in unitList"
@ -21,7 +21,7 @@
</el-option>
</el-select>
</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-option
v-for="item in proList"
@ -31,7 +31,7 @@
</el-option>
</el-select>
</el-form-item>
<el-form-item label="关键字" prop="dictName">
<el-form-item label="关键字" prop="keyword">
<el-input
v-model="queryParams.keyword"
placeholder="请输入关键字"