采购件查询

This commit is contained in:
bryan sun
2019-12-23 08:32:02 +08:00
parent 14fe2c7738
commit c368e14219
3 changed files with 40 additions and 42 deletions

View File

@@ -43,7 +43,7 @@ export function searchTable2(...params) {
method: 'post',
data: {
type: '1',
name: '采购管理_采购部采购_查询物料_基本件_分配后_加供应商',
name: '采购管理_采购部采购_查询物料_基本件_分配后_加供应商_新',
param: `机床流水号_check=${params[0]}&机床流水号=${params[1]}&组件流水号_check=${params[2]}&组件流水号=${params[3]}&零件名称_check=${params[6]}&零件名称=${params[7]}&零件规格_check=${params[8]}&零件规格=${params[9]}&零件图号_check=${params[10]}&零件图号=${params[11]}`,
Pagination: params[4] + '&' + params[5]
}

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.0.101:8074/submit/MESCommonBase.ashx` // 采购件入库、离线件入库
export const ExcelDownLoad = 'http://192.168.0.101:8074/submit/downloadFile.ashx' // 导出excel
export const url = `http://192.168.0.104:8079/submit/MESCommonBase.ashx` // 采购件入库、离线件入库
export const ExcelDownLoad = 'http://192.168.0.104: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.101:8074/submit/MESCommonBase.ashx`,
baseURL: `http://192.168.0.104:8079/submit/MESCommonBase.ashx`,
timeout: 1500000 // 请求超时时间
})
export default service

View File

@@ -1,7 +1,7 @@
<template>
<div class="app-container">
<el-card>
<div style="width: 49.8%; float: left;margin-left: 2px">
<div style="width: 24%; float: left;margin-right: 4px">
<el-card>
<el-row>
<div style="margin-left: 43%;margin-top: 20px;font-weight: bold;font-size: 24px">不合格原因</div>
@@ -38,7 +38,7 @@
</el-table>
</el-card>
</div>
<div style="width: 49.8%; float: right; margin-right: 2px">
<div style="width: 24%; float: left;margin-right: 4px">
<el-card>
<el-row>
<div style="margin-left: 43%;margin-top: 20px;font-weight: bold;font-size: 24px">不合格处理</div>
@@ -68,9 +68,7 @@
</el-table>
</el-card>
</div>
</el-card>
<el-card>
<div style="width: 32.8%; float: left;margin-left: 2px">
<div style="width: 24%; float: left;margin-right: 4px">
<el-card>
<el-row>
<div style="margin-left: 43%;margin-top: 20px;font-weight: bold;font-size: 24px">质检尺寸</div>
@@ -107,37 +105,7 @@
</el-table>
</el-card>
</div>
<div style="width: 32.8%; float: right; margin-right: 6px;margin-left: 6px">
<el-card>
<el-row>
<div style="margin-left: 43%;margin-top: 20px;font-weight: bold;font-size: 24px">质检外观</div>
</el-row>
<el-button size="small" type="primary" icon="el-icon-circle-plus-outline" style="margin-left:75%;margin-top: 15px" @click="handleAdd4()">增加</el-button>
<el-table :data="tableData3" border style="width: 100%;max-height: 450px;margin-top: 10px" height="350px" stripe highlight-current-row size="mini">
<el-table-column
type="index"
label="序号"
align="center"
width="50"/>
<el-table-column label="质检外观" align="center">
<template slot-scope="scope">
{{ scope.row.质检外观 }}
</template>
</el-table-column>
<el-table-column label="操作" align="center" fixed="right" width="150px">
<template slot-scope="scope">
<el-button
size="mini"
type="danger"
plain
icon="el-icon-delete"
@click="handleDelete(scope.row)">删除</el-button>
</template>
</el-table-column>
</el-table>
</el-card>
</div>
<div style="width: 32.8%; float: right; margin-right: 2px">
<div style="width: 24%; float: left;margin-right: 4px">
<el-card>
<el-row>
<div style="margin-left: 43%;margin-top: 20px;font-weight: bold;font-size: 24px">质检形位</div>
@@ -169,7 +137,37 @@
</div>
</el-card>
<el-card>
<div style="width: 35.8%; float: left;margin-left: 2px">
<div style="width: 24%; float: left;margin-right: 4px;">
<el-card>
<el-row>
<div style="margin-left: 43%;margin-top: 20px;font-weight: bold;font-size: 24px">质检外观</div>
</el-row>
<el-button size="small" type="primary" icon="el-icon-circle-plus-outline" style="margin-left:75%;margin-top: 15px" @click="handleAdd4()">增加</el-button>
<el-table :data="tableData3" border style="width: 100%;max-height: 450px;margin-top: 10px" height="350px" stripe highlight-current-row size="mini">
<el-table-column
type="index"
label="序号"
align="center"
width="50"/>
<el-table-column label="质检外观" align="center">
<template slot-scope="scope">
{{ scope.row.质检外观 }}
</template>
</el-table-column>
<el-table-column label="操作" align="center" fixed="right" width="150px">
<template slot-scope="scope">
<el-button
size="mini"
type="danger"
plain
icon="el-icon-delete"
@click="handleDelete(scope.row)">删除</el-button>
</template>
</el-table-column>
</el-table>
</el-card>
</div>
<div style="width: 24%; float: left;margin-right: 4px">
<el-card>
<el-row>
<div style="margin-left: 43%;margin-top: 20px;font-weight: bold;font-size: 24px">检测项</div>
@@ -199,7 +197,7 @@
</el-table>
</el-card>
</div>
<div style="width: 63.8%; float: left;margin-left: 2px">
<div style="width: 50%; float: left;margin-right: 4px">
<el-card>
<el-row>
<div style="margin-left: 43%;margin-top: 20px;font-weight: bold;font-size: 24px">检测项明细</div>