...
|
...
|
@@ -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,
|
...
|
...
|
|