删除formid

This commit is contained in:
shengliang 2020-04-28 21:59:54 +08:00
parent 7c853f90f4
commit ad440df3dc
2 changed files with 0 additions and 13 deletions

View File

@ -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({

View File

@ -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 => {