OrderPopup.wxml
3.42 KB
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
<view class="order-popup" wx:if="{{show}}" catchtouchmove="noScroll">
<view class="order-popup-bg" bindtap="close" />
<view class="order-popup-content">
<!-- 支付方式 2:门店收款 5:嘀加收款 6:对公转账 7:其它收款 -->
<view class="title" wx:if="{{orderType == 2 || orderType == 5 || orderType == 6 || orderType == 7}}">上传付款凭证</view>
<view class="order-popup-close" bindtap="close">
<image src="../images/order-close.png" />
</view>
<!-- 4s店 开始 -->
<block wx:if="{{orderType == 2 || orderType == 5 || orderType == 6 || orderType == 7}}">
<view class="input-item">
<view class="input-box">
<input type="text" class="input" bindinput="input" value="{{outTradeNo}}" placeholder="输入交易流水号" placeholder-class="outTradeNo_placeholder" maxlength="150" />
</view>
</view>
<view class="upload-content">
<view class="title-text">上传图片</view>
<view class="upload-box">
<van-uploader file-list="{{ payVoucherList }}" max-count="9" deletable preview-size="var(--fontSize160)" bind:after-read="upLoad" bind:delete="deletePayVoucher">
</van-uploader>
</view>
</view>
<view class="btn" bindtap="confirm">确定</view>
</block>
<!-- 4s店 end -->
<!-- POS机 开始 -->
<block wx:elif="{{orderType == 3}}">
<view class="price">
<view class="unit">¥</view>
{{price}}
</view>
<view class="qr-box">
工单确认码
<view class="qr">
<image src="{{qr}}" />
</view>
<view class="tips">请使用POS机扫描此码,再向客户收款</view>
</view>
</block>
<!-- POS机 end -->
<!-- 微信 开始 -->
<block wx:elif="{{orderType == 1}}">
<view class="price">
<view class="unit">¥</view>
{{price}}
</view>
<view class="wx_title">微信收款码</view>
<view class="wx_code_box">
<view class="qr">
<image src="{{wxqrcode}}" mode="widthFix" class="wx_qrcode" />
</view>
<view class="tips">微信扫码,向我付款</view>
</view>
</block>
<!-- 微信 end -->
<!-- 选择下单方式 开始 -->
<block wx:elif="{{orderType == 4}}">
<view class="title">请选择下单类型</view>
<view class="order-type-box">
<block wx:for="{{orderTypeList}}" wx:key="index">
<view class="order-type text-center {{item.active?'active':''}}" bindtap="changeOrderSource" data-index="{{index}}">
{{item.name}}
</view>
<view class="order-type-tips">{{item.tips}}</view>
</block>
</view>
<view class="btn" bindtap="confirm">确定</view>
</block>
<!-- 选择下单方式 end -->
<!-- 不升级 开始 -->
<block wx:else>
<view class="title">车主拒升理由</view>
<view class="textarea">
<gl-textarea focus="{{focus}}" value="{{textareaValue}}" bindinput="blur" bindblur="blur" maxlength="100" placeholder="请输入内容" />
</view>
<view class="shortcut-list">
<block wx:for="{{shortcutList}}" wx:key="index">
<view class="shortcut" bindtap="chooseShortcut" data-item="{{item}}" data-index="{{index}}">
{{item.confValue}}
</view>
</block>
</view>
<view class="btn" bindtap="confirm">确定</view>
</block>
<!-- 不升级 end -->
</view>
</view>