(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/check/checkDtl"],{"0a87":function(t,n,o){},"34e2":function(t,n,o){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;o("cea2");var e={data:function(){return{dtlData:{},req:{keyword:null,materialId:null},option:{},checkListData:[],formData:{}}},onLoad:function(t){var n=this;n.option=JSON.parse(decodeURIComponent(t.data)),console.log(n.option),n.req.id=n.option.id,n.getData()},methods:{exemptInspection:function(){var n=this;n.formData.quantitycheckId=n.option.id,n.$post("/wx/check/exemptInspection",n.formData).then((function(n){200==n.code&&(t.showToast({title:"提交成功,跳转中!"}),setTimeout((function(){wx.reLaunch({url:"/pages/home"})}),2e3))}))},checkSubmit:function(){var n=this;n.$post("/wx/check/submit",n.checkListData).then((function(n){200==n.code&&(t.showToast({title:"提交成功,跳转中!"}),setTimeout((function(){wx.reLaunch({url:"/pages/home"})}),2e3))}))},scanCode:function(n){var o=this;t.scanCode({onlyFromCamera:!0,success:function(n){t.showToast({icon:"loading",title:"加载中",duration:1500}),o.$post("/wx/common/gerMaterialInfoByQrcode",{qrCode:n.result}).then((function(e){if(e.data){for(var i=0;i