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