From 152393eb9cf63dea4d8c8395e321fb709f4ba2d7 Mon Sep 17 00:00:00 2001 From: Tom Date: Sun, 4 Jan 2026 19:04:57 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E7=89=A9=E6=96=99=E7=AE=A1=E7=90=86):?= =?UTF-8?q?=20=E7=BB=9F=E4=B8=80=E7=89=A9=E6=96=99=E9=80=89=E9=A1=B9?= =?UTF-8?q?=E5=8F=98=E9=87=8F=E5=90=8D=E5=B9=B6=E6=9B=B4=E6=96=B0=E5=BC=95?= =?UTF-8?q?=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将materialCodeOptions重命名为materialOptions以保持命名一致性,并更新相关组件中的引用 --- .../productionMaterial/MmRecordInbound.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/materialManagement/productionMaterial/MmRecordInbound.vue b/src/views/materialManagement/productionMaterial/MmRecordInbound.vue index 442684f..8cbfecf 100644 --- a/src/views/materialManagement/productionMaterial/MmRecordInbound.vue +++ b/src/views/materialManagement/productionMaterial/MmRecordInbound.vue @@ -19,7 +19,7 @@ - + {{ item.materialCode }} {{ item.materialName }} @@ -344,7 +344,7 @@ const state = reactive({ options: { // 入库类型 选项列表 格式 eg:{ dictLabel: '标签', dictValue: '0'} transactionTypeOptions: [], - materialCodeOptions: [], + materialOptions: [], locationOptions: [] } }) @@ -468,7 +468,7 @@ function getMaterialCodeList() { getMaterialOption('materialCode').then((res) => { const { code, data } = res if (code == 200) { - state.options.materialCodeOptions = data + state.options.materialOptions = data } }) } catch (error) {