|
|
const router = global.router;
|
|
|
import Yas from '../../../common/yas';
|
|
|
|
|
|
const yas = new Yas();
|
|
|
const router = global.router;
|
|
|
|
|
|
Page({
|
|
|
data: {
|
|
|
orderPrice: 0
|
|
|
},
|
|
|
onLoad(options) {
|
|
|
options = {orderCode: 1701045399, price: 10.24}
|
|
|
this.orderCode = options.orderCode;
|
|
|
|
|
|
if (options.price) {
|
|
|
this.setData({orderPrice: options.price});
|
|
|
}
|
|
|
|
|
|
yas.pageOpenReport();
|
|
|
},
|
|
|
viewOrderDetail() {
|
|
|
if (this.orderCode) {
|
...
|
...
|
|