{"version":3,"sources":["webpack:///./src/views/custom/polimix/stock/PolimixStockProductManualForm.vue?3f37","webpack:///src/views/custom/polimix/stock/PolimixStockProductManualForm.vue","webpack:///./src/views/custom/polimix/stock/PolimixStockProductManualForm.vue?eef3","webpack:///./src/views/custom/polimix/stock/PolimixStockProductManualForm.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","mountAgain","_e","ref","attrs","enabledSubmit","fields","sourceOrderBy","on","onMountedForm","onBeforeSubmit","$event","reload","scopedSlots","_u","key","fn","_v","proxy","model","value","callback","$$v","form","expression","staticRenderFns","name","mixins","stockProductManualFormEmbeddableMixin","data","methods","mountedPrepare","component"],"mappings":"yHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAASF,EAAIM,WAAknBN,EAAIO,KAA1mBH,EAAG,mCAAmC,CAACI,IAAI,aAAaC,MAAM,CAAC,iBAAiBT,EAAIU,cAAc,OAASV,EAAIW,OAAO,kBAAkBX,EAAIY,cAAc,oBAAoB,GAAG,kCAAkC,IAAIC,GAAG,CAAC,QAAUb,EAAIc,cAAc,aAAed,EAAIe,eAAe,OAAS,SAASC,GAAQ,OAAOhB,EAAIiB,WAAWC,YAAYlB,EAAImB,GAAG,CAAC,CAACC,IAAI,uBAAuBC,GAAG,WAAW,MAAO,CAACrB,EAAIsB,GAAG,wFAAwFC,OAAM,IAAO,MAAK,EAAM,YAAYC,MAAM,CAACC,MAAOzB,EAAQ,KAAE0B,SAAS,SAAUC,GAAM3B,EAAI4B,KAAKD,GAAKE,WAAW,WAC1sBC,EAAkB,G,oCCuBtB,GACEC,KAAM,gCACNC,OAAQ,CAACC,EAAX,MACEC,KAHF,WAII,MAAO,CAILvB,OAAQ,CACd,CAAQ,IAAR,kBAAQ,MAAR,UACA,CAAQ,IAAR,cAAQ,MAAR,WACA,CAAQ,IAAR,iBAAQ,MAAR,OAAQ,UAAR,eAKEwB,QAAS,CAEPC,eAFJ,aAKI,iBALJ,WAKA,+JAEA,kBACA,uBACA,mCAJA,SAMA,+BANA,8CAWIrB,eAhBJ,WAmBMd,KAAKS,eAAgB,IAKzB,QAxCF,WAwCA,+JAEA,mBAFA,SAIA,qBAJA,+CChEoZ,I,YCOhZ2B,EAAY,eACd,EACAtC,EACA+B,GACA,EACA,KACA,KACA,MAIa,aAAAO,E","file":"js/chunk-2d0e17f2.42695f96.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (!_vm.mountAgain)?_c('StockProductManualFormEmbeddable',{ref:\"embeddable\",attrs:{\"enabled-submit\":_vm.enabledSubmit,\"fields\":_vm.fields,\"source-order-by\":_vm.sourceOrderBy,\"only-source-exact\":\"\",\"disabled-out-individual-product\":\"\"},on:{\"mounted\":_vm.onMountedForm,\"beforeSubmit\":_vm.onBeforeSubmit,\"reload\":function($event){return _vm.reload()}},scopedSlots:_vm._u([{key:\"sourceTextNotEnabled\",fn:function(){return [_vm._v(\" Selecione o local de armazenamento para verificar os bags disponíveis em estoque \")]},proxy:true}],null,false,2018580220),model:{value:(_vm.form),callback:function ($$v) {_vm.form=$$v},expression:\"form\"}}):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n\n    <StockProductManualFormEmbeddable\n        @mounted=\"onMountedForm\"\n        @beforeSubmit=\"onBeforeSubmit\"\n        @reload=\"reload()\"\n        ref=\"embeddable\"\n        v-model=\"form\"\n        v-if=\"!mountAgain\"\n        :enabled-submit=\"enabledSubmit\"\n        :fields=\"fields\"\n        :source-order-by=\"sourceOrderBy\"\n        only-source-exact\n        disabled-out-individual-product\n    >\n      <template #sourceTextNotEnabled>\n        Selecione o local de armazenamento para verificar os bags disponíveis em estoque\n      </template>\n    </StockProductManualFormEmbeddable>\n\n</template>\n<script>\nimport stockProductManualFormEmbeddableMixin from \"@/mixins/embeddable/stock/stockProductManualFormEmbeddableMixin\";\n\nexport default {\n  name: 'PolimixStockProductManualForm',\n  mixins: [stockProductManualFormEmbeddableMixin],\n  data() {\n    return {\n\n      //--------------------------------------------------------------------------------------\n      //Início de campos personalizados desta tela\n      fields: [\n        {key: \"originCodeLabel\", label: \"Nº Bag\"},\n        {key: \"productName\", label: \"Produto\"},\n        {key: \"producedWeight\", label: \"Peso\", formatter: \"weightKg\"},\n      ],\n      //--------------------------------------------------------------------------------------\n    }\n  },\n  methods: {\n\n    mountedPrepare() {\n\n    },\n    async mountedContinued() {\n\n      this.form.quantity = 1\n      this.form.stockManualId = 0 //Não especificado tbm\n      this.form.stockPlaceProductInsideId = 0 //Padrão será sem nenhum estoque marcado\n\n      await this.$refs.embeddable.getSource()\n\n    },\n    //--------------------------------------------------------------------------------------\n    //Início de métodos personalizados desta tela\n    onBeforeSubmit() {\n\n      //Libera a continuidade sem nenhuma condição especial\n      this.enabledSubmit = true\n    }\n    //--------------------------------------------------------------------------------------\n\n  },\n  async mounted() {\n\n    this.mountedPrepare()\n\n    await this.mountedContinued()\n\n  },\n}\n</script>","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PolimixStockProductManualForm.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PolimixStockProductManualForm.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PolimixStockProductManualForm.vue?vue&type=template&id=540533dd&\"\nimport script from \"./PolimixStockProductManualForm.vue?vue&type=script&lang=js&\"\nexport * from \"./PolimixStockProductManualForm.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n  script,\n  render,\n  staticRenderFns,\n  false,\n  null,\n  null,\n  null\n  \n)\n\nexport default component.exports"],"sourceRoot":""}