This commit is contained in:
hedekun
2020-02-08 16:34:57 +08:00
parent 76db4ae54a
commit 79b356d649
28 changed files with 464 additions and 176 deletions

View File

@@ -13,8 +13,8 @@
<div style="float: right; color: #8492a6; font-size: 13px">{{ item.name }}</div> <div style="float: right; color: #8492a6; font-size: 13px">{{ item.name }}</div>
</el-option> </el-option>
</el-select> </el-select>
<el-button size="small" icon="el-icon-circle-plus" type="primary" style="margin-left: 25%" @click="addTable()">增加装配计划</el-button> <el-button size="small" icon="el-icon-circle-plus-outline" class="button111" style="margin-left: 25%" @click="addTable()">增加装配计划</el-button>
<el-button type="danger" plain size="small" style="float: right;margin-right: 20px" @click="deleteData()">删除</el-button> <el-button type="danger" plain size="small" icon="el-icon-delete" style="float: right;margin-right: 20px" @click="deleteData()">删除</el-button>
</el-row> </el-row>
</el-card> </el-card>
<el-card> <el-card>
@@ -34,7 +34,7 @@
</div> </div>
</el-card> </el-card>
<el-card style="width: 40%; float: left"> <el-card style="width: 40%; float: left">
<el-table :data="tableData1" border size="mini" highlight-current-row style="width: 100%;margin-top: 15px" height="720px" @row-click="searchTable2"> <el-table :data="tableData1" border stripe size="mini" highlight-current-row style="width: 100%;margin-top: 15px" height="720px" @row-click="searchTable2">
<el-table-column label="项目名称" align="center"> <el-table-column label="项目名称" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.项目名称 }} {{ scope.row.项目名称 }}
@@ -45,7 +45,7 @@
{{ scope.row.机床图号 }} {{ scope.row.机床图号 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="机床名称" align="center"> <el-table-column label="机床名称" align="center" show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.机床名称 }} {{ scope.row.机床名称 }}
</template> </template>
@@ -97,9 +97,13 @@
</el-table-column> </el-table-column>
<el-table-column label="操作" align="center" width="250px" fixed="right"> <el-table-column label="操作" align="center" width="250px" fixed="right">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tooltip :open-delay="1000" effect="dark" content="编辑" placement="top">
<div style="display: inline-block">
<el-button v-if="scope.row.edit" type="success" plain size="small" @click="confirmEdit(scope.row)">确定</el-button> <el-button v-if="scope.row.edit" type="success" plain size="small" @click="confirmEdit(scope.row)">确定</el-button>
<el-button v-else type="primary" size="small" plain @click="scope.row.edit=!scope.row.edit">编辑</el-button> <el-button v-else type="text" size="small" icon="el-icon-edit-outline" @click="scope.row.edit=!scope.row.edit"/>
<el-button v-if="scope.row.edit" type="warning" plain size="small" @click="cancel(scope.row)">取消</el-button> <el-button v-if="scope.row.edit" type="warning" plain size="small" @click="cancel(scope.row)">取消</el-button>
</div>
</el-tooltip>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@@ -284,3 +288,21 @@ export default {
<style scoped> <style scoped>
</style> </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>

View File

@@ -13,8 +13,8 @@
<div style="float: right; color: #8492a6; font-size: 13px">{{ item.name }}</div> <div style="float: right; color: #8492a6; font-size: 13px">{{ item.name }}</div>
</el-option> </el-option>
</el-select> </el-select>
<el-button size="small" icon="el-icon-circle-plus" type="primary" style="margin-left: 25%" @click="addTable()">增加装配计划</el-button> <el-button size="small" icon="el-icon-circle-plus-outline" class="button111" style="margin-left: 25%" @click="addTable()">增加装配计划</el-button>
<el-button type="danger" plain size="small" style="float: right;margin-right: 20px" @click="deleteData()">删除</el-button> <el-button type="danger" plain size="small" icon="el-icon-delete" style="float: right;margin-right: 20px" @click="deleteData()">删除</el-button>
</el-row> </el-row>
</el-card> </el-card>
<el-card> <el-card>
@@ -34,7 +34,7 @@
</div> </div>
</el-card> </el-card>
<el-card style="width: 40%; float: left"> <el-card style="width: 40%; float: left">
<el-table :data="tableData1" border size="mini" highlight-current-row style="width: 100%;margin-top: 15px" height="720px" @row-click="searchTable2"> <el-table :data="tableData1" border stripe size="mini" highlight-current-row style="width: 100%;margin-top: 15px" height="720px" @row-click="searchTable2">
<el-table-column label="项目名称" align="center"> <el-table-column label="项目名称" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.项目名称 }} {{ scope.row.项目名称 }}
@@ -97,9 +97,13 @@
</el-table-column> </el-table-column>
<el-table-column label="操作" align="center" width="250px" fixed="right"> <el-table-column label="操作" align="center" width="250px" fixed="right">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tooltip :open-delay="1000" effect="dark" content="编辑" placement="top">
<div style="display: inline-block">
<el-button v-if="scope.row.edit" type="success" plain size="small" @click="confirmEdit(scope.row)">确定</el-button> <el-button v-if="scope.row.edit" type="success" plain size="small" @click="confirmEdit(scope.row)">确定</el-button>
<el-button v-else type="primary" size="small" plain @click="scope.row.edit=!scope.row.edit">编辑</el-button> <el-button v-else type="text" size="small" icon="el-icon-edit-outline" @click="scope.row.edit=!scope.row.edit"/>
<el-button v-if="scope.row.edit" type="warning" plain size="small" @click="cancel(scope.row)">取消</el-button> <el-button v-if="scope.row.edit" type="warning" plain size="small" @click="cancel(scope.row)">取消</el-button>
</div>
</el-tooltip>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>

View File

@@ -13,8 +13,8 @@
<div style="float: right; color: #8492a6; font-size: 13px">{{ item.name }}</div> <div style="float: right; color: #8492a6; font-size: 13px">{{ item.name }}</div>
</el-option> </el-option>
</el-select> </el-select>
<el-button size="small" icon="el-icon-circle-plus" type="primary" style="margin-left: 25%" @click="addTable()">增加装配计划</el-button> <el-button size="small" icon="el-icon-circle-plus-outline" class="button111" style="margin-left: 25%" @click="addTable()">增加装配计划</el-button>
<el-button type="danger" plain size="small" style="float: right;margin-right: 20px" @click="deleteData()">删除</el-button> <el-button type="danger" plain size="small" icon="el-icon-delete" style="float: right;margin-right: 20px" @click="deleteData()">删除</el-button>
</el-row> </el-row>
</el-card> </el-card>
<el-card> <el-card>
@@ -34,7 +34,7 @@
</div> </div>
</el-card> </el-card>
<el-card style="width: 40%; float: left"> <el-card style="width: 40%; float: left">
<el-table :data="tableData1" border size="mini" highlight-current-row style="width: 100%;margin-top: 15px" height="720px" @row-click="searchTable2"> <el-table :data="tableData1" border stripe size="mini" highlight-current-row style="width: 100%;margin-top: 15px" height="720px" @row-click="searchTable2">
<el-table-column label="项目名称" align="center"> <el-table-column label="项目名称" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.项目名称 }} {{ scope.row.项目名称 }}
@@ -97,9 +97,13 @@
</el-table-column> </el-table-column>
<el-table-column label="操作" align="center" width="250px" fixed="right"> <el-table-column label="操作" align="center" width="250px" fixed="right">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tooltip :open-delay="1000" effect="dark" content="编辑" placement="top">
<div style="display: inline-block">
<el-button v-if="scope.row.edit" type="success" plain size="small" @click="confirmEdit(scope.row)">确定</el-button> <el-button v-if="scope.row.edit" type="success" plain size="small" @click="confirmEdit(scope.row)">确定</el-button>
<el-button v-else type="primary" size="small" plain @click="scope.row.edit=!scope.row.edit">编辑</el-button> <el-button v-else type="text" size="small" icon="el-icon-edit-outline" @click="scope.row.edit=!scope.row.edit"/>
<el-button v-if="scope.row.edit" type="warning" plain size="small" @click="cancel(scope.row)">取消</el-button> <el-button v-if="scope.row.edit" type="warning" plain size="small" @click="cancel(scope.row)">取消</el-button>
</div>
</el-tooltip>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>

View File

@@ -13,8 +13,8 @@
<div style="float: right; color: #8492a6; font-size: 13px">{{ item.name }}</div> <div style="float: right; color: #8492a6; font-size: 13px">{{ item.name }}</div>
</el-option> </el-option>
</el-select> </el-select>
<el-button size="small" icon="el-icon-circle-plus" type="primary" style="margin-left: 25%" @click="addTable()">增加装配计划</el-button> <el-button size="small" icon="el-icon-circle-plus-outline" class="button111" style="margin-left: 25%" @click="addTable()">增加装配计划</el-button>
<el-button type="danger" plain size="small" style="float: right;margin-right: 20px" @click="deleteData()">删除</el-button> <el-button type="danger" plain size="small" icon="el-icon-delete" style="float: right;margin-right: 20px" @click="deleteData()">删除</el-button>
</el-row> </el-row>
</el-card> </el-card>
<el-card> <el-card>
@@ -34,7 +34,7 @@
</div> </div>
</el-card> </el-card>
<el-card style="width: 40%; float: left"> <el-card style="width: 40%; float: left">
<el-table :data="tableData1" border size="mini" highlight-current-row style="width: 100%;margin-top: 15px" height="720px" @row-click="searchTable2"> <el-table :data="tableData1" border stripe size="mini" highlight-current-row style="width: 100%;margin-top: 15px" height="720px" @row-click="searchTable2">
<el-table-column label="项目名称" align="center"> <el-table-column label="项目名称" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.项目名称 }} {{ scope.row.项目名称 }}
@@ -45,7 +45,7 @@
{{ scope.row.机床图号 }} {{ scope.row.机床图号 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="机床名称" align="center"> <el-table-column label="机床名称" align="center" show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.机床名称 }} {{ scope.row.机床名称 }}
</template> </template>
@@ -97,9 +97,13 @@
</el-table-column> </el-table-column>
<el-table-column label="操作" align="center" width="250px" fixed="right"> <el-table-column label="操作" align="center" width="250px" fixed="right">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tooltip :open-delay="1000" effect="dark" content="编辑" placement="top">
<div style="display: inline-block">
<el-button v-if="scope.row.edit" type="success" plain size="small" @click="confirmEdit(scope.row)">确定</el-button> <el-button v-if="scope.row.edit" type="success" plain size="small" @click="confirmEdit(scope.row)">确定</el-button>
<el-button v-else type="primary" size="small" plain @click="scope.row.edit=!scope.row.edit">编辑</el-button> <el-button v-else type="text" size="small" icon="el-icon-edit-outline" @click="scope.row.edit=!scope.row.edit"/>
<el-button v-if="scope.row.edit" type="warning" plain size="small" @click="cancel(scope.row)">取消</el-button> <el-button v-if="scope.row.edit" type="warning" plain size="small" @click="cancel(scope.row)">取消</el-button>
</div>
</el-tooltip>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>

