From 60da6176964cb65963bd15e8a00772cc33efbf1a Mon Sep 17 00:00:00 2001
From: wzy <wzy19931122ai@163.com>
Date: Fri, 07 Oct 2022 16:04:32 +0800
Subject: [PATCH] 修改退款时无法退款到储值卡的bug

---
 zq-erp/src/main/resources/templates/views/admin/hive/beautySalon/yypb-form.html |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/zq-erp/src/main/resources/templates/views/admin/hive/beautySalon/yypb-form.html b/zq-erp/src/main/resources/templates/views/admin/hive/beautySalon/yypb-form.html
index 5723d51..d6a8eff 100644
--- a/zq-erp/src/main/resources/templates/views/admin/hive/beautySalon/yypb-form.html
+++ b/zq-erp/src/main/resources/templates/views/admin/hive/beautySalon/yypb-form.html
@@ -450,7 +450,12 @@
                     },
                     url: basePath + '/admin/bedInfo/showFreedBed',
                     callback: function (data) {
-                        _this.beds = data.rows;
+                        if(data.rows.length > 0){
+                            _this.beds = data.rows;
+                        }else{
+                            _this.beds = data.rows;
+                            _this.projService.bedId = '';
+                        }
                     }
                 });
             }

--
Gitblit v1.9.1