@@ -48,6 +48,16 @@ Page({
}
},
+ somao(){
+ let that = this
+ wx.scanCode({
+ onlyFromCamera: true,
+ success (res) {
+ that.setData({sealNo: res.result.substr(0)})
+ }
+
+ })
+ },
getData:function(){
var that=this
app.api.useApi(app.globalData.baseAppUrl + "api/admin/CheckOrder", {
@@ -45,7 +45,7 @@
</view>
<view class="bd3">
- <view class="group8">
+ <view class="group8" catchtap="somao">
<image src="/image/build/scan.png"></image>