View File

@@ -40,7 +40,7 @@
type="date" type="date"
placeholder="选择日期"/> placeholder="选择日期"/>
<el-tooltip :open-delay="1200" effect="dark" content="查询备料出库记录" placement="top"> <el-tooltip :open-delay="1200" effect="dark" content="查询备料出库记录" placement="top">
<el-button type="success" size="small" icon="el-icon-search" style="margin-left: 15px" @click="total=0;pageSize=40; pageCurrent=1;selecttable()">查询</el-button> <el-button type="primary" plain size="small" icon="el-icon-search" style="margin-left: 15px" @click="total=0;pageSize=40; pageCurrent=1;selecttable()">查询</el-button>
</el-tooltip> </el-tooltip>
</el-row> </el-row>
</el-card> </el-card>

View File

@@ -4,7 +4,7 @@
<el-row> <el-row>
<span>零件图号:</span> <span>零件图号:</span>
<el-input v-model="partName" placeholder="零件图号" size="small" clearable style="width:200px;margin: 3px 0"/> <el-input v-model="partName" placeholder="零件图号" size="small" clearable style="width:200px;margin: 3px 0"/>
<el-button size="small" icon="el-icon-search" type="success" style="margin-left: 10px" @click="pageSize=30; pageCurrent=1;searchTable()">查询</el-button> <el-button size="small" icon="el-icon-search" type="primary" plain style="margin-left: 10px" @click="pageSize=30; pageCurrent=1;searchTable()">查询</el-button>
<el-tooltip :open-delay="1200" effect="dark" content="已导出和未导出备料单" placement="top"> <el-tooltip :open-delay="1200" effect="dark" content="已导出和未导出备料单" placement="top">
<el-checkbox v-model="all" size="small">查询全部</el-checkbox> <el-checkbox v-model="all" size="small">查询全部</el-checkbox>
</el-tooltip> </el-tooltip>
@@ -13,13 +13,13 @@
<el-button type="primary" size="small" icon="el-icon-success" plain style="margin-left:0px" @click="edit2()">分配外购备料</el-button> <el-button type="primary" size="small" icon="el-icon-success" plain style="margin-left:0px" @click="edit2()">分配外购备料</el-button>
</el-tooltip> </el-tooltip>
<el-tooltip :open-delay="1200" effect="dark" content="将选中零件分配为自家备料" placement="top"> <el-tooltip :open-delay="1200" effect="dark" content="将选中零件分配为自家备料" placement="top">
<el-button type="warning" size="small" icon="el-icon-success" plain style="margin-left:10px" @click="edit()">分配自家备料</el-button> <el-button type="primary" size="small" icon="el-icon-success" plain style="margin-left:10px" @click="edit()">分配自家备料</el-button>
</el-tooltip> </el-tooltip>
<el-tooltip :open-delay="1200" effect="dark" content="打印备料单" placement="top"> <el-tooltip :open-delay="1200" effect="dark" content="打印备料单" placement="top">
<el-button type="primary" size="small" icon="el-icon-printer" style="margin-left:10px" @click="exportTable('BL')">打印自家备料单</el-button> <el-button class="button111" size="small" icon="el-icon-printer" style="margin-left:10px" @click="exportTable('BL')">打印自家备料单</el-button>
</el-tooltip> </el-tooltip>
<el-tooltip :open-delay="1000" effect="dark" content="导出备料分配单" placement="top"> <el-tooltip :open-delay="1000" effect="dark" content="导出备料分配单" placement="top">
<el-button type="warning" class="el-icon-download" size="small" style="margin: 10px 0 0 140px" @click="exportExcel">导出</el-button> <el-button type="primary" plain class="el-icon-download" size="small" style="margin: 10px 0 0 140px" @click="exportExcel">导出</el-button>
</el-tooltip> </el-tooltip>
</el-row> </el-row>
</el-card> </el-card>
@@ -45,9 +45,9 @@
align="center"/> align="center"/>
<el-table-column label="备料分配" prop="备料分配" align="center" width="90"> <el-table-column label="备料分配" prop="备料分配" align="center" width="90">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag v-if="scope.row.备料打印 ==='1' && scope.row.是否外购备料==='0'" type="success" size="mini">自家</el-tag> <span v-if="scope.row.备料打印 ==='1' && scope.row.是否外购备料==='0'" type="success" size="mini">自家</span>
<el-tag v-if="scope.row.备料打印 ==='0' && scope.row.是否外购备料==='1'" type="success" size="mini">外购</el-tag> <span v-if="scope.row.备料打印 ==='0' && scope.row.是否外购备料==='1'" type="success" size="mini">外购</span>
<el-tag v-if="scope.row.备料打印 ==='0' && scope.row.是否外购备料==='0'" type="warning" size="mini">未分配</el-tag> <span v-if="scope.row.备料打印 ==='0' && scope.row.是否外购备料==='0'" type="warning" size="mini">未分配</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="零件名称" prop="零件名称" align="center" width="250" sortable="custom" show-overflow-tooltip> <el-table-column label="零件名称" prop="零件名称" align="center" width="250" sortable="custom" show-overflow-tooltip>
@@ -315,3 +315,21 @@ export default {
<style scoped> <style scoped>
</style> </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>

View File

@@ -19,8 +19,8 @@
:value="item.value"/> :value="item.value"/>
</el-select> </el-select>
<el-input v-model="Partpaint" placeholder="零件号" clearable size="small" style="width: 180px;margin:0px 10px;"/> <el-input v-model="Partpaint" placeholder="零件号" clearable size="small" style="width: 180px;margin:0px 10px;"/>
<el-button type="success" class="el-icon-search" size="small" style="margin: 0px 10px;" @click="pageCurrent = 1;pageSize = 50;getTableData()">查询</el-button> <el-button type="primary" plain class="el-icon-search" size="small" style="margin: 0px 10px;" @click="pageCurrent = 1;pageSize = 50;getTableData()">查询</el-button>
<el-button :disabled="Name===1" type="baocun" class="el-icon-finished" size="small" style="margin-left: 220px" @click="submit">完成</el-button> <el-button :disabled="Name===1" type="success" plain class="el-icon-finished" size="small" style="margin-left: 220px" @click="submit">完成</el-button>
</el-card> </el-card>
<el-row> <el-row>
<el-card style="width: 50%; float: left"> <el-card style="width: 50%; float: left">
@@ -30,6 +30,7 @@
class="table" class="table"
highlight-current-row highlight-current-row
border border
stripe
height="750" height="750"
style="width: 100%" style="width: 100%"
@current-change="getCurrentRow"> @current-change="getCurrentRow">

View File

@@ -115,22 +115,23 @@
</el-col> </el-col>
<el-col style="width: 600px"> <el-col style="width: 600px">
<el-button <el-button
type="success" type="primary"
icon="el-icon-search" icon="el-icon-search"
size="small" size="small"
style="margin-left: 10px" style="margin-left: 10px"
plain
@click="pageCurrent=1;searchMaterial()">查询 @click="pageCurrent=1;searchMaterial()">查询
</el-button> </el-button>
<el-button :disabled="token !== 11 && token !== 36" type="primary" style="margin-bottom: 3px;margin-top: 10px" icon="el-icon-circle-plus-outline" size="small" @click="handleAdd()">新增</el-button> <el-button :disabled="token !== 11 && token !== 36" class="button111" style="margin-bottom: 3px;margin-top: 10px" icon="el-icon-circle-plus-outline" size="small" @click="handleAdd()">新增</el-button>
<el-button <el-button
:disabled="token !== 11 && token !== 36" :disabled="token !== 11 && token !== 36"
type="warning" class="button111"
icon="el-icon-refresh" icon="el-icon-refresh"
size="small" size="small"
style="margin:10px 5px 3px" style="margin:10px 5px 3px"
@click="CategoryMaintenance">维护物料类别 @click="CategoryMaintenance">维护物料类别
</el-button> </el-button>
<el-button type="primary" style="margin-bottom: 3px;margin-top: 10px" icon="el-icon-circle-plus-outline" size="small" @click="open()">新增供货商</el-button> <el-button class="button111" style="margin-bottom: 3px;margin-top: 10px" icon="el-icon-circle-plus-outline" size="small" @click="open()">新增供货商</el-button>
<el-badge :value="weishenhe" class="item"> <el-badge :value="weishenhe" class="item">
<el-button type="primary" plain size="small" @click="daishenhe()">采购部新增物料审核</el-button> <el-button type="primary" plain size="small" @click="daishenhe()">采购部新增物料审核</el-button>
</el-badge> </el-badge>
@@ -1024,3 +1025,20 @@ export default {
width:190px width:190px
} }
</style> </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>

