From 49551837459b5aa671320e5883fa52d3f36877a9 Mon Sep 17 00:00:00 2001 From: xiangxy Date: Fri, 14 Oct 2022 09:46:35 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=9F=E4=BA=A7=E5=8C=BA=E5=9F=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/ProductManage/SboProdProgress.vue | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) 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] } } }