d
This commit is contained in:
@@ -44,9 +44,9 @@
|
||||
type="date"
|
||||
placeholder="选择日期"/>
|
||||
<el-tooltip :open-delay="1200" effect="dark" content="查询外购备料发票信息" placement="top">
|
||||
<el-button type="success" size="small" icon="el-icon-search" style="margin-left: 10px" @click="total1=0;pageCurrent1=1;pageSize1=30;searchTable1()">查询</el-button>
|
||||
<el-button type="primary" plain size="small" icon="el-icon-search" style="margin-left: 10px" @click="total1=0;pageCurrent1=1;pageSize1=30;searchTable1()">查询</el-button>
|
||||
</el-tooltip>
|
||||
<el-button type="primary" size="small" icon="el-icon-circle-plus-outline" style="margin-left: 10px" @click="addTable1()">新增到票</el-button>
|
||||
<el-button class="button111" size="small" icon="el-icon-circle-plus-outline" style="margin-left: 10px" @click="addTable1()">新增到票</el-button>
|
||||
</el-row>
|
||||
</el-card>
|
||||
<el-card style="width: 58%;float: left">
|
||||
@@ -61,8 +61,8 @@
|
||||
@row-click="searchTable02">
|
||||
<el-table-column align="center" label="发票状态" width="80px">
|
||||
<template slot-scope="scope">
|
||||
<el-tag v-if="Number(scope.row.是否请款) === 0" type="warning" size="mini">未请款</el-tag>
|
||||
<el-tag v-else-if="Number(scope.row.是否请款) === 1" type="primary" size="mini">已请款</el-tag>
|
||||
<span v-if="Number(scope.row.是否请款) === 0" type="warning" size="mini">未请款</span>
|
||||
<span v-else-if="Number(scope.row.是否请款) === 1" type="primary" size="mini">已请款</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column align="center" label="发票号" width="120px">
|
||||
@@ -96,14 +96,13 @@
|
||||
<div style="display: inline-block">
|
||||
<el-button
|
||||
:disabled="Number(scope.row.是否请款)===1"
|
||||
type="success"
|
||||
type="text"
|
||||
size="mini"
|
||||
icon="el-icon-share"
|
||||
plain
|
||||
@click="aboutArrival(scope.row)">关联到货单</el-button>
|
||||
</div>
|
||||
</el-tooltip>
|
||||
<el-button type="primary" size="mini" icon="el-icon-download" style="margin-left:10px" @click="downloadExcel(scope.row)">导出</el-button>
|
||||
<el-button type="text" size="mini" icon="el-icon-download" style="margin-left:10px" @click="downloadExcel(scope.row)">导出</el-button>
|
||||
<el-tooltip :open-delay="1200" effect="dark" content="编辑" placement="top">
|
||||
<div style="display: inline-block">
|
||||
<el-button
|
||||
@@ -121,7 +120,7 @@
|
||||
:disabled="Number(scope.row.是否请款)===1"
|
||||
type="text"
|
||||
size="mini"
|
||||
icon="el-icon-right"
|
||||
icon="el-icon-delete"
|
||||
style="margin-left: 20px"
|
||||
@click="deleteTable1(scope.row)"/>
|
||||
</div>
|
||||
@@ -645,4 +644,21 @@ function saveAs(blob, filename = '下载文件.xls') {
|
||||
}
|
||||
}
|
||||
</style>
|
||||
<style lang="scss">
|
||||
.button111{
|
||||
background:rgb(253,246,236);
|
||||
border-color: #ff9759;
|
||||
color: #ff9759;
|
||||
&:hover{
|
||||
background: #ff9759;
|
||||
border-color: #ff9759;
|
||||
color: white;
|
||||
}
|
||||
&:focus{
|
||||
background: #ff9759;
|
||||
border-color: #ff9759;
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user