View File

@@ -47,12 +47,14 @@
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button
size="mini" size="mini"
type="primary" type="text"
class="el-icon-edit" class="el-icon-edit"
icon="el-icon-circle-check"
@click="handleEdit1(scope.$index, scope.row)">同意</el-button> @click="handleEdit1(scope.$index, scope.row)">同意</el-button>
<el-button <el-button
size="mini" size="mini"
type="danger" type="text"
icon="el-icon-circle-close"
class="el-icon-edit" class="el-icon-edit"
@click="handleEdit2(scope.$index, scope.row)">不同意</el-button> @click="handleEdit2(scope.$index, scope.row)">不同意</el-button>
</template> </template>

View File

@@ -10,10 +10,10 @@
:value="item.value"/> :value="item.value"/>
</el-select> </el-select>
<el-tooltip :open-delay="1000" effect="dark" content="新增项目装箱单" placement="top"> <el-tooltip :open-delay="1000" effect="dark" content="新增项目装箱单" placement="top">
<el-button type="primary" size="small" style="margin-left: 10px" icon="el-icon-circle-plus-outline" @click="addReceipt">新增</el-button> <el-button class="button111" size="small" style="margin-left: 10px" icon="el-icon-circle-plus-outline" @click="addReceipt">新增</el-button>
</el-tooltip> </el-tooltip>
<el-tooltip :open-delay="1000" effect="dark" content="打印装箱单" placement="top"> <el-tooltip :open-delay="1000" effect="dark" content="打印装箱单" placement="top">
<el-button type="warning" size="small" style="margin-left: 10px" icon="el-icon-download" @click="exportTable()">导出</el-button> <el-button type="primary" size="small" style="margin-left: 10px" plain icon="el-icon-download" @click="exportTable()">导出</el-button>
</el-tooltip> </el-tooltip>
<el-table <el-table
v-loading="loading" v-loading="loading"
@@ -85,12 +85,11 @@
</el-card> </el-card>
<el-card > <el-card >
<el-button :disabled="!disabled" plain type="primary" style="margin-top: 3px" size="small" icon="el-icon-circle-plus-outline" @click="addMachine">添加主机</el-button> <el-button :disabled="!disabled" class="button111" style="margin-top: 3px" size="small" icon="el-icon-circle-plus-outline" @click="addMachine">添加主机</el-button>
<el-table <el-table
v-loading="loading" v-loading="loading"
:data="machineTableData" :data="machineTableData"
border border
stripe
highlight-current-row highlight-current-row
size="mini" size="mini"
height="170px" height="170px"
@@ -200,12 +199,11 @@
</el-card> </el-card>
<el-card > <el-card >
<el-button :disabled="!disabled" type="primary" style="margin-top: 3px" plain size="small" icon="el-icon-circle-plus-outline" @click="addSpare">添加备件</el-button> <el-button :disabled="!disabled" class="button111" style="margin-top: 3px" size="small" icon="el-icon-circle-plus-outline" @click="addSpare">添加备件</el-button>
<el-table <el-table
v-loading="loading" v-loading="loading"
:data="spareData" :data="spareData"
border border
stripe
highlight-current-row highlight-current-row
height="170px" height="170px"
size="mini" size="mini"
@@ -269,13 +267,12 @@
</el-card> </el-card>
<el-card > <el-card >
<el-button :disabled="!disabled" plain type="primary" size="small" style="margin-top: 3px" icon="el-icon-circle-plus-outline" @click="addFile">添加文件</el-button> <el-button :disabled="!disabled" class="button111" size="small" style="margin-top: 3px" icon="el-icon-circle-plus-outline" @click="addFile">添加文件</el-button>
<el-table <el-table
v-loading="fileLoading" v-loading="fileLoading"
:data="fileData" :data="fileData"
border border
highlight-current-row highlight-current-row
stripe
height="170px" height="170px"
size="mini" size="mini"
style="margin-top:3px;margin-bottom: 0"> style="margin-top:3px;margin-bottom: 0">
@@ -1085,3 +1082,21 @@ span{
} }
} }
</style> </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>

View File

@@ -49,8 +49,8 @@
width="50"/> width="50"/>
<el-table-column align="center" label="物料状态" min-width="90"> <el-table-column align="center" label="物料状态" min-width="90">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag v-if="scope.row.物料流水号===null" type="warning" size="mini">不存在</el-tag> <span v-if="scope.row.物料流水号===null" type="warning" size="mini">不存在</span>
<el-tag v-if="scope.row.物料流水号!==null" type="primary" size="mini">存在</el-tag> <span v-if="scope.row.物料流水号!==null" type="primary" size="mini">存在</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="图号" min-width="120"> <el-table-column align="center" label="图号" min-width="120">
@@ -58,7 +58,7 @@
{{ scope.row.图号或者型号 }} {{ scope.row.图号或者型号 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="名称" min-width="80"> <el-table-column align="center" label="名称" min-width="80" show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.名称 }} {{ scope.row.名称 }}
</template> </template>
@@ -137,8 +137,7 @@
size="mini" size="mini"
highlight-current-row highlight-current-row
height="150" height="150"
border border>
stripe>
<el-table-column <el-table-column
label="序号" label="序号"
align="center" align="center"
@@ -168,7 +167,8 @@
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button
size="mini" size="mini"
type="primary" type="text"
icon="el-icon-sort"
@click="handle(scope.row)">替换 @click="handle(scope.row)">替换
</el-button> </el-button>
</template> </template>
@@ -784,9 +784,9 @@ export default {
.el-table .warning-row { .el-table .warning-row {
background: red; background: red;
} }
.rgb196{ /*.rgb196{*/
background: palevioletred !important; /* background: palevioletred !important;*/
} /*}*/
</style> </style>
<style scoped> <style scoped>

View File

@@ -3,7 +3,7 @@
<input id="excel-upload-input" ref="excel-upload-input" type="file" multiple="multiple" accept=".xlsx, .xls" class="c-hide" @change="handkeFileChange"> <input id="excel-upload-input" ref="excel-upload-input" type="file" multiple="multiple" accept=".xlsx, .xls" class="c-hide" @change="handkeFileChange">
<div id="drop" @drop="handleDrop" @dragover="handleDragover" @dragenter="handleDragover"> <div id="drop" @drop="handleDrop" @dragover="handleDragover" @dragenter="handleDragover">
将Excel文件拖到这或 将Excel文件拖到这或
<el-button style="margin-left:16px;" size="small" icon="el-icon-search" type="success" @click="handleUpload">浏览</el-button> <el-button style="margin-left:16px;" size="small" icon="el-icon-search" type="primary" plain @click="handleUpload">浏览</el-button>
</div> </div>
</div> </div>
</template> </template>

View File

@@ -30,7 +30,7 @@
:label="item.label" :label="item.label"
:value="item.value"/> :value="item.value"/>
</el-select> </el-select>
<el-button type="primary" size="small" icon="el-icon-upload2" style="margin-left: 10px" @click="opendialogVisibleMachine()">上传总图</el-button> <el-button class="button111" size="small" icon="el-icon-upload2" style="margin-left: 10px" @click="opendialogVisibleMachine()">上传总图</el-button>
</div> </div>
<upload-excel-component @on-selected-file="selected"/> <upload-excel-component @on-selected-file="selected"/>
</div> </div>
@@ -490,3 +490,21 @@ a{
color: #999; color: #999;
} }
</style> </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>

View File

