图号名称规格
This commit is contained in:
@@ -14,14 +14,14 @@ export function searchMaterial(pageCurrent, pageSize, num1, check1, val1, check2
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
// 查询分配后的基本件
|
// 查询分配后的基本件
|
||||||
export function searchPart(pageCurrent, pageSize, num1, person) {
|
export function searchPart(pageCurrent, pageSize, num1, check1, val1, check2, val2, check3, val3, person) {
|
||||||
return request({
|
return request({
|
||||||
url: '',
|
url: '',
|
||||||
method: 'post',
|
method: 'post',
|
||||||
data: {
|
data: {
|
||||||
type: '1',
|
type: '1',
|
||||||
name: '采购管理_采购部采购_查询物料_基本件_分配后',
|
name: '采购管理_采购部采购_查询物料_基本件_分配后',
|
||||||
param: `物料状态编号=${num1}&人员编号=${person}`,
|
param: `物料状态编号=${num1}&零件图号_check=${check1}&零件图号=${val1}&零件名称_check=${check2}&零件名称=${val2}&零件规格_check=${check3}&零件规格=${val3}&人员编号=${person}`,
|
||||||
Pagination: pageCurrent + '&' + pageSize
|
Pagination: pageCurrent + '&' + pageSize
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -144,6 +144,12 @@
|
|||||||
<el-row style="margin-bottom: 10px">
|
<el-row style="margin-bottom: 10px">
|
||||||
<span>物料状态:</span>
|
<span>物料状态:</span>
|
||||||
<el-cascader :options="materialStatus" v-model="materialStatusValue" size="small" change-on-select/>
|
<el-cascader :options="materialStatus" v-model="materialStatusValue" size="small" change-on-select/>
|
||||||
|
<span>零件图号:</span>
|
||||||
|
<el-input v-model="partNum" placeholder="零件图号" size="small" clearable/>
|
||||||
|
<span>零件名称:</span>
|
||||||
|
<el-input v-model="partName" placeholder="零件名称" size="small" clearable/>
|
||||||
|
<span>零件规格:</span>
|
||||||
|
<el-input v-model="partSpec" placeholder="零件规格" size="small" clearable/>
|
||||||
<el-button
|
<el-button
|
||||||
type="success"
|
type="success"
|
||||||
size="small"
|
size="small"
|
||||||
@@ -600,6 +606,9 @@ export default {
|
|||||||
name: '', // 创建询价单
|
name: '', // 创建询价单
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
partNum: '',
|
||||||
|
partName: '',
|
||||||
|
partSpec: '',
|
||||||
check3: 0, // 供应商
|
check3: 0, // 供应商
|
||||||
check4: 0, // 询价单号
|
check4: 0, // 询价单号
|
||||||
materialStatusValue: [0], // 物料状态
|
materialStatusValue: [0], // 物料状态
|
||||||
@@ -798,7 +807,11 @@ export default {
|
|||||||
this.searchTable11()
|
this.searchTable11()
|
||||||
},
|
},
|
||||||
searchTable12() { // 查询基本件列表
|
searchTable12() { // 查询基本件列表
|
||||||
searchPart(this.pageCurrent12, this.pageSize12, this.materialStatusValue[this.materialStatusValue.length - 1], this.id).then(response => {
|
let check1, check2, check3
|
||||||
|
this.partNum ? check1 = 1 : check1 = 0
|
||||||
|
this.partName ? check2 = 1 : check2 = 0
|
||||||
|
this.partSpec ? check3 = 1 : check3 = 0
|
||||||
|
searchPart(this.pageCurrent12, this.pageSize12, this.materialStatusValue[this.materialStatusValue.length - 1], check1, this.partNum, check2, this.partName, check3, this.partSpec, this.id).then(response => {
|
||||||
console.log(response.data.rows, 9999)
|
console.log(response.data.rows, 9999)
|
||||||
this.tableData12 = response.data.rows
|
this.tableData12 = response.data.rows
|
||||||
this.total12 = response.data.total
|
this.total12 = response.data.total
|
||||||
|
|||||||
Reference in New Issue
Block a user