去分页
This commit is contained in:
@@ -29,7 +29,7 @@
|
|||||||
: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="total = 0;pageSize = 10;pageList = 1;getTable()">查询</el-button>
|
<el-button type="success" size="small" icon="el-icon-search" style="margin-left:10px" @click="total = 0;pageSize = 10000;pageList = 1;getTable()">查询</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
</el-col>
|
</el-col>
|
||||||
@@ -142,30 +142,6 @@
|
|||||||
{{ scope.row.零件类型名称 }}
|
{{ scope.row.零件类型名称 }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<!--<el-table-column label="是否外协" align="center" width="90">-->
|
|
||||||
<!--<template slot-scope="scope">-->
|
|
||||||
<!--<el-checkbox v-model="tableData[scope.$index].checked_waixie" @change="gaibianwaixie(scope.$index, scope.row)"/>-->
|
|
||||||
<!--外协-->
|
|
||||||
<!--</template>-->
|
|
||||||
<!--</el-table-column>-->
|
|
||||||
<!--<el-table-column label="是否带料" align="center" width="90">-->
|
|
||||||
<!--<template slot-scope="scope">-->
|
|
||||||
<!--<el-checkbox :disabled="!tableData[scope.$index].checked_waixie" v-model="tableData[scope.$index].checked_dailiao"/>-->
|
|
||||||
<!--带料-->
|
|
||||||
<!--</template>-->
|
|
||||||
<!--</el-table-column>-->
|
|
||||||
<!--<el-table-column label="是否着急" align="center" width="90">-->
|
|
||||||
<!--<template slot-scope="scope">-->
|
|
||||||
<!--<el-checkbox v-model="tableData[scope.$index].checked_zhaoji"/>-->
|
|
||||||
<!--着急-->
|
|
||||||
<!--</template>-->
|
|
||||||
<!--</el-table-column>-->
|
|
||||||
<!--<el-table-column prop="name" label="打回原因" width="170" align="center">-->
|
|
||||||
<!--<template slot-scope="scope">-->
|
|
||||||
<!--<el-input v-model="tableData[scope.$index].name" type="textarea" :rows="1" style="width:150px" placeholder="原因">-->
|
|
||||||
<!--</el-input>-->
|
|
||||||
<!--</template>-->
|
|
||||||
<!--</el-table-column>-->
|
|
||||||
<el-table-column label="操作" width="200px" fixed="right" align="center">
|
<el-table-column label="操作" width="200px" fixed="right" align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button
|
<el-button
|
||||||
@@ -174,24 +150,20 @@
|
|||||||
type="primary"
|
type="primary"
|
||||||
plain
|
plain
|
||||||
@click="handleEdit(scope.$index, scope.row, 'form')">分批投产</el-button>
|
@click="handleEdit(scope.$index, scope.row, 'form')">分批投产</el-button>
|
||||||
<!--<el-button-->
|
|
||||||
<!--size="mini"-->
|
|
||||||
<!--type="primary"-->
|
|
||||||
<!--@click="handleDele(scope.$index, scope.row, 'form1')">打回</el-button>-->
|
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
<div class="block" style="margin-top: 10px;">
|
<div class="block" style="margin-top: 10px;">
|
||||||
<el-pagination
|
<el-pagination
|
||||||
|
v-show="false"
|
||||||
:current-page="currentPage"
|
:current-page="currentPage"
|
||||||
:page-sizes="[10, 20, 30, 40]"
|
:page-sizes="[10, 20, 30, 10000]"
|
||||||
:page-size="pageSize"
|
:page-size="pageSize"
|
||||||
:total="total"
|
:total="total"
|
||||||
style="width:50%;display:inline-block;"
|
style="width:50%;display:inline-block;"
|
||||||
layout="total, sizes, prev, pager, next, jumper"
|
layout="total, sizes, prev, pager, next, jumper"
|
||||||
@size-change="handleSizeChange"
|
@size-change="handleSizeChange"
|
||||||
@current-change="handleCurrentChange"/>
|
@current-change="handleCurrentChange"/>
|
||||||
<!--<el-checkbox v-model="checked_baitu" style="margin-top:0px">是否白图</el-checkbox>-->
|
|
||||||
<el-tooltip :open-delay="1200" effect="dark" content="打回到零件分配" placement="top">
|
<el-tooltip :open-delay="1200" effect="dark" content="打回到零件分配" placement="top">
|
||||||
<el-button :loading="listLoading3" type="primary" size="small" style="float:right;margin-left: 10px" @click="back">打回</el-button>
|
<el-button :loading="listLoading3" type="primary" size="small" style="float:right;margin-left: 10px" @click="back">打回</el-button>
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
@@ -267,15 +239,15 @@
|
|||||||
</el-table>
|
</el-table>
|
||||||
<div class="block" style="margin-top: 10px;">
|
<div class="block" style="margin-top: 10px;">
|
||||||
<el-pagination
|
<el-pagination
|
||||||
|
v-show="false"
|
||||||
:current-page="currentPage3"
|
:current-page="currentPage3"
|
||||||
:page-sizes="[10, 20, 30, 40]"
|
:page-sizes="[10, 20, 30, 10000]"
|
||||||
:page-size="pageSize3"
|
:page-size="pageSize3"
|
||||||
:total="total3"
|
:total="total3"
|
||||||
layout="total, sizes, prev, pager, next, jumper"
|
layout="total, sizes, prev, pager, next, jumper"
|
||||||
@size-change="handleSizeChange3"
|
@size-change="handleSizeChange3"
|
||||||
@current-change="handleCurrentChange3"/>
|
@current-change="handleCurrentChange3"/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</el-card>
|
</el-card>
|
||||||
|
|
||||||
@@ -425,11 +397,11 @@ export default {
|
|||||||
gongyijihua: '',
|
gongyijihua: '',
|
||||||
radio: 0, // 第一组
|
radio: 0, // 第一组
|
||||||
total: 0, // 总条数
|
total: 0, // 总条数
|
||||||
pageSize: 10, // 每页显示条数
|
pageSize: 10000, // 每页显示条数
|
||||||
pageList: 1, // 后台获取页
|
pageList: 1, // 后台获取页
|
||||||
currentPage: 1, // 显示当前页
|
currentPage: 1, // 显示当前页
|
||||||
total3: 0, // 总条数
|
total3: 0, // 总条数
|
||||||
pageSize3: 10, // 每页显示条数
|
pageSize3: 10000, // 每页显示条数
|
||||||
pageList3: 1, // 后台获取页
|
pageList3: 1, // 后台获取页
|
||||||
currentPage3: 1, // 显示当前页
|
currentPage3: 1, // 显示当前页
|
||||||
listLoading: false,
|
listLoading: false,
|
||||||
@@ -724,7 +696,7 @@ export default {
|
|||||||
this.listLoading1 = false
|
this.listLoading1 = false
|
||||||
})
|
})
|
||||||
this.total = 0
|
this.total = 0
|
||||||
this.pageSize = 10
|
this.pageSize = 10000
|
||||||
this.pageList = 1
|
this.pageList = 1
|
||||||
this.getTable()
|
this.getTable()
|
||||||
} else {
|
} else {
|
||||||
@@ -787,7 +759,7 @@ export default {
|
|||||||
this.checked_baitu = false
|
this.checked_baitu = false
|
||||||
this.checked_gaonandu = false
|
this.checked_gaonandu = false
|
||||||
this.total = 0
|
this.total = 0
|
||||||
this.pageSize = 10
|
this.pageSize = 10000
|
||||||
this.pageList = 1
|
this.pageList = 1
|
||||||
this.shijiancuo1 = 0
|
this.shijiancuo1 = 0
|
||||||
this.shijiancuo = 0
|
this.shijiancuo = 0
|
||||||
@@ -999,7 +971,7 @@ export default {
|
|||||||
message: '打回档案成功!'
|
message: '打回档案成功!'
|
||||||
})
|
})
|
||||||
this.total = 0
|
this.total = 0
|
||||||
this.pageSize = 10
|
this.pageSize = 10000
|
||||||
this.pageList = 1
|
this.pageList = 1
|
||||||
this.getTable()
|
this.getTable()
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -48,7 +48,7 @@
|
|||||||
style="top: 1px;"
|
style="top: 1px;"
|
||||||
placeholder="选择开始日期"/>
|
placeholder="选择开始日期"/>
|
||||||
<el-tooltip :open-delay="1200" effect="dark" content="变更零件加工开始和结束时间" placement="top">
|
<el-tooltip :open-delay="1200" effect="dark" content="变更零件加工开始和结束时间" placement="top">
|
||||||
<el-button size="small" type="primary" style="margin: 10px" @click="PartPlan()">零件计划变更</el-button>
|
<el-button size="small" type="primary" @click="PartPlan()">零件计划变更</el-button>
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
<el-button v-if="false" size="small" type="primary" icon="el-icon-download" @click="Export()">导出Excel</el-button>
|
<el-button v-if="false" size="small" type="primary" icon="el-icon-download" @click="Export()">导出Excel</el-button>
|
||||||
<el-table
|
<el-table
|
||||||
@@ -134,24 +134,25 @@
|
|||||||
</el-table>
|
</el-table>
|
||||||
<div v-if="是否扫描 === false" class="block" style="margin-top: 10px;">
|
<div v-if="是否扫描 === false" class="block" style="margin-top: 10px;">
|
||||||
<el-pagination
|
<el-pagination
|
||||||
|
v-show="false"
|
||||||
:current-page="currentPage"
|
:current-page="currentPage"
|
||||||
:page-sizes="[10, 20, 30, 40]"
|
:page-sizes="[10, 20, 30, 1000000]"
|
||||||
:page-size="10"
|
:page-size="pageSize"
|
||||||
:total="total"
|
:total="total"
|
||||||
style="float:left"
|
style="float:left"
|
||||||
layout="total, sizes, prev, pager, next, jumper"
|
layout="total, sizes, prev, pager, next, jumper"
|
||||||
@size-change="handleSizeChange"
|
@size-change="handleSizeChange"
|
||||||
@current-change="handleCurrentChange"/>
|
@current-change="handleCurrentChange"/>
|
||||||
<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-download" style="float:right;margin:5px 50px 10px 10px" @click="Selection">选入</el-button>
|
<el-button type="warning" size="small" icon="el-icon-download" @click="Selection">选入</el-button>
|
||||||
</el-tooltip>
|
</el-tooltip>
|
||||||
<el-button type="warning" size="small" icon="el-icon-download" style="float:right;margin:5px 20px 10px 10px" @click="SelectionAll">全部选入</el-button>
|
<el-button type="warning" size="small" icon="el-icon-download" @click="SelectionAll">全部选入</el-button>
|
||||||
</div>
|
</div>
|
||||||
<div v-if="是否扫描 === true" class="block" style="margin-top: 10px;">
|
<div v-if="是否扫描 === true" class="block" style="margin-top: 10px;">
|
||||||
<el-pagination
|
<el-pagination
|
||||||
:current-page="currentPage5"
|
:current-page="currentPage5"
|
||||||
:page-sizes="[10, 20, 30, 40]"
|
:page-sizes="[10, 20, 30, 1000000]"
|
||||||
:page-size="10"
|
:page-size="pageSize5"
|
||||||
:total="total5"
|
:total="total5"
|
||||||
style="float:left"
|
style="float:left"
|
||||||
layout="total, sizes, prev, pager, next, jumper"
|
layout="total, sizes, prev, pager, next, jumper"
|
||||||
@@ -424,7 +425,7 @@
|
|||||||
<el-pagination
|
<el-pagination
|
||||||
:current-page="currentPage1"
|
:current-page="currentPage1"
|
||||||
:page-sizes="[10, 20, 30, 40]"
|
:page-sizes="[10, 20, 30, 40]"
|
||||||
:page-size="10"
|
:page-size="pageSize1"
|
||||||
:total="total1"
|
:total="total1"
|
||||||
style="float:left"
|
style="float:left"
|
||||||
layout="total, sizes, prev, pager, next, jumper"
|
layout="total, sizes, prev, pager, next, jumper"
|
||||||
@@ -705,15 +706,15 @@ export default {
|
|||||||
tableData2: [], // 导出临时表
|
tableData2: [], // 导出临时表
|
||||||
length: 0, // 记TABLEDATA1的长度
|
length: 0, // 记TABLEDATA1的长度
|
||||||
total: 0, // 总条数
|
total: 0, // 总条数
|
||||||
pageSize: 10, // 每页显示条数
|
pageSize: 1000000, // 每页显示条数
|
||||||
pageList: 1, // 后台获取页
|
pageList: 1, // 后台获取页
|
||||||
currentPage: 1, // 显示当前页
|
currentPage: 1, // 显示当前页
|
||||||
total1: 0, // 总条数
|
total1: 0, // 总条数
|
||||||
pageSize1: 10, // 每页显示条数
|
pageSize1: 1000000, // 每页显示条数
|
||||||
pageList1: 1, // 后台获取页
|
pageList1: 1, // 后台获取页
|
||||||
currentPage1: 1, // 显示当前页
|
currentPage1: 1, // 显示当前页
|
||||||
total5: 0, // 总条数
|
total5: 0, // 总条数
|
||||||
pageSize5: 10, // 每页显示条数
|
pageSize5: 1000000, // 每页显示条数
|
||||||
pageList5: 1, // 后台获取页
|
pageList5: 1, // 后台获取页
|
||||||
currentPage5: 1 // 显示当前页
|
currentPage5: 1 // 显示当前页
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -13,39 +13,35 @@
|
|||||||
{{ scope.row.申请人姓名 }}
|
{{ scope.row.申请人姓名 }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="原物料" align="center">
|
<el-table-column label="原物料名称" align="center" min-width="150px">
|
||||||
<el-table-column label="原物料名称" align="center" min-width="150px">
|
<template slot-scope="scope">
|
||||||
<template slot-scope="scope">
|
{{ scope.row.原物料名称 }}
|
||||||
{{ scope.row.原物料名称 }}
|
</template>
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column label="原物料规格" align="center" min-width="150px">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
{{ scope.row.原物料规格 }}
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column label="原物料型号" align="center" min-width="150px">
|
|
||||||
<template slot-scope="scope">
|
|
||||||
{{ scope.row.原物料型号 }}
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="新物料" align="center">
|
<el-table-column label="原物料规格" align="center" min-width="150px">
|
||||||
<el-table-column label="新物料名称" align="center" min-width="150px">
|
<template slot-scope="scope">
|
||||||
<template slot-scope="scope">
|
{{ scope.row.原物料规格 }}
|
||||||
{{ scope.row.新物料名称 }}
|
</template>
|
||||||
</template>
|
</el-table-column>
|
||||||
</el-table-column>
|
<el-table-column label="原物料型号" align="center" min-width="150px">
|
||||||
<el-table-column label="新物料规格" align="center" min-width="150px">
|
<template slot-scope="scope">
|
||||||
<template slot-scope="scope">
|
{{ scope.row.原物料型号 }}
|
||||||
{{ scope.row.新物料规格 }}
|
</template>
|
||||||
</template>
|
</el-table-column>
|
||||||
</el-table-column>
|
<el-table-column label="新物料名称" align="center" min-width="150px">
|
||||||
<el-table-column label="新物料型号" align="center" min-width="150px">
|
<template slot-scope="scope">
|
||||||
<template slot-scope="scope">
|
{{ scope.row.新物料名称 }}
|
||||||
{{ scope.row.新物料型号 }}
|
</template>
|
||||||
</template>
|
</el-table-column>
|
||||||
</el-table-column>
|
<el-table-column label="新物料规格" align="center" min-width="150px">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
{{ scope.row.新物料规格 }}
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column label="新物料型号" align="center" min-width="150px">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
{{ scope.row.新物料型号 }}
|
||||||
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="是否同意修改" width="200px" align="center" fixed="right">
|
<el-table-column label="是否同意修改" width="200px" align="center" fixed="right">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
|
|||||||
Reference in New Issue
Block a user