删除formid
This commit is contained in:
parent
7c853f90f4
commit
ad440df3dc
@ -63,15 +63,6 @@ Page({
|
||||
urls: that.data.galleryImages // 需要预览的图片http链接列表
|
||||
})
|
||||
},
|
||||
saveUserId: function(e) {
|
||||
let formId = e.detail.formId;
|
||||
let that = this;
|
||||
util.request(api.SaveUserId, {
|
||||
formId: formId
|
||||
}, 'POST').then(function(res) {
|
||||
if (res.errno === 0) {}
|
||||
});
|
||||
},
|
||||
bindchange: function(e) {
|
||||
let current = e.detail.current;
|
||||
this.setData({
|
||||
|
||||
@ -148,7 +148,6 @@ Page({
|
||||
},
|
||||
// TODO 有个bug,用户没选择地址,支付无法继续进行,在切换过token的情况下
|
||||
submitOrder: function (e) {
|
||||
let formId = e.detail.formId;
|
||||
if (this.data.addressId <= 0) {
|
||||
util.showErrorToast('请选择收货地址');
|
||||
return false;
|
||||
@ -165,7 +164,6 @@ Page({
|
||||
addressId: addressId,
|
||||
postscript: postscript,
|
||||
freightPrice: freightPrice,
|
||||
formId: formId,
|
||||
actualPrice: actualPrice,
|
||||
offlinePay: 0
|
||||
}, 'POST').then(res => {
|
||||
@ -189,7 +187,6 @@ Page({
|
||||
});
|
||||
},
|
||||
offlineOrder: function (e) {
|
||||
let formId = e.detail.formId;
|
||||
if (this.data.addressId <= 0) {
|
||||
util.showErrorToast('请选择收货地址');
|
||||
return false;
|
||||
@ -202,7 +199,6 @@ Page({
|
||||
addressId: addressId,
|
||||
postscript: postscript,
|
||||
freightPrice: freightPrice,
|
||||
formId: formId,
|
||||
actualPrice: actualPrice,
|
||||
offlinePay: 1
|
||||
}, 'POST').then(res => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user