From d34324c5657365778db2fd8d9a333f5cb5cdb012 Mon Sep 17 00:00:00 2001 From: fengsen <2548667232@qq.com> Date: Wed, 13 Aug 2025 19:59:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E7=A8=8B=E6=B8=85=E5=8D=95=E5=AE=A1?= =?UTF-8?q?=E6=89=B9\=E6=98=AF=E5=90=A6=E4=B8=8A=E4=BC=A0=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 2 +- src/views/design/billofQuantities/index.vue | 11 ++++++----- .../materials/overallPlanMaterialSupply/index.vue | 0 3 files changed, 7 insertions(+), 6 deletions(-) create mode 100644 src/views/materials/overallPlanMaterialSupply/index.vue diff --git a/.env.development b/.env.development index 21892b7..fe20df3 100644 --- a/.env.development +++ b/.env.development @@ -5,7 +5,7 @@ VITE_APP_TITLE = 新能源项目管理平台 VITE_APP_ENV = 'development' # 开发环境 -VITE_APP_BASE_API = 'http://192.168.110.180:8898' +VITE_APP_BASE_API = 'http://192.168.110.159:8898' # 无人机接口地址 diff --git a/src/views/design/billofQuantities/index.vue b/src/views/design/billofQuantities/index.vue index 1881ffc..6bbc7ba 100644 --- a/src/views/design/billofQuantities/index.vue +++ b/src/views/design/billofQuantities/index.vue @@ -42,14 +42,14 @@ 审核 - 查看流程 + 查看流程 @@ -152,6 +152,10 @@ async function getVersionNums(isSheet = true) { state.options = rows || []; if (state.options.length > 0) { state.queryForm.versions = state.options[0].versions; + if (state.work_order_type == 3) { + state.versionsData = state.options[0] || []; + console.log('state.versionsData',state.versionsData); + } // 等待表名加载完成 console.log(isSheet, state.sheets.length); if (isSheet) { @@ -218,9 +222,6 @@ async function handleQueryList(isSheet = true) { const result = await obtainTheList(state.queryForm); if (result?.code === 200) { - if (state.work_order_type == 3) { - state.versionsData = result.data || []; - } state.tableData = result.data || []; } else { state.error = `获取列表数据失败: 错误码 ${result?.code}`; diff --git a/src/views/materials/overallPlanMaterialSupply/index.vue b/src/views/materials/overallPlanMaterialSupply/index.vue new file mode 100644 index 0000000..e69de29