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