页面采购查询分页

This commit is contained in:
bryan sun
2020-01-09 16:02:17 +08:00
parent ee622cd57c
commit 01a5a27d69
4 changed files with 28 additions and 26 deletions

View File

@@ -17,8 +17,8 @@ export const uploadInvoiceScan1 = `http://192.168.1.231:8411/submit/uploadInvoic
export const download = `http://192.168.1.231:8411/submit/downloadFile.ashx` // ContractInformationManagement
export const uploadPerson = `http://192.168.1.231:8411/submit/uploadPerson.ashx`
export const uploadOP = `http://192.168.1.231:8411/submit/uploadOP.ashx`
export const url = `http://192.168.1.231:8411/submit/MESCommonBase.ashx` // 采购件入库、离线件入库
export const ExcelDownLoad = 'http:/192.168.1.231:8411/submit/downloadFile.ashx' // 导出excel
export const url = `http://192.168.0.107:8079/submit/MESCommonBase.ashx` // 采购件入库、离线件入库
export const ExcelDownLoad = 'http://192.168.0.107:8079/submit/downloadFile.ashx' // 导出excel
// 技术中心程序发布时要更改下面所有的IP到0段
export const ServerIP = `http://192.168.1.231:8411/webpage/file/`
export const uploadFileMachine = `http://192.168.1.231:8411/submit/uploadFileMachine.ashx` // 机床总图 发布时改成0.231
@@ -26,7 +26,7 @@ export const downloadFileMachine = `http://192.168.1.231:8411/submit/downloadFil
export const MESUploadFile = `http://192.168.1.231:8411/submit/MESUploadFile.ashx`
export const MESDownloadFile = `http://192.168.1.231:8411/submit/MESDownloadFile.ashx`
const service = axios.create({
baseURL: `http://192.168.0.110:8002/submit/MESCommonBase.ashx`,
baseURL: `http://192.168.0.107:8079/submit/MESCommonBase.ashx`,
timeout: 1500000 // 请求超时时间
})
export default service

View File

@@ -23,7 +23,7 @@
<el-button type="success" class="el-icon-search" size="small" style="margin: 0px 10px;" @click="pageCurrent = 1;pageSize = 100;getTableData()">查询</el-button>
</el-card>
<el-row>
<el-col style="width: 40%">
<el-col style="width: 37%">
<el-card>
<el-table
:data="tableData1"
@@ -36,7 +36,7 @@
border
@current-change="getRow">
<el-table-column type="index" label="序号" width="50"/>
<el-table-column align="center" label="工艺名" show-overflow-tooltip width="70">
<el-table-column align="center" label="工艺名" show-overflow-tooltip min-width="70">
<template slot-scope="scope">
{{ scope.row.工艺名称 }}
</template>
@@ -56,11 +56,11 @@
{{ scope.row.操作者 }}
</template>
</el-table-column>
<el-table-column align="center" label="排产日期" width="95">
<template slot-scope="scope">
{{ scope.row.排产日期 }}
</template>
</el-table-column>
<!-- <el-table-column align="center" label="排产日期" width="95">-->
<!-- <template slot-scope="scope">-->
<!-- {{ scope.row.排产日期 }}-->
<!-- </template>-->
<!-- </el-table-column>-->
<el-table-column align="center" label="完成日期" width="95">
<template slot-scope="scope">
{{ scope.row.完成日期 }}
@@ -69,7 +69,7 @@
</el-table>
</el-card>
</el-col>
<el-col style="width: 60%">
<el-col style="width: 63%">
<el-card>
<el-table
:data="tableData"
@@ -80,16 +80,16 @@
border
height="630"
@current-change="getCurrentRow">
<el-table-column type="index" align="center" label="号" width="80">
<el-table-column type="index" align="center" label="跟单号" width="140">
<template slot-scope="scope">
<el-radio :label="scope.row.号" v-model="radio"/>
</template>
</el-table-column>
<el-table-column align="center" label="跟单号" width="80">
<template slot-scope="scope">
{{ scope.row.跟单号 }}
<el-radio :label="scope.row.跟单号" v-model="radio"/>
</template>
</el-table-column>
<!-- <el-table-column align="center" label="跟单号" width="80">-->
<!-- <template slot-scope="scope">-->
<!-- {{ scope.row.跟单号 }}-->
<!-- </template>-->
<!-- </el-table-column>-->
<el-table-column align="center" label="零件图号" show-overflow-tooltip width="200">
<template slot-scope="scope">
{{ scope.row.零件图号 }}

View File

@@ -37,7 +37,7 @@
{{ scope.row.设备总工时 }}
</template>
</el-table-column>
<el-table-column label="录入准结工时" align="center" width="100px">
<el-table-column label="录入准结" align="center" width="70px">
<template slot-scope="scope">
{{ scope.row.修补准结总工时 }}
</template>
@@ -66,7 +66,7 @@
<el-col :span="15">
<el-card>
<el-table v-loading="loading2" :data="tableData2" size="mini" stripe style="width: 100%;" height="700px" border element-loading-text="拼命加载中">
<el-table-column label="零件图号" align="center" width="140px" show-overflow-tooltip>
<el-table-column label="零件图号" align="center" width="135px" show-overflow-tooltip>
<template slot-scope="scope">
{{ scope.row.零件图号 }}
</template>
@@ -96,12 +96,12 @@
{{ scope.row.设备工时 }}
</template>
</el-table-column>
<el-table-column label="录入准结工时" align="center" width="100px">
<el-table-column label="录入准结" align="center" width="70px">
<template slot-scope="scope">
{{ scope.row.修补准结工时 }}
</template>
</el-table-column>
<el-table-column label="加工时间" align="center" width="135px">
<el-table-column label="加工时间" align="center" width="115px">
<template slot-scope="scope">
{{ scope.row.操作时间 }}
</template>

View File

@@ -233,21 +233,23 @@
<!--</template>-->
<!--</el-table-column>-->
</el-table>
<div class="block">
<div class="block" style="display: inline-block;">
<el-pagination
:current-page="pageCurrent11"
:page-sizes="[10, 50, 100, 150]"
:page-size="pageSize11"
:total="total11"
style="display:inline-block;width:50px"
layout="total"
layout="total, sizes, prev, pager, next, jumper"
@size-change="handleSizeChange11"
@current-change="handleCurrentChange11"/>
</div>
<div style="display: inline-block; float: left">
<el-tooltip :open-delay="1000" effect="dark" content="为选择的询价单添加物料" placement="top">
<el-button
type="warning"
size="small"
style="margin: 0px 20px"
style="margin: 0px 20px; display: inline-block;"
@click="addInquirySheet">选入物料</el-button>
</el-tooltip>
</div>
@@ -1188,7 +1190,7 @@ export default {
tableData11: [], // 外购件列表
total11: 0,
pageCurrent11: 1,
pageSize11: 1000,
pageSize11: 50,
tableData12: [], // 基本件列表
total12: 0,
pageCurrent12: 1,