(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["2d0b2ceb"],{"264e":function(e,t,o){"use strict";o.r(t);var r=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"full-height bg-white page-content content padding-20 add-stock-in"},[o("q-form",{ref:"myForm",staticClass:"dialog-content form-inline block no-padding full-height",attrs:{greedy:""},on:{submit:e.onSubmit,reset:e.onClear}},[o("div",{staticClass:"scrollbar overflow-auto",staticStyle:{height:"calc(100% - 43px)"}},[o("stock-header-common",{ref:"STOCKHEADERCOMMON",attrs:{goodsCategoryCode:e.$route.query.goodsCategoryCode},on:{onChangeWarehouseId:e.onChangeWarehouseId}}),o("stock-table-common",{ref:"STOCKTABLECOMMON",on:{onSetImage:e.onSetImage}})],1),o("q-separator",{staticClass:"qa-line"}),o("div",{staticClass:"dialog-footer text-center margin-t-10"},[o("q-btn",{staticClass:"q-mr-md",attrs:{outline:"",label:"取消",color:"primary",type:"reset"}}),o("q-btn",{attrs:{unelevated:"",label:"确认",color:"primary",type:"submit"}})],1)],1),o("q-inner-loading",{staticStyle:{"z-index":"99"},attrs:{showing:e.isLoading}},[o("q-spinner-gears",{attrs:{size:"50px",color:"primary"}})],1)],1)},n=[],a=o("9523"),s=o.n(a),i=(o("7f7f"),o("c5f6"),o("456d"),o("8a81"),o("d25f"),o("9986"),o("8e6e"),o("e875")),c=o("6d26"),d=o("2560"),l=o("3595");function u(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function f(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?u(Object(o),!0).forEach((function(t){s()(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):u(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var g={name:"add-stock-in",mixins:[d["a"],l["a"]],components:{stockHeaderCommon:i["a"],stockTableCommon:c["a"]},data:function(){return{isLoading:!1,stockType:1}},beforeRouteEnter:function(e,t,o){"addStockIn"===e.name&&(3===Number(e.query.goodsCategoryCode)?o({path:"/main/inventory/stock-in/add-stock-in-spare",query:f({},e.query)}):o())},methods:{onReset:function(){this.goPathName("add-stock-in","stockIn",{goodsCategoryCode:this.$route.query.goodsCategoryCode})},onClear:function(){this.$refs.STOCKHEADERCOMMON.clearData(),this.$refs.STOCKTABLECOMMON.clearData(),this.$refs.myForm.resetValidation(),this.onReset()},onChangeWarehouseId:function(e){this.$refs.STOCKTABLECOMMON.onSetLocationId(e)}}},m=g,p=o("2877"),b=Object(p["a"])(m,r,n,!1,null,"2df77869",null);t["default"]=b.exports}}]);