(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-53b3aaec"],{"422c":function(t,a,e){"use strict";e.r(a);var n=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",[e("a-card",[e("a-row",{attrs:{align:"middle"}},[e("a-col",{staticClass:"operate",staticStyle:{"padding-right":"25px",display:"flex","align-items":"center"},attrs:{sm:24,xs:24,md:15,xl:11}},[e("a-form",{attrs:{layout:t.formLayout}},[e("a-form-item",[e("label",{staticStyle:{"font-size":"20px",color:"#000000d9",width:"90px"}},[t._v("托盘号:")]),e("a-input",{ref:"input",attrs:{placeholder:"托盘号"},on:{keyup:function(a){return!a.type.indexOf("key")&&t._k(a.keyCode,"enter",13,a.key,"Enter")?null:t.InspectPallet.apply(null,arguments)}},model:{value:t.container,callback:function(a){t.container=a},expression:"container"}})],1)],1)],1),e("a-col",{staticStyle:{display:"flex","align-items":"center",height:"40px"},attrs:{sm:24,md:13,xl:5}})],1)],1),e("a-card",[e("a-divider",{staticStyle:{margin:"0"}}),e("a-tabs",{attrs:{"default-active-key":"1"}},[e("a-tab-pane",{key:"1",attrs:{tab:"托盘明细"}},[e("a-table",{staticClass:"main-table",attrs:{"data-source":t.tableData,columns:t.columns,loading:t.tableLoading,pagination:!1,scroll:{x:"1500",y:"calc("+t.tableHeight+"px)"},rowKey:"pallet",size:"small"}})],1)],1)],1)],1)},i=[],l=e("b775"),r={name:"InBound",data:function(){return{formLayout:"inline",areaList:[],tableData:[],tableHeight:560,tableLoading:!1,columns:[{title:"托盘号",align:"center",dataIndex:"pallet_nbr",width:150},{title:"第一块序列号",align:"center",dataIndex:"serial_nbr",width:100},{title:"产品编码",align:"center",dataIndex:"product_code",width:100},{title:"工单号",align:"center",dataIndex:"workorder",width:100},{title:"功率档",align:"center",dataIndex:"power_grade",width:70},{title:"电流档",align:"center",dataIndex:"current_grade",width:70},{title:"最终等级",align:"center",dataIndex:"final_grade",width:70}],container:"",submitModel:{PalletNbr:""}}},methods:{InspectPallet:function(){var t=this;this.submitModel.PalletNbr=this.container,this.container="",l["b"].post("/api/deliver/warehousing",this.submitModel).then((function(a){1===a.status?(t.$notification.success({message:a.msg}),t.ShowPalletInfo()):t.$notification.warn({message:a.msg})}))},ShowPalletInfo:function(){var t=this;this.tableLoading=!0,l["b"].get("/api/deliver/getinboundinfo?palletNbr=".concat(encodeURIComponent(this.submitModel.PalletNbr))).then((function(a){if(1===a.status){if(null===a.data)return void(t.tableLoading=!1);t.tableData.push({pallet_nbr:a.data.pallet_nbr,serial_nbr:a.data.serial_nbr,product_code:a.data.product_code,workorder:a.data.workorder,power_grade:a.data.power_grade,current_grade:a.data.current_grade,final_grade:a.data.final_grade}),t.tableLoading=!1}else t.$notification.warn({message:a.msg}),t.tableLoading=!1}))},searchInspectContainer:function(){this.InspectContainer()}},mounted:function(){this.$refs.input.focus()}},o=r,d=(e("7e94"),e("2877")),s=Object(d["a"])(o,n,i,!1,null,null,null);a["default"]=s.exports},"7e94":function(t,a,e){"use strict";e("d805")},d805:function(t,a,e){}}]);