@@ -52,8 +52,8 @@
width="50"/> width="50"/>
<el-table-column align="center" label="物料状态" min-width="70"> <el-table-column align="center" label="物料状态" min-width="70">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag v-if="scope.row.物料流水号===null" type="warning" size="mini" style="margin: 0px">不存在</el-tag> <span v-if="scope.row.物料流水号===null" type="warning" size="mini" style="margin: 0px">不存在</span>
<el-tag v-if="scope.row.物料流水号!==null" type="primary" size="mini" style="margin: 0px">存在</el-tag> <span v-if="scope.row.物料流水号!==null" type="primary" size="mini" style="margin: 0px">存在</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="图号" min-width="100" show-overflow-tooltip> <el-table-column align="center" label="图号" min-width="100" show-overflow-tooltip>
@@ -66,7 +66,7 @@
{{ scope.row.名称 }} {{ scope.row.名称 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="材料" width="70"> <el-table-column align="center" label="材料" width="70" show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.材料或者规格 }} {{ scope.row.材料或者规格 }}
</template> </template>
@@ -76,32 +76,32 @@
{{ scope.row.规格 }} {{ scope.row.规格 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="备件数量" width="70"> <el-table-column align="center" label="备件数量" width="70" show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.备件数量 }} {{ scope.row.备件数量 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="装机数量" width="70"> <el-table-column align="center" label="装机数量" width="70" show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.装机数量 }} {{ scope.row.装机数量 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="部件数量" width="70"> <el-table-column align="center" label="部件数量" width="70" show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.部件数量 }} {{ scope.row.部件数量 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="制造商" min-width="100"> <el-table-column align="center" label="制造商" min-width="100" show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.制造商 }} {{ scope.row.制造商 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="备注" width="80"> <el-table-column align="center" label="备注" width="80" show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.备注 }} {{ scope.row.备注 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="分类码" width="80"> <el-table-column align="center" label="分类码" width="80" show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.分类码 }} {{ scope.row.分类码 }}
</template> </template>
@@ -142,8 +142,7 @@
size="mini" size="mini"
height="530px" height="530px"
highlight-current-row highlight-current-row
border border>
stripe>
<el-table-column align="center" label="物料名称" show-overflow-tooltip> <el-table-column align="center" label="物料名称" show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.物料名称 }} {{ scope.row.物料名称 }}
@@ -168,7 +167,8 @@
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button
size="mini" size="mini"
type="primary" type="text"
icon="el-icon-sort"
@click="handle(scope.row)">替换 @click="handle(scope.row)">替换
</el-button> </el-button>
</template> </template>
@@ -657,9 +657,9 @@ export default {
</script> </script>
<style> <style>
.rgb196{ /*.rgb196{*/
background: palevioletred !important; /* background: palevioletred !important;*/
} /* }*/
</style> </style>
<style scoped> <style scoped>

View File

@@ -33,7 +33,7 @@
:value="item.value"/> :value="item.value"/>
</el-select> </el-select>
<el-button icon="el-icon-search" type="success" size="small" @click="pageCurrentWB = 1;pageSizeWB = 10;pageCurrent = 1;pageSize = 10;getTableData()">查询</el-button> <el-button icon="el-icon-search" type="primary" plain size="small" @click="pageCurrentWB = 1;pageSizeWB = 10;pageCurrent = 1;pageSize = 10;getTableData()">查询</el-button>
<el-upload <el-upload
:disabled="disabled" :disabled="disabled"
:action="action" :action="action"
@@ -44,7 +44,7 @@
style="float: right; margin: 0px 50px" style="float: right; margin: 0px 50px"
class="upload-demo" class="upload-demo"
multiple> multiple>
<el-button type="success" size="small" style="float: right; margin: 0px 50px" @click="batchImportOfDrawings">图纸批量导入</el-button> <el-button type="primary" size="small" style="float: right; margin: 0px 50px" plain @click="batchImportOfDrawings">图纸批量导入</el-button>
</el-upload> </el-upload>
</el-card> </el-card>
<el-card> <el-card>
@@ -87,8 +87,8 @@
</el-table-column> </el-table-column>
<el-table-column label="是否导入" align="center"> <el-table-column label="是否导入" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag v-if="Number(scope.row.是否导入)===1" type="success">已导入</el-tag> <span v-if="Number(scope.row.是否导入)===1" type="success">已导入</span>
<el-tag v-else type="danger">未导入</el-tag> <span v-else type="danger">未导入</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column min-width="50px" label="零件图纸" align="center"> <el-table-column min-width="50px" label="零件图纸" align="center">
@@ -107,7 +107,7 @@
:file-list="fileList" :file-list="fileList"
class="upload-demo" class="upload-demo"
multiple> multiple>
<el-button :disabled="disabled" size="mini" type="primary" round @click="getAction(scope.row)">点击上传</el-button> <el-button :disabled="disabled" size="mini" type="text" icon="el-icon-upload2" round @click="getAction(scope.row)">点击上传</el-button>
</el-upload> </el-upload>
</template> </template>
</el-table-column> </el-table-column>

View File

@@ -23,6 +23,7 @@
highlight-current-row highlight-current-row
min-height="540px" min-height="540px"
height="540px" height="540px"
stripe
border> border>
<el-table-column align="center" label="采购合同编号" width="150px"> <el-table-column align="center" label="采购合同编号" width="150px">
<template slot-scope="scope"> <template slot-scope="scope">

View File

@@ -38,8 +38,8 @@
placeholder="规定到货时间"/> placeholder="规定到货时间"/>
<el-input v-model="name" placeholder="采购员" style="width: 120px" size="small" readonly/> <el-input v-model="name" placeholder="采购员" style="width: 120px" size="small" readonly/>
<el-input v-model="taxRate" placeholder="税率" style="width: 120px" size="small"/> <el-input v-model="taxRate" placeholder="税率" style="width: 120px" size="small"/>
<el-button v-show="contractNumType===0" type="success" size="small" @click="linkGroup">成组采购</el-button> <el-button v-show="contractNumType===0" type="primary" plain size="small" @click="linkGroup">成组采购</el-button>
<el-button v-show="contractNumType===1" type="danger" size="small" @click="unLinkGroup">取消成组采购</el-button> <el-button v-show="contractNumType===1" type="danger" plain size="small" @click="unLinkGroup">取消成组采购</el-button>
</el-row> </el-row>
</el-card> </el-card>
<el-card> <el-card>
@@ -139,7 +139,7 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
<el-button <el-button
type="shengcheng" class="button111"
size="small" size="small"
style="margin-top:10px" style="margin-top:10px"
@click="calculateContractSum">计算合同总额</el-button> @click="calculateContractSum">计算合同总额</el-button>
@@ -158,7 +158,7 @@
:value="item.value"/> :value="item.value"/>
</el-select> </el-select>
<el-button <el-button
type="shengcheng" class="button111"
size="small" size="small"
style="margin-left: 7.5%; margin-top: 10px" style="margin-left: 7.5%; margin-top: 10px"
@click="doneContract">生成采购合同</el-button> @click="doneContract">生成采购合同</el-button>
@@ -744,3 +744,21 @@ export default {
margin-bottom: 5px; margin-bottom: 5px;
} }
</style> </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>

View File

@@ -4,7 +4,7 @@
<el-col> <el-col>
<el-input v-model="partDrawingNumber" placeholder="零件图号" size="small" clearable style="margin: 3px 0" @keyup.enter.native="searchTable1"/> <el-input v-model="partDrawingNumber" placeholder="零件图号" size="small" clearable style="margin: 3px 0" @keyup.enter.native="searchTable1"/>
<el-tooltip :open-delay="1200" effect="dark" content="查询备料零件" placement="top"> <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="pageCurrent1=1;pageSize1=10;total1=0;searchTable1()">查询</el-button> <el-button type="primary" size="small" icon="el-icon-search" plain style="margin-left: 10px" @click="pageCurrent1=1;pageSize1=10;total1=0;searchTable1()">查询</el-button>
</el-tooltip> </el-tooltip>
<el-tooltip :open-delay="1200" effect="dark" content="将零件打回重新分配备料计划" placement="top"> <el-tooltip :open-delay="1200" effect="dark" content="将零件打回重新分配备料计划" placement="top">
<el-button type="danger" size="small" icon="el-icon-download" plain style="margin-left: 10px;float: right;" @click="back">打回重新分配</el-button> <el-button type="danger" size="small" icon="el-icon-download" plain style="margin-left: 10px;float: right;" @click="back">打回重新分配</el-button>
@@ -82,22 +82,22 @@
<!--<el-tooltip :open-delay="1200" effect="dark" content="查询采购计划单" placement="top">--> <!--<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="pageCurrent2=1;pageSize2=10;total2=0;searchTable2()">查询</el-button>--> <!--<el-button type="success" size="small" icon="el-icon-search" style="margin-left: 10px" @click="pageCurrent2=1;pageSize2=10;total2=0;searchTable2()">查询</el-button>-->
<!--</el-tooltip>--> <!--</el-tooltip>-->
<el-button type="success" size="small" icon="el-icon-search" style="margin-left: 10px" @click="searchTable2">查询</el-button> <el-button type="primary" size="small" icon="el-icon-search" plain style="margin-left: 10px" @click="searchTable2">查询</el-button>
<el-button type="primary" size="small" icon="el-icon-plus" style="margin-left: 10px" @click="addPurchaseOrder">新增</el-button> <el-button class="button111" size="small" icon="el-icon-circle-plus-outline" style="margin-left: 10px" @click="addPurchaseOrder">新增</el-button>
<el-tooltip :open-delay="1200" effect="dark" content="向选择的采购计划里添加采购零件" placement="top"> <el-tooltip :open-delay="1200" effect="dark" content="向选择的采购计划里添加采购零件" placement="top">
<el-button type="success" size="small" icon="el-icon-download" style="margin-left: 10px" @click="addMateriel">选入</el-button> <el-button type="primary" plain size="small" icon="el-icon-download" style="margin-left: 10px" @click="addMateriel">选入</el-button>
</el-tooltip> </el-tooltip>
<el-tooltip :open-delay="1200" effect="dark" content="保存选中的采购计划单" placement="top"> <el-tooltip :open-delay="1200" effect="dark" content="保存选中的采购计划单" placement="top">
<el-button type="baocun" size="small" icon="el-icon-download" style="margin-left: 140px" @click="saveMateriel">保存</el-button> <el-button type="success" size="small" icon="el-icon-download" plain style="margin-left: 140px" @click="saveMateriel">保存</el-button>
</el-tooltip> </el-tooltip>
</div> </div>
<el-table v-loading="" :data="tableData2" border stripe style="max-height: 460px;" height="200px" size="mini" highlight-current-row @row-click="searchTable3"> <el-table v-loading="" :data="tableData2" border stripe style="max-height: 460px;" height="200px" size="mini" highlight-current-row @row-click="searchTable3">
<el-table-column label="备料状态" prop="采购计划状态" align="center" width="75" fixed="left"> <el-table-column label="备料状态" prop="采购计划状态" align="center" width="75" fixed="left">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag v-if="Number(scope.row.采购计划状态)===0" type="warning" size="mini">编辑中</el-tag> <span v-if="Number(scope.row.采购计划状态)===0" type="warning" size="mini">编辑中</span>
<el-tag v-if="Number(scope.row.采购计划状态)===1" type="primary" size="mini">已保存</el-tag> <span v-if="Number(scope.row.采购计划状态)===1" type="primary" size="mini">已保存</span>
<el-tag v-if="Number(scope.row.采购计划状态)===3" type="success" size="mini">已到货</el-tag> <span v-if="Number(scope.row.采购计划状态)===3" type="success" size="mini">已到货</span>
<el-tag v-if="Number(scope.row.采购计划状态)===4" type="info" size="mini">已结算</el-tag> <span v-if="Number(scope.row.采购计划状态)===4" type="info" size="mini">已结算</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="外购备料单号" prop="采购单号" align="center" width="120"> <el-table-column label="外购备料单号" prop="采购单号" align="center" width="120">
@@ -130,22 +130,22 @@
<template slot-scope="scope"> <template slot-scope="scope">
<el-tooltip :open-delay="1200" effect="dark" content="导出" placement="top"> <el-tooltip :open-delay="1200" effect="dark" content="导出" placement="top">
<div style="display: inline-block"> <div style="display: inline-block">
<el-button size="mini" type="success" plain icon="el-icon-download" @click="exportExcel2(scope.row)">导出</el-button> <el-button size="mini" style="margin-left: 10px" type="text" icon="el-icon-download" @click="exportExcel2(scope.row)">导出</el-button>
</div> </div>
</el-tooltip> </el-tooltip>
<el-tooltip :open-delay="1200" effect="dark" content="打印" placement="top"> <el-tooltip :open-delay="1200" effect="text" content="打印" placement="top">
<div style="display: inline-block"> <div style="display: inline-block">
<el-button size="mini" type="success" plain icon="el-icon-printer" @click="exportExcel(scope.row)">打印</el-button> <el-button size="mini" type="text" style="margin-left: 10px" icon="el-icon-printer" @click="exportExcel(scope.row)">打印</el-button>
</div> </div>
</el-tooltip> </el-tooltip>
<el-tooltip :open-delay="1200" effect="dark" content="编辑" placement="top"> <el-tooltip :open-delay="1200" effect="dark" content="编辑" placement="top">
<div style="display: inline-block"> <div style="display: inline-block">
<el-button :disabled="parseInt(scope.row.采购计划状态)===3 || parseInt(scope.row.采购计划状态)===4" type="primary" plain size="mini" icon="el-icon-edit-outline" @click="editPurchaseOrder(scope.row)">编辑</el-button> <el-button :disabled="parseInt(scope.row.采购计划状态)===3 || parseInt(scope.row.采购计划状态)===4" type="text" style="margin-left: 10px" size="mini" icon="el-icon-edit-outline" @click="editPurchaseOrder(scope.row)"/>
</div> </div>
</el-tooltip> </el-tooltip>
<el-tooltip :open-delay="1200" effect="dark" content="删除" placement="top"> <el-tooltip :open-delay="1200" effect="dark" content="删除" placement="top">
<div style="display: inline-block"> <div style="display: inline-block">
<el-button :disabled="parseInt(scope.row.采购计划状态)===3 || parseInt(scope.row.采购计划状态)===4" type="primary" plain size="mini" icon="el-icon-delete" @click="deletePurchaseOrder(scope.row)">删除</el-button> <el-button :disabled="parseInt(scope.row.采购计划状态)===3 || parseInt(scope.row.采购计划状态)===4" type="text" style="margin-left: 10px" size="mini" icon="el-icon-delete" @click="deletePurchaseOrder(scope.row)"/>
</div> </div>
</el-tooltip> </el-tooltip>
</template> </template>
@@ -173,12 +173,12 @@
@size-change="handleSizeChange2" @size-change="handleSizeChange2"
@current-change="handleCurrentChange2"/> @current-change="handleCurrentChange2"/>
</div> </div>
<el-table v-loading="" :data="tableData3" border highlight-current-row stripe style="margin: 3px 0" height="455px" size="mini"> <el-table v-loading="" :data="tableData3" border highlight-current-row style="margin: 3px 0" height="455px" size="mini">
<el-table-column label="备料状态" align="center" width="80"> <el-table-column label="备料状态" align="center" width="80">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag v-if="Number(scope.row.是否到货)===0" type="warning" size="mini">未到货</el-tag> <span v-if="Number(scope.row.是否到货)===0" type="warning" size="mini">未到货</span>
<el-tag v-if="Number(scope.row.是否到货)===1" type="success" size="mini">已到货</el-tag> <span v-if="Number(scope.row.是否到货)===1" type="success" size="mini">已到货</span>
<el-tag v-if="Number(scope.row.是否到货)===2" type="info" size="mini">已结算</el-tag> <span v-if="Number(scope.row.是否到货)===2" type="info" size="mini">已结算</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="物料编码" prop="物料零件编码" align="center" width="150" show-overflow-tooltip> <el-table-column label="物料编码" prop="物料零件编码" align="center" width="150" show-overflow-tooltip>
@@ -220,7 +220,7 @@
<template slot-scope="scope"> <template slot-scope="scope">
<el-tooltip :open-delay="1000" effect="dark" content="移出" placement="top"> <el-tooltip :open-delay="1000" effect="dark" content="移出" placement="top">
<div style="display: inline-block"> <div style="display: inline-block">
<el-button :disabled="parseInt(scope.row.是否到货)===1 || parseInt(scope.row.是否到货)===2" type="info" size="mini" icon="el-icon-right" plain @click="deleteMateriel(scope.row)">移出</el-button> <el-button :disabled="parseInt(scope.row.是否到货)===1 || parseInt(scope.row.是否到货)===2" type="text" size="mini" icon="el-icon-right" @click="deleteMateriel(scope.row)">移出</el-button>
</div> </div>
</el-tooltip> </el-tooltip>
</template> </template>
@@ -907,3 +907,21 @@ export default {
top: 5px; top: 5px;
} }
</style> </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>

