This commit is contained in:
chenjianan
2019-04-13 09:58:25 +08:00
parent 12e3904970
commit dc178b5f66
5 changed files with 170 additions and 167 deletions

View File

@@ -252,6 +252,7 @@
</el-tabs> </el-tabs>
<el-card style="margin-top: 15px"> <el-card style="margin-top: 15px">
<div slot="header">
<span>询价单号:</span> <span>询价单号:</span>
<el-input v-model="inquirySheetNum" placeholder="询价单号" size="small" clearable/> <el-input v-model="inquirySheetNum" placeholder="询价单号" size="small" clearable/>
<span>供应商:</span> <span>供应商:</span>
@@ -274,9 +275,8 @@
icon="el-icon-circle-plus-outline" icon="el-icon-circle-plus-outline"
style="margin-left: 10px" style="margin-left: 10px"
@click="addInquirySheet">追加物料</el-button> @click="addInquirySheet">追加物料</el-button>
</el-card> </div>
<h3 style="margin-top: 0">询价单</h3>
<el-card>
<el-table v-loading="" :data="tableData2" border style="max-height: 300px;" height="300px" size="mini" highlight-current-row @row-click="searchTable3"> <el-table v-loading="" :data="tableData2" border style="max-height: 300px;" height="300px" size="mini" highlight-current-row @row-click="searchTable3">
<el-table-column label="询价单编号" align="center" min-width="150"> <el-table-column label="询价单编号" align="center" min-width="150">
<template slot-scope="scope"> <template slot-scope="scope">
@@ -322,7 +322,8 @@
@current-change="handleCurrentChange2"/> @current-change="handleCurrentChange2"/>
<el-button :disabled="tableData3.length===0" type="warning" size="mini" style="margin-left:10px;float: right" @click="exportInquirySheet()">导出</el-button> <el-button :disabled="tableData3.length===0" type="warning" size="mini" style="margin-left:10px;float: right" @click="exportInquirySheet()">导出</el-button>
<el-button :disabled="tableData3.length===0" type="success" size="mini" style="float: right" @click="saveOrder()">保存</el-button> <el-button :disabled="tableData3.length===0" type="success" size="mini" style="float: right" @click="saveOrder()">保存</el-button>
</div> </div><hr>
<h3 style="margin-top: 0">询价单明细</h3>
<el-table v-loading="" :data="tableData3" border style="max-height: 500px;" height="500px" size="mini"> <el-table v-loading="" :data="tableData3" border style="max-height: 500px;" height="500px" size="mini">
<el-table-column label="图号" align="center" min-width="100"> <el-table-column label="图号" align="center" min-width="100">
<template slot-scope="scope"> <template slot-scope="scope">

View File

@@ -1,6 +1,7 @@
<template> <template>
<div class="app-container"> <div class="app-container">
<el-card> <el-card>
<div slot="header">
<span>请款时间段:</span> <span>请款时间段:</span>
<el-date-picker <el-date-picker
v-model="dateRange" v-model="dateRange"
@@ -29,9 +30,8 @@
style="margin-left: 10px" style="margin-left: 10px"
@click="pageCurrent1=1;pageSize1=10;total1=0;searchTable1()">查询</el-button> @click="pageCurrent1=1;pageSize1=10;total1=0;searchTable1()">查询</el-button>
<el-button type="primary" size="small" icon="el-icon-goods" style="" @click="requestFund">请款</el-button> <el-button type="primary" size="small" icon="el-icon-goods" style="" @click="requestFund">请款</el-button>
</el-card> </div>
<h3 style="margin-top: 0">请款表</h3>
<el-card>
<el-table v-loading="" :data="tableData1" border style="max-height: 500px;" height="500px" size="mini"> <el-table v-loading="" :data="tableData1" border style="max-height: 500px;" height="500px" size="mini">
<el-table-column label="供应商" align="center" min-width="250"> <el-table-column label="供应商" align="center" min-width="250">
<template slot-scope="scope"> <template slot-scope="scope">
@@ -123,6 +123,10 @@
<span v-show="supplierValue">累计欠款</span> <span v-show="supplierValue">累计欠款</span>
<el-input v-show="supplierValue" v-model="totalDebt" size="mini" style="width: 100px;" readonly/> <el-input v-show="supplierValue" v-model="totalDebt" size="mini" style="width: 100px;" readonly/>
</div> </div>
</el-card>
<el-card>
<h3 style="margin-top: 0">离线合同明细</h3>
<el-table v-loading="" :data="tableData2" :summary-method="getSummaries" border style="margin-top:10px;max-height: 500px;" height="500px" size="mini" show-summary> <el-table v-loading="" :data="tableData2" :summary-method="getSummaries" border style="margin-top:10px;max-height: 500px;" height="500px" size="mini" show-summary>
<el-table-column label="离线合同编号" align="center" min-width="150"> <el-table-column label="离线合同编号" align="center" min-width="150">
<template slot-scope="scope"> <template slot-scope="scope">

