正在显示
9 个修改的文件
包含
22 行增加
和
14 行删除
@@ -249,15 +249,17 @@ Page({ | @@ -249,15 +249,17 @@ Page({ | ||
249 | 249 | ||
250 | //成员信息的修改,新增 | 250 | //成员信息的修改,新增 |
251 | listVerify(e) { | 251 | listVerify(e) { |
252 | + console.log(111) | ||
252 | let that = this; | 253 | let that = this; |
253 | var warn = ""; | 254 | var warn = ""; |
254 | var flag = true; | 255 | var flag = true; |
255 | var state = that.data.state | 256 | var state = that.data.state |
256 | var list = this.data.list; | 257 | var list = this.data.list; |
257 | - console.log(list.sex, list.sex == '') | 258 | + var sex_index = parseInt(this.data.sex_index) |
259 | + console.log(sex_index, sex_index == '') | ||
258 | if (list.name == "") { | 260 | if (list.name == "") { |
259 | warn = "请填写您的姓名"; | 261 | warn = "请填写您的姓名"; |
260 | - } else if (!list.sex) { | 262 | + } else if (sex_index==''&&sex_index!=0) { |
261 | warn = "请填写您的性别"; | 263 | warn = "请填写您的性别"; |
262 | } else if (list.family_role == '') { | 264 | } else if (list.family_role == '') { |
263 | warn = '请填写您的家庭角色' | 265 | warn = '请填写您的家庭角色' |
@@ -267,7 +269,7 @@ Page({ | @@ -267,7 +269,7 @@ Page({ | ||
267 | flag = false; //若必要信息都填写,则不用弹框.正常调用接口 | 269 | flag = false; //若必要信息都填写,则不用弹框.正常调用接口 |
268 | let paramlist = { | 270 | let paramlist = { |
269 | name: list.name, | 271 | name: list.name, |
270 | - sex: list.sex, | 272 | + sex: sex_index, |
271 | family_role: list.family_role, | 273 | family_role: list.family_role, |
272 | money: list.money, | 274 | money: list.money, |
273 | mobile: list.mobile, | 275 | mobile: list.mobile, |
@@ -32,8 +32,8 @@ | @@ -32,8 +32,8 @@ | ||
32 | </view> | 32 | </view> |
33 | <view class='item_list'> | 33 | <view class='item_list'> |
34 | <view class='list_title'>个人年收入</view> | 34 | <view class='list_title'>个人年收入</view> |
35 | - <view class='list_input'> | ||
36 | - <input type='number' placeholder='请输入个人年收入' value='{{list.money}}' bindinput='income'></input> | 35 | + <view class='list_input' style='justify-content:flex-start;'> |
36 | + <input type='number' placeholder='请输入个人年收入' value='{{list.money}}' bindinput='income' style='width:200rpx;'></input> | ||
37 | <view>万</view> | 37 | <view>万</view> |
38 | </view> | 38 | </view> |
39 | </view> | 39 | </view> |
1 | -// pages/addListDetail/addListDetail.js | ||
2 | const app = getApp() | 1 | const app = getApp() |
3 | Page({ | 2 | Page({ |
4 | /** | 3 | /** |
@@ -59,7 +58,7 @@ Page({ | @@ -59,7 +58,7 @@ Page({ | ||
59 | warranty_state: false, | 58 | warranty_state: false, |
60 | warranty_info1: '请输入', | 59 | warranty_info1: '请输入', |
61 | warranty_state1: false, | 60 | warranty_state1: false, |
62 | - coverage:'', | 61 | + coverage: '', |
63 | }, | 62 | }, |
64 | 63 | ||
65 | //保单号 | 64 | //保单号 |
@@ -160,7 +159,7 @@ Page({ | @@ -160,7 +159,7 @@ Page({ | ||
160 | //保障项目弹窗 | 159 | //保障项目弹窗 |
161 | ensureProject(e) { | 160 | ensureProject(e) { |
162 | this.setData({ | 161 | this.setData({ |
163 | - edit_state: false | 162 | + edit_state: true |
164 | }) | 163 | }) |
165 | 164 | ||
166 | let that = this; | 165 | let that = this; |
@@ -290,6 +289,10 @@ Page({ | @@ -290,6 +289,10 @@ Page({ | ||
290 | 289 | ||
291 | //确认选择的推荐方案 | 290 | //确认选择的推荐方案 |
292 | confirmCase() { | 291 | confirmCase() { |
292 | + this.setData({ | ||
293 | + edit_state: false | ||
294 | + }) | ||
295 | + | ||
293 | let index = this.data.xulie; | 296 | let index = this.data.xulie; |
294 | let type = this.data.addType; | 297 | let type = this.data.addType; |
295 | var that = this | 298 | var that = this |
@@ -11,7 +11,8 @@ | @@ -11,7 +11,8 @@ | ||
11 | <view class='popup_content'> | 11 | <view class='popup_content'> |
12 | <view class='popup_title'>{{item.name}}</view> | 12 | <view class='popup_title'>{{item.name}}</view> |
13 | <view class='popup_input'> | 13 | <view class='popup_input'> |
14 | - <input type='number' placeholder='请输入保额' value='{{item.num}}' bindinput='popupNum' data-index='{{index}}' data-id='{{item.id}}'></input> | 14 | + <!-- {{item.num}} --> |
15 | + <input type='number' placeholder='请输入保额' value='' bindinput='popupNum' data-index='{{index}}' data-id='{{item.id}}'></input> | ||
15 | <!-- <text>{{item.title}}</text> --> | 16 | <!-- <text>{{item.title}}</text> --> |
16 | </view> | 17 | </view> |
17 | </view> | 18 | </view> |
@@ -160,6 +160,7 @@ page { | @@ -160,6 +160,7 @@ page { | ||
160 | color: #1a1a1a; | 160 | color: #1a1a1a; |
161 | text-align: center; | 161 | text-align: center; |
162 | padding: 36rpx 0; | 162 | padding: 36rpx 0; |
163 | + box-sizing: border-box; | ||
163 | border-radius: 10rpx; | 164 | border-radius: 10rpx; |
164 | box-shadow: 0rpx 5rpx 13rpx rgba(235, 235, 235, 1); | 165 | box-shadow: 0rpx 5rpx 13rpx rgba(235, 235, 235, 1); |
165 | } | 166 | } |
@@ -59,7 +59,7 @@ Page({ | @@ -59,7 +59,7 @@ Page({ | ||
59 | user_type: [], | 59 | user_type: [], |
60 | type_index: -1, | 60 | type_index: -1, |
61 | currentTab: 0, | 61 | currentTab: 0, |
62 | - edit_state: false, | 62 | + edit_state: true, |
63 | follow_time: '', | 63 | follow_time: '', |
64 | place: '', | 64 | place: '', |
65 | mainid: '', | 65 | mainid: '', |
@@ -42,10 +42,10 @@ | @@ -42,10 +42,10 @@ | ||
42 | <view class='item_list'> | 42 | <view class='item_list'> |
43 | <view class='list_title_box'> | 43 | <view class='list_title_box'> |
44 | <view class='list_title_info'>跟踪提醒</view> | 44 | <view class='list_title_info'>跟踪提醒</view> |
45 | - <view class='list_info' bindtap='editInfo' data-family_id='{{warn.family_id}}'> | 45 | + <!-- <view class='list_info' bindtap='editInfo' data-family_id='{{warn.family_id}}'> |
46 | <text>修改</text> | 46 | <text>修改</text> |
47 | <text class='iconfont icon-bianji'></text> | 47 | <text class='iconfont icon-bianji'></text> |
48 | - </view> | 48 | + </view> --> |
49 | </view> | 49 | </view> |
50 | <!-- <block wx:if='{{!edit_state}}'> --> | 50 | <!-- <block wx:if='{{!edit_state}}'> --> |
51 | <!-- <view class='list_info_box'> --> | 51 | <!-- <view class='list_info_box'> --> |
@@ -119,7 +119,7 @@ | @@ -119,7 +119,7 @@ | ||
119 | <view class='summary_content forehead'> | 119 | <view class='summary_content forehead'> |
120 | <input type='number' placeholder='' value="{{its.plan}}" focus='' disabled='true'></input> | 120 | <input type='number' placeholder='' value="{{its.plan}}" focus='' disabled='true'></input> |
121 | </view> | 121 | </view> |
122 | - <view class='summary_content'>{{its.gap}}</view> | 122 | + <view class='summary_content'>{{its.gap!=''?its.gap:'-'}}</view> |
123 | </view> | 123 | </view> |
124 | </view> | 124 | </view> |
125 | </view> | 125 | </view> |
-
请 注册 或 登录 后发表评论