Merge branch 'master' of http://192.168.1.149:10010/r/高精2.0
This commit is contained in:
@@ -36,13 +36,14 @@ export function searchTeam(machineNumber) {
|
||||
})
|
||||
}
|
||||
// 初始化物料
|
||||
export function searchPart() {
|
||||
export function searchPart(data1) {
|
||||
return request({
|
||||
url: '',
|
||||
method: 'post',
|
||||
data: {
|
||||
type: '1',
|
||||
name: '库存管理_离线外购件_出库查询'
|
||||
name: '库存管理_离线外购件_出库查询',
|
||||
param: '离线合同编号=' + data1
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
<template>
|
||||
<div class="app-container">
|
||||
<el-card>
|
||||
<span style="margin: 5px">离线合同编号</span>
|
||||
<el-input v-model="offlineContract" clearable size="small" style="width:200px" />
|
||||
<el-button size="small" type="success" icon="el-icon-search" style="margin: 0 0 0 10px" @click="searchPurchasePartinfo()">查询</el-button>
|
||||
</el-card>
|
||||
<el-card>
|
||||
<el-table
|
||||
v-loading="listLoading"
|
||||
@@ -186,7 +191,8 @@ export default {
|
||||
tableDataOut: [],
|
||||
listLoading: '',
|
||||
listLoading1: '',
|
||||
partnumber: ''
|
||||
partnumber: '',
|
||||
offlineContract: null // 离线合同编号
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
@@ -236,7 +242,7 @@ export default {
|
||||
searchPurchasePartinfo() {
|
||||
this.listLoading = true
|
||||
this.tableDataBasic = []
|
||||
searchPart().then(response => {
|
||||
searchPart(this.offlineContract).then(response => {
|
||||
this.tableDataBasic = response.data
|
||||
this.listLoading = false
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user