This commit is contained in:
xingquansheng
2019-09-21 17:08:22 +08:00
parent 52e223101a
commit 50c66e917e
36 changed files with 401 additions and 386 deletions

View File

@@ -9,7 +9,6 @@
:label="item.label"
:value="item.value"/>
</el-select>
<span>机床图号</span>
<el-select v-model="machineValue" placeholder="请选择机床图号" filterable size="small">
<el-option
@@ -18,7 +17,6 @@
:label="item.label"
:value="item.value"/>
</el-select>
<span>组号</span>
<el-select v-model="groupValue" placeholder="请选择组号" filterable size="small">
<el-option
@@ -27,7 +25,6 @@
:label="item.label"
:value="item.value"/>
</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-card>
<el-card>
@@ -52,9 +49,10 @@
:data="tableData"
highlight-current-row
border
stripe
size="mini"
style="width: 100%;max-height: 520px"
height="520">
height="460">
<el-table-column
label="序号"
align="center"
@@ -75,26 +73,27 @@
<el-table-column
label="零件名称"
align="center"
min-width="100px">
min-width="140px">
<template slot-scope="scope">{{ scope.row.零件名称 }}</template>
</el-table-column>
<el-table-column
label="组号"
align="center"
min-width="100px">
min-width="60px">
<template slot-scope="scope">{{ scope.row.组号 }}</template>
</el-table-column>
<el-table-column
label="零件数量"
min-width="70"
align="center">
<template slot-scope="scope">{{ scope.row.零件数量 }}</template>
</el-table-column>
<el-table-column label="部件数量" align="center">
<el-table-column label="部件数量" align="center" min-width="70">
<template slot-scope="scope">
{{ scope.row.部件数量 }}
</template>
</el-table-column>
<el-table-column label="机床数量" align="center">
<el-table-column label="机床数量" align="center" min-width="70">
<template slot-scope="scope">
{{ scope.row.机床数量 }}
</template>
@@ -140,6 +139,7 @@
:disabled="Number(id)!==0"
size="mini"
type="danger"
plain
icon="el-icon-delete"
@click="handleDelete(scope.row)">删除</el-button>
</template>
@@ -162,7 +162,8 @@
:data="tableDataWB"
style="width: 100%;min-height: 600px;"
size="mini"
height="600"
stripe
height="500"
highlight-current-row
border>
<el-table-column
@@ -230,11 +231,12 @@
{{ scope.row.整改类型 }}
</template>
</el-table-column>
<el-table-column label="操作" fixed="right" align="center" width="200">
<el-table-column label="操作" fixed="right" align="center" width="150">
<template slot-scope="scope">
<el-button
:disabled="Number(id)!==0"
size="mini"
plsin
type="danger"
icon="el-icon-delete"
@click="handleDelete(scope.row)">删除</el-button>
@@ -443,9 +445,9 @@ export default {
</script>
<style scoped>
span{
margin: 20px;
}
/*span{*/
/*margin: 20px;*/
/*}*/
.wrapper{
width: 225px;
height: 50px;