项目计划管理

This commit is contained in:
Vergil
2020-05-15 14:58:57 +08:00
parent 77ec32a340
commit 4a6dbfda10
2 changed files with 5 additions and 9 deletions

View File

@@ -22,7 +22,7 @@
</el-option>
</el-select>
<el-button type="primary" plain icon="el-icon-search" size="small" style="margin-left: 20px" @click="total=0;pageSize=50;pageCurrent=1;searchData();searchTable()">查询</el-button>
<el-button type="primary" plain icon="el-icon-search" size="small" style="float: right;margin-right: 20px" @click="turnTo()">组件状态查询</el-button>
<el-button type="text" plain style="float: right;margin-right: 20px;margin-top: 5px" @click="turnTo()">组件状态查询</el-button>
</el-card>
<el-card>
<el-tabs v-model="PartType2" type="border-card" style="margin-top: 10px">

View File

@@ -2,7 +2,6 @@
<div class="app-container bold-font">
<el-card>
<el-row>
<!-- <h3 style="display: inline-block;margin: 0">项目名称:</h3> -->
<el-select v-model="projectValue" filterable clearable size="small" style="margin-top:10px;width: 180px" placeholder="项目名称" @change="typeChange()">
<el-option
v-for="item in project"
@@ -10,7 +9,6 @@
:label="item.label"
:value="item.value"/>
</el-select>
<!-- <h3 style="display: inline-block;margin: 0 0 0 20px">机床名称:</h3> -->
<el-select v-model="toolNumValue" clearable filterable size="small" style="margin-bottom:10px;width: 180px" placeholder="机床名称">
<el-option
v-for="item in toolNum"
@@ -18,7 +16,6 @@
:label="item.label"
:value="item.value"/>
</el-select>
<!-- <h3 style="display: inline-block;margin: 0 0 0 20px">客户名称:</h3> -->
<el-input v-model="CustomerNameValue" placeholder="客户名称" size="small" clearable style="width:200px"/>
<el-button size="small" icon="el-icon-search" type="primary" plain style="margin-left: 10px" @click="pageSize=10; pageCurrent=1;searchTable()">查询</el-button>
</el-row>
@@ -34,9 +31,8 @@
<el-row>
<el-col style="width: 1315px;">
<el-card>
<!--<h2 style="display: inline-block;margin: 0 0 10px 0">总计划:</h2>-->
<el-table v-loading="loading" :data="tableData" height="315" highlight-current-row style="margin-top: 5px;width: 100%;" border element-loading-text="拼命加载中" @row-click="rowClick">
<el-table-column label="项目编号" align="center" width="170px" fixed="left">
<el-table-column label="项目编号" align="center" width="100px" fixed="left">
<template slot-scope="scope">
<template v-if="scope.row.edit">
<el-input v-model="scope.row.项目编号" size="mini"/>
@@ -46,17 +42,17 @@
</template>
</template>
</el-table-column>
<el-table-column label="项目名称" align="center" min-width="160px" fixed="left">
<el-table-column label="项目名称" align="center" width="110px" fixed="left">
<template slot-scope="scope">
{{ scope.row.项目名称 }}
</template>
</el-table-column>
<el-table-column label="机床图号" align="center" width="140px" fixed="left">
<el-table-column label="机床图号" align="center" width="100px" fixed="left">
<template slot-scope="scope">
{{ scope.row.机床图号 }}
</template>
</el-table-column>
<el-table-column label="机床名称" align="center" width="280px" fixed="left">
<el-table-column label="机床名称" align="center" width="200px" fixed="left">
<template slot-scope="scope">
{{ scope.row.机床名称 }}
</template>