diff --git a/pages/ProductManage/SboProdProgress.vue b/pages/ProductManage/SboProdProgress.vue index d9e6e8b..2b82483 100644 --- a/pages/ProductManage/SboProdProgress.vue +++ b/pages/ProductManage/SboProdProgress.vue @@ -93,15 +93,12 @@ /** 生产区域下拉框查询 */ async _queryProductArea () { let res = await queryProductArea() - this.options = [...res.rows] + this.options = [...res.data] }, - /** 查询 */ + /** 初始化查询 */ async _queryRawFoil () { - if (!this.val1 || !this.val2 || !this.index) { - return - } - let res = await queryRawFoil(this.val1, this.val2, this.options[this.index].value) - this.dataList = [...res.rows] + let res = await _queryRawFoil(this.val1, this.val2, this.index) + this.dataList = [...res.data] } } }