(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["2d21683f"],{c392:function(t,e,o){"use strict";o.r(e);var n=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 scrollbar"},[o("q-form",{ref:"myForm",staticClass:"dialog-content form-inline block no-padding full-height",attrs:{greedy:""},on:{submit:t.onSubmit,reset:t.onReset}},[o("div",{staticClass:"scrollbar overflow-auto",staticStyle:{height:"calc(100% - 43px)"}},[o("stock-header-common",{ref:"STOCKHEADERCOMMON",attrs:{isEdit:"",goodsCategoryCode:t.$route.query.goodsCategoryCode},on:{onChangeWarehouseId:t.onChangeWarehouseId}}),o("stock-table-common",{ref:"STOCKTABLECOMMON",attrs:{isEdit:""},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",{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)},a=[],s=(o("7f7f"),o("930d")),i=o("9654"),r=o("2560"),c=o("7cde"),d={name:"edit-stock-in",mixins:[r["a"],c["a"]],components:{stockHeaderCommon:s["a"],stockTableCommon:i["a"]},data:function(){return{isLoading:!1,stockType:1}},mounted:function(){},beforeRouteEnter:function(t,e,o){"editStockIn"===t.name&&o((function(t){t.getEditDetail()}))},methods:{onReset:function(){this.goPathName("edit-stock-in","stockIn",{goodsCategoryCode:this.$route.query.goodsCategoryCode})},onChangeWarehouseId:function(t,e){e?this.$refs.STOCKTABLECOMMON.getLocationseList(t):this.$refs.STOCKTABLECOMMON.onSetLocationId(t)}}},l=d,g=o("2877"),u=Object(g["a"])(l,n,a,!1,null,"107d6f30",null);e["default"]=u.exports}}]);