Commit 908bb07f by 谢中龙

修改订单展示

parent b7a6055e
......@@ -268,13 +268,15 @@ wxService.page({
},
// 删除订单
handelDelOrder(e) {
let _this = this;
let _this = this;
//先判断整个订单的所有包裹是否都已经
wx.showModal({
title: '订单删除提示',
content: '确认删除此订单?',
content: '删除订单将删除订单中所有的包裹,请谨慎操作?',
showCancel: true,
cancelText: '取消',
confirmText: '删除',
confirmText: '全部删除',
confirmColor: '#cb3c3c',
success: function (modalRes) {
if (modalRes.confirm) {
......
......@@ -20,6 +20,7 @@
wx:for="{{orderList}}"
wx:for-item="item"
wx:for-index="idx"
wx:if="{{item.parcelList.length > 0}}"
wx:key="*this">
<view class="order-new-no" bindtap="handelDetail" data-id="{{item.id}}">
<view class="order-new-no-lf">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment