123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130 |
- <!--pages/store/edit1.wxml-->
- <view class="container">
- <form bindsubmit="formSubmit" bindreset="formReset">
- <tui-list-cell hover="{{false}}">
- <view class="tui-line-cell">
- <view class="tui-title"><text style="color:red;">*</text>门店名称:</view>
- <input placeholder-class="phcolor" class="tui-input" name="storeName" placeholder="请输入门店名称" maxlength="50" catchinput="inputedit" value="{{storeInfo.storeName}}" data-name="storeInfo.storeName"/>
- </view>
- </tui-list-cell>
- <tui-list-cell hover="{{false}}">
- <view class="tui-line-cell">
- <view class="tui-title"><text style="color:red;">*</text>门店负责人:</view>
- <input placeholder-class="phcolor" class="tui-input" name="storePrincipal" placeholder="请输入门店负责人"
- maxlength="50" value="{{storeInfo.storePrincipal}}" catchinput="inputedit" data-name="storeInfo.storePrincipal"/>
- </view>
- </tui-list-cell>
- <tui-list-cell hover="{{false}}">
- <view class="tui-line-cell">
- <view class="tui-title"><text style="color:red;">*</text>负责人电话:</view>
- <input placeholder-class="phcolor" class="tui-input" name="storePrincipalPhone" placeholder="请输入负责人电话"
- maxlength="11" type="number" value="{{storeInfo.storePrincipalPhone}}" catchinput="inputedit" data-name="storeInfo.storePrincipalPhone"/>
- </view>
- </tui-list-cell>
- <tui-list-cell hover="{{false}}">
- <view class="tui-line-cell">
- <view class="tui-title">前台电话:</view>
- <input placeholder-class="phcolor" class="tui-input" name="storeTel" placeholder="请输入前台电话" maxlength="50" value="{{storeInfo.storeTel}}" catchinput="inputedit" data-name="storeInfo.storeTel"/>
- </view>
- </tui-list-cell>
- <tui-list-cell hover="{{false}}">
- <view class="tui-line-cell">
- <view class="tui-title">设备数量:</view>
- <input placeholder-class="phcolor" class="tui-input" name="storeDeviceNum" placeholder="请输入设备数量" type="number" value="{{storeInfo.storeDeviceNum}}" catchinput="inputedit" data-name="storeInfo.storeDeviceNum"/>
- </view>
- </tui-list-cell>
- <tui-list-cell hover="{{false}}">
- <view class="tui-line-cell">
- <view class="tui-title">门店分成%:</view>
- <input placeholder-class="phcolor" class="tui-input" name="storeDivide" placeholder="请输入门店分成百分比" type="number" maxlength="50" catchinput="inputedit" value="{{storeInfo.storeDivide}}" data-name="storeInfo.storeDivide"/>
- </view>
- </tui-list-cell>
- <tui-list-cell hover="{{false}}" >
- <view class="tui-line-cell">
- <view class="tui-title">二级品类</view>
- <picker name="mtType" value="{{value}}" mode="multiSelector" bindchange="picker" bindcolumnchange="columnPicker" range="{{multiArray}}" >
- <text class="tui-input" wx:if="{{text==''}}">请选择二级品类</text>
- <text class="tui-input" wx:if="{{text!=''}}">{{text}}</text>
- </picker>
- </view>
- </tui-list-cell>
- <picker bindchange="bindDadaTypeDictPickerChange" value="{{index}}" range="{{dadaTypeDictList}}" range-key="text">
- <tui-list-cell hover="{{false}}">
- <view class="tui-line-cell">
- <view class="tui-title">达达品类</view>
- <input placeholder-class="phcolor" class="tui-input" name="dadaType" placeholder="请选择达达品类" type="text" disabled="true"
- value="{{storeInfo.dadaTypeName}}" />
- </view>
- </tui-list-cell>
- </picker>
- <tui-list-cell hover="{{false}}" bindtap="timePickerShow">
- <view class="tui-line-cell">
- <view class="tui-title">营业时间</view>
- <input placeholder-class="phcolor" class="tui-input" placeholder="请选择起止时间" type="text" disabled="true"
- value="{{dataStr}}" />
- </view>
- </tui-list-cell>
- <picker bindchange="bindDictPickerChange" value="{{index}}" range="{{dictList}}" range-key="text">
- <tui-list-cell hover="{{false}}">
- <view class="tui-line-cell">
- <view class="tui-title">配送类型</view>
- <input placeholder-class="phcolor" class="tui-input" name="peisongType" placeholder="请选择配送类型" type="text" disabled="true"
- value="{{storeInfo.peisongTypeName}}" />
- </view>
- </tui-list-cell>
- </picker>
- <picker bindchange="bindDataCityDictPickerChange" value="{{index}}" range="{{dataCityDictList}}" range-key="text">
- <tui-list-cell hover="{{false}}">
- <view class="tui-line-cell">
- <view class="tui-title">达达配送城市</view>
- <input placeholder-class="phcolor" class="tui-input" name="dadaCityCode" placeholder="请选择达达配送城市" type="text" disabled="true"
- value="{{storeInfo.dadaCityName}}" />
- </view>
- </tui-list-cell>
- </picker>
- <tui-list-cell hover="{{false}}">
- <view class="tui-line-cell">
- <view class="tui-title">所在地区:</view>
- <!-- <input placeholder-class="phcolor" class="tui-input" name="storeArea" placeholder="请输入所在地区" catchinput="inputedit" value="{{storeInfo.storeArea}}" data-name="storeInfo.storeArea"/> -->
- <picker mode="region" name="storeArea" bindchange="bindRegionChange" value="{{region}}" placeholder="请选择所在地区">
- <text class="tui-input" wx:if="{{region==''}}">请选择所在地区</text>
- <text class="tui-input">{{region[0]}}{{region[1]}}{{region[2]}}</text>
- </picker>
- </view>
- </tui-list-cell>
- <tui-list-cell hover="{{false}}">
- <view class="tui-line-cell">
- <view class="tui-title">详细地址:</view>
- <input placeholder-class="phcolor" class="tui-input" bindtap="selectMap" name="storeAddress" placeholder="请输入所在地区" catchinput="inputedit" value="{{storeInfo.storeAddress}}" data-name="storeInfo.storeAddress"/>
- <view class="tui-title">门牌号(栋、室):</view>
- <input placeholder-class="phcolor" class="tui-input" name="houseNum" placeholder="请输入门牌号" catchinput="inputedit" value="{{storeInfo.houseNum}}" data-name="storeInfo.houseNum"/>
- </view>
- </tui-list-cell>
-
- <!-- <tui-list-cell hover="{{false}}" bindtap="timePickerShow">
- <view class="tui-line-cell">
- <view class="tui-title">合约时间:</view>
- <input placeholder-class="phcolor" class="tui-input" placeholder="选择开始时间 - 选择结束时间" type="text" disabled="true"
- value="{{dataStr}}" />
- </view>
- </tui-list-cell> -->
- <view class="tui-btn-box">
- <button class="btn-primary margin-bottom-xs" hover-class="btn-hover" formType="submit" type="primary" bindtap="editStore">提交</button>
- <button class="btn-primary margin-bottom-xs btn-gray" hover-class="btn-gray-hover" formType="reset">重置</button>
- <button class="btn-primary btn-red" hover-class="btn-hover" formType="delete" type="primary" data-id="" bindtap="delete">删除</button>
- </view>
- <time-picker format="HHmm" pickerShow="{{isPickerShow}}" id="picker" wx:if="{{isPickerRender}}" bind:hidePicker="pickerHide"
- bind:setPickerTime="setPickerTime" config="{{pickerConfig}}"></time-picker>
- </form>
- </view>
|