本记
This commit is contained in:
@@ -549,16 +549,12 @@ export default {
|
||||
})
|
||||
},
|
||||
searchTable() {
|
||||
if (this.Machine === '' || this.Machine === null) {
|
||||
this.$message.warning('请先选择机床组号')
|
||||
} else {
|
||||
if (this.PartType === '标准件') {
|
||||
this.searchTable0()
|
||||
} else if (this.PartType === '外购件') {
|
||||
this.searchTable1()
|
||||
} else if (this.PartType === '基本件') {
|
||||
this.searchTable2()
|
||||
}
|
||||
if (this.PartType === '标准件') {
|
||||
this.searchTable0()
|
||||
} else if (this.PartType === '外购件') {
|
||||
this.searchTable1()
|
||||
} else if (this.PartType === '基本件') {
|
||||
this.searchTable2()
|
||||
}
|
||||
},
|
||||
searchTable0() { // 查询标准件
|
||||
|
||||
@@ -251,7 +251,7 @@ export default {
|
||||
querySearch(queryString, cb) {
|
||||
this.restaurantsPick = []
|
||||
if (this.searchPick !== '' && this.searchPick !== null) {
|
||||
SelectPart(0, '', 0, '', 0, '', 1, this.searchPick, 0, '', 0, '', 0, '', '', '', '').then(response => {
|
||||
SelectPart(this.searchPick).then(response => {
|
||||
const res = response.data
|
||||
res.forEach(item => {
|
||||
this.restaurantsPick.push({
|
||||
|
||||
Reference in New Issue
Block a user