123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
-
-
- <van-tabs active="{{showType }}" color="#09afff" bind:change="onTabChange">
- <van-tab title="待支付" name="1"></van-tab>
- <van-tab title="已支付" name="2"></van-tab>
-
- </van-tabs>
- <view class="orders">
- <view class="order" wx:for="{{detailList}}" wx:key="id" wx:for-item="item">
- <view class="h">
- <view class="l">订单编号:{{item.orderSn}}</view>
- <view class="r">{{item.orderStatusText}}</view>
- </view>
- <view wx:if="{{showType=='1'}}" class="create-time">创建时间:{{item.createTime}}</view>
- <view class="goods">
- <view class="img">
- <image src="{{item.picUrl}}"></image>
- </view>
- <view class="info">
- <text class="name">{{item.goodsName}}</text>
- <text class="number" wx:if="{{showType=='2'}}">共{{item.number}}件商品</text>
- </view>
- <!--<view class="time">{{item.addTime}}</view>-->
- <view class="status">
- <view class="time">电话:{{item.mobile}}</view>
- <view class="btn" data-mobile="{{item.mobile}}" bindtap="makeCall">拨打</view>
- </view>
- </view>
- <view class="flexb">
- <view class="flex">实付:¥{{item.actualPrice}}</view>
- <!-- <view class="flex">分红:¥{{item.total}}</view> -->
- <view class="flex" wx:if="{{showType=='2'}}">分佣状态:{{item.commissionStatus}}
- </view>
-
- <view class="flex edit-wrapper" wx:if="{{showType=='1'}}" >
- <text class="edit-amount" bindtap="showEditDialog" data-id="{{item.id}}" data-price="{{item.actualPrice}}">修改支付金额</text>
- </view>
- </view>
- </view>
- </view>
- <view class="no-order" wx:if="{{detailList.length <= 0}}">
- <view class="c">
- <text>还没有任何客户订单呢</text>
- </view>
- </view>
- <van-dialog
- use-slot
- title="修改支付金额"
- show="{{ dialogShow}}"
- show-cancel-button
- bind:close="onClose"
- bind:confirm="editAmount"
-
- >
- <view class="price-wrapper">
- <input class="weui-input" type="digit" placeholder="请输入支付金额" value="{{actualPrice}}" bindinput="bindKeyInput"/>
- </view>
- </van-dialog>
|