查询条件
This commit is contained in:
@@ -99,8 +99,8 @@
|
|||||||
<td colspan="6">{{ list.工艺内容及装配具体要求 }}</td>
|
<td colspan="6">{{ list.工艺内容及装配具体要求 }}</td>
|
||||||
<td align="center">{{ list.质检 }}</td>
|
<td align="center">{{ list.质检 }}</td>
|
||||||
<td>{{ list.工时 }}</td>
|
<td>{{ list.工时 }}</td>
|
||||||
<td>{{ list.完成情况 }}</td>
|
<td>{{ list.装配员 }}</td>
|
||||||
<td>{{ list.检验情况 }}</td>
|
<td>{{ list.检验员 }}</td>
|
||||||
<td width="100px">{{ list.备注 }}</td>
|
<td width="100px">{{ list.备注 }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|||||||
@@ -4,13 +4,11 @@
|
|||||||
<span>项目名称:</span>
|
<span>项目名称:</span>
|
||||||
<el-select
|
<el-select
|
||||||
v-model="entryNameValue"
|
v-model="entryNameValue"
|
||||||
:remote-method="remoteMethod"
|
|
||||||
placeholder="项目名称"
|
placeholder="项目名称"
|
||||||
style="width:200px"
|
style="width:200px"
|
||||||
size="small"
|
size="small"
|
||||||
clearable
|
clearable
|
||||||
filterable
|
filterable
|
||||||
remote
|
|
||||||
@change="empty">
|
@change="empty">
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in entryName"
|
v-for="item in entryName"
|
||||||
@@ -242,7 +240,6 @@ export default {
|
|||||||
title: '',
|
title: '',
|
||||||
dialogFormVisible2: false,
|
dialogFormVisible2: false,
|
||||||
dialogFormVisible3: false,
|
dialogFormVisible3: false,
|
||||||
List: [],
|
|
||||||
check: null,
|
check: null,
|
||||||
check1: null,
|
check1: null,
|
||||||
check2: null,
|
check2: null,
|
||||||
@@ -293,8 +290,6 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
},
|
|
||||||
mounted() {
|
|
||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@@ -350,30 +345,15 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
getList() { // 初始化项目名称
|
getList() { // 初始化项目名称
|
||||||
this.list = []
|
|
||||||
initProject().then(response => {
|
initProject().then(response => {
|
||||||
for (let i = 0; i < response.data.length; i++) {
|
for (let i = 0; i < response.data.length; i++) {
|
||||||
this.list.push({
|
this.entryName.push({
|
||||||
label: response.data[i].项目名称,
|
label: response.data[i].项目名称,
|
||||||
value: response.data[i].项目流水号
|
value: response.data[i].项目流水号
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
remoteMethod(query) {
|
|
||||||
if (query !== '') {
|
|
||||||
setTimeout(() => {
|
|
||||||
this.entryName = this.list.filter(item => {
|
|
||||||
if (item.label !== null) {
|
|
||||||
return item.label.toLowerCase()
|
|
||||||
.indexOf(query.toLowerCase()) > -1
|
|
||||||
}
|
|
||||||
})
|
|
||||||
}, 1000)
|
|
||||||
} else {
|
|
||||||
this.entryName = []
|
|
||||||
}
|
|
||||||
},
|
|
||||||
empty() {
|
empty() {
|
||||||
this.machineToolNumber = ''
|
this.machineToolNumber = ''
|
||||||
this.groupNumber = ''
|
this.groupNumber = ''
|
||||||
|
|||||||
@@ -5,13 +5,11 @@
|
|||||||
<span>项目名称:</span>
|
<span>项目名称:</span>
|
||||||
<el-select
|
<el-select
|
||||||
v-model="entryNameValue"
|
v-model="entryNameValue"
|
||||||
:remote-method="remoteMethod"
|
|
||||||
placeholder="项目名称"
|
placeholder="项目名称"
|
||||||
style="width:200px"
|
style="width:200px"
|
||||||
size="small"
|
size="small"
|
||||||
clearable
|
clearable
|
||||||
filterable
|
filterable
|
||||||
remote
|
|
||||||
@change="empty">
|
@change="empty">
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in entryName"
|
v-for="item in entryName"
|
||||||
@@ -306,8 +304,6 @@ export default {
|
|||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.fetchData()
|
this.fetchData()
|
||||||
},
|
|
||||||
mounted() {
|
|
||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@@ -367,28 +363,15 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
getList() { // 初始化项目名称
|
getList() { // 初始化项目名称
|
||||||
this.list = []
|
|
||||||
initProject().then(response => {
|
initProject().then(response => {
|
||||||
for (let i = 0; i < response.data.length; i++) {
|
for (let i = 0; i < response.data.length; i++) {
|
||||||
this.list.push({
|
this.entryName.push({
|
||||||
label: response.data[i].项目名称,
|
label: response.data[i].项目名称,
|
||||||
value: response.data[i].项目流水号
|
value: response.data[i].项目流水号
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
remoteMethod(query) {
|
|
||||||
if (query !== '') {
|
|
||||||
setTimeout(() => {
|
|
||||||
this.entryName = this.list.filter(item => {
|
|
||||||
return item.label.toLowerCase()
|
|
||||||
.indexOf(query.toLowerCase()) > -1
|
|
||||||
})
|
|
||||||
}, 1000)
|
|
||||||
} else {
|
|
||||||
this.entryName = []
|
|
||||||
}
|
|
||||||
},
|
|
||||||
empty() {
|
empty() {
|
||||||
this.machineToolNumber = ''
|
this.machineToolNumber = ''
|
||||||
this.groupNumber = ''
|
this.groupNumber = ''
|
||||||
|
|||||||
@@ -22,11 +22,10 @@
|
|||||||
<span>采购员:</span>
|
<span>采购员:</span>
|
||||||
<el-input
|
<el-input
|
||||||
v-model="buyerName"
|
v-model="buyerName"
|
||||||
placeholder="采购员"
|
placeholder="请双击选择"
|
||||||
size="small"
|
size="small"
|
||||||
readonly
|
|
||||||
clearable
|
clearable
|
||||||
style="width:100px"
|
style="width:120px"
|
||||||
@dblclick.native="initBuyer();dialogVisible2=true;submitDisable=true"/>
|
@dblclick.native="initBuyer();dialogVisible2=true;submitDisable=true"/>
|
||||||
<span>供应商:</span>
|
<span>供应商:</span>
|
||||||
<el-input v-model="supplierName" placeholder="供应商" size="small" clearable/>
|
<el-input v-model="supplierName" placeholder="供应商" size="small" clearable/>
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
</el-option>
|
</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
<span>采购员:</span>
|
<span>采购员:</span>
|
||||||
<el-input v-model="buyerName" placeholder="请双击选择" size="small" readonly clearable style="width:120px" @dblclick.native="initBuyer();dialogVisible2=true;submitDisable=true"/>
|
<el-input v-model="buyerName" placeholder="请双击选择" size="small" clearable style="width:120px" @dblclick.native="initBuyer();dialogVisible2=true;submitDisable=true"/>
|
||||||
<span>供应商:</span>
|
<span>供应商:</span>
|
||||||
<el-input v-model="supplierName" placeholder="供应商" size="small" clearable/>
|
<el-input v-model="supplierName" placeholder="供应商" size="small" clearable/>
|
||||||
<el-button
|
<el-button
|
||||||
|
|||||||
@@ -23,7 +23,7 @@
|
|||||||
</el-option>
|
</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
<span>采购员:</span>
|
<span>采购员:</span>
|
||||||
<el-input v-model="buyerName" placeholder="采购员" size="small" readonly clearable style="width:100px" @dblclick.native="initBuyer();dialogVisible2=true;submitDisable=true"/>
|
<el-input v-model="buyerName" placeholder="请双击选择" size="small" clearable style="width:120px" @dblclick.native="initBuyer();dialogVisible2=true;submitDisable=true"/>
|
||||||
<span>供应商:</span>
|
<span>供应商:</span>
|
||||||
<el-input v-model="supplierName" placeholder="供应商" size="small" clearable/>
|
<el-input v-model="supplierName" placeholder="供应商" size="small" clearable/>
|
||||||
<span>审批情况:</span>
|
<span>审批情况:</span>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<span>时间段:</span>
|
<span>时间段:</span>
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
v-model="startEndDate"
|
v-model="startEndDate"
|
||||||
style="width:250px"
|
style="width:240px"
|
||||||
size="small"
|
size="small"
|
||||||
type="daterange"
|
type="daterange"
|
||||||
value-format="yyyy-MM-dd"
|
value-format="yyyy-MM-dd"
|
||||||
@@ -25,7 +25,7 @@
|
|||||||
</el-option>
|
</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
<span>采购员:</span>
|
<span>采购员:</span>
|
||||||
<el-input v-model="buyerName" placeholder="请双击选择" size="small" readonly clearable style="width:100px" @dblclick.native="initBuyer();dialogVisible2=true;submitDisable=true;Buyer=0"/>
|
<el-input v-model="buyerName" placeholder="请双击选择" size="small" clearable style="width:120px" @dblclick.native="initBuyer();dialogVisible2=true;submitDisable=true;Buyer=0"/>
|
||||||
</el-row>
|
</el-row>
|
||||||
<el-row style="margin-top: 10px">
|
<el-row style="margin-top: 10px">
|
||||||
<span>供应商:</span>
|
<span>供应商:</span>
|
||||||
@@ -144,7 +144,7 @@
|
|||||||
<span>时间段:</span>
|
<span>时间段:</span>
|
||||||
<el-date-picker
|
<el-date-picker
|
||||||
v-model="startEndDate"
|
v-model="startEndDate"
|
||||||
style="width:250px"
|
style="width:240px"
|
||||||
size="small"
|
size="small"
|
||||||
type="daterange"
|
type="daterange"
|
||||||
value-format="yyyy-MM-dd"
|
value-format="yyyy-MM-dd"
|
||||||
@@ -163,7 +163,7 @@
|
|||||||
</el-option>
|
</el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
<span>采购员:</span>
|
<span>采购员:</span>
|
||||||
<el-input v-model="buyerName1" placeholder="请双击选择" size="small" readonly clearable style="width:100px" @dblclick.native="initBuyer();dialogVisible2=true;submitDisable=true;buyer=1"/>
|
<el-input v-model="buyerName1" placeholder="请双击选择" size="small" clearable style="width:120px" @dblclick.native="initBuyer();dialogVisible2=true;submitDisable=true;buyer=1"/>
|
||||||
</el-row>
|
</el-row>
|
||||||
<el-row style="margin-top: 10px">
|
<el-row style="margin-top: 10px">
|
||||||
<span>供应商:</span>
|
<span>供应商:</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user