This commit is contained in:
chc
2022-11-22 17:17:37 +08:00
parent 69c2c4c5c2
commit 830154371a
8 changed files with 442 additions and 237 deletions

View File

@@ -50,6 +50,9 @@
<FormItem label="店铺楼层" prop="content" class="wangEditor">
<i-switch v-model="form.pageShow" @on-change="pageShow"></i-switch>
</FormItem>
<FormItem label="开启自提" prop="content" class="wangEditor">
<i-switch v-model="form.selfPickFlag" @on-change="changeSelfPickFlag"></i-switch>
</FormItem>
<Form-item>
<Button
@click="handleSubmit"
@@ -332,7 +335,8 @@ export default {
storeAddressDetail: "", //详细地址
storeAddressIdPath: "", //地址
storeDesc: "", // 店铺描述
pageShow:false,
pageShow: false,
selfPickFlag: false,
},
// 表单验证规则
@@ -462,6 +466,11 @@ export default {
pageShow(type) {
this.form.pageShow = type
},
changeSelfPickFlag(item){
if(item){
this.form.selfPickFlag = item
}
},
getDeliverAddress(){
API_Shop.getDeliverAddress().then(res=>{
if(res.success){