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)//请购车抽屉