diff --git a/canteen/pages/purchase/detail.vue b/canteen/pages/purchase/detail.vue
index e74f504..e12e6b7 100644
--- a/canteen/pages/purchase/detail.vue
+++ b/canteen/pages/purchase/detail.vue
@@ -35,6 +35,10 @@
联系电话
{{order.deliver_phone}}
+
+ 收货时间
+ {{order.deadline}}
+
证明材料-供应端
@@ -288,13 +292,26 @@
},
// 改变订单状态
orderStateChange(state){
- this.$http(this.API.API_CANTEEN_PURCHASEUPDATE, {
- p_sn: this.p_sn,
- state: state
- }).then(res => {
- console.log("orderStateChange", res);
- this.$msg('操作成功').then(()=> this.getData());
+ uni.showModal({
+ title: '温馨提示',
+ content: '确定继续退单吗?',
+ confirmColor: '#FF0000',
+ cancelColor: '#11D189',
+ success: result => {
+ if(result.confirm){
+ this.$http(this.API.API_CANTEEN_PURCHASEUPDATE, {
+ p_sn: this.p_sn,
+ state: state
+ }).then(res => {
+ console.log("orderStateChange", res);
+ this.$msg('操作成功').then(()=> this.getData());
+ })
+ }
+ }
})
+
+
+
}
}
}
diff --git a/canteen/pages/purchase/launch.vue b/canteen/pages/purchase/launch.vue
index 0556c92..9658a5a 100644
--- a/canteen/pages/purchase/launch.vue
+++ b/canteen/pages/purchase/launch.vue
@@ -25,8 +25,8 @@
收货时间
- {{ '请选择收货时间...' }}
- {{ date }}
+
+ {{ date }}