View File

@@ -3,13 +3,13 @@
<el-card> <el-card>
<span>发票号:</span> <span>发票号:</span>
<el-input v-model="invoiceNum" placeholder="发票号" size="small" clearable/> <el-input v-model="invoiceNum" placeholder="发票号" size="small" clearable/>
<el-button type="success" size="small" icon="el-icon-search" style="margin-left:10px" @click="tableData2=[];total1=0;pageCurrent1=1;pageSize1=10;searchTable1()">查询</el-button> <el-button type="primary" size="small" plain icon="el-icon-search" style="margin-left:10px" @click="tableData2=[];total1=0;pageCurrent1=1;pageSize1=10;searchTable1()">查询</el-button>
<el-button type="primary" size="small" icon="el-icon-circle-plus-outline" style="margin-left:10px" @click="createOrder()">创建</el-button> <el-button class="button111" size="small" icon="el-icon-circle-plus-outline" style="margin-left:10px" @click="createOrder()">创建</el-button>
</el-card> </el-card>
<el-card> <el-card>
<h4 style="margin-top: 5px">发票结算申请单</h4> <h4 style="margin-top: 5px">发票结算申请单</h4>
<el-table id="expandTable" :data="tableData1" border highlight-current-row style="width: 100%;" height="350px" size="mini" @row-click="searchTable2"> <el-table id="expandTable" :data="tableData1" border stripe highlight-current-row style="width: 100%;" height="350px" size="mini" @row-click="searchTable2">
<el-table-column label="详情" type="expand"> <el-table-column label="详情" type="expand">
<template slot-scope="scope"> <template slot-scope="scope">
<el-form label-position="left" inline class="demo-table-expand"> <el-form label-position="left" inline class="demo-table-expand">
@@ -99,9 +99,17 @@
</el-table-column> </el-table-column>
<el-table-column label="操作" align="center" width="300" fixed="right"> <el-table-column label="操作" align="center" width="300" fixed="right">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button :disabled="Number(scope.row.是否提交申请)===1" type="warning" plain icon="el-icon-edit" size="mini" style="margin-left:10px" @click="handleEdit(scope.row)">编辑</el-button> <el-tooltip :open-delay="1000" effect="dark" content="编辑" placement="top">
<el-button :disabled="Number(scope.row.是否提交申请)===1" type="danger" plain icon="el-icon-delete" size="mini" style="margin-left:10px" @click="handleDelete(scope.row)">删除</el-button> <div style="display: inline-block">
<el-button :disabled="Number(scope.row.是否提交申请)===1" type="warning" plain size="mini" style="margin-left:10px" @click="submitApply(scope.row)">提交申请</el-button> <el-button :disabled="Number(scope.row.是否提交申请)===1" type="text" icon="el-icon-edit-outline" size="mini" style="margin-left:10px" @click="handleEdit(scope.row)"/>
</div>
</el-tooltip>
<el-tooltip :open-delay="1000" effect="dark" content="删除" placement="top">
<div style="display: inline-block">
<el-button :disabled="Number(scope.row.是否提交申请)===1" type="text" icon="el-icon-delete" size="mini" style="margin-left:10px" @click="handleDelete(scope.row)"/>
</div>
</el-tooltip>
<el-button :disabled="Number(scope.row.是否提交申请)===1" type="text" icon="el-icon-circle-check" size="mini" style="margin-left:10px" @click="submitApply(scope.row)">提交申请</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@@ -122,7 +130,7 @@
<h4 style="margin-top: 5px;display: inline-block;width: 150px;">发票结算申请单明细</h4> <h4 style="margin-top: 5px;display: inline-block;width: 150px;">发票结算申请单明细</h4>
<span>发票号</span> <span>发票号</span>
<el-input v-model="invoiceNumber" size="small" placeholder="请选择发票结算申请单" readonly/> <el-input v-model="invoiceNumber" size="small" placeholder="请选择发票结算申请单" readonly/>
<el-button :disabled="disabled" type="primary" size="small" icon="el-icon-circle-plus-outline" style="margin-left:10px" @click="addInStoreRecord()">追加入库记录</el-button> <el-button :disabled="disabled" class="button111" size="small" icon="el-icon-circle-plus-outline" style="margin-left:10px" @click="addInStoreRecord()">追加入库记录</el-button>
<el-table :data="tableData2" border highlight-current-row style="width: 100%;max-height: 250px;" height="250px" size="mini"> <el-table :data="tableData2" border highlight-current-row style="width: 100%;max-height: 250px;" height="250px" size="mini">
<el-table-column label="名称" align="center" width="150"> <el-table-column label="名称" align="center" width="150">
<template slot-scope="scope"> <template slot-scope="scope">
@@ -166,7 +174,11 @@
</el-table-column> </el-table-column>
<el-table-column label="操作" align="center" width="100"> <el-table-column label="操作" align="center" width="100">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button :disabled="disabled" type="danger" size="mini" icon="el-icon-delete" @click="deleteTable2(scope.row)">删除</el-button> <el-tooltip :open-delay="1000" effect="dark" content="删除" placement="top">
<div style="display: inline-block">
<el-button :disabled="disabled" type="text" size="mini" icon="el-icon-delete" @click="deleteTable2(scope.row)"/>
</div>
</el-tooltip>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@@ -753,3 +765,21 @@ export default {
margin: 0; margin: 0;
} }
</style> </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>

