Commit a1f3a49e authored by youjie's avatar youjie

包车订单

parent f633a58d
...@@ -515,6 +515,7 @@ ...@@ -515,6 +515,7 @@
text = '包车' text = '包车'
GoodsType = 12 GoodsType = 12
} }
this.ErpOrderId = OrderId
let msg = { let msg = {
SurName: this.orderMsg.SurName, SurName: this.orderMsg.SurName,
Name: this.orderMsg.Name, Name: this.orderMsg.Name,
...@@ -584,7 +585,7 @@ ...@@ -584,7 +585,7 @@
}); });
setTimeout(() => { setTimeout(() => {
uni.redirectTo({ uni.redirectTo({
url: "/pages/bus/orderdetails?orderId=" + this.ErpOrderId, url: "/pages/bus/orderdetails?orderId=" + that.ErpOrderId,
}); });
}, 100); }, 100);
}, },
...@@ -935,7 +936,6 @@ ...@@ -935,7 +936,6 @@
(res) => { (res) => {
if (res.resultCode == 1) { if (res.resultCode == 1) {
const tempData = res.data const tempData = res.data
this.ErpOrderId = tempData.Id
if(tempData.CounponList && tempData.CounponList.length>0){ if(tempData.CounponList && tempData.CounponList.length>0){
uni.setStorageSync('coupons',tempData.CounponList) uni.setStorageSync('coupons',tempData.CounponList)
} }
......
...@@ -162,7 +162,7 @@ ...@@ -162,7 +162,7 @@
<view class="label"> 总金额 </view> <view class="label"> 总金额 </view>
<view class="val f14 regular col" style="text-align: right"> <view class="val f14 regular col" style="text-align: right">
{{ orderData.Num }} {{ orderData.Num }}
<text></text>/ <text></text>/
{{ peopleNum }} {{ peopleNum }}
<text style="margin-right: 30rpx"></text> <text style="margin-right: 30rpx"></text>
<text class="red">{{orderData.CurrencyCode}} {{ orderData.Money }} <text class="red">{{orderData.CurrencyCode}} {{ orderData.Money }}
...@@ -404,13 +404,13 @@ ...@@ -404,13 +404,13 @@
}, },
goCancelZK() { goCancelZK() {
var that = this; var that = this;
if (this.submitCancel) return if (that.submitCancel) return
this.submitCancel = true;
wx.showModal({ wx.showModal({
title: '提示', title: '提示',
content: '确定取消订单?', content: '确定取消订单?',
success: (tip) => { success: (tip) => {
if (tip.confirm) { if (tip.confirm) {
that.submitCancel = true;
this.apipost( this.apipost(
"GetCancelOrder_post", { "GetCancelOrder_post", {
OrderNo: this.OrderNo, OrderNo: this.OrderNo,
......
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