商家入驻提交后清空所有数据

version/0412
mujinxia 9 months ago
parent 39e9ee2e36
commit 56a2b6e9be
  1. 20
      pages/news1/MerchantSettlement.vue

@ -13,7 +13,8 @@
<u-form-item label="*主营类目" @click="categoryShow = true">
<u-input border v-model="form.store_cat" placeholder="请选择主营类目" type="select"
@click="categoryShow = true" />
<u-picker :range="categoryList" range-key="text" @confirm="actionSheetCallback(1, $event)" v-model="categoryShow" mode="selector"></u-picker>
<u-picker :range="categoryList" range-key="text" @confirm="actionSheetCallback(1, $event)"
v-model="categoryShow" mode="selector"></u-picker>
<!-- <u-action-sheet style="height: 200rpx;" :list="categoryList" :cancel-btn="false"
v-model="categoryShow" @click="actionSheetCallback(1, $event)"></u-action-sheet> -->
</u-form-item>
@ -419,6 +420,15 @@ export default {
.then(res => {
if (res.status) {
this.popShow = true
} else {
uni.showToast({
title: '入驻失败',
icon: 'none',
duration: 2000
})
}
})
.finally(() => {
this.form = this.$options.data().form
this.send_name = ''
this.factory_name = ''
@ -427,15 +437,7 @@ export default {
this.btnList.map(item => {
item.active = false
})
} else {
uni.showToast({
title: '入驻失败',
icon: 'none',
duration: 2000
})
}
})
.finally()
},
}
}

Loading…
Cancel
Save