作者 LXY

修改反馈问题

... ... @@ -249,15 +249,17 @@ Page({
//成员信息的修改,新增
listVerify(e) {
console.log(111)
let that = this;
var warn = "";
var flag = true;
var state = that.data.state
var list = this.data.list;
console.log(list.sex, list.sex == '')
var sex_index = parseInt(this.data.sex_index)
console.log(sex_index, sex_index == '')
if (list.name == "") {
warn = "请填写您的姓名";
} else if (!list.sex) {
} else if (sex_index==''&&sex_index!=0) {
warn = "请填写您的性别";
} else if (list.family_role == '') {
warn = '请填写您的家庭角色'
... ... @@ -267,7 +269,7 @@ Page({
flag = false; //若必要信息都填写,则不用弹框.正常调用接口
let paramlist = {
name: list.name,
sex: list.sex,
sex: sex_index,
family_role: list.family_role,
money: list.money,
mobile: list.mobile,
... ...
... ... @@ -32,8 +32,8 @@
</view>
<view class='item_list'>
<view class='list_title'>个人年收入</view>
<view class='list_input'>
<input type='number' placeholder='请输入个人年收入' value='{{list.money}}' bindinput='income'></input>
<view class='list_input' style='justify-content:flex-start;'>
<input type='number' placeholder='请输入个人年收入' value='{{list.money}}' bindinput='income' style='width:200rpx;'></input>
<view>万</view>
</view>
</view>
... ...
// pages/addListDetail/addListDetail.js
const app = getApp()
Page({
/**
... ... @@ -59,7 +58,7 @@ Page({
warranty_state: false,
warranty_info1: '请输入',
warranty_state1: false,
coverage:'',
coverage: '',
},
//保单号
... ... @@ -160,7 +159,7 @@ Page({
//保障项目弹窗
ensureProject(e) {
this.setData({
edit_state: false
edit_state: true
})
let that = this;
... ... @@ -290,6 +289,10 @@ Page({
//确认选择的推荐方案
confirmCase() {
this.setData({
edit_state: false
})
let index = this.data.xulie;
let type = this.data.addType;
var that = this
... ...
... ... @@ -11,7 +11,8 @@
<view class='popup_content'>
<view class='popup_title'>{{item.name}}</view>
<view class='popup_input'>
<input type='number' placeholder='请输入保额' value='{{item.num}}' bindinput='popupNum' data-index='{{index}}' data-id='{{item.id}}'></input>
<!-- {{item.num}} -->
<input type='number' placeholder='请输入保额' value='' bindinput='popupNum' data-index='{{index}}' data-id='{{item.id}}'></input>
<!-- <text>{{item.title}}</text> -->
</view>
</view>
... ...
... ... @@ -160,6 +160,7 @@ page {
color: #1a1a1a;
text-align: center;
padding: 36rpx 0;
box-sizing: border-box;
border-radius: 10rpx;
box-shadow: 0rpx 5rpx 13rpx rgba(235, 235, 235, 1);
}
... ...
... ... @@ -59,7 +59,7 @@ Page({
user_type: [],
type_index: -1,
currentTab: 0,
edit_state: false,
edit_state: true,
follow_time: '',
place: '',
mainid: '',
... ...
... ... @@ -42,10 +42,10 @@
<view class='item_list'>
<view class='list_title_box'>
<view class='list_title_info'>跟踪提醒</view>
<view class='list_info' bindtap='editInfo' data-family_id='{{warn.family_id}}'>
<!-- <view class='list_info' bindtap='editInfo' data-family_id='{{warn.family_id}}'>
<text>修改</text>
<text class='iconfont icon-bianji'></text>
</view>
</view> -->
</view>
<!-- <block wx:if='{{!edit_state}}'> -->
<!-- <view class='list_info_box'> -->
... ...
{
"usingComponents": {}
"usingComponents": {},
"navigationBarTitleText": "String"
}
\ No newline at end of file
... ...
... ... @@ -119,7 +119,7 @@
<view class='summary_content forehead'>
<input type='number' placeholder='' value="{{its.plan}}" focus='' disabled='true'></input>
</view>
<view class='summary_content'>{{its.gap}}</view>
<view class='summary_content'>{{its.gap!=''?its.gap:'-'}}</view>
</view>
</view>
</view>
... ...