jiangfuzhuang
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
<div class="block" style="margin-top: 10px;">
|
||||
<!-- <div class="block" style="margin-top: 10px;">
|
||||
<el-pagination
|
||||
:current-page="pageCurrent1"
|
||||
:page-sizes="[10, 20, 30, 40]"
|
||||
@@ -40,7 +40,7 @@
|
||||
layout="total, sizes, prev, pager, next, jumper"
|
||||
@size-change="handleSizeChange1"
|
||||
@current-change="handleCurrentChange1"/>
|
||||
</div>
|
||||
</div> -->
|
||||
</el-card>
|
||||
<h3 style="">合同明细</h3>
|
||||
<el-row>
|
||||
@@ -117,7 +117,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { initApproval, execApproval, initApprovalOffline, searchRequsetFundDetail1, searchRequsetFundDetail2, execApprovalOffline, searchContactDetail, searchMateriel } from '@/api/PurchasingCenter/FundApproval'
|
||||
import { initApproval_noPage, execApproval, initApprovalOffline, searchRequsetFundDetail1, searchRequsetFundDetail2, execApprovalOffline, searchContactDetail, searchMateriel } from '@/api/PurchasingCenter/FundApproval'
|
||||
import { mapGetters } from 'vuex'
|
||||
|
||||
export default {
|
||||
@@ -218,9 +218,9 @@ export default {
|
||||
this.searchTable2()
|
||||
},
|
||||
searchTable1() {
|
||||
initApproval(this.pageCurrent1, this.pageSize1, 2).then(response => {
|
||||
this.tableData1 = response.data.rows
|
||||
this.total1 = response.data.total
|
||||
initApproval_noPage(2).then(response => {
|
||||
this.tableData1 = response.data
|
||||
// this.total1 = response.data.total
|
||||
})
|
||||
},
|
||||
handleSizeChange1(val) {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div class="app-container">
|
||||
<el-card>
|
||||
<el-card style="width: 1050px;">
|
||||
<div slot="header">
|
||||
<el-row>
|
||||
<el-input v-model="supplierName" placeholder="供应商/合同编号" size="small" clearable style="width:180px;margin: 0px 10px"/>
|
||||
@@ -16,18 +16,18 @@
|
||||
range-separator="~"
|
||||
start-placeholder="开始日期"
|
||||
end-placeholder="结束日期"/>
|
||||
<el-button type="primary" size="small" icon="el-icon-search" plain style="margin-left:10px" @click="total1=0;pageCurrent1=1;pageSize1=30;searchTable1()">查询</el-button>
|
||||
<el-button type="primary" size="small" icon="el-icon-search" plain style="margin-left:10px" @click="total1=0;pageCurrent1=1;pageSize1=10;searchTable1()">查询</el-button>
|
||||
<el-tooltip :open-delay="200" effect="dark" content="打回重新编制" placement="top">
|
||||
<div style="display: inline-block">
|
||||
<el-button type="danger" size="small" icon="el-icon-back" plain style="margin-left:10px" @click="back">打回</el-button>
|
||||
</div>
|
||||
</el-tooltip>
|
||||
<el-button type="success" size="small" icon="el-icon-download" plain style="float: right; margin-right: 130px;" @click="exportExcel">导出</el-button>
|
||||
<el-button type="success" size="small" icon="el-icon-download" plain style="float: right;margin-right: 20px;text-align: right;" @click="exportExcel">导出</el-button>
|
||||
</el-row>
|
||||
</div>
|
||||
</el-card>
|
||||
<el-row>
|
||||
<el-card style="width: 45%; float: left">
|
||||
<el-card style="width: 1050px; float: left">
|
||||
<el-table
|
||||
v-loading="loading1"
|
||||
id="expandTable"
|
||||
@@ -36,7 +36,7 @@
|
||||
border
|
||||
stripe
|
||||
style="width: 100%"
|
||||
height="700px"
|
||||
height="350px"
|
||||
highlight-current-row
|
||||
@sort-change="sortChange"
|
||||
@row-click="searchTable2">
|
||||
@@ -93,7 +93,9 @@
|
||||
@current-change="handleCurrentChange1"/>
|
||||
</div>
|
||||
</el-card>
|
||||
<el-card style="width: 55%">
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-card style="width: 1050px;padding-bottom: 50px;">
|
||||
<table v-show="contractDetail.length > 0" class="offlineContract" cellspacing="0px" align="center" border="1 solid black" width="500px">
|
||||
<tr>
|
||||
<th colspan="14"><h1>离线合同</h1></th>
|
||||
@@ -150,7 +152,7 @@ export default {
|
||||
total1: 0,
|
||||
number: '',
|
||||
pageCurrent1: 1,
|
||||
pageSize1: 30,
|
||||
pageSize1: 10,
|
||||
tableData1: [],
|
||||
loading1: false,
|
||||
contractDetail: [],
|
||||
|
||||
Reference in New Issue
Block a user