Browse Source

订单列表-新增自动关闭订单配置项判断

master
liutong 1 year ago
parent
commit
5b777b8c86
  1. 5
      pages/order/list.vue

5
pages/order/list.vue

@ -124,7 +124,7 @@
</view>
</view>
<view class="order-action" v-if="orderItem.action.length > 0">
<view class="order-time" v-if="orderItem.order_status == 0" id="action-date">
<view class="order-time" v-if="orderItem.order_status == 0 && auto_close > 0" id="action-date">
<image :src="$util.img('public/uniapp/order/time.png')"></image>
剩余时间
<uni-count-down :day="orderItem.discountTimeMachine.d"
@ -308,6 +308,7 @@
dateType: undefined,
invoiceItem: {},
showInvoice: false,
auto_close: 0,//-
};
},
components: {
@ -377,6 +378,7 @@
title: msg
});
}
this.auto_close = auto_close;//-
mescroll.endSuccess(newArr.length);
//
if (mescroll.num == 1) {
@ -585,6 +587,7 @@
if (res.code == 0) {
var data = res.data;
this.evaluateConfig = data;
console.log('qq',this.evaluateConfig);
}
}
});

Loading…
Cancel
Save