12.6 sickdetail

This commit is contained in:
zoujiandong
2023-12-06 13:05:44 +08:00
parent a92f1621b1
commit fcd9d6ccad
26 changed files with 942 additions and 133 deletions
+12 -3
View File
@@ -160,6 +160,8 @@ Page({
// }
}
}else{
this.handleOnlineSick(this.data.family_id);
}
},
handleSetValue(data){
@@ -180,9 +182,16 @@ Page({
}
for (const key in obj) {
if (key != "product") {
this.setData({
[key]: data[key]
})
if(key=="is_taboo" && !data[key]){
this.setData({
[key]: null
})
}else{
this.setData({
[key]: data[key]
})
}
}
};