<!--pages/storeEdit/storeEdit.wxml-->
|
<view class="padding-lr has-footer">
|
<view class="padding-tb">
|
<van-button wx:if="{{!location}}" plain type="warning" bind:click="selectLocation" block>选择门店地址 > </van-button>
|
<van-cell class="address-cell" wx:else center title-width="480rpx" title="{{location.name}}" label="{{location.address}}" >
|
<van-button plain type="warning" bind:click="selectLocation" size="small">修改地址</van-button>
|
</van-cell>
|
</view>
|
<van-cell-group class="my-cell-group">
|
<view class="seller-cell">
|
<van-field
|
title-width="7em"
|
class="my-cell"
|
value="{{ street }}"
|
name="street"
|
label="门牌号"
|
placeholder="请输入详细地址,例如:B座1111"
|
bind:blur="checkStreet"
|
error-message="{{streetError}}"
|
/>
|
<van-field
|
title-width="7em"
|
class="my-cell"
|
value="{{storeName}}"
|
name="storeName"
|
label="门店名称"
|
placeholder="请输入门店名称"
|
bind:blur="checkStoreName"
|
error-message="{{storeNameError}}"
|
/>
|
<van-field
|
title-width="7em"
|
class="my-cell"
|
value="{{linkMan}}"
|
name="linkMan"
|
label="负责人姓名"
|
placeholder="请输入负责人姓名"
|
bind:blur="checkLinkMan"
|
error-message="{{linkManError}}"
|
/>
|
<van-field
|
title-width="7em"
|
class="my-cell"
|
value="{{phone}}"
|
name="phone"
|
label="负责人电话"
|
maxlength="11"
|
placeholder="请输入门店负责人电话"
|
bind:blur="checkPhone"
|
error-message="{{phoneError}}"
|
/>
|
</view>
|
|
<my-time-selector id="time-selector" start-time="{{startTime}}" end-time="{{endTime}}"></my-time-selector>
|
<my-store-status id="store-status" doccode="{{doccode}}" store-status-list="{{storeStatusList}}"></my-store-status>
|
</van-cell-group>
|
<view class="padding border-bottom margin-bottom-10 font-size-14 desc">请上传门店图</view>
|
<my-file-uploader id="file-uploader-multiple" img-list="{{imagesUrl}}" url="{{fileUploadUrl}}" multiple="{{true}}" file-delete-url="{{fileDeleteUrl}}"></my-file-uploader>
|
<!-- <view class="theme-font-color border-top padding font-size-12">-->
|
<!-- 为避免logo滥用,保障品牌利益,请上传门店照片,验证真实性。-->
|
<!-- </view>-->
|
</view>
|
|
<view class="fixed-footer fixed-footer-button flex-row space-around">
|
<van-button wx:if="{{doccode}}" icon="delete-o" plain bind:click="onDeleteStore" class="btn-padding"> 删除 </van-button>
|
<van-button icon="success" type="warning" bind:click="onSave" class="theme-button btn-padding"> 保存 </van-button>
|
</view>
|