{"version":3,"sources":["webpack:///./src/views/modules/purchase/PurchaseOrderForm.vue?66be","webpack:///src/views/modules/purchase/PurchaseOrderForm.vue","webpack:///./src/views/modules/purchase/PurchaseOrderForm.vue?5bae","webpack:///./src/views/modules/purchase/PurchaseOrderForm.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","currentPage","singularTitle","t","pageTitle","command","status","generalErrors","checkErrorsComponent","name","pageFormIsLoaded","on","onSubmit","scopedSlots","_u","key","fn","ref","model","value","form","callback","$$v","$set","expression","error","originInvoiceCode","customerId","typeExpeditionStatusOptions","companyOptions","staticClass","relationAccessPageGeneral","purchaseOrderId","proxy","fieldKey","staticRenderFns","mixins","pageDefaultMixin","components","data","path","genKey","purchaseOrderNumber","companyId","expeditionStatusId","issueDate","note","printItemsOptions","methods","mountedPrepare","component"],"mappings":"yHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,SAAS,CAACA,EAAG,cAAc,CAACE,MAAM,CAAC,KAAO,GAAG,cAAcN,EAAIO,YAAYC,cAAc,MAAQR,EAAIS,EAAE,WAAWT,EAAIO,YAAYG,UAAU,QAAUV,EAAIW,QAAQ,OAASX,EAAIY,OAAO,cAAgBZ,EAAIa,cAAc,qBAAqBb,EAAIc,qBAAqB,gBAAgBd,EAAIS,EAAE,gBAAgB,aAAaT,EAAIO,YAAYQ,KAAK,MAAQf,EAAIgB,kBAAkBC,GAAG,CAAC,SAAWjB,EAAIkB,UAAUC,YAAYnB,EAAIoB,GAAG,CAAC,CAACC,IAAI,UAAUC,GAAG,SAASC,GAC3hB,IAAIX,EAASW,EAAIX,OACjB,MAAO,CAACR,EAAG,aAAa,CAACE,MAAM,CAAC,MAAQ,kBAAkB,CAACF,EAAG,QAAQ,CAACA,EAAG,UAAU,CAACE,MAAM,CAAC,KAAO,IAAI,KAAO,IAAI,MAAQ,qBAAqB,MAAQ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B,MAAO,CACLC,kBAAmB,GACnBC,WAAY,IAIdC,4BAA6B,GAC7BC,eAAgB,GAChBkB,kBAAmB,KAIvBC,QAAS,CAEPC,eAFJ,aAMI,iBANJ,WAMA,wKAEA,4DACA,4DACA,qCACA,gDALA,OAQA,sBARA,8CAYI,SAlBJ,WAkBA,wKAEA,gOAEA,KAFA,gCAGA,sBAHA,6BAKA,gFALA,kGAQA,gDAVA,+CAsBE,QAvEF,WAuEA,+JAEA,mBAFA,SAIA,qBAJA,uBAMA,qBANA,+CCvJyX,I,YCOrXC,EAAY,eACd,EACAzD,EACA0C,GACA,EACA,KACA,KACA,MAIa,aAAAe,E","file":"js/chunk-2d0b9625.c29f31e6.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('t-page',[_c('t-page-form',{attrs:{\"tabs\":\"\",\"submit-text\":_vm.currentPage.singularTitle,\"title\":_vm.t('form-of')+_vm.currentPage.pageTitle,\"command\":_vm.command,\"status\":_vm.status,\"generalErrors\":_vm.generalErrors,\"check-errors-again\":_vm.checkErrorsComponent,\"go-back-title\":_vm.t('go-back-list'),\"go-back-to\":_vm.currentPage.name,\"busy\":!_vm.pageFormIsLoaded},on:{\"onSubmit\":_vm.onSubmit},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar status = ref.status;\nreturn [_c('t-form-tab',{attrs:{\"title\":\"Dados Básicos\"}},[_c('b-row',[_c('t-input',{attrs:{\"lpad\":\"3\",\"cols\":\"3\",\"label\":\"Cód. Pedido Compra\",\"fixed\":\"\"},model:{value:(_vm.form.purchaseOrderNumber),callback:function ($$v) {_vm.$set(_vm.form, \"purchaseOrderNumber\", $$v)},expression:\"form.purchaseOrderNumber\"}}),_c('t-input',{attrs:{\"add-error\":_vm.error.originInvoiceCode,\"cols\":\"3\",\"label\":\"Nota Fiscal\"},model:{value:(_vm.form.originInvoiceCode),callback:function ($$v) {_vm.$set(_vm.form, \"originInvoiceCode\", $$v)},expression:\"form.originInvoiceCode\"}}),_c('b-col',{attrs:{\"cols\":\"6\"}},[_c('t-input-person',{attrs:{\"customer\":\"\",\"status\":status,\"command\":_vm.command,\"required\":\"\",\"add-error\":_vm.error.customerId},model:{value:(_vm.form.customerId),callback:function ($$v) {_vm.$set(_vm.form, \"customerId\", $$v)},expression:\"form.customerId\"}})],1)],1),_c('b-row',[_c('t-input',{attrs:{\"required\":\"\",\"cols\":\"4\",\"options\":_vm.typeExpeditionStatusOptions,\"select\":\"\",\"first-default\":\"\",\"label\":\"Status Expedição\"},model:{value:(_vm.form.expeditionStatusId),callback:function ($$v) {_vm.$set(_vm.form, \"expeditionStatusId\", $$v)},expression:\"form.expeditionStatusId\"}}),_c('t-input',{attrs:{\"options\":_vm.companyOptions,\"cols\":\"4\",\"required\":\"\",\"label\":\"Empresa\",\"select\":\"\"},model:{value:(_vm.form.companyId),callback:function ($$v) {_vm.$set(_vm.form, \"companyId\", $$v)},expression:\"form.companyId\"}}),_c('t-input',{attrs:{\"required\":\"\",\"cols\":\"4\",\"date\":\"\",\"date-now\":\"\",\"label\":\"Data de Emissão\"},model:{value:(_vm.form.issueDate),callback:function ($$v) {_vm.$set(_vm.form, \"issueDate\", $$v)},expression:\"form.issueDate\"}})],1),_c('t-input',{attrs:{\"label\":\"Observações\",\"max-length\":\"500\",\"textarea\":\"\"},model:{value:(_vm.form.note),callback:function ($$v) {_vm.$set(_vm.form, \"note\", $$v)},expression:\"form.note\"}}),_c('t-input-status',{staticClass:\"mb-2\",model:{value:(_vm.form.status),callback:function ($$v) {_vm.$set(_vm.form, \"status\", $$v)},expression:\"form.status\"}})],1)]}},{key:\"out-of-form\",fn:function(){return [_c('t-form-tab',{attrs:{\"title\":\"Produtos\",\"hash\":\"product\",\"disabled\":!_vm.relationAccessPageGeneral('stock-expedition-order-product'),\"lazy\":\"\"}},[_c('ExpeditionOrderItem',{attrs:{\"foreign-key\":_vm.form.purchaseOrderId}})],1)]},proxy:true}])},[_c('t-input',{attrs:{\"hidden\":\"\"},model:{value:(_vm.form[_vm.fieldKey]),callback:function ($$v) {_vm.$set(_vm.form, _vm.fieldKey, $$v)},expression:\"form[fieldKey]\"}})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n \n\n \n\n\n\n \n\n \n\n \n\n \n\n \n\n \n\n\n \n \n\n \n\n\n \n \n\n \n\n \n\n \n\n \n\n\n \n\n \n\n \n\n \n\n \n\n \n \n \n\n \n\n \n\n \n\n\n","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!./PurchaseOrderForm.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!./PurchaseOrderForm.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PurchaseOrderForm.vue?vue&type=template&id=037c2f22&\"\nimport script from \"./PurchaseOrderForm.vue?vue&type=script&lang=js&\"\nexport * from \"./PurchaseOrderForm.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":""}