From aae97adee4ca83ef81943f5db294f3bca1b572ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=97=AB=E6=99=93=E8=8C=B9?= <1935832701@qq.com> Date: Mon, 16 Oct 2023 15:18:40 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=AA=E4=BA=BA=E4=BF=A1?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pagesB/CommodityOrder/CommodityOrder.scss | 4 ++-- pagesB/modify/modify.vue | 24 +++++++++++------------ 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/pagesB/CommodityOrder/CommodityOrder.scss b/pagesB/CommodityOrder/CommodityOrder.scss index d3a71da..f23f15d 100644 --- a/pagesB/CommodityOrder/CommodityOrder.scss +++ b/pagesB/CommodityOrder/CommodityOrder.scss @@ -14,7 +14,7 @@ ::v-deep .u-tabs { width: 100%; position: fixed; - top: 200rpx; + // top: 200rpx; z-index: 999; background-color: #F7F5F5 !important; } @@ -25,7 +25,7 @@ .u-navbar { display: block; - height: 200rpx; + // height: 200rpx; image { margin: 0 4% 0 4%; diff --git a/pagesB/modify/modify.vue b/pagesB/modify/modify.vue index d312f13..e62d0a2 100644 --- a/pagesB/modify/modify.vue +++ b/pagesB/modify/modify.vue @@ -15,9 +15,9 @@ 性别: - - + + {{item.name}} @@ -36,7 +36,7 @@ 身份证号: + maxlength='18' disabled /> 所属区域: @@ -188,6 +188,7 @@ sexname: '', cityCode: '1', }, + sex: '', addresslength: null, } }, @@ -201,12 +202,12 @@ appPersonal(patientid).then(Response => { if (Response.code == 200) { if (Response.data.sex == 'MALE') { - that.appPersonallist.sexname = '男'; + that.sex = '男'; } else if (Response.data.sex == 'FEMALE') { - that.appPersonallist.sexname = '女'; + that.sex = '女'; } that.appPersonallist = Response.data - that.value2=Response.data.diseaseList.map(String) + that.value2 = Response.data.diseaseList.map(String) Number(that.appPersonallist.homeLatitude) > 0 ? that.appPersonallist.homeLatitude = Number( that.appPersonallist.homeLatitude) : that.appPersonallist.homeLatitude = null Number(that.appPersonallist.homeLongitude) > 0 ? that.appPersonallist.homeLongitude = @@ -231,8 +232,7 @@ this.appPersonallist.diseaseList = e.map(Number) }, // 下拉框多选 - selectChange(val) { - }, + selectChange(val) {}, cancel() {}, //性别 sexchange(e) { @@ -275,9 +275,9 @@ data() { var that = this that.appPersonallist.openid = uni.getStorageSync('openid'); - if (that.appPersonallist.sexname == '男') { + if (that.sex == '男') { that.appPersonallist.sex = 'MALE'; - } else if (that.appPersonallist.sexname == '女') { + } else if (that.sex == '女') { that.appPersonallist.sex = 'FEMALE'; } if (that.radio == 1) { @@ -452,4 +452,4 @@ + \ No newline at end of file