View File

@@ -23,8 +23,8 @@
range-separator="" range-separator=""
start-placeholder="开始日期" start-placeholder="开始日期"
end-placeholder="结束日期"/> end-placeholder="结束日期"/>
<el-button type="success" size="small" icon="el-icon-search" style="margin-left: 10px" @click="pageCurrent4=1;pageSize4=10;total4=0;searchTable4()">查询</el-button> <el-button type="primary" plain size="small" icon="el-icon-search" style="margin-left: 10px" @click="pageCurrent4=1;pageSize4=10;total4=0;searchTable4()">查询</el-button>
<el-button type="primary" size="small" icon="el-icon-plus" style="margin-left: 10px" @click="addArrivalOrder">新增到货单</el-button> <el-button class="button111" size="small" icon="el-icon-plus" style="margin-left: 10px" @click="addArrivalOrder">新增到货单</el-button>
</div> </div>
</el-card> </el-card>
<el-card style="width: 45%;float: left"> <el-card style="width: 45%;float: left">
@@ -32,8 +32,8 @@
<el-table v-loading="" :data="tableData4" border stripe style="width: 100%" height="230px" size="mini" highlight-current-row @row-click="searchTable5"> <el-table v-loading="" :data="tableData4" border stripe style="width: 100%" height="230px" size="mini" highlight-current-row @row-click="searchTable5">
<el-table-column label="关联情况" align="center" width="80"> <el-table-column label="关联情况" align="center" width="80">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag v-if="Number(scope.row.是否关联) === 1" type="success" size="mini">已结算</el-tag> <span v-if="Number(scope.row.是否关联) === 1" type="success" size="mini">已结算</span>
<el-tag v-else type="primary" size="mini">未结算</el-tag> <span v-else type="primary" size="mini">未结算</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="供应商" prop="供应商名称" align="center" width="260" show-overflow-tooltip> <el-table-column label="供应商" prop="供应商名称" align="center" width="260" show-overflow-tooltip>
@@ -54,7 +54,7 @@
<el-table-column label="操作" align="center" width="170" fixed="right"> <el-table-column label="操作" align="center" width="170" fixed="right">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button :disabled="Number(scope.row.是否关联) === 1" type="text" size="mini" style="margin-left: 10px" icon="el-icon-circle-plus-outline" @click="addArrivalOrderMX(scope.row)">到货明细</el-button> <el-button :disabled="Number(scope.row.是否关联) === 1" type="text" size="mini" style="margin-left: 10px" icon="el-icon-circle-plus-outline" @click="addArrivalOrderMX(scope.row)">到货明细</el-button>
<el-button :disabled="Number(scope.row.是否关联) === 1" type="text" size="mini" style="margin-left: 20px" icon="el-icon-delete" @click="deleteArrivalOrder(scope.row)">删除</el-button> <el-button :disabled="Number(scope.row.是否关联) === 1" type="text" size="mini" style="margin-left: 20px" icon="el-icon-delete" @click="deleteArrivalOrder(scope.row)"/>
</template> </template>
</el-table-column> </el-table-column>
<!--</el-tooltip>--> <!--</el-tooltip>-->
@@ -85,7 +85,7 @@
</el-card> </el-card>
<el-card style="width: 54%;float: left;margin-left: 10px"> <el-card style="width: 54%;float: left;margin-left: 10px">
<span>到货单明细</span> <span>到货单明细</span>
<el-button type="primary" size="mini" icon="el-icon-download" style="margin-left:10px" @click="downloadExcel()">导出</el-button> <el-button type="primary" plain size="mini" icon="el-icon-download" style="margin-left:10px" @click="downloadExcel()">导出</el-button>
<!--<el-button type="primary" size="mini" icon="el-icon-download" style="margin-left:10px" @click="downloadExcel()">导出</el-button>--> <!--<el-button type="primary" size="mini" icon="el-icon-download" style="margin-left:10px" @click="downloadExcel()">导出</el-button>-->
<el-table <el-table
v-loading="" v-loading=""
@@ -94,7 +94,6 @@
border border
show-summary show-summary
highlight-current-row highlight-current-row
stripe
style="margin: 3px 0" style="margin: 3px 0"
height="260px" height="260px"
size="mini" size="mini"
@@ -150,7 +149,6 @@
border border
show-summary show-summary
highlight-current-row highlight-current-row
stripe
style="margin: 3px 0" style="margin: 3px 0"
height="500px" height="500px"
size="mini"> size="mini">
@@ -203,7 +201,7 @@
<template slot-scope="scope"> <template slot-scope="scope">
<el-tooltip effect="dark" content="取消关联" placement="top"> <el-tooltip effect="dark" content="取消关联" placement="top">
<div style="display: inline-block"> <div style="display: inline-block">
<el-button :disabled="disable === '1'" type="text" size="mini" @click="deleteMateriel(scope.row)">取消关联</el-button> <el-button :disabled="disable === '1'" type="text" icon="el-icon-delete" size="mini" @click="deleteMateriel(scope.row)"/>
</div> </div>
</el-tooltip> </el-tooltip>
</template> </template>
@@ -1261,3 +1259,21 @@ function saveAs(blob, filename = '下载文件.xls') {
color: black; color: black;
} }
</style> </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>

View File

