hailu
2023-12-07 097985a7a3f9c869f7ee5692b163210ab647987f
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
<!--pages/repairTicketDetail/repairTicketDetail.wxml-->
<!-- <text>pages/repairTicketDetail/repairTicketDetail.wxml</text> -->
<!-- <van-cell-group>
  <van-field
    value="{{ username }}"
    clearable
    label="设备名称"
    icon="question-o"
    placeholder="请输入用户名"
  
  />
 
  <van-field
    value="{{ password }}"
    type="password"
    label="密码"
    placeholder="请输入密码"
    required
    border="{{ false }}"
  />
</van-cell-group> -->
<view class="main">
  <view class="item">
    <view class="left">
      设备
    </view>
    <view class="right" bind:tap="openShowType">
      {{deviceName}} >
    </view>
  </view>
  <!-- <view class="item">
    <view class="left">
      故障类型
    </view>
    <view class="right" bind:tap="openShowType">
      {{deviceName}} >
    </view>
  </view> -->
  <view class="item">
    <view class="left">
      姓名
    </view>
    <view class="right" bind:tap="choseLocation">
      <input class="input" placeholder="请输入用户姓名"  value="{{userName}}"  bindinput="changeUserName"></input>
    </view>
  </view>
  <view class="item">
    <view class="left">
      电话
    </view>
    <view class="right">
      <input class="input" placeholder="请输入手机号" value="{{userPhone}}" type="number" pattern="^1[3-9]\d{9}$" bindinput="checkPhone"></input>
    </view>
  </view>
  <view class="item">
    <view class="left">
      地址
    </view>
    <view class="right" bind:tap="choseLocation">
    
      <input class="input" value="{{address}}" placeholder="请输入地址"  bindinput="changeAdress"></input>
    </view>
  </view>
  <view class="item">
    <view class="left">
      预约时间
    </view>
    <view class="right" bind:tap="openShowDate">
      <picker bindtap="clickSelectTime" mode="multiSelector" bindchange="bindMultiPickerChange" bindcolumnchange="bindMultiPickerColumnChange" value="{{multiIndex}}" range="{{multiArray}}">
        {{time}}
        <view class="triangle_border_down"> </view>
      </picker>
 
    </view>
  </view>
  <view style="display: flex;justify-content: space-between;">
    <view style="margin-left: 5px;">故障描述</view>
    <view style="width: calc(100% - 80px);">
      <van-field class="info" style="min-height: 200px;" value="{{ description }}" label="" bindinput="changeDescription" type="textarea" placeholder="请输入设备故障的基本描述" autosize />
    </view>
  </view>
  <view bind:tap="submit" style="width: 90%;margin-left: 5%;height: 40px;line-height: 40px;background-color: #007CFE;text-align: center;color: #fff;margin-top: 10px;">提交报修单</view>
</view>
<!-- <van-popup show="{{ showType }}" position="bottom" custom-style="height: 40%;" bind:close="onClose">
  <van-picker columns="{{ columns }}" show-toolbar bind:cancel="closeType" bind:confirm="onChangeType" />
</van-popup> -->
 
<van-popup show="{{ showType }}" position="bottom" custom-style="height: 40%;" bind:close="onClose">
  <van-picker columns="{{ columns }}" show-toolbar bind:cancel="closeType" bind:confirm="onChangeType" />
</van-popup>
 
<!-- <van-popup show="{{ showDate }}" position="bottom" custom-style="height: 40%;" bind:close="onClose"> -->
<!-- <picker-date bind:pConfirm='pConfirm'></picker-date> -->
 
 
 
 
 
 
<!-- </van-popup> -->