(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d4fa2a4"],{"27dc":function(t,e,s){"use strict";s("8eee")},"8eee":function(t,e,s){},ccd2:function(t,e,s){"use strict";s.r(e);var i=function(){var t=this,e=t._self._c;return e("div",[e("div",{staticClass:"header"},[e("div",{staticClass:"header_top"},[e("Button",{staticClass:"header_btn",attrs:{type:"primary",ghost:"",icon:t.is_show?"ios-arrow-dropup":"ios-arrow-dropdown"},on:{click:t.handleShow}},[e("div",{staticStyle:{"margin-right":"0.6rem"}},[t._v(" "+t._s(t.is_show?"收起":"展开")+" ")])]),e("div",{staticStyle:{"margin-right":"1rem",color:"#66a9f0"}},[t._v("王小伟")])],1),e("div",{staticClass:"header_middle"},[e("b-dropdown",{staticClass:"m-2",attrs:{size:"sm",text:"Large",disabled:t.is_use}},[e("b-dropdown-item-button",[t._v("Action")]),e("b-dropdown-item-button",[t._v("Another action")]),e("b-dropdown-item-button",[t._v("Something else here")])],1),e("b-dropdown",{staticClass:"m-2",attrs:{size:"sm",text:"Large",disabled:t.is_use}},[e("b-dropdown-item-button",[t._v("Action")]),e("b-dropdown-item-button",[t._v("Another action")]),e("b-dropdown-item-button",[t._v("Something else here")])],1),e("b-dropdown",{staticClass:"m-2",attrs:{size:"sm",text:"Large",disabled:t.is_use}},[e("b-dropdown-item-button",[t._v("Action")]),e("b-dropdown-item-button",[t._v("Another action")]),e("b-dropdown-item-button",[t._v("Something else here")])],1)],1),t._m(0),t._m(1)]),e("div",{staticClass:"bdy"},[e("div",{staticStyle:{"font-size":"1.3rem","font-weight":"bold"}},[t._v("发货单号")]),e("div",[e("Select",{staticStyle:{"margin-top":"1rem",height:"3.4rem",width:"100%","font-size":"1.5rem","border-radius":"0.6rem",background:"#fff",border:"0.1rem solid"},attrs:{filterable:"",clearable:"",placeholder:"请选择"},model:{value:t.selected,callback:function(e){t.selected=e},expression:"selected"}},t._l(t.options,(function(t,s){return e("Option",{key:s,attrs:{label:t.text,value:t.value}})})),1)],1),e("div",{staticClass:"bdy_btn"},[e("Button",{staticClass:"header_btn",staticStyle:{"margin-right":"3rem",height:"2.6rem"},attrs:{type:"primary"},on:{click:t.handleReturn}},[t._v(" 返回")]),e("Button",{staticClass:"header_btn",staticStyle:{"margin-left":"3rem",height:"2.6rem"},attrs:{type:"primary"},on:{click:t.handelGoSure}},[t._v(" 确认")])],1)])])},o=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"header_middle1 ot"},[e("div",{staticClass:"ft"},[t._v("58  ")]),e("div",{staticClass:"ft"},[t._v("12  ")]),e("div",{staticClass:"ft"},[t._v("12  ")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"header_footer"},[e("div",{staticStyle:{"margin-left":"1rem"}},[t._v("已完成56/10")]),e("div",{staticStyle:{"margin-right":"1.4rem"}},[t._v("已完成10%")])])}],a={data(){return{is_show:!0,is_use:!1,selected:"",options:[]}},created(){const t={url:"http://121.36.142.167:7774/jbl/api/module-data/goods_check_list/page",post:{direction:"DESC",property:"id",fromClientType:"pc",number:0,sorts:[],rules:[],size:15,specialConditions:[],dynamicFormCode:"goods_check",developmentSystemId:null,debugFlag:!0}};this.axios.post("/api/testdwy",{...t}).then(t=>{this.options=t.data.content.filter(t=>"NOT_APPROVED"===t.status),this.options.forEach(t=>{t.value=t.dynamic_form_value_id,t.text=t.goods_check_no})})},methods:{handelGoSure(){if(!this.selected)return this.$Message.warning("请先选择盘点单号！");this.$router.push({path:"/cms/Inventory/detail",query:{id:this.selected}})},handleReturn(){this.$router.push("/cms/home")},handleShow(){this.is_show=!this.is_show,console.log(document.getElementsByClassName("header")),this.is_show?(document.getElementsByClassName("header")[0].style="height:7rem;overflow:hidden;transition:all .4s;",setTimeout(()=>{document.getElementsByClassName("header")[0].style="overflow:none;",this.is_use=!1},400)):(this.is_use=!0,document.getElementsByClassName("header")[0].style="height:2.7rem;overflow:hidden;transition:all .4s;")}}},r=a,n=(s("27dc"),s("2877")),d=Object(n["a"])(r,i,o,!1,null,"0adc3296",null);e["default"]=d.exports}}]);