|
|
@@ -9,6 +9,7 @@ Page({ |
|
|
|
wm01Url: imgurl.wm01.url, |
|
|
|
wm02Url: imgurl.wm02.url, |
|
|
|
wm03Url: imgurl.wm03.url, |
|
|
|
wm04Url: imgurl.wm04.url, |
|
|
|
code: "", |
|
|
|
//存储计时器 |
|
|
|
setInter: "", |
|
|
@@ -50,15 +51,16 @@ Page({ |
|
|
|
}, |
|
|
|
onLoad: function (options) { |
|
|
|
let that = this; |
|
|
|
console.log(options) |
|
|
|
let value = JSON.stringify({ END: "C", TYPE: "couponorder", ID: options.quancode}) |
|
|
|
// util.barcode("barcode", value, 500, 100); |
|
|
|
util.qrcode("qrcode", value, 350, 350); |
|
|
|
that.setData({ |
|
|
|
code: options.quancode, |
|
|
|
title: options.title, |
|
|
|
subtitle: options.subtitle, |
|
|
|
remark: options.remark, |
|
|
|
couponorderstatus: options.couponorderstatus |
|
|
|
couponorderstatus: options.couponorderstatus, |
|
|
|
validStatus: options.validstatus |
|
|
|
}); |
|
|
|
/** |
|
|
|
* 如果没有核销 |
|
|
|