From 522dc7bcb265cdd1e26df44d0be823afa52199c2 Mon Sep 17 00:00:00 2001 From: qiezi <15576055375@163.com> Date: Mon, 14 Oct 2024 15:04:23 +0800 Subject: [PATCH] 2024-10-14 --- src/views/modules/quotation/requestForQuote.vue | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/views/modules/quotation/requestForQuote.vue b/src/views/modules/quotation/requestForQuote.vue index d7a3ab2..49e816e 100644 --- a/src/views/modules/quotation/requestForQuote.vue +++ b/src/views/modules/quotation/requestForQuote.vue @@ -1003,7 +1003,17 @@ export default { this.rejectOpinion = '' } }, - + "modalData.sourcing"(newVal,oldVal){ + if (newVal !== 'Y' && newVal !== '0' && newVal !== 0){ + this.modalData.tracker = '' + this.modalData.trackerName = '' + } + }, + "modalData.tracker"(newVal,oldVal){ + if (newVal === '' || newVal === null || newVal === undefined){ + this.modalData.trackerName = '' + } + } }, data() { return {