生产区域
This commit is contained in:
@@ -93,15 +93,12 @@
|
|||||||
/** 生产区域下拉框查询 */
|
/** 生产区域下拉框查询 */
|
||||||
async _queryProductArea () {
|
async _queryProductArea () {
|
||||||
let res = await queryProductArea()
|
let res = await queryProductArea()
|
||||||
this.options = [...res.rows]
|
this.options = [...res.data]
|
||||||
},
|
},
|
||||||
/** 查询 */
|
/** 初始化查询 */
|
||||||
async _queryRawFoil () {
|
async _queryRawFoil () {
|
||||||
if (!this.val1 || !this.val2 || !this.index) {
|
let res = await _queryRawFoil(this.val1, this.val2, this.index)
|
||||||
return
|
this.dataList = [...res.data]
|
||||||
}
|
|
||||||
let res = await queryRawFoil(this.val1, this.val2, this.options[this.index].value)
|
|
||||||
this.dataList = [...res.rows]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user