Browse Source

采购价列表优化

pull/128/head
pengda 3 weeks ago
parent
commit
31a9910bfc
  1. 20
      src/views/super/Ranking/Purchase.vue

20
src/views/super/Ranking/Purchase.vue

@ -38,12 +38,7 @@
<el-form>
<GuipTable :tableData="tableData" style="width: 100%" :loading="tableLoading">
<template v-if="type == 'purchase'">
<el-table-column prop="type">
<template slot="header">
<GuipSelect class="custom-select tableHeaderSelect" style="height:20px;" v-model="chktype" :options="type2filterOptions"
defaultValue="全部检测类型" @change="changeSelectType" />
</template>
<el-table-column prop="type" label="检测类型">
<template slot-scope="scope">
{{ type2name[scope.row.type] }}
</template>
@ -64,12 +59,7 @@
</template>
<template v-else>
<el-table-column prop="type">
<template slot="header">
<GuipSelect class="custom-select tableHeaderSelect" v-model="chktype" :options="type2filterOptions"
defaultValue="全部检测类型" @change="changeSelectType" />
</template>
<el-table-column prop="type" label="检测类型">
<template slot-scope="scope">
{{ type2name[scope.row.type] }}
</template>
@ -102,10 +92,6 @@
</el-table-column>
</template>
</GuipTable>
<el-pagination background @size-change='handleSizeChange' @current-change='handleCurrentChange'
:current-page="currentPage" :page-size=pageSize layout="prev, pager, next,jumper" :total="parseInt(total)">
</el-pagination>
</el-form>
</div>
</div>
@ -146,7 +132,7 @@ export default {
id: 0,
chktype: '0',
currentPage: 1, //
pageSize: 20, //
pageSize: 1000, //
total: 0, //
tableData: [],
type2name: [],

Loading…
Cancel
Save