(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/tanshang/tanshang"],{1724:function(t,a,n){},3251:function(t,a,n){"use strict";(function(t){n("901c"),n("921b");e(n("66fd"));var a=e(n("5141"));function e(t){return t&&t.__esModule?t:{default:t}}t(a.default)}).call(this,n("6e42")["createPage"])},"33a6":function(t,a,n){"use strict";(function(t,n){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var e={data:function(){return{matNo:"",path:"",tan:{},array:["点击选择","看着办","不知道"],index:0,show:!0,tempFilePaths:"",hkc:""}},onLoad:function(){},methods:{formSubmit:function(a){var e=this;this.matNo=a.detail.value.matNo,""==this.matNo&&t.showModal({title:"厚板号不能为空！"}),this.path="/zlsc/TanShang/findMatMessage.action?matNo="+this.matNo;var o=t.getStorageSync("token");console.log(n(o," at pages\\tanshang\\tanshang.vue:129")),t.request({url:this.serverUrl+this.path,method:"POST",header:{Authorization:o.token,"X-Username":o.username},success:function(t){e.show=!1,e.tan=t.data.data,e.hkc=e.tan.matActThick+"*"+e.tan.matActWidth+"*"+e.tan.matActLen,console.log(n(e.tan," at pages\\tanshang\\tanshang.vue:142"))},fail:function(t){console.log(n("失败"," at pages\\tanshang\\tanshang.vue:148"))}})},tel:function(){var a=this;t.scanCode({success:function(t){var e=t.result;console.log(n(e," at pages\\tanshang\\tanshang.vue:158")),a.matNo=e}})},pan:function(){var a=this,e=this,o=t.getStorageSync("token");this.path="/zlsc/TanShang/doInput.action?matNo="+e.matNo+"&dealResult=1&decideMaker="+o.usernameCn,t.request({url:this.serverUrl+this.path,method:"POST",header:{Authorization:o.token,"X-Username":o.username},success:function(t){a.tan=t},fail:function(t){console.log(n("失败"," at pages\\tanshang\\tanshang.vue:185"))}})},bindPickerChange:function(t){console.log(n("picker发送选择改变，携带值为",t.target.value," at pages\\tanshang\\tanshang.vue:190")),this.index=t.target.value},upload:function(){var a=this,e=this,o=e.serverUrl,s=t.getStorageSync("token");t.chooseImage({count:1,sizeType:["original","compressed"],success:function(c){var u=c.tempFilePaths[0];a.tempFilePaths=u,t.uploadFile({url:o+"/zlsc/TanShang/uploadFile.action?matNo="+e.matNo,filePath:u,name:"file",header:{Authorization:s.token,"X-Username":s.username},success:function(t){console.log(n("chenggong"," at pages\\tanshang\\tanshang.vue:221"))}})}})}}};a.default=e}).call(this,n("6e42")["default"],n("0de9")["default"])},5141:function(t,a,n){"use strict";n.r(a);var e=n("8e6c"),o=n("7dca");for(var s in o)"default"!==s&&function(t){n.d(a,t,function(){return o[t]})}(s);n("cd39");var c,u=n("f0c5"),i=Object(u["a"])(o["default"],e["b"],e["c"],!1,null,null,null,!1,e["a"],c);a["default"]=i.exports},"7dca":function(t,a,n){"use strict";n.r(a);var e=n("33a6"),o=n.n(e);for(var s in e)"default"!==s&&function(t){n.d(a,t,function(){return e[t]})}(s);a["default"]=o.a},"8e6c":function(t,a,n){"use strict";var e,o=function(){var t=this,a=t.$createElement;t._self._c},s=[];n.d(a,"b",function(){return o}),n.d(a,"c",function(){return s}),n.d(a,"a",function(){return e})},cd39:function(t,a,n){"use strict";var e=n("1724"),o=n.n(e);o.a}},[["3251","common/runtime","common/vendor"]]]);