Fix:3304 【商城小程序】特色店铺提交入驻,填写完资料提交后仍然出现入驻须知
This commit is contained in:
@@ -395,7 +395,7 @@
|
||||
type="error"
|
||||
text="确定"
|
||||
:disabled="!isAgree"
|
||||
@click="save"
|
||||
@click="handleAgree"
|
||||
/>
|
||||
</view>
|
||||
</u-popup>
|
||||
@@ -553,7 +553,7 @@ export default {
|
||||
},
|
||||
onLoad(options) {
|
||||
this.partnerId = options.partnerId
|
||||
const local_form = uni.getStorageSync('merchantApplyHotel' + '_form')
|
||||
const local_form = uni.getStorageSync('merchantApplyHotel' + '_form') || {}
|
||||
this.quaPics = uni.getStorageSync('merchantApplyHotel' + '_quaPics') || []
|
||||
if(!local_form.serviceTime) {
|
||||
local_form.serviceTime = '00:00'
|
||||
@@ -589,6 +589,9 @@ export default {
|
||||
this.$refs.shopForm.setRules(this.rules)
|
||||
},
|
||||
methods: {
|
||||
handleAgree(){
|
||||
this.show = false
|
||||
},
|
||||
timeRange(e) {
|
||||
this.form.serviceTime = e[0]
|
||||
this.form.serviceEndTime = e[1]
|
||||
@@ -805,7 +808,8 @@ export default {
|
||||
}
|
||||
this.$refs.shopForm.validate().then(res => {
|
||||
// 校验通过
|
||||
this.show = true
|
||||
// this.show = true
|
||||
this.save()
|
||||
}).catch(errors => {
|
||||
// 校验失败
|
||||
console.log(errors)
|
||||
|
||||
Reference in New Issue
Block a user