This commit is contained in:
曹辉 2022-11-14 12:31:02 +08:00
parent 38387c3d90
commit 17aa437317
3 changed files with 7 additions and 14 deletions

View File

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

View File

@ -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' />

View File

@ -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' />