This commit is contained in:
BianLzhaoMin 2024-05-07 17:37:03 +08:00
parent f6c1bdb1c7
commit d0d700208f
2 changed files with 33 additions and 38 deletions

View File

@ -249,23 +249,18 @@
<span>{{ scope.row.leaseApplyInfoList[0].remark }}</span> <span>{{ scope.row.leaseApplyInfoList[0].remark }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column label="操作" align="center" width="160">
label="操作"
align="center"
class-name="small-padding fixed-width"
width="250"
fixed="right"
>
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button
size="mini" size="mini"
type="text"
icon="el-icon-zoom-in" icon="el-icon-zoom-in"
@click="handleView(scope.row)" @click="handleView(scope.row)"
>查看</el-button >查看</el-button
> >
<el-button <el-button
size="mini" size="mini"
type="primary" type="text"
icon="el-icon-edit" icon="el-icon-edit"
v-if="scope.row.taskStatus == 30" v-if="scope.row.taskStatus == 30"
@click="handleUpdate(scope.row)" @click="handleUpdate(scope.row)"
@ -273,7 +268,7 @@
> >
<el-button <el-button
size="mini" size="mini"
type="info" type="text"
v-if=" v-if="
scope.row.taskStatus == 98 || scope.row.taskStatus == 98 ||
scope.row.taskStatus == 99 || scope.row.taskStatus == 99 ||
@ -284,7 +279,7 @@
> >
<el-button <el-button
size="mini" size="mini"
type="danger" type="text"
icon="el-icon-delete" icon="el-icon-delete"
v-if="scope.row.taskStatus == 30" v-if="scope.row.taskStatus == 30"
@click="handleDelete(scope.row)" @click="handleDelete(scope.row)"

View File

@ -1,17 +1,12 @@
<template> <template>
<div class="app-container"> <div class="app-container">
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="100px"> <el-form
<el-form-item label="关键字" prop="keyWord"> :model="queryParams"
<el-input v-model="queryParams.keyWord" placeholder="请输入关键字" clearable style="width: 240px" /> ref="queryForm"
</el-form-item> size="small"
<el-form-item label="退料单位" prop="unitId"> :inline="true"
<el-select v-show="showSearch"
v-model="queryParams.unitId" label-width="100px"
clearable
filterable
@change="getAgreementByUnit"
style="width: 240px"
placeholder="请选择"
> >
<el-form-item label="关键字" prop="keyWord"> <el-form-item label="关键字" prop="keyWord">
<el-input <el-input
@ -98,13 +93,23 @@
start-placeholder="开始日期" start-placeholder="开始日期"
end-placeholder="结束日期" end-placeholder="结束日期"
value-format="yyyy-MM-dd" value-format="yyyy-MM-dd"
style="width: 240px"
></el-date-picker> ></el-date-picker>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">查询</el-button> <el-button
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button> type="primary"
icon="el-icon-search"
size="mini"
@click="handleQuery"
>查询</el-button
>
<el-button
icon="el-icon-refresh"
size="mini"
@click="resetQuery"
>重置</el-button
>
</el-form-item> </el-form-item>
</el-form> </el-form>
@ -251,11 +256,6 @@
:rowObj="rowObj" :rowObj="rowObj"
:priKey="priKey" :priKey="priKey"
></dialogForm> ></dialogForm>
<right-toolbar
:showSearch.sync="showSearch"
@queryTable="getList"
></right-toolbar>
</div> </div>
</template> </template>