diff --git a/common/enum/order/DeliveryStatus.js b/common/enum/order/DeliveryStatus.js
index ed55f95..3a24f0e 100755
--- a/common/enum/order/DeliveryStatus.js
+++ b/common/enum/order/DeliveryStatus.js
@@ -6,5 +6,6 @@ import Enum from '../enum'
*/
export default new Enum([
{ key: 'NOT_DELIVERED', name: '未发货', value: 10 },
- { key: 'DELIVERED', name: '已发货', value: 20 }
+ { key: 'DELIVERED', name: '已发货', value: 20 },
+ { key: 'ACCEPT', name: '已绑定', value: 20 }
])
diff --git a/common/enum/order/ReceiptStatus.js b/common/enum/order/ReceiptStatus.js
index 34916a0..a775b8f 100755
--- a/common/enum/order/ReceiptStatus.js
+++ b/common/enum/order/ReceiptStatus.js
@@ -6,5 +6,6 @@ import Enum from '../enum'
*/
export default new Enum([
{ key: 'NOT_RECEIVED', name: '未收货', value: 10 },
- { key: 'RECEIVED', name: '已收货', value: 20 }
+ { key: 'RECEIVED', name: '已收货', value: 20 },
+ { key: 'BINDED', name: '已绑定', value: 40 },
])
diff --git a/pages/order/delivery.vue b/pages/order/delivery.vue
index 16dda19..c7d9d94 100755
--- a/pages/order/delivery.vue
+++ b/pages/order/delivery.vue
@@ -189,14 +189,9 @@
phone: that.receiptPhone,
type: 'RECEIPT'
}).then(function (result) {
- console.log(result)
if(result){
if(result.code == 0) {
that.$success("发送短信验证码成功")
- that.orderSourceData = []
- // 刷新订单列表
- that.getData()
-
that.disabled = true
that.setInterValFunc()
} else {
diff --git a/pages/order/detail.vue b/pages/order/detail.vue
index 7aae80a..99bad3d 100755
--- a/pages/order/detail.vue
+++ b/pages/order/detail.vue
@@ -34,8 +34,9 @@
已完成
待支付
- 待绑定
- 进行中
+ 待收货
+ 待绑定
+ 进行中
进行中
diff --git a/pages/order/index.vue b/pages/order/index.vue
index bac515d..74f1146 100755
--- a/pages/order/index.vue
+++ b/pages/order/index.vue
@@ -13,14 +13,16 @@
{{ item.merchantName }}
- 已完成
- 待支付
- 待绑定
- 进行中
- 进行中
-
+ 待支付
+ 已完成
+
+ 待绑定
+ 待收货
+
+ 已绑定
+
+
+ 进行中
@@ -46,8 +48,7 @@
到期时间:{{ item.expirationTime }}
下单时间:{{ item.payTime }}
- 设备编号:{{ item.equipment.equipmentCode }}
+ 设备编号:{{ item.equipment.equipmentCode ? item.equipment.equipmentCode : ''}}
设备名称:{{ item.equipmentGoods.goodsName }}
设备型号:{{ item.equipmentGoods.batteryModel }}
逾期状态:
@@ -55,11 +56,6 @@
逾期状态: 即将过期
-
-
-
-
-
+
核销码
@@ -108,20 +100,22 @@
去支付
-
-
+
+ 确认收货
+
+
+ 绑定设备
- 换电
- 详情
+ 详情
{
@@ -744,8 +738,8 @@
font-size: 26rpx;
vertical-align: bottom;
text-align: right;
- height: 50rpx;
- padding-top: 20rpx;
+ height: 80rpx;
+ padding-top: 60rpx;
margin-bottom: 30rpx;
.unit {