This commit is contained in:
caoxinyu
2019-09-24 12:14:25 +08:00
12 changed files with 79 additions and 61 deletions

View File

@@ -391,7 +391,7 @@
</el-col>
</el-row>
<el-card style="margin-top: 15px">
<el-card>
<div slot="header">
<span>询价单号:</span>
<el-input v-model="inquirySheetNum" placeholder="询价单号" size="small" clearable/>
@@ -408,11 +408,13 @@
size="small"
style="margin-left: 10px"
@click="createInquirySheet">创建询价单</el-button>
<el-button
type="primary"
size="small"
style="margin-left: 10px"
@click="addInquirySheet">选入</el-button>
<el-tooltip effect="dark" content="为选择的询价单添加物料" placement="top" open-delay="1000">
<el-button
type="warning"
size="small"
style="margin-left: 10px"
@click="addInquirySheet">选入物料</el-button>
</el-tooltip>
</div>
<h3 style="margin-top: 0;display:inline-block;width:50%">询价单</h3>
<el-button :loading="baseInfoLoading" type="success" size="mini" style="float: right" @click="inquirySheetBaseInfoMaintain">询价单基础信息维护</el-button>
@@ -486,7 +488,9 @@
@current-change="handleCurrentChange2"/>
<el-button :disabled="tableData3.length===0" type="warning" size="mini" style="margin-left:10px;float: right" @click="printInquirySheet()">打印</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-tooltip effect="dark" content="保存该询价单" placement="top" open-delay="1000">
<el-button :disabled="tableData3.length===0" type="success" size="mini" style="float: right" @click="saveOrder()">保存</el-button>
</el-tooltip>
</div><hr>
<h3 style="margin-top: 0">询价单明细</h3>
<el-table v-loading="" :data="tableData3" border style="max-height: 500px;" height="500px" size="mini">
@@ -547,7 +551,9 @@
</el-table-column>
<el-table-column label="操作" align="center" width="100" fixed="right">
<template slot-scope="scope">
<el-button type="danger" size="mini" plain icon="el-icon-delete" @click="outInquirySheet(scope.row)">移出</el-button>
<el-tooltip effect="dark" content="将该物料从询价单中删除" placement="top" open-delay="1000">
<el-button type="danger" size="mini" plain icon="el-icon-delete" @click="outInquirySheet(scope.row)">移出</el-button>
</el-tooltip>
</template>
</el-table-column>
</el-table>
@@ -1941,7 +1947,7 @@ export default {
text-align: center;
}
.el-card{
margin-bottom: 15px;
margin-bottom: 0px;
}
.el-select{
width:200px