(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["2d0d76c2"],{"776b":function(t,e,o){"use strict";o.r(e);var a=function(){var t=this,e=t.$createElement,o=t._self._c||e;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:t.onSubmit,reset:t.onClear}},[o("div",{staticClass:"scrollbar overflow-auto",staticStyle:{height:"calc(100% - 43px)"}},[o("stock-header-common",{ref:"STOCKHEADERCOMMON",attrs:{goodsCategoryCode:t.$route.query.goodsCategoryCode},on:{onChangeWarehouseId:t.onChangeWarehouseId}}),o("stock-table-common",{ref:"STOCKTABLECOMMON",on:{onSetImage:t.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",{staticClass:"q-mr-md",attrs:{outline:"",label:"保存草稿",color:"primary"},on:{click:t.onSave}}),o("q-btn",{attrs:{unelevated:"",label:"确认入库",color:"primary",type:"submit"}})],1)],1),o("q-inner-loading",{staticStyle:{"z-index":"99"},attrs:{showing:t.isLoading}},[o("q-spinner-gears",{attrs:{size:"50px",color:"primary"}})],1)],1)},n=[],s=o("930d"),r=o("9654"),i=o("2560"),c=o("7cde"),l={name:"add-stock-in",mixins:[i["a"],c["a"]],components:{stockHeaderCommon:s["a"],stockTableCommon:r["a"]},data:function(){return{isLoading:!1,stockType:1}},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(t){this.$refs.STOCKTABLECOMMON.onSetLocationId(t)}}},d=l,m=o("2877"),C=Object(m["a"])(d,a,n,!1,null,"8d6addfe",null);e["default"]=C.exports}}]);