aosiyiliaouniapp/unpackage/dist/build/.tmp/app-plus/pages/wuliao/wuliao.js

1 line
4.5 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/wuliao/wuliao"],{"21e6":function(e,a,t){"use strict";var n,o=function(){var e=this,a=e.$createElement;e._self._c},i=[];t.d(a,"b",function(){return o}),t.d(a,"c",function(){return i}),t.d(a,"a",function(){return n})},6496:function(e,a,t){},"9ef0":function(e,a,t){"use strict";var n=t("6496"),o=t.n(n);o.a},be73:function(e,a,t){"use strict";t.r(a);var n=t("21e6"),o=t("fd89");for(var i in o)"default"!==i&&function(e){t.d(a,e,function(){return o[e]})}(i);t("9ef0");var u,s=t("f0c5"),l=Object(s["a"])(o["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],u);a["default"]=l.exports},d3c1:function(e,a,t){"use strict";(function(e,n){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var o=function(){return t.e("components/uni-collapse/uni-collapse").then(t.bind(null,"98ab"))},i=function(){return t.e("components/uni-collapse-item/uni-collapse-item").then(t.bind(null,"4cb9"))},u={components:{uniCollapse:o,uniCollapseItem:i},data:function(){return{show:!0,wu:{},array:["FS01/表面不符","FS02/尺寸不符","FS03/板型不符","FS04/探伤不符","FS05/抛丸层不符","FS06/形不合自动封锁","FS07/让步沟通","FS41/继承风险","FS42/红冲封锁","FS43/标识不符","FS44/吊装缺陷","FS45/取样留存","FS46/实验品留存","FS47/预判废"],index:0,name:"",show1:!0,pan:[],gua:[],gai:[]}},methods:{formSubmit:function(a){var t=this;this.matNo=a.detail.value.matNo,""==this.matNo&&e.showModal({title:"厚板号不能为空!"}),this.path="/zlsc/WuLiaoCX/findMatMessage.action?matNo="+this.matNo;var o=e.getStorageSync("token");console.log(n(o," at pages\\wuliao\\wuliao.vue:294")),e.request({url:this.serverUrl+this.path,method:"POST",header:{Authorization:o.token,"X-Username":o.username},success:function(e){t.show=!1,t.wu=e.data.data,t.show1=!1,console.log(n("this.w4u"," at pages\\wuliao\\wuliao.vue:308"));var a=t.wu;for(var o in a)"PM01"==a[o].eventId||"PM02"==a[o].eventId||"QM16"==a[o].eventId||"PM35"==a[o].eventId||"MM34"==a[o].eventId||"PM34"==a[o].eventId?(console.log(n(a[o]," at pages\\wuliao\\wuliao.vue:312")),t.gua.push(a[o]),console.log(n(t.gua," at pages\\wuliao\\wuliao.vue:314"))):"QM66"==a[o].eventId||"QM65"==a[o].eventId?t.gai.push(a[o]):null!=a[o].surfaceDecideCode&&""!=a[o].surfaceDecideCode&&void 0!=a[o].surfaceDecideCode&&t.pan.push(a[o]);console.log(n(t.gua," at pages\\wuliao\\wuliao.vue:321")),console.log(n(t.gai," at pages\\wuliao\\wuliao.vue:322")),console.log(n(t.pan," at pages\\wuliao\\wuliao.vue:323"))},fail:function(e){t.show1=!0,t.show=!0,console.log(n(e," at pages\\wuliao\\wuliao.vue:331"))}})},bindPickerChange:function(e){console.log(n("picker发送选择改变携带值为",e.target.value," at pages\\wuliao\\wuliao.vue:337")),this.index=e.target.value},feng:function(){var a=this,t=this,o=e.getStorageSync("token");0==t.index?this.name="表面不符":1==t.index?this.name="尺寸不符":2==t.index?this.name="板行不符":3==t.index?this.name="探伤不符":4==t.index?this.name="抛丸/层不符":5==t.index?this.name="形不合自动封锁":6==t.index?this.name="让步沟通":7==t.index?this.name="继承风险":8==t.index?this.name="红冲封锁":9==t.index?this.name="标识不符":10==t.index?this.name="吊装缺陷":11==t.index?this.name="取样留存":12==t.index?this.name="实验品留存":13==t.index&&(this.name="预判废"),console.log(n(this.name," at pages\\wuliao\\wuliao.vue:372")),this.path="/zlsc/WuLiaoCX/doBlock.action?matNo="+t.matNo+"&holdFlag=QM17&holdRemark="+this.name,e.request({url:this.serverUrl+this.path,method:"POST",header:{Authorization:o.token,"X-Username":o.username},success:function(e){a.tan=e,a.show=!1,a.show1=!0},fail:function(e){a.show=!0,a.show1=!1,console.log(n("失败"," at pages\\wuliao\\wuliao.vue:393"))}})},jie:function(){var a=this,t=this,o=e.getStorageSync("token");this.path="/zlsc/WuLiaoCX/doBlock.action?matNo="+t.matNo+"&holdFlag=QM18",e.request({url:this.serverUrl+this.path,method:"POST",header:{Authorization:o.token,"X-Username":o.username},success:function(e){a.tan=e,a.show=!0},fail:function(e){console.log(n("失败"," at pages\\wuliao\\wuliao.vue:417"))}})}}};a.default=u}).call(this,t("6e42")["default"],t("0de9")["default"])},eae2:function(e,a,t){"use strict";(function(e){t("901c"),t("921b");n(t("66fd"));var a=n(t("be73"));function n(e){return e&&e.__esModule?e:{default:e}}e(a.default)}).call(this,t("6e42")["createPage"])},fd89:function(e,a,t){"use strict";t.r(a);var n=t("d3c1"),o=t.n(n);for(var i in n)"default"!==i&&function(e){t.d(a,e,function(){return n[e]})}(i);a["default"]=o.a}},[["eae2","common/runtime","common/vendor"]]]);