图号名称规格
This commit is contained in:
@@ -144,6 +144,12 @@
|
||||
<el-row style="margin-bottom: 10px">
|
||||
<span>物料状态:</span>
|
||||
<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
|
||||
type="success"
|
||||
size="small"
|
||||
@@ -600,6 +606,9 @@ export default {
|
||||
name: '', // 创建询价单
|
||||
data() {
|
||||
return {
|
||||
partNum: '',
|
||||
partName: '',
|
||||
partSpec: '',
|
||||
check3: 0, // 供应商
|
||||
check4: 0, // 询价单号
|
||||
materialStatusValue: [0], // 物料状态
|
||||
@@ -798,7 +807,11 @@ export default {
|
||||
this.searchTable11()
|
||||
},
|
||||
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)
|
||||
this.tableData12 = response.data.rows
|
||||
this.total12 = response.data.total
|
||||
|
||||
Reference in New Issue
Block a user