hailu
2023-10-05 32fe82458589e6f6495ceb889a6c27fa19caa790
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
<!--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">
      设备1号
    </view>
  </view>
  <view class="item">
    <view class="left">
      故障类型
    </view>
    <view class="right" bind:tap="openShowType">
      {{selectType}} >
    </view>
  </view>
  <view class="item">
    <view class="left">
      预约时间
    </view>
    <view class="right" bind:tap="openShowDate">
      {{selectDate}} >
    </view>
  </view>
  <view>
    <view>故障描述</view>
    <van-field class="info"
    value="{{ message }}"
    label=""
    type="textarea"
    placeholder="请输入设备故障的基本描述"
    autosize
  
  />
    <!-- <van-field value="{{info  }}" type="textarea" placeholder="" border style="margin-top: 10px;" /> -->
 
  </view>
  <view 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 }}" bind:change="onChangeType" />
</van-popup>
 
<van-popup show="{{ showDate }}" position="bottom" custom-style="height: 40%;" bind:close="onClose">
  <van-datetime-picker type="year-month-time" value="{{ currentDate }}" bind:confirm="onInput" bind:change="onChangeDate" min-date="{{ minDate }}" formatter="{{ formatter }}" />
</van-popup>