From 67891627f8f941fe2811bdc07318dd48d08808ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=B4=E7=BA=A2=E5=85=B5?= <374362909@qq.com> Date: Mon, 9 Mar 2026 17:57:29 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=A2=84=E7=AE=97=E9=87=91=E9=A2=9D>=3D?= =?UTF-8?q?2000=E6=97=B6=E8=87=AA=E5=8A=A8=E6=B8=85=E7=A9=BA=E7=9B=B4?= =?UTF-8?q?=E6=8E=A5=E9=87=87=E8=B4=AD=E6=96=B9=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/purchase/purchasingrequisition/add.vue | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/views/purchase/purchasingrequisition/add.vue b/src/views/purchase/purchasingrequisition/add.vue index 0e30e36..161ae02 100644 --- a/src/views/purchase/purchasingrequisition/add.vue +++ b/src/views/purchase/purchasingrequisition/add.vue @@ -1441,6 +1441,16 @@ watch( { immediate: true } ); +watch( + () => dataForm.budget, + (budget) => { + const budgetNum = Number(budget) || 0; + if (budgetNum >= 2000 && dataForm.purchaseType === DEPT_PURCHASE_TYPE.DIRECT_PURCHASE) { + dataForm.purchaseType = ''; + } + } +); + // 判断是否自动选择网上商城采购方式(5万<=金额<30万,服务类目,特殊服务类目) const isAutoSelectPurchaseType = computed(() => { if (!dataForm.budget) return false;