|
|
|
|
@ -190,6 +190,9 @@
|
|
|
|
|
this.to_date = this.$moment(this.from_date).add(this.days - 1, 'd').format("YYYY-MM-DD");
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
toSave(){
|
|
|
|
|
this.$u.throttle(this.submitOrder, 500)
|
|
|
|
|
},
|
|
|
|
|
submitOrder() {
|
|
|
|
|
var that = this;
|
|
|
|
|
if (!this.$u.test.mobile(this.mobile)) {
|
|
|
|
|
@ -220,7 +223,10 @@
|
|
|
|
|
data: data,
|
|
|
|
|
method: 'POST',
|
|
|
|
|
utilSuccess: function(e) {
|
|
|
|
|
that.loadPage(1);
|
|
|
|
|
|
|
|
|
|
uni.$u.route('/packages/packagesPro/pages/proBuySuccess/orderSuccess', {
|
|
|
|
|
id: e.id
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
utilFail: function(e) {
|
|
|
|
|
util.alert(e);
|
|
|
|
|
|