From 5ee7612f2c259167e0311724abbf6268357c15fc Mon Sep 17 00:00:00 2001 From: lkk <364857242@qq.com> Date: 星期五, 10 一月 2025 17:27:40 +0800 Subject: [PATCH] 搜索 --- src/views/hosp/rules/index.vue | 3 ++- src/views/system/package/index.vue | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/views/hosp/rules/index.vue b/src/views/hosp/rules/index.vue index 7b40803..1b3816f 100644 --- a/src/views/hosp/rules/index.vue +++ b/src/views/hosp/rules/index.vue @@ -1111,7 +1111,8 @@ // 绛涢�夎妭鐐� filterNode(value, data) { if (!value) return true; - return data.label.indexOf(value) !== -1; + // return data.label.indexOf(value) !== -1; + return data.label && typeof data.label === "string" && data.label.indexOf(value) !== -1; }, // 鍙栨秷鎸夐挳 cancel() { diff --git a/src/views/system/package/index.vue b/src/views/system/package/index.vue index 7958cf7..1fcdfd2 100644 --- a/src/views/system/package/index.vue +++ b/src/views/system/package/index.vue @@ -1217,7 +1217,7 @@ }, new Big(0)).toNumber(); this.youhui = (Math.floor((this.form.xianprice / this.pics) * 100) / 100) * 10; - console.log(this.youhui, 1212); + // console.log(this.youhui, 1212); }, calculateDiscount(row) { if (row.limits > 10) { -- Gitblit v1.8.0