View File

@@ -1,6 +1,7 @@
<template> <template>
<div class="app-container"> <div class="app-container">
<el-card> <el-card>
<div slot="header">
<span>时间段:</span> <span>时间段:</span>
<el-date-picker <el-date-picker
v-model="dateRange" v-model="dateRange"
@@ -15,9 +16,8 @@
start-placeholder="开始日期" start-placeholder="开始日期"
end-placeholder="结束日期"/> end-placeholder="结束日期"/>
<el-button type="success" size="small" icon="el-icon-search" style="margin-left: 10px" @click="searchTable0()">查询</el-button> <el-button type="success" size="small" icon="el-icon-search" style="margin-left: 10px" @click="searchTable0()">查询</el-button>
</el-card> </div>
<h3 style="margin-top: 0">付款计划</h3>
<el-card>
<el-table :data="tableData0" size="mini" border style="max-height: 250px;" height="250px" highlight-current-row @row-click="searchContract"> <el-table :data="tableData0" size="mini" border style="max-height: 250px;" height="250px" highlight-current-row @row-click="searchContract">
<el-table-column label="计划状态" width="100" align="center"> <el-table-column label="计划状态" width="100" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
@@ -59,6 +59,7 @@
</el-card> </el-card>
<el-card> <el-card>
<div slot="header">
<span>供应商</span> <span>供应商</span>
<el-select v-model="supplierValue" placeholder="供应商" filterable size="small" clearable @change="totalSum=0;totalPay=0;totalDebt=0;"> <el-select v-model="supplierValue" placeholder="供应商" filterable size="small" clearable @change="totalSum=0;totalPay=0;totalDebt=0;">
<el-option <el-option
@@ -74,9 +75,8 @@
style="margin-left: 10px" style="margin-left: 10px"
@click="pageCurrent1=1;pageSize1=10;total1=0;searchTable1()">查询</el-button> @click="pageCurrent1=1;pageSize1=10;total1=0;searchTable1()">查询</el-button>
<el-button type="primary" size="small" icon="el-icon-goods" style="" @click="requestFund">请款</el-button> <el-button type="primary" size="small" icon="el-icon-goods" style="" @click="requestFund">请款</el-button>
</el-card> </div>
<h3 style="margin-top: 0">请款表</h3>
<el-card>
<el-table v-loading="" :data="tableData1" border style="max-height: 500px;" height="500px" size="mini"> <el-table v-loading="" :data="tableData1" border style="max-height: 500px;" height="500px" size="mini">
<el-table-column label="供应商" align="center" min-width="250"> <el-table-column label="供应商" align="center" min-width="250">
<template slot-scope="scope"> <template slot-scope="scope">

View File

@@ -1,6 +1,7 @@
<template> <template>
<div class="app-container"> <div class="app-container">
<el-card> <el-card>
<div slot="header">
<!--<span>时间段:</span>--> <!--<span>时间段:</span>-->
<!--<el-date-picker--> <!--<el-date-picker-->
<!--v-model="startEndDate"--> <!--v-model="startEndDate"-->
@@ -51,9 +52,7 @@
size="small" size="small"
icon="el-icon-download" icon="el-icon-download"
@click="download()">导出</el-button> @click="download()">导出</el-button>
</el-card> </div>
<el-card>
<el-table <el-table
v-loading="loading1" v-loading="loading1"
id="expandTable" id="expandTable"

View File

@@ -1,6 +1,7 @@
<template> <template>
<div class="app-container"> <div class="app-container">
<el-card> <el-card>
<div slot="header">
<span>合同号:</span> <span>合同号:</span>
<el-select v-model="contractNumValue" placeholder="合同号" size="small" filterable clearable> <el-select v-model="contractNumValue" placeholder="合同号" size="small" filterable clearable>
<el-option <el-option
@@ -20,9 +21,7 @@
icon="el-icon-search" icon="el-icon-search"
style="margin-left:10px" style="margin-left:10px"
@click="total1=0;pageCurrent1=1;pageSize1=10;searchTable1()">查询</el-button> @click="total1=0;pageCurrent1=1;pageSize1=10;searchTable1()">查询</el-button>
</el-card> </div>
<el-card>
<el-table <el-table
v-loading="" v-loading=""
id="expandTable" id="expandTable"