(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/shibie/shibie"],{"0988":function(t,e,i){},"3b31":function(t,e,i){"use strict";var a=i("0988"),s=i.n(a);s.a},"6d04":function(t,e,i){"use strict";i.r(e);var a=i("844a"),s=i("f788");for(var n in s)"default"!==n&&function(t){i.d(e,t,function(){return s[t]})}(n);i("3b31");var o,c=i("f0c5"),h=Object(c["a"])(s["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],o);e["default"]=h.exports},"71b3":function(t,e,i){"use strict";(function(t,i){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={data:function(){return{matNo:"",shi:{},pai:!0,path:"",jiao:{matId:"P219813176100",l4StgName:"DH36",matThickness:"65",matWidth:"3020",matLength:"12450",sgStd:"GB/T 712-2011"},show:!0,show1:!0,c1:"",c2:"",c3:"",c4:"",c5:"",c6:""}},methods:{formSubmit:function(e){var a=this;this.matNo=e.detail.value.matNo,""==this.matNo&&t.showModal({title:"厚板号不能为空！"}),this.path="/zlsc/ShiBieJY/findMatMessage.action?matId="+this.matNo;var s=t.getStorageSync("token");t.request({url:this.serverUrl+this.path,method:"POST",header:{Authorization:s.token,"X-Username":s.username},success:function(t){a.shi=t.data.data,null==a.shi&&void 0==a.shi&&""==a.shi||(a.pai=!1),console.log(i(a.shi," at pages\\shibie\\shibie.vue:140"))},fail:function(t){console.log(i(t," at pages\\shibie\\shibie.vue:143")),console.log(i("失败"," at pages\\shibie\\shibie.vue:144"))}})},tel:function(){var e=this;t.scanCode({success:function(t){var a=t.result;console.log(i(a," at pages\\shibie\\shibie.vue:153")),e.matNo=a}})},jiaoyan:function(){var e=this.shi,i=this.jiao;null!=e&&""!=e&&void 0!=e||t.showModal({title:"请先查询！"}),null!=i&&""!=i&&void 0!=i||t.showModal({title:"请先拍照！"}),e.matId==i.matId?this.c1="#00ff00":this.c1="#ff0000",e.l4StgName==i.l4StgName?this.c2="#00ff00":this.c2="#ff0000",e.sgStd==i.sgStd?this.c3="#00ff00":this.c3="#ff0000",e.matThickness==i.matThickness?this.c4="#00ff00":this.c4="#ff0000",e.matWidth==i.matWidth?this.c5="#00ff00":this.c5="#ff0000",e.matLength==i.matLength?this.c6="#00ff00":this.c6="#ff0000",e.matId==i.matId&&e.l4StgName==i.l4StgName&&e.sgStd==i.sgStd&&e.matThickness==i.matThickness&&e.matWidth==i.matWidth&&e.matLength==i.matLength?this.show=!1:this.show=!0},tu:function(){console.log(i("图像识别"," at pages\\shibie\\shibie.vue:209"))},ce:function(){var e=this,a=this,s=a.serverUrl,n=t.getStorageSync("token");t.chooseImage({count:1,sizeType:["original","compressed"],success:function(o){var c=o.tempFilePaths[0];t.uploadFile({url:s+"/zlsc/TanShang/uploadFile.action?matNo="+a.matNo+"ce",filePath:c,name:"file",header:{Authorization:n.token,"X-Username":n.username},success:function(t){console.log(i(t," at pages\\shibie\\shibie.vue:239")),e.show=!t,console.log(i("chenggong"," at pages\\shibie\\shibie.vue:245"))}})}})},gang:function(){var e=this,a=e.serverUrl,s=t.getStorageSync("token");t.chooseImage({count:1,sizeType:["original","compressed"],success:function(n){var o=n.tempFilePaths[0];t.uploadFile({url:a+"/zlsc/TanShang/uploadFile.action?matNo="+e.matNo+"gang",filePath:o,name:"file",header:{Authorization:s.token,"X-Username":s.username},success:function(t){console.log(i("chenggong"," at pages\\shibie\\shibie.vue:278"))}})}})},qr:function(){var e=this,a=this;this.path="/zlsc/ShiBieJY/doIdentifying.action?matId="+a.matNo+"&identifierFlag=1";var s=t.getStorageSync("token");t.request({url:this.serverUrl+this.path,method:"POST",header:{Authorization:s.token,"X-Username":s.username},success:function(t){e.tan=t,e.show=!0,e.show1=!1},fail:function(t){console.log(i("失败"," at pages\\shibie\\shibie.vue:306"))}})},qx:function(){var e=this,a=this;this.path="/zlsc/ShiBieJY/doIdentifying.action?matId="+a.matNo+"&identifierFlag=0";var s=t.getStorageSync("token");t.request({url:this.serverUrl+this.path,method:"POST",header:{Authorization:s.token,"X-Username":s.username},success:function(t){e.tan=t,e.show=!1,e.show1=!0},fail:function(t){console.log(i("失败"," at pages\\shibie\\shibie.vue:332"))}})}}};e.default=a}).call(this,i("6e42")["default"],i("0de9")["default"])},"844a":function(t,e,i){"use strict";var a,s=function(){var t=this,e=t.$createElement;t._self._c},n=[];i.d(e,"b",function(){return s}),i.d(e,"c",function(){return n}),i.d(e,"a",function(){return a})},a9be:function(t,e,i){"use strict";(function(t){i("901c"),i("921b");a(i("66fd"));var e=a(i("6d04"));function a(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,i("6e42")["createPage"])},f788:function(t,e,i){"use strict";i.r(e);var a=i("71b3"),s=i.n(a);for(var n in a)"default"!==n&&function(t){i.d(e,t,function(){return a[t]})}(n);e["default"]=s.a}},[["a9be","common/runtime","common/vendor"]]]);