@@ -22,7 +22,7 @@
</el-select> </el-select>
<span>零件号</span> <span>零件号</span>
<el-input v-model="number" placeholder="零件号" clearable size="small" style="width: 150px"/> <el-input v-model="number" placeholder="零件号" clearable size="small" style="width: 150px"/>
<el-button type="success" class="el-icon-search" size="small" style="margin: 0px 10px;" @click="pageCurrent10 = 1;pageSize10 = 10;getTableData()">查询</el-button> <el-button type="primary" plain class="el-icon-search" size="small" style="margin: 0px 10px;" @click="pageCurrent10 = 1;pageSize10 = 10;getTableData()">查询</el-button>
</el-card> </el-card>
<el-card style="width: 1137px"> <el-card style="width: 1137px">
<el-table v-loading="" :data="tableData10" stripe highlight-current-row border style="width: 100%;max-height: 315px;margin-top: 10px" height="315px" size="mini" @sort-change="sortChange" @selection-change="handleSelectionChange"> <el-table v-loading="" :data="tableData10" stripe highlight-current-row border style="width: 100%;max-height: 315px;margin-top: 10px" height="315px" size="mini" @sort-change="sortChange" @selection-change="handleSelectionChange">
@@ -81,20 +81,20 @@
:label="item.label" :label="item.label"
:value="item.value"/> :value="item.value"/>
</el-select> </el-select>
<el-button type="success" size="small" icon="el-icon-search" style="margin-left: 10px" @click="pageCurrent2=1;pageSize2=10;total2=0;searchTable()">查询</el-button> <el-button type="primary" plain size="small" icon="el-icon-search" style="margin-left: 10px" @click="pageCurrent2=1;pageSize2=10;total2=0;searchTable()">查询</el-button>
<el-button type="primary" size="small" icon="el-icon-plus" style="margin-left: 10px" @click="addPurchaseOrder">创建采购计划单</el-button> <el-button class="button111" size="small" icon="el-icon-plus" style="margin-left: 10px" @click="addPurchaseOrder">创建采购计划单</el-button>
<!--<el-tooltip :open-delay="1200" effect="dark" content="保存选中的采购计划单" placement="top">--> <!--<el-tooltip :open-delay="1200" effect="dark" content="保存选中的采购计划单" placement="top">-->
<!--<el-button type="baocun" size="small" icon="el-icon-download" style="margin-left: 10px" @click="saveMateriel">保存采购计划单</el-button>--> <!--<el-button type="baocun" size="small" icon="el-icon-download" style="margin-left: 10px" @click="saveMateriel">保存采购计划单</el-button>-->
<!--</el-tooltip>--> <!--</el-tooltip>-->
<el-button type="success" size="small" icon="el-icon-download" style="margin-left: 10px" @click="submitAddMaterial">选入备料</el-button> <el-button type="primary" size="small" plain icon="el-icon-download" style="margin-left: 10px" @click="submitAddMaterial">选入备料</el-button>
</el-card> </el-card>
<el-card style="width: 1137px"> <el-card style="width: 1137px">
<el-table v-loading="" :data="tableData" stripe highlight-current-row border style="width: 100%;max-height: 230px;margin-top: 10px" height="230px" size="mini" @row-click="searchMX"> <el-table v-loading="" :data="tableData" stripe highlight-current-row border style="width: 100%;max-height: 230px;margin-top: 10px" height="230px" size="mini" @row-click="searchMX">
<el-table-column label="采购状态" prop="采购计划状态" align="center" width="90"> <el-table-column label="采购状态" prop="采购计划状态" align="center" width="90">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag v-if="Number(scope.row.采购计划状态)===0" type="warning" size="mini">未到货</el-tag> <span v-if="Number(scope.row.采购计划状态)===0" type="warning" size="mini">未到货</span>
<el-tag v-if="Number(scope.row.采购计划状态)===3" type="success" size="mini">已到货</el-tag> <span v-if="Number(scope.row.采购计划状态)===3" type="success" size="mini">已到货</span>
<el-tag v-if="Number(scope.row.采购计划状态)===4" type="info" size="mini">已结算</el-tag> <span v-if="Number(scope.row.采购计划状态)===4" type="info" size="mini">已结算</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="离线采购计划编号" align="center" width="200"> <el-table-column label="离线采购计划编号" align="center" width="200">
@@ -107,7 +107,7 @@
{{ scope.row.离线采购计划名称 }} {{ scope.row.离线采购计划名称 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="供应商" align="center" width="250"> <el-table-column label="供应商" align="center" width="250" show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.供应商名称 }} {{ scope.row.供应商名称 }}
</template> </template>
@@ -121,17 +121,17 @@
<template slot-scope="scope"> <template slot-scope="scope">
<el-tooltip :open-delay="1200" effect="dark" content="打印采购计划单" placement="top"> <el-tooltip :open-delay="1200" effect="dark" content="打印采购计划单" placement="top">
<div style="display: inline-block"> <div style="display: inline-block">
<el-button size="mini" type="success" plain icon="el-icon-printer" @click="exportExcel(scope.row)">打印单据</el-button> <el-button size="mini" type="text" icon="el-icon-printer" @click="exportExcel(scope.row)">打印单据</el-button>
</div> </div>
</el-tooltip> </el-tooltip>
<el-tooltip :open-delay="1200" effect="dark" content="编辑" placement="top"> <el-tooltip :open-delay="1200" effect="dark" content="编辑" placement="top">
<div style="display: inline-block"> <div style="display: inline-block">
<el-button :disabled="parseInt(scope.row.采购计划状态)===3 || parseInt(scope.row.采购计划状态)===4" type="primary" plain size="mini" icon="el-icon-edit-outline" @click="editPurchaseOrder(scope.row)">编辑</el-button> <el-button :disabled="parseInt(scope.row.采购计划状态)===3 || parseInt(scope.row.采购计划状态)===4" style="margin-left: 10px" type="text" size="mini" icon="el-icon-edit-outline" @click="editPurchaseOrder(scope.row)"/>
</div> </div>
</el-tooltip> </el-tooltip>
<el-tooltip :open-delay="1200" effect="dark" content="删除" placement="top"> <el-tooltip :open-delay="1200" effect="dark" content="删除" placement="top">
<div style="display: inline-block"> <div style="display: inline-block">
<el-button :disabled="parseInt(scope.row.采购计划状态)===3 || parseInt(scope.row.采购计划状态)===4" type="primary" plain size="mini" icon="el-icon-delete" @click="deletePurchaseOrder(scope.row)">删除</el-button> <el-button :disabled="parseInt(scope.row.采购计划状态)===3 || parseInt(scope.row.采购计划状态)===4" style="margin-left: 10px" type="text" size="mini" icon="el-icon-delete" @click="deletePurchaseOrder(scope.row)"/>
</div> </div>
</el-tooltip> </el-tooltip>
</template> </template>
@@ -150,12 +150,12 @@
</div> </div>
</el-card> </el-card>
<el-card style="width: 1137px"> <el-card style="width: 1137px">
<el-table v-loading="" :data="tableData3" stripe highlight-current-row border style="width: 100%;max-height: 300px;margin-top: 10px" size="mini"> <el-table v-loading="" :data="tableData3" highlight-current-row border style="width: 100%;max-height: 300px;margin-top: 10px" size="mini">
<el-table-column label="采购状态" align="center" width="90"> <el-table-column label="采购状态" align="center" width="90">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag v-if="Number(scope.row.是否到货)===0" type="warning" size="mini">未到货</el-tag> <span v-if="Number(scope.row.是否到货)===0" type="warning" size="mini">未到货</span>
<el-tag v-if="Number(scope.row.是否到货)===1" type="success" size="mini">已到货</el-tag> <span v-if="Number(scope.row.是否到货)===1" type="success" size="mini">已到货</span>
<el-tag v-if="Number(scope.row.是否到货)===2" type="info" size="mini">已结算</el-tag> <span v-if="Number(scope.row.是否到货)===2" type="info" size="mini">已结算</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="物料编码" prop="物料零件编码" align="center" width="180"> <el-table-column label="物料编码" prop="物料零件编码" align="center" width="180">
@@ -192,7 +192,7 @@
<template slot-scope="scope"> <template slot-scope="scope">
<el-tooltip :open-delay="1000" effect="dark" content="物料移出采购计划" placement="top"> <el-tooltip :open-delay="1000" effect="dark" content="物料移出采购计划" placement="top">
<div style="display: inline-block"> <div style="display: inline-block">
<el-button :disabled="parseInt(scope.row.是否到货)===1 || parseInt(scope.row.是否到货)===2" type="info" size="mini" icon="el-icon-right" plain @click="deleteMX(scope.row)">移出</el-button> <el-button :disabled="parseInt(scope.row.是否到货)===1 || parseInt(scope.row.是否到货)===2" type="text" size="mini" icon="el-icon-right" @click="deleteMX(scope.row)">移出</el-button>
</div> </div>
</el-tooltip> </el-tooltip>
</template> </template>
@@ -670,3 +670,21 @@ export default {
margin: 0 margin: 0
} }
</style> </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>

View File

@@ -44,9 +44,9 @@
type="date" type="date"
placeholder="选择日期"/> placeholder="选择日期"/>
<el-tooltip :open-delay="1200" effect="dark" content="查询外购备料发票信息" placement="top"> <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-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-row>
</el-card> </el-card>
<el-card style="width: 58%;float: left"> <el-card style="width: 58%;float: left">
@@ -61,8 +61,8 @@
@row-click="searchTable02"> @row-click="searchTable02">
<el-table-column align="center" label="发票状态" width="80px"> <el-table-column align="center" label="发票状态" width="80px">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag v-if="Number(scope.row.是否请款) === 0" type="warning" size="mini">未请款</el-tag> <span v-if="Number(scope.row.是否请款) === 0" type="warning" size="mini">未请款</span>
<el-tag v-else-if="Number(scope.row.是否请款) === 1" type="primary" size="mini">已请款</el-tag> <span v-else-if="Number(scope.row.是否请款) === 1" type="primary" size="mini">已请款</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="发票号" width="120px"> <el-table-column align="center" label="发票号" width="120px">
@@ -96,14 +96,13 @@
<div style="display: inline-block"> <div style="display: inline-block">
<el-button <el-button
:disabled="Number(scope.row.是否请款)===1" :disabled="Number(scope.row.是否请款)===1"
type="success" type="text"
size="mini" size="mini"
icon="el-icon-share" icon="el-icon-share"
plain
@click="aboutArrival(scope.row)">关联到货单</el-button> @click="aboutArrival(scope.row)">关联到货单</el-button>
</div> </div>
</el-tooltip> </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"> <el-tooltip :open-delay="1200" effect="dark" content="编辑" placement="top">
<div style="display: inline-block"> <div style="display: inline-block">
<el-button <el-button
@@ -121,7 +120,7 @@
:disabled="Number(scope.row.是否请款)===1" :disabled="Number(scope.row.是否请款)===1"
type="text" type="text"
size="mini" size="mini"
icon="el-icon-right" icon="el-icon-delete"
style="margin-left: 20px" style="margin-left: 20px"
@click="deleteTable1(scope.row)"/> @click="deleteTable1(scope.row)"/>
</div> </div>
@@ -645,4 +644,21 @@ function saveAs(blob, filename = '下载文件.xls') {
} }
} }
</style> </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>

View File

@@ -20,8 +20,8 @@
:label="item.label" :label="item.label"
:value="item.value"/> :value="item.value"/>
</el-select> </el-select>
<el-button icon="el-icon-search" type="success" size="small" @click="pageCurrent = 1;pageSize = 100;getTableData()">查询</el-button> <el-button icon="el-icon-search" type="primary" plain size="small" @click="pageCurrent = 1;pageSize = 100;getTableData()">查询</el-button>
<el-button type="primary" icon="el-icon-download" size="small" @click="exportExcel()">导出</el-button> <el-button type="primary" icon="el-icon-download" plain size="small" @click="exportExcel()">导出</el-button>
</div> </div>
</el-card> </el-card>
<el-card style="width: 72%"> <el-card style="width: 72%">
@@ -44,9 +44,9 @@
align="center" align="center"
width="80px"> width="80px">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag v-if="Number(scope.row.是否到货)===0" type="warning" size="mini">未到</el-tag> <span v-if="Number(scope.row.是否到货)===0" type="warning" size="mini">未到</span>
<el-tag v-if="Number(scope.row.是否到货)===1" type="primary" size="mini">已到</el-tag> <span v-if="Number(scope.row.是否到货)===1" type="primary" size="mini">已到</span>
<el-tag v-if="Number(scope.row.是否到货)===2" type="success" size="mini">已结</el-tag> <span v-if="Number(scope.row.是否到货)===2" type="success" size="mini">已结</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column

View File

@@ -26,8 +26,9 @@
:value="item.value"/> :value="item.value"/>
</el-select> </el-select>
<el-button <el-button
type="success" type="primary"
size="small" size="small"
plain
icon="el-icon-search" icon="el-icon-search"
@click="total1=0;pageCurrent1=1;pageSize1=10;searchTable1()">查询</el-button> @click="total1=0;pageCurrent1=1;pageSize1=10;searchTable1()">查询</el-button>
</el-row> </el-row>
@@ -40,6 +41,7 @@
:row-class-name="tableRowClassName" :row-class-name="tableRowClassName"
size="mini" size="mini"
border border
stripe
style="width: 100%" style="width: 100%"
height="700px" height="700px"
highlight-current-row highlight-current-row
@@ -59,7 +61,7 @@
{{ scope.row.规定到货时间 }} {{ scope.row.规定到货时间 }}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="供应商" align="center"> <el-table-column label="供应商" align="center" show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.供应商名称 }} {{ scope.row.供应商名称 }}
</template> </template>
@@ -91,8 +93,12 @@
</el-table-column> </el-table-column>
<el-table-column label="操作" align="center" min-width="100px"> <el-table-column label="操作" align="center" min-width="100px">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button type="warning" plain size="mini" @click="exportTable()">打印</el-button> <el-button type="text" size="mini" icon="el-icon-printer" @click="exportTable()">打印</el-button>
<el-button type="danger" plain size="mini" @click="Disable(scope.row)">打回</el-button> <el-tooltip :open-delay="1000" effect="dark" content="打回" placement="top">
<div style="display: inline-block">
<el-button type="text" size="mini" style="margin-left: 10px" icon="el-icon-delete" @click="Disable(scope.row)"/>
</div>
</el-tooltip>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>

