From 9c95e3fe8fc4e5c932bfb7d1075fed960e59569b Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期五, 29 十一月 2019 09:24:00 +0800
Subject: [PATCH] 优化单元选择功能
---
WebService/src/main/resources/components/unitPackage/unit-select2/unitSelect2.js | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
diff --git a/WebService/src/main/resources/components/unitPackage/unit-select2/unitSelect2.js b/WebService/src/main/resources/components/unitPackage/unit-select2/unitSelect2.js
index 0716b7c..c067bd9 100644
--- a/WebService/src/main/resources/components/unitPackage/unit-select2/unitSelect2.js
+++ b/WebService/src/main/resources/components/unitPackage/unit-select2/unitSelect2.js
@@ -8,7 +8,7 @@
data:{
unitSelect2Info:{
units:[],
- floorId:'',
+ floorId:'-1',
unitId:'',
unitNum:'',
unitName:'',
@@ -39,10 +39,6 @@
console.log("璋冪敤_initUnitSelect2 鏂规硶");
$.fn.modal.Constructor.prototype.enforceFocus = function () {};
$.fn.select2.defaults.set('width', '100%');
- if(!vc.notNull(vc.component.unitSelect2Info.floorId)){
- vc.toast("鏈�夋嫨妤兼爧淇℃伅锛岃鍏堥�夋嫨妤兼爧");
- return ;
- }
$('.unitSelector').select2({
placeholder: '蹇呭~锛岃閫夋嫨鍗曞厓',
ajax: {
--
Gitblit v1.8.0