合同查询

This commit is contained in:
Vergil
2020-03-27 14:37:14 +08:00
parent 7fe266e702
commit f1d7964b63

View File

@@ -34,32 +34,13 @@
:label="item.label"
:value="item.value"/>
</el-select>
<el-button
type="primary"
size="small"
plain
icon="el-icon-search"
@click="total1=0;pageCurrent1=1;pageSize1=20;searchTable1()">查询</el-button>
<el-button
type="primary"
size="small"
plain
icon="el-icon-download"
@click="exportExcel()">导出合同报表</el-button>
<el-button type="primary" size="small" plain icon="el-icon-search" @click="total1=0;pageCurrent1=1;pageSize1=20;searchTable1()">查询</el-button>
<el-button type="primary" size="small" plain icon="el-icon-download" @click="exportExcel()">导出合同报表</el-button>
</el-row>
</el-card>
<el-card>
<el-table
v-loading="loading1"
:data="tableData1"
:row-class-name="tableRowClassName"
size="mini"
border
style="width: 100%"
height="500px"
highlight-current-row
@row-click="searchTable2">
<el-table v-loading="loading1" :data="tableData1" :row-class-name="tableRowClassName" size="mini" border style="width: 100%" height="500px" highlight-current-row @row-click="searchTable2">
<el-table-column label="采购合同号" align="center" width="170px">
<template slot-scope="scope">
{{ scope.row.采购合同编号 }}
@@ -70,12 +51,7 @@
{{ scope.row.采购合同名称 }}
</template>
</el-table-column>
<!-- <el-table-column label="规定到货时间" align="center">-->
<!-- <template slot-scope="scope">-->
<!-- {{ scope.row.规定到货时间 }}-->
<!-- </template>-->
<!-- </el-table-column>-->
<el-table-column label="供应商" align="center" width="200px">
<el-table-column label="供应商" align="center" width="180px">
<template slot-scope="scope">
{{ scope.row.供应商名称 }}
</template>
@@ -100,17 +76,27 @@
{{ scope.row.付款金额 }}
</template>
</el-table-column>
<el-table-column label="创建时间" align="center">
<template slot-scope="scope">
{{ scope.row.创建时间 }}
</template>
</el-table-column>
<el-table-column label="审批情况" align="center">
<template slot-scope="scope">
{{ scope.row.审批情况内容 }}
</template>
</el-table-column>
<el-table-column label="审批时间" align="center">
<template slot-scope="scope">
{{ scope.row.审批时间 }}
</template>
</el-table-column>
<el-table-column label="未通过原因" align="center">
<template slot-scope="scope">
{{ scope.row.未通过原因 }}
</template>
</el-table-column>
<el-table-column label="操作" align="center" min-width="100px">
<el-table-column label="操作" align="center" width="150px">
<template slot-scope="scope">
<el-button type="text" size="mini" icon="el-icon-printer" @click="exportTable()">打印</el-button>
<el-button :disabled="scope.row.审批情况内容==='通过审批'" type="text" size="mini" icon="el-icon-back" @click="Disable(scope.row)">打回</el-button>