|
|
@@ -6,41 +6,130 @@
|
|
|
<view class="text-lg text-bold">入驻基本信息</view>
|
|
|
</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" placeholder="请输入设备编号" name="deviceSn" type="text"
|
|
|
+ value="{{values.deviceSn}}" data-name="values.deviceSn" catchinput="inputedit" bindblur="inputedit" />
|
|
|
+ </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" placeholder="请输入设备名称" name="deviceName" type="text"
|
|
|
+ value="{{values.deviceName}}" data-name="values.deviceName" catchinput="inputedit" bindblur="inputedit" />
|
|
|
+ </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" placeholder="请输入设备号" name="deviceLocation" type="text"
|
|
|
+ value="{{values.deviceLocation}}" data-name="values.deviceLocation" catchinput="inputedit" bindblur="inputedit" />
|
|
|
+ </view>
|
|
|
+ </tui-list-cell>
|
|
|
+
|
|
|
+ <picker bindchange="bindSchemePickerChange" value="{{index}}" range="{{schemeList}}" range-key="schemeName">
|
|
|
+ <tui-list-cell hover="{{false}}">
|
|
|
+ <view class="tui-line-cell">
|
|
|
+ <view class="tui-title">方案</view>
|
|
|
+ <input placeholder-class="phcolor" class="tui-input" placeholder="请选择方案" name="schemeName" type="text" disabled="true"
|
|
|
+ value="{{values.schemeName}}" />
|
|
|
+ </view>
|
|
|
+ </tui-list-cell>
|
|
|
+ </picker>
|
|
|
+
|
|
|
<picker bindchange="bindStorePickerChange" value="{{index}}" range="{{storeList}}" range-key="storeName">
|
|
|
<tui-list-cell hover="{{false}}">
|
|
|
<view class="tui-line-cell">
|
|
|
- <view class="tui-title">门店:</view>
|
|
|
- <input placeholder-class="phcolor" class="tui-input" placeholder="请选择门店" type="text" disabled="true"
|
|
|
- value="{{values.storeName}}" name="storeName" />
|
|
|
+ <view class="tui-title">门店</view>
|
|
|
+ <input placeholder-class="phcolor" class="tui-input" placeholder="请选择门店" name="storeName" type="text" disabled="true"
|
|
|
+ value="{{values.storeName}}" />
|
|
|
</view>
|
|
|
</tui-list-cell>
|
|
|
</picker>
|
|
|
|
|
|
+ <picker bindchange="bindDeviceTypePickerChange" value="{{index}}" range="{{deviceTypeList}}" range-key="deviceName">
|
|
|
+ <tui-list-cell hover="{{false}}">
|
|
|
+ <view class="tui-line-cell">
|
|
|
+ <view class="tui-title">设备类型</view>
|
|
|
+ <input placeholder-class="phcolor" class="tui-input" name="deviceTypeName" placeholder="请选择设备类型" type="text" disabled="true"
|
|
|
+ value="{{values.deviceTypeName}}" />
|
|
|
+ </view>
|
|
|
+ </tui-list-cell>
|
|
|
+ </picker>
|
|
|
+
|
|
|
+ <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="deviceBrandName" placeholder="请选择设备品牌" type="text" disabled="true"
|
|
|
+ value="{{values.deviceBrandName}}" />
|
|
|
+ </view>
|
|
|
+ </tui-list-cell>
|
|
|
+ </picker>
|
|
|
+
|
|
|
+ <picker bindchange="bindAgentPickerChange" value="{{index}}" range="{{agentList}}" range-key="username">
|
|
|
+ <tui-list-cell hover="{{false}}">
|
|
|
+ <view class="tui-line-cell">
|
|
|
+ <view class="tui-title">代理商</view>
|
|
|
+ <input placeholder-class="phcolor" class="tui-input" name="agentName" placeholder="请选择代理商" type="text" disabled="true"
|
|
|
+ value="{{values.agentName}}" />
|
|
|
+ </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="deviceSn" placeholder="扫一扫显示设备号" maxlength="50"
|
|
|
- type="text" disabled="true" bindtap="scanCodeEvent" value="{{values.deviceSn}}" />
|
|
|
- <tui-icon name="sweep" size="24" bindtap="scanCodeEvent"></tui-icon> -->
|
|
|
- <input placeholder-class="phcolor" class="tui-input" placeholder="请输入设备号" name="deviceSn" type="text"
|
|
|
- value="{{values.deviceSn}}" data-name="values.deviceSn" catchinput="inputedit" bindblur="inputedit"/>
|
|
|
- </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" placeholder="请输入客房房间号" name="deviceLocation" type="text"
|
|
|
- value="{{values.deviceLocation}}" data-name="values.deviceLocation" catchinput="inputedit" bindblur="inputedit"/>
|
|
|
+ <view class="tui-title">支付方式</view>
|
|
|
+ <checkbox-group bindchange="checkboxChange" >
|
|
|
+ <lable wx:for="{{payTypeList}}" wx:key="key" wx:for-item="item">
|
|
|
+ <checkbox style="margin:0rpx 20rpx" value="{{item.value}}" checked="{{item.value}}">{{item.name}}</checkbox>
|
|
|
+ </lable>
|
|
|
+ </checkbox-group>
|
|
|
</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" placeholder="请输入位置特征" type="text"
|
|
|
- value="{{values.remark}}" data-name="values.remark" catchinput="inputedit" bindblur="inputedit"/>
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ <view class="tui-goods-item" wx:for="{{values.gridProductList}}">
|
|
|
+ <image wx:if="{{!item.productImg==''}}" src="{{item.productImg}}" class="tui-goods-img" data-index="{{index}}"></image>
|
|
|
+ <view wx:else class="tui-goods-grid" bindtap="toSelect" data-index="{{index}}"><text>{{index+1}}号柜</text></view>
|
|
|
+ <view class="tui-goods-center">
|
|
|
+
|
|
|
+ <tui-list-cell hover="{{false}}" padding="0rpx 20rpx">
|
|
|
+ <view class="tui-line-cell">
|
|
|
+ <view class="tui-title">{{item.productName?item.productName:'请选择商品'}}</view>
|
|
|
+ </view>
|
|
|
+ </tui-list-cell>
|
|
|
+
|
|
|
+
|
|
|
+ <tui-list-cell hover="{{false}}" padding="0rpx 20rpx">
|
|
|
+ <view class="tui-line-cell">
|
|
|
+ <view class="tui-title">格子数量</view>
|
|
|
+ <input placeholder-class="phcolor" class="tui-input" type="number" placeholder="请输入格子数量"
|
|
|
+ data-name="gridCount" maxlength="50" type="digit" value="{{item.gridCount}}" bindinput="number" data-index="{{index}}" data-item="{{item}}"/>
|
|
|
+ </view>
|
|
|
+ </tui-list-cell>
|
|
|
+ <tui-list-cell hover="{{false}}" padding="0rpx 20rpx">
|
|
|
+ <view class="tui-line-cell">
|
|
|
+ <view class="tui-title">库存数量:</view>
|
|
|
+ <input placeholder-class="phcolor" class="tui-input" placeholder="请填写库存数量" type="number" value="{{item.stockCount}}" bindinput="number" data-name="stockCount" data-index="{{index}}" data-item="{{item}}"/>
|
|
|
+ </view>
|
|
|
+ </tui-list-cell>
|
|
|
+
|
|
|
+ <tui-list-cell hover="{{false}}" padding="0rpx 20rpx">
|
|
|
+ <view class="tui-line-cell">
|
|
|
+ <view class="tui-title">货道:</view>
|
|
|
+ <view style="margin-left:20rpx;color:red">{{item.productGrid?item.productGrid:index+1}}</view>
|
|
|
+ </view>
|
|
|
+ </tui-list-cell>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
- </tui-list-cell> -->
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
|
|
|
<view class="tui-btn-box">
|
|
|
<button class="btn-primary margin-bottom-xs" hover-class="btn-hover" formType="submit" type="primary">提交</button>
|