Browse Source

Merge branch 'dev' of http://git.ycjcjy.com/zhiyuxing/miniapp-v3 into dev

xujing 5 years ago
parent
commit
259031d32d

+ 1
- 1
src/onlineSelling/pages/addHouse/index.js View File

75
     const { house } = this.props
75
     const { house } = this.props
76
 
76
 
77
     // 从预选记录中过滤出来, 状态正常且未锁定的房源
77
     // 从预选记录中过滤出来, 状态正常且未锁定的房源
78
-    const houseList = (house.mySelectHouses || []).map(x => x.housingInfo).filter(x => x.status == 1 && x.houseLockingStatus != 'locked')
78
+    const houseList = (house.mySelectHouses || []).map(x => x.housingInfo).filter(x => x.status == 1)
79
 
79
 
80
     return houseList.length && (
80
     return houseList.length && (
81
       <Block>
81
       <Block>

+ 2
- 2
src/onlineSelling/pages/detail/index.js View File

140
   toRaiseMoney() {
140
   toRaiseMoney() {
141
     const detail = this.state.houseDetail || {}
141
     const detail = this.state.houseDetail || {}
142
 
142
 
143
-    if (detail.status != 1 || detail.houseLockingStatus == 'locked') {
143
+    if (detail.status != 1) {
144
       Taro.showToast({
144
       Taro.showToast({
145
-        url: '当前房源被锁定或未发布, 不能认筹',
145
+        url: '当前房源未发布, 不能认筹',
146
         icon: 'none',
146
         icon: 'none',
147
       })
147
       })
148
 
148
 

+ 5
- 5
src/onlineSelling/pages/houseCart/index.js View File

132
   // 添加到选择列表
132
   // 添加到选择列表
133
   // 注意, 不是确认选择
133
   // 注意, 不是确认选择
134
   add2Cart = (room) => {
134
   add2Cart = (room) => {
135
-    const locked = room.houseLockingStatus == 'locked'
136
-    if (locked) {
137
-      Taro.showToast({ title: '该房源已经被锁定', icon: 'none' })
138
-      return;
139
-    }
135
+    // const locked = room.houseLockingStatus == 'locked'
136
+    // if (locked) {
137
+    //   Taro.showToast({ title: '该房源已经被锁定', icon: 'none' })
138
+    //   return;
139
+    // }
140
 
140
 
141
     const { chooseList, multiSelect } = this.state
141
     const { chooseList, multiSelect } = this.state
142
     const checked = (chooseList || []).filter(x => x.houseId == room.houseId)[0]
142
     const checked = (chooseList || []).filter(x => x.houseId == room.houseId)[0]

+ 1
- 0
src/onlineSelling/pages/raiseMoney/index.js View File

642
     })
642
     })
643
 
643
 
644
   }
644
   }
645
+  
645
   toRaiseProfile(id) {
646
   toRaiseProfile(id) {
646
     const { userInfo: { miniApp: { tpls } } } = this.props
647
     const { userInfo: { miniApp: { tpls } } } = this.props
647
     const tplId = (tpls.filter(x => x.tplType == noticeType.TPL_HOUSE && x.isSubscribe == true)[0] || {}).tplId
648
     const tplId = (tpls.filter(x => x.tplType == noticeType.TPL_HOUSE && x.isSubscribe == true)[0] || {}).tplId