123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- <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" data-name="values.repairsBy" placeholder="请输入姓名" maxlength="50" value="{{values.repairsBy}}" catchinput="inputedit" bindblur="inputedit" name="repairsBy" />
- </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" data-name="values.repairsPhone" placeholder="请输入手机号" maxlength="11"
- type="number" value="{{values.repairsPhone}}" catchinput="inputedit" bindblur="inputedit" name="repairsPhone"/>
- </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" data-name="values.expressCompany" placeholder="请输入快递公司" maxlength="50" value="{{values.expressCompany}}" catchinput="inputedit" bindblur="inputedit"/>
- </view>
- </tui-list-cell> -->
- <picker bindchange="bindPickerChange" value="{{index}}" range="{{expressCompany}}" 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" placeholder="请选择快递公司" type="text" disabled="true" value="{{values.expressCompany}}" />
- </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" data-name="values.expressSn" placeholder="请输入快递单号" maxlength="50" value="{{values.expressSn}}" catchinput="inputedit" bindblur="inputedit"/>
- </view>
- </tui-list-cell>
- <!-- <tui-list-cell hover="{{false}}">
- <view class="tui-line-cell">
- <view class="tui-title">地区:</view>
- <picker mode="region" name="area" bindchange="bindRegionChange" value="{{region}}">
- <text class="tui-input" wx:if="{{region==''}}">请选择所在地区</text>
- <text class="tui-input" wx:if="{{region!=''}}">{{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" data-name="values.address" placeholder="请输入详细地址" value="{{values.address}}" 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" name="name" placeholder="扫一扫显示设备号" maxlength="50" type="text"
- disabled="true" value="{{deviceId}}" bindtap="scanCodeEvent" />
- <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="deviceSn" catchinput="inputedit" bindblur="inputedit"/> -->
- <input placeholder-class="phcolor" class="tui-input" data-name="values.deviceSn" placeholder="请输入设备号" maxlength="11"
- type="number" value="{{values.deviceSn}}" catchinput="inputedit" bindblur="inputedit" name="deviceSn"/>
- </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" data-name="values.repairsRemark" placeholder="请输入故障描述" value="{{values.repairsRemark}}" catchinput="inputedit" bindblur="inputedit"/>
- </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="addRepair">提交</button>
- <button class="btn-primary btn-gray" hover-class="btn-gray-hover" formType="reset">重置</button>
- </view>
- <time-picker pickerShow="{{isPickerShow}}" id="picker" wx:if="{{isPickerRender}}" bind:hidePicker="pickerHide"
- bind:setPickerTime="setPickerTime" config="{{pickerConfig}}"></time-picker>
- </form>
|