更新
This commit is contained in:
parent
9806c01a60
commit
365e17113e
@ -46,6 +46,22 @@
|
||||
<input class="uni-input" v-model="dataObj.tel" type="tel" placeholder="请输入" />
|
||||
</view>
|
||||
</view>
|
||||
<view class="item-field">
|
||||
<view class="item-lable is-required">
|
||||
<image src="@/static/mine/required.png" mode="aspectFit"></image>主页链接
|
||||
</view>
|
||||
<view class="item-value">
|
||||
<input class="uni-input" v-model="dataObj.indexUrl" type="tel" placeholder="请输入" />
|
||||
</view>
|
||||
</view>
|
||||
<view class="item-field">
|
||||
<view class="item-lable is-required">
|
||||
<image src="@/static/mine/required.png" mode="aspectFit"></image>微信号
|
||||
</view>
|
||||
<view class="item-value">
|
||||
<input class="uni-input" v-model="dataObj.wxNum" type="tel" placeholder="请输入" />
|
||||
</view>
|
||||
</view>
|
||||
<view class="item-field">
|
||||
<view class="item-lable is-required">
|
||||
<image src="@/static/mine/required.png" mode="aspectFit"></image>收货地址
|
||||
@ -133,6 +149,8 @@
|
||||
addrId: null,
|
||||
price: null,
|
||||
content: null,
|
||||
wxNum: null,
|
||||
indexUrl: null,
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -251,10 +269,18 @@
|
||||
toast("粉丝数不能为空")
|
||||
return
|
||||
}
|
||||
if (this.dataObj.tel == null || this.dataObj.tel == "") {
|
||||
toast("电话不能为空")
|
||||
return
|
||||
}
|
||||
if (this.dataObj.indexUrl == null || this.dataObj.indexUrl == "") {
|
||||
toast("主页链接不能为空")
|
||||
return
|
||||
}
|
||||
if (this.dataObj.wxNum == null || this.dataObj.wxNum == "") {
|
||||
toast("微信号不能为空")
|
||||
return
|
||||
}
|
||||
if (this.dataObj.tel == null || this.dataObj.tel == "") {
|
||||
toast("电话不能为空")
|
||||
return
|
||||
}
|
||||
if (this.dataObj.addrId == null || this.dataObj.addrId == "") {
|
||||
toast("收货地址不能为空")
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user