View File

@@ -10,14 +10,15 @@
:value="item.value"/> :value="item.value"/>
</el-select> </el-select>
<el-button <el-button
type="success" type="primary"
size="small" size="small"
plain
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> </el-card>
<el-card> <el-card>
<el-table v-loading="" :data="tableData2" :summary-method="getSummaries1" show-summary border style="width: 100%;max-height: 700px;" height="700px"> <el-table v-loading="" :data="tableData2" :summary-method="getSummaries1" show-summary border stripe style="width: 100%;max-height: 700px;" height="700px">
<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">
{{ scope.row.项目名称 }} {{ scope.row.项目名称 }}

View File

@@ -23,12 +23,13 @@
:value="item.value"/> :value="item.value"/>
</el-select> </el-select>
<el-button <el-button
type="success" type="primary"
size="small" size="small"
plain
icon="el-icon-search" icon="el-icon-search"
style="margin-left: 10px" style="margin-left: 10px"
@click="pageCurrent1=1;pageSize1=30;total1=0;searchTable1()">查询</el-button> @click="pageCurrent1=1;pageSize1=30;total1=0;searchTable1()">查询</el-button>
<el-button type="primary" size="small" icon="el-icon-goods" style="" @click="requestFund">新增请款</el-button> <el-button class="button111" size="small" icon="el-icon-goods" style="" @click="requestFund">新增请款</el-button>
</el-card> </el-card>
<el-row> <el-row>
<el-col style="width: 1200px"> <el-col style="width: 1200px">
@@ -57,9 +58,9 @@
<!-- <el-table-column label="请款付款情况" align="center">--> <!-- <el-table-column label="请款付款情况" align="center">-->
<el-table-column label="审批情况内容" width="100" align="center"> <el-table-column label="审批情况内容" width="100" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag v-if="Number(scope.row.审批情况流水号)===3" type="primary" size="small">未审批</el-tag> <span v-if="Number(scope.row.审批情况流水号)===3" type="primary" size="small">未审批</span>
<el-tag v-if="Number(scope.row.审批情况流水号)===1" type="success" size="small">已通过</el-tag> <span v-if="Number(scope.row.审批情况流水号)===1" type="success" size="small">已通过</span>
<el-tag v-if="Number(scope.row.审批情况流水号)===2" type="danger" size="small">不通过</el-tag> <span v-if="Number(scope.row.审批情况流水号)===2" type="danger" size="small">不通过</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="未通过审批原因" width="130" align="center"> <el-table-column label="未通过审批原因" width="130" align="center">
@@ -69,9 +70,9 @@
</el-table-column> </el-table-column>
<el-table-column label="付款情况" width="100" align="center"> <el-table-column label="付款情况" width="100" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag v-if="Number(scope.row.付款情况流水号)===3" type="primary" size="small">未操作</el-tag> <span v-if="Number(scope.row.付款情况流水号)===3" type="primary" size="small">未操作</span>
<el-tag v-if="Number(scope.row.付款情况流水号)===1" type="success" size="small">已同意</el-tag> <span v-if="Number(scope.row.付款情况流水号)===1" type="success" size="small">已同意</span>
<el-tag v-if="Number(scope.row.付款情况流水号)===2" type="danger" size="small">不同意</el-tag> <span v-if="Number(scope.row.付款情况流水号)===2" type="danger" size="small">不同意</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="未付款原因" width="100" align="center"> <el-table-column label="未付款原因" width="100" align="center">
@@ -82,7 +83,11 @@
<!-- </el-table-column>--> <!-- </el-table-column>-->
<el-table-column label="操作" align="center" width="120"> <el-table-column label="操作" align="center" width="120">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button :disabled="Number(id)!==Number(scope.row.请款人) || (Number(scope.row.审批情况流水号)===1 && Number(scope.row.付款情况流水号)!==2)" type="danger" size="mini" icon="el-icon-delete" style="margin-left: 10px" plain @click="cancelRequestFund(scope.row)">取消请款</el-button> <el-tooltip :open-delay="1000" effect="dark" content="取消请款" placement="top">
<div style="display: inline-block">
<el-button :disabled="Number(id)!==Number(scope.row.请款人) || (Number(scope.row.审批情况流水号)===1 && Number(scope.row.付款情况流水号)!==2)" type="text" size="mini" icon="el-icon-delete" style="margin-left: 10px" @click="cancelRequestFund(scope.row)"/>
</div>
</el-tooltip>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
@@ -437,3 +442,20 @@ export default {
margin-bottom: 5px; margin-bottom: 5px;
} }
</style> </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>

View File

@@ -19,14 +19,15 @@
<el-input v-model="supplierName0" placeholder="供应商" size="small" clearable/> <el-input v-model="supplierName0" placeholder="供应商" size="small" clearable/>
<el-tooltip :open-delay="1000" effect="dark" content="查询外购备料清款信息" placement="top"> <el-tooltip :open-delay="1000" effect="dark" content="查询外购备料清款信息" placement="top">
<el-button <el-button
type="success" type="primary"
size="small" size="small"
plain
icon="el-icon-search" icon="el-icon-search"
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-tooltip> </el-tooltip>
<el-tooltip :open-delay="1000" effect="dark" content="对选择的请款任务创建请款申请" placement="top"> <el-tooltip :open-delay="1000" effect="dark" content="对选择的请款任务创建请款申请" placement="top">
<el-button type="primary" size="small" icon="el-icon-goods" style="" @click="requestFund">请款</el-button> <el-button class="button111" size="small" icon="el-icon-goods" style="" @click="requestFund">请款</el-button>
</el-tooltip> </el-tooltip>
</el-col> </el-col>
</el-card> </el-card>
@@ -89,9 +90,9 @@
</el-table-column> </el-table-column>
<el-table-column label="审批情况内容" width="100" align="center"> <el-table-column label="审批情况内容" width="100" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag v-if="Number(scope.row.审批情况流水号)===3" type="primary" size="mini">未审批</el-tag> <span v-if="Number(scope.row.审批情况流水号)===3" type="primary" size="mini">未审批</span>
<el-tag v-if="Number(scope.row.审批情况流水号)===1" type="success" size="mini">已通过</el-tag> <span v-if="Number(scope.row.审批情况流水号)===1" type="success" size="mini">已通过</span>
<el-tag v-if="Number(scope.row.审批情况流水号)===2" type="danger" size="mini">不通过</el-tag> <span v-if="Number(scope.row.审批情况流水号)===2" type="danger" size="mini">不通过</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="未通过审批原因" width="110" align="center"> <el-table-column label="未通过审批原因" width="110" align="center">
@@ -101,9 +102,9 @@
</el-table-column> </el-table-column>
<el-table-column label="付款情况" width="100" align="center"> <el-table-column label="付款情况" width="100" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag v-if="Number(scope.row.付款情况流水号)===3" type="primary" size="mini">未操作</el-tag> <span v-if="Number(scope.row.付款情况流水号)===3" type="primary" size="mini">未操作</span>
<el-tag v-if="Number(scope.row.付款情况流水号)===1" type="success" size="mini">已同意</el-tag> <span v-if="Number(scope.row.付款情况流水号)===1" type="success" size="mini">已同意</span>
<el-tag v-if="Number(scope.row.付款情况流水号)===2" type="danger" size="mini">不同意</el-tag> <span v-if="Number(scope.row.付款情况流水号)===2" type="danger" size="mini">不同意</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="未付款原因" width="100" align="center"> <el-table-column label="未付款原因" width="100" align="center">
@@ -135,7 +136,7 @@
</el-card> </el-card>
<el-card style="margin-left: 0px;width: 32%;float: left"> <el-card style="margin-left: 0px;width: 32%;float: left">
<el-table-column type="expand" label="详情"> <el-table-column type="expand" label="详情">
<el-table :data="gridData" class="subTableHeader" stripe size="mini" show-summary style="width: 100%"> <el-table :data="gridData" class="subTableHeader" size="mini" show-summary style="width: 100%">
<el-table-column width="50" align="center" type="index" label="序号"/> <el-table-column width="50" align="center" type="index" label="序号"/>
<el-table-column min-width="150" align="center" label="发票号"> <el-table-column min-width="150" align="center" label="发票号">
<template slot-scope="scope"> <template slot-scope="scope">
@@ -423,3 +424,21 @@ export default {
} }
} }
</style> </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>

View File

@@ -17,8 +17,8 @@
:label="item.label" :label="item.label"
:value="item.value"/> :value="item.value"/>
</el-select> </el-select>
<el-button type="success" size="small" style="margin-left: 10px" @click="searchContractDetail">查询明细</el-button> <el-button type="primary" plain size="small" icon="el-icon-search" style="margin-left: 10px" @click="searchContractDetail">查询明细</el-button>
<el-button type="primary" style="margin: 10px" size="small" @click="submitInStorage">确认到货</el-button> <el-button class="button111" style="margin: 10px" size="small" icon="el-icon-circle-check" @click="submitInStorage">确认到货</el-button>
</el-card> </el-card>
<el-card> <el-card>
<el-table ref="multipleTable" :data="table1" border stripe size="mini" highlight-current-row style="width: 100%;margin-bottom: 5px" @selection-change="handleSelectionChange"> <el-table ref="multipleTable" :data="table1" border stripe size="mini" highlight-current-row style="width: 100%;margin-bottom: 5px" @selection-change="handleSelectionChange">
@@ -213,4 +213,21 @@ export default {
margin-bottom: 5px; margin-bottom: 5px;
} }
</style> </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>