更新
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
: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-button icon="el-icon-search" type="success" size="small" @click="pageCurrentWB = 1;pageSizeWB = 1000;pageCurrent = 1;pageSize = 1000;getTableData()">查询</el-button>
|
||||
</el-card>
|
||||
<el-card>
|
||||
<div v-for="(file, key) in hadFile" :key="key">
|
||||
@@ -62,7 +62,6 @@
|
||||
<el-table-column
|
||||
label="机床图号"
|
||||
align="center"
|
||||
sortable
|
||||
prop="机床图号"
|
||||
min-width="150px">
|
||||
<template slot-scope="scope">{{ scope.row.机床图号 }}</template>
|
||||
@@ -70,7 +69,6 @@
|
||||
<el-table-column
|
||||
label="零件图号"
|
||||
align="center"
|
||||
sortable
|
||||
prop="零件图号"
|
||||
min-width="200px">
|
||||
<template slot-scope="scope">{{ scope.row.零件图号 }}</template>
|
||||
@@ -78,7 +76,6 @@
|
||||
<el-table-column
|
||||
label="零件名称"
|
||||
align="center"
|
||||
sortable
|
||||
prop="零件名称"
|
||||
min-width="140px">
|
||||
<template slot-scope="scope">{{ scope.row.零件名称 }}</template>
|
||||
@@ -86,7 +83,6 @@
|
||||
<el-table-column
|
||||
label="组号"
|
||||
align="center"
|
||||
sortable
|
||||
prop="组号"
|
||||
min-width="80px">
|
||||
<template slot-scope="scope">{{ scope.row.组号 }}</template>
|
||||
@@ -109,14 +105,12 @@
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
label="材料"
|
||||
sortable
|
||||
prop="材料"
|
||||
align="center">
|
||||
<template slot-scope="scope">{{ scope.row.材料 }}</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
label="规格"
|
||||
sortable
|
||||
prop="规格"
|
||||
align="center">
|
||||
<template slot-scope="scope">{{ scope.row.规格 }}</template>
|
||||
@@ -161,10 +155,10 @@
|
||||
<div class="block" style="margin-top: 10px;">
|
||||
<el-pagination
|
||||
:current-page="pageCurrent"
|
||||
:page-sizes="[10, 20, 30, 40]"
|
||||
:page-sizes="[10, 20, 30, 40, 100]"
|
||||
:page-size="pageSize"
|
||||
:total="total"
|
||||
layout="total, sizes, prev, pager, next, jumper"
|
||||
layout="total"
|
||||
@size-change="handleSizeChanges"
|
||||
@current-change="handleCurrentChanges"/>
|
||||
</div>
|
||||
@@ -185,17 +179,17 @@
|
||||
align="center"
|
||||
type="index"
|
||||
width="50"/>
|
||||
<el-table-column align="center" sortable prop="物料名称" label="物料名称">
|
||||
<el-table-column align="center" prop="物料名称" label="物料名称">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.物料名称 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column align="center" sortable prop="物料规格" label="物料规格">
|
||||
<el-table-column align="center" prop="物料规格" label="物料规格">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.物料规格 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column align="center" sortable prop="物料型号" label="物料型号">
|
||||
<el-table-column align="center" prop="物料型号" label="物料型号">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.物料型号 }}
|
||||
</template>
|
||||
@@ -215,12 +209,12 @@
|
||||
{{ scope.row.机床数量 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column align="center" sortable prop="零件类型" label="零件类型">
|
||||
<el-table-column align="center" prop="零件类型" label="零件类型">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.零件类型 }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column align="center" sortable prop="供货商" label="供货商">
|
||||
<el-table-column align="center" prop="供货商" label="供货商">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.供货商 }}
|
||||
</template>
|
||||
@@ -260,10 +254,10 @@
|
||||
<div class="block" style="margin-top: 10px">
|
||||
<el-pagination
|
||||
:current-page="pageCurrentWB"
|
||||
:page-sizes="[10, 20, 30, 40]"
|
||||
:page-sizes="[10, 20, 30, 40, 100]"
|
||||
:page-size="pageSizeWB"
|
||||
:total="totalWB"
|
||||
layout="total, sizes, prev, pager, next, jumper"
|
||||
layout="total"
|
||||
@size-change="handleSizeChangeWB"
|
||||
@current-change="handleCurrentChangeWB"/>
|
||||
</div>
|
||||
@@ -291,9 +285,9 @@ export default {
|
||||
tableData: [],
|
||||
tableDataWB: [],
|
||||
pageCurrent: 1,
|
||||
pageSize: 10,
|
||||
pageSize: 1000,
|
||||
pageCurrentWB: 1,
|
||||
pageSizeWB: 10,
|
||||
pageSizeWB: 1000,
|
||||
totalWB: 0,
|
||||
hadFile: []
|
||||
}
|
||||
@@ -347,9 +341,9 @@ export default {
|
||||
groupValue(val) {
|
||||
if (val) {
|
||||
this.pageCurrentWB = 1
|
||||
this.pageSizeWB = 10
|
||||
this.pageSizeWB = 1000
|
||||
this.pageCurrent = 1
|
||||
this.pageSize = 10
|
||||
this.pageSize = 1000
|
||||
this.getTableData()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user