|
@@ -81,10 +81,7 @@ Page({
|
|
})
|
|
})
|
|
appInstance.globalData.fcodeErr = res.message
|
|
appInstance.globalData.fcodeErr = res.message
|
|
wx.navigateBack()
|
|
wx.navigateBack()
|
|
-
|
|
|
|
}
|
|
}
|
|
- }, function () {
|
|
|
|
- wx.navigateBack()
|
|
|
|
})
|
|
})
|
|
},
|
|
},
|
|
getGoodsList(summary, goods_list) {
|
|
getGoodsList(summary, goods_list) {
|
|
@@ -115,6 +112,7 @@ Page({
|
|
let goods_num = this.data.num
|
|
let goods_num = this.data.num
|
|
let iscart = this.data.ifcart
|
|
let iscart = this.data.ifcart
|
|
let cart_id = this.data.cart_id
|
|
let cart_id = this.data.cart_id
|
|
|
|
+
|
|
let vat_hash = this.data.datas['payinfo'].vat_hash
|
|
let vat_hash = this.data.datas['payinfo'].vat_hash
|
|
let offpay_hash = this.data.datas['payinfo'].offpay_hash
|
|
let offpay_hash = this.data.datas['payinfo'].offpay_hash
|
|
let offpay_hash_batch = this.data.datas['payinfo'].offpay_hash_batch
|
|
let offpay_hash_batch = this.data.datas['payinfo'].offpay_hash_batch
|
|
@@ -136,7 +134,6 @@ Page({
|
|
offpay_hash_batch
|
|
offpay_hash_batch
|
|
}, function (res) {
|
|
}, function (res) {
|
|
wx.hideLoading()
|
|
wx.hideLoading()
|
|
- console.log(res)
|
|
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
|
|
|
|
|
|
|
|
@@ -148,10 +145,9 @@ Page({
|
|
title: res.message,
|
|
title: res.message,
|
|
duration: 2000
|
|
duration: 2000
|
|
})
|
|
})
|
|
|
|
+ appInstance.globalData.fcodeErr = res.message
|
|
wx.navigateBack()
|
|
wx.navigateBack()
|
|
}
|
|
}
|
|
- }, function (err) {
|
|
|
|
- wx.navigateBack()
|
|
|
|
})
|
|
})
|
|
},
|
|
},
|
|
/**
|
|
/**
|
|
@@ -167,7 +163,6 @@ Page({
|
|
onShow: function () {
|
|
onShow: function () {
|
|
if (!this.data.firstLoad) {
|
|
if (!this.data.firstLoad) {
|
|
let defaultAddress = appInstance.globalData.defaultAddress
|
|
let defaultAddress = appInstance.globalData.defaultAddress
|
|
- console.log(defaultAddress)
|
|
|
|
this.setData({
|
|
this.setData({
|
|
defaultAddress
|
|
defaultAddress
|
|
})
|
|
})
|