Sanakey
2021-07-09 3fc241d02fb8b671289de3d9d80bf848349c04d4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<!--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>