From ea3c4129b2191fa9909621067019f0768b85ec2d Mon Sep 17 00:00:00 2001 From: yangjun <1173114630@qq.com> Date: Wed, 19 Nov 2025 14:10:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../configSuppliersInfo/ConfigSuppliersInfoList.vue | 6 +++--- src/views/invoicing/jxc/QgdList.vue | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/invoicing/configSuppliersInfo/ConfigSuppliersInfoList.vue b/src/views/invoicing/configSuppliersInfo/ConfigSuppliersInfoList.vue index a975523..25352d2 100644 --- a/src/views/invoicing/configSuppliersInfo/ConfigSuppliersInfoList.vue +++ b/src/views/invoicing/configSuppliersInfo/ConfigSuppliersInfoList.vue @@ -227,19 +227,19 @@ const labelCol = reactive({ { label: '启用', onClick: handleWlQyty.bind(null, record), - ifShow: record.izEnabled == 1 + ifShow: record.izEnabled == 'N' }, { label: '停用', onClick: handleWlQyty.bind(null, record), - ifShow: record.izEnabled == 0 + ifShow: record.izEnabled == 'Y' }, ] } //物料的启用停用 function handleWlQyty(record){ console.log("🚀 ~ handleWlQyty ~ record:", record) - const izEnabled = record.izEnabled == '1' ? '0' : "1" + const izEnabled = record.izEnabled == 'N' ? 'Y' : "N" var params = {id:record.id,izEnabled} defHttp.post({ url: '/invoicing/configSuppliersInfo/edit', params }).then((res) => { searchQuery() diff --git a/src/views/invoicing/jxc/QgdList.vue b/src/views/invoicing/jxc/QgdList.vue index d43c6ab..93b4d7e 100644 --- a/src/views/invoicing/jxc/QgdList.vue +++ b/src/views/invoicing/jxc/QgdList.vue @@ -75,7 +75,7 @@ import type { CollapseProps } from 'ant-design-vue'; const formRef = ref(); const qgcModal = ref(); - const queryParam = reactive({izEnabled:'0'}); + const queryParam = reactive({izEnabled:'Y'}); const toggleSearchStatus = ref(false); const registerModal = ref(); const qgcOpen = ref(false)//请购车抽屉