|
|
|
@ -2,7 +2,6 @@ |
|
|
|
import Dialog from '../../../components/dialog/dialog' |
|
|
|
import { repeatOrder, getFactoryOrderInfo, checkingOrder} from "../../../api/saas" |
|
|
|
const event = require('../../../utils/event') |
|
|
|
const math = require('../../../utils/math') |
|
|
|
const util = require('../../../utils/util') |
|
|
|
const app = getApp() |
|
|
|
|
|
|
|
@ -61,13 +60,16 @@ Page({ |
|
|
|
paymentOrder: function(){ |
|
|
|
const that = this |
|
|
|
wx.navigateTo({ |
|
|
|
url: `/pages/process/payment/index?order=${encodeURIComponent(JSON.stringify(this.data.form))}`, |
|
|
|
url: `/pages/process/payment/index?channel=1`, |
|
|
|
events: { |
|
|
|
onOrderChange: (data) => { |
|
|
|
if (data.what == 12) { |
|
|
|
that.fetchOrderInfo(that.data.form.id) |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
success: function(res) { |
|
|
|
res.eventChannel.emit('onParam', that.data.form) |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
|