修改
This commit is contained in:
parent
38387c3d90
commit
17aa437317
@ -131,6 +131,7 @@
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
goodsInfoId: null, //商品id
|
||||
usershow: false, //完善信息开关
|
||||
image: null, //总图片
|
||||
baseurl: '', //url
|
||||
@ -354,12 +355,12 @@
|
||||
onLoad(options) { //获取传值
|
||||
this.updata.buySource = options.buySource
|
||||
this.goodsPrice = options.goodsPrice //页面价格
|
||||
uni.setStorageSync("goodsInfoId", options.goodsInfoId)
|
||||
this.goodsInfoId = options.goodsInfoId
|
||||
},
|
||||
onShow() {
|
||||
this.baseurl = baseurl
|
||||
this.usershow = false
|
||||
this.baseurl = baseurl;
|
||||
this.goodsDetailsinfo(this.goodsInfoId)
|
||||
let that = this
|
||||
try {
|
||||
const value = uni.getStorageSync('patientId');
|
||||
@ -371,14 +372,6 @@
|
||||
} catch (e) {
|
||||
// error
|
||||
}
|
||||
try {
|
||||
const value = uni.getStorageSync('goodsInfoId');
|
||||
if (value) {
|
||||
this.goodsDetailsinfo(value)
|
||||
} else {}
|
||||
} catch (e) {
|
||||
// error
|
||||
}
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
@ -7,10 +7,10 @@
|
||||
<span>姓名:</span>
|
||||
<u-input :clearable='false' v-model="query.patientName" type="text" placeholder='' maxlength='5' />
|
||||
</view>
|
||||
<view class="item">
|
||||
<!-- <view class="item">
|
||||
<span>电话:</span>
|
||||
<u-input :clearable='false' v-model="query.phone" maxlength='11' type="text" placeholder='' />
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="item">
|
||||
<span>身份证号:</span>
|
||||
<u-input :clearable='false' v-model="query.cardNo" type="text" placeholder='' maxlength='18' />
|
||||
|
||||
@ -10,10 +10,10 @@
|
||||
<span>姓名:</span>
|
||||
<u-input :clearable='false' v-model="appPersonallist.patientName" placeholder="请输入" type="text" maxlength='5' />
|
||||
</view>
|
||||
<view class="item">
|
||||
<!-- <view class="item">
|
||||
<span>电话:</span>
|
||||
<u-input :clearable='false' v-model="appPersonallist.phone" placeholder="请输入" maxlength='11' type="text" />
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="item">
|
||||
<span>身份证号:</span>
|
||||
<u-input :clearable='false' v-model="appPersonallist.cardNo" placeholder="请输入" type="text" maxlength='18' />
|
||||
|
||||
Loading…
Reference in New Issue
Block a user