{"version":3,"sources":["webpack:///./src/components/Ver_planos.vue?4695","webpack:///./src/views/c_especial_intl.vue","webpack:///./src/components/Editar_cotizacion_especial_internacional.vue","webpack:///src/components/Editar_cotizacion_especial_internacional.vue","webpack:///./src/components/Editar_cotizacion_especial_internacional.vue?5fc2","webpack:///./src/components/Editar_cotizacion_especial_internacional.vue?4788","webpack:///./src/components/Editar_valores_isp.vue","webpack:///src/components/Editar_valores_isp.vue","webpack:///./src/components/Editar_valores_isp.vue?178b","webpack:///./src/components/Editar_valores_isp.vue?8d6f","webpack:///./src/components/Pdf_isp.vue","webpack:///src/components/Pdf_isp.vue","webpack:///./src/components/Pdf_isp.vue?19ea","webpack:///./src/components/Pdf_isp.vue?003a","webpack:///src/views/c_especial_intl.vue","webpack:///./src/views/c_especial_intl.vue?d9f7","webpack:///./src/views/c_especial_intl.vue?c120","webpack:///../../../src/components/VForm/VForm.ts","webpack:///./src/components/ver_cotizaciones/estados.vue","webpack:///src/components/ver_cotizaciones/estados.vue","webpack:///./src/components/ver_cotizaciones/estados.vue?36f8","webpack:///./src/components/ver_cotizaciones/estados.vue?58a7","webpack:///./src/components/Ver_planos.vue","webpack:///src/components/Ver_planos.vue","webpack:///./src/components/Ver_planos.vue?80e6","webpack:///./src/components/Ver_planos.vue?c865","webpack:///../../../src/components/VTextarea/VTextarea.ts","webpack:///./src/components/Pdf_isp.vue?ac0c","webpack:///./src/assets/logo negro_Mesa de trabajo 1.png"],"names":["attrs","_c","value","callback","dialog","expression","staticClass","_vm","model","headers4","sp_cotizacion_encabezado","scopedSlots","_u","fn","item","estado","staticRenderFns","render","staticStyle","_v","observacion","on","incluirEnPdfSp","key","pa","cp_detalle_id","preventDefault","sp_detalle_id","costo","Intl","codigo","$set","golpes_x_unidad","tiempo_produccion","ref","$event","valid","datos_formulario","vacio","name","components","VerPlano","props","codigo_cotizacion","type","String","required","data","rules","v","undefined","id_agencia","id_usuario","token","direccion","naturaleza","nombre","subsector","telefono","correo","estados","tiempo_entrega","dias_desarrollo_planos","dias_habiles_fabricacion","observaciones","productos_agregados","datos_produccion","email","materias_primas","descripcion_estado","estado_boton_gestion","snackbar","text","timeout","created","methods","cargarDatosCotizacion","axios","get","url","config","then","res","catch","err","console","error","verCotizacion","gestionCotizacion","observacionesSp","cargarProductoSp","datosProduccionSp","tiempo_entrega_dias","id_estado","terminos_negociacion","actualizarGestionCotizacion","usuario","datos","$refs","form","validate","put","log","enviarNotificacionMayor5","enviarCorreo","$emit","cotizacion_id","post","estado_guardar_cotizacion","guardarPrecioSpItem","index","document","getElementById","vr_unitario","id_producto","c_materia_prima","referencia_cguno","ayf","porcentaje_margen","cantidad_cotizada","estimado_h_produccion","valor_total_bruto","costo_externos","datosUsuarioApp","localStorage","getItem","datosUsuario","JSON","parse","informacion_usuario","trim","calcularTotalItem","cantidad","um","ancho","largo","mt2","total","mts","Math","round","id","incluir_pdf","to","subject","descripcionEstado","filter","dato","descripcion","computed","mapState","headers","mounted","component","subpartida_arancelaria","isDisabled","Boolean","condiciones_pago","flete_internacional","seguro_internacional","termino_negociacion","vlr_termino_negociacion","punto_entrega","items","resetearValoresIniciales","cargarProductosSp","actualizarSubpartidaArancelaria","Swal","fire","icon","title","DatosCotizacion","dimensionCst","actualizarItemSt","codigo_item","descuento","_s","require","direccion_agencia","dimension_hueco","domProps","fecha_hora","vendedor","nit","cliente","ciudad","departamento","contacto","agencia","telefono_agencia","telefono_vendedor","observacion_externa","fecha_hora_db","fecha_actualizacion","flete","verPdf","cargarDatosPdfSp","tituloPdf","crearPdfServerSp","allowOutsideClick","didOpen","showLoading","setTimeout","close","window","open","vru","subtotal","modalCerrar","cantidadMt2","total_cantidad","Number","isInteger","cantidad_decimales","toFixed","parseFloat","cantidadMts","valorTotalItems","suma","forEach","num","cantidad_item","totalPagar","_this$valorTotalItems","_this$flete","_this$seguro_internac","_this$vlr_termino_neg","NumberFormat","format","hoy","Date","fecha","getDate","getMonth","getFullYear","toLocaleTimeString","EditarValoresInternacional","EditarCotizacionEspecialInternacional","Pdfisp","Estados","tab","drawer","estado_ver_cotizaciones","estado_asignar_precios","search","align","filterable","sortable","estado_datos_sp","rol","compartirCotizacionISP","codigo_cotizacion_la","navigator","share","message","crearPdfServerISP","urlRouter","$router","push","st_cotizacion_id","cargarCotizacionesRegistradasSp","id_cargo","mixins","BindsAttrs","RegistrableProvide","extend","provide","this","inheritAttrs","disabled","lazyValidation","readonly","inputs","watchers","errorBag","watch","handler","val","errors","Object","values","includes","deep","immediate","watchInput","input","watcher","$watch","_uid","shouldValidate","hasOwnProperty","length","reset","resetErrorBag","resetValidation","register","unregister","found","find","i","unwatch","$delete","h","novalidate","attrs$","submit","e","getSlot","_self","plano","tipo_elemento","nombre_plano","codigo_cotizacion_plano","datos_plano","enlace","process","verPlanos","axiosInstance","baseMixins","VTextField","autoGrow","noResize","rowHeight","default","validator","isNaN","rows","parseInt","classes","noResizeHandle","options","call","$nextTick","calculateInputHeight","_a","style","removeProperty","lazyValue","height","scrollHeight","minHeight","max","genInput","tag","onInput","onKeyDown","isFocused","keyCode","stopPropagation","module","exports"],"mappings":"kHAAA,W,0MCAmLA,EAAM,W,IAAC,EAAM,K,EAAI,EAAM,MAAG,G,OAAC,EAAM,OAAC,CAAE,OAAIC,GAAG,Y,CAAmB,SAAc,CAAC,EAAE,Q,MAAC,CAAgB,IAAO,GAAO,U,CAAQC,SAAU,C,MAASC,C,KAA6BC,GAAU,KAAC,GAACC,UAAsB,CAACJ,EAAG,OAAQ,CAAED,MAAM,CAAC,eAAO,GAAE,cAAIC,MAAG,OAA6D,MAAK,CAAMK,QAAY,OAAqBC,SAAO,YAAgDP,EAAM,UAAW,WAAQ,WAA0B,WAAG,MAAM,CAAgCM,U,CAA+B,SAAQ,U,YAAQ,yBAAE,SAAE,YAAa,oBAAEN,GAAK,GAAC,gC,MAAC,CAAiB,KAAO,GAAG,MAAO,QAAG,cAAO,OAAMC,MAAG,IAAS,qBAACK,YAAY,YAAO,MAAK,CAAYN,IAAM,GAAC,KAA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AMzD,EAAQkC,OAAWW,QAAQ/P,QAAQ2Q,SAASX,KAAKhE,MAMvD,OAJAkB,EAAM0D,IAAM,kBACL1D,EAAM9O,KAAM/C,MAAO4C,KAC1BiP,EAAM9O,KAAM/C,MAAOsU,KAAO3D,KAAK2D,KAExBzC,GAET2D,QAAStC,GACPa,OAAWW,QAAQ/P,QAAQ6Q,QAAQb,KAAKhE,KAAMuC,GAC9CvC,KAAKqD,UAAYrD,KAAKkE,wBAExBY,UAAWvC,GAILvC,KAAK+E,WAA2B,KAAdxC,EAAEyC,SACtBzC,EAAE0C,kBAGJjF,KAAKlK,MAAM,UAAWyM,Q,kCChH5B,W,qBCAA2C,EAAOC,QAAU,IAA0B","file":"js/chunk-58f15104.726fcd17.js","sourcesContent":["export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Ver_planos.vue?vue&type=style&index=0&id=43e8b521&prod&scoped=true&lang=css\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-app',{attrs:{\"id\":\"inspire\"}},[_c('v-container',[_c('v-layout',{attrs:{\"row\":\"\",\"wrap\":\"\"}},[_c('v-flex',{attrs:{\"md12\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('v-dialog',{attrs:{\"hide-overlay\":\"\",\"persistent\":\"\",\"width\":\"400\"},model:{value:(_vm.dialog),callback:function ($$v) {_vm.dialog=$$v},expression:\"dialog\"}},[_c('v-card',{attrs:{\"dark\":\"\"}},[_c('v-card-text',[_c('div',{staticClass:\"d-flex justify-center\"},[_c('h2',{staticClass:\"mt-4 mb-4 body-1\"},[_vm._v(\"Cargando menú...\")]),_c('v-progress-circular',{attrs:{\"size\":50,\"color\":\"amber\",\"indeterminate\":\"\"}})],1)])],1)],1)],1)],1),_c('v-layout',{staticClass:\"pl-3 pr-3\",attrs:{\"row\":\"\",\"wrap\":\"\"}},[_c('v-flex',{attrs:{\"text-center\":\"\",\"md12\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('v-card',{staticClass:\"ma-4\"},[_c('v-layout',{attrs:{\"row\":\"\",\"wrap\":\"\"}},[_c('v-flex',{attrs:{\"text-center\":\"\",\"md12\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('v-card',[_c('v-card-title',[_c('v-layout',{attrs:{\"row\":\"\",\"wrap\":\"\"}},[_c('v-flex',{attrs:{\"md4\":\"\",\"xs12\":\"\",\"sm12\":\"\"}}),_c('v-flex',{attrs:{\"md4\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('v-text-field',{staticClass:\"ma-4\",attrs:{\"append-icon\":\"mdi-magnify\",\"label\":\"Buscar:\",\"single-line\":\"\",\"hide-details\":\"\",\"solo\":\"\"},model:{value:(_vm.search),callback:function ($$v) {_vm.search=$$v},expression:\"search\"}})],1),_c('v-flex',{attrs:{\"md4\":\"\",\"xs12\":\"\",\"sm12\":\"\"}})],1)],1),_c('v-data-table',{attrs:{\"headers\":_vm.headers4,\"items\":_vm.sp_cotizacion_encabezado,\"search\":_vm.search,\"loading\":_vm.estado_datos_sp},scopedSlots:_vm._u([{key:`item.opciones`,fn:function({ item }){return [_c('div',{staticClass:\"d-flex justify-center\"},[_c('EditarCotizacionEspecialInternacional',{attrs:{\"codigo_cotizacion\":item.sp_cotizacion_id},on:{\"click\":_vm.cargarCotizacionesRegistradasSp}}),_c('Pdfisp',{attrs:{\"is-disabled\":item.estado === 'COTIZADA',\"codigo_cotizacion\":item.sp_cotizacion_id,\"vendedor\":item.vendedor}}),_c('EditarValoresInternacional',{attrs:{\"is-disabled\":item.estado === 'COTIZADA',\"codigo_cotizacion\":item.sp_cotizacion_id}}),_c('v-icon',{staticClass:\"ma-3\",attrs:{\"disabled\":item.estado !== 'COTIZADA',\"small\":\"\",\"color\":\"#1d1d1d\"},on:{\"click\":function($event){return _vm.crearPdfServerISP(item.sp_cotizacion_id)}}},[_vm._v(\" picture_as_pdf \")]),_c('v-icon',{attrs:{\"disabled\":item.estado !== 'COTIZADA',\"small\":\"\",\"color\":\"#329EF4\"},on:{\"click\":function($event){return _vm.compartirCotizacionISP(\n item.sp_cotizacion_id,\n item.vendedor\n )}}},[_vm._v(\" share \")])],1)]}},{key:`item.estado`,fn:function({ item }){return [_c('Estados',{attrs:{\"estado\":item.estado}})]}}],null,true)})],1)],1)],1)],1)],1)],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('v-icon',{staticClass:\"mr-3 mt-3\",attrs:{\"small\":\"\",\"color\":\"#202020\"},on:{\"click\":_vm.verCotizacion}},[_vm._v(\" edit \")]),_c('v-dialog',{attrs:{\"fullscreen\":\"\",\"hide-overlay\":\"\",\"transition\":\"dialog-bottom-transition\",\"scrollable\":\"\",\"eager\":\"\",\"persistent\":\"\"},model:{value:(_vm.dialog),callback:function ($$v) {_vm.dialog=$$v},expression:\"dialog\"}},[_c('v-card',{attrs:{\"tile\":\"\"}},[_c('v-card-text',[_c('v-layout',{staticClass:\"mr-1 ml-1\",attrs:{\"row\":\"\",\"wrap\":\"\"}},[_c('v-flex',{attrs:{\"md12\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('v-toolbar',{staticClass:\"ma-4\",attrs:{\"dark\":\"\",\"color\":\"#202020\"}},[_c('v-btn',{attrs:{\"icon\":\"\",\"dark\":\"\"},on:{\"click\":function($event){_vm.dialog = false}}},[_c('v-icon',[_vm._v(\"mdi-close\")])],1),_c('v-layout',{attrs:{\"row\":\"\",\"wrap\":\"\"}},[_c('v-flex',{attrs:{\"md4\":\"\",\"sm12\":\"\",\"xs12\":\"\"}}),_c('v-flex',{attrs:{\"md4\":\"\",\"sm12\":\"\",\"xs12\":\"\"}},[_c('div',{staticClass:\"d-flex justify-center\"},[_c('v-chip',{staticClass:\"ma-2\",attrs:{\"color\":\"orange\",\"label\":\"\",\"outlined\":\"\"}},[_vm._v(\" Cotización \"+_vm._s(_vm.codigo_cotizacion)+\" \")])],1)]),_c('v-flex',{attrs:{\"md4\":\"\",\"sm12\":\"\",\"xs12\":\"\"}})],1)],1)],1)],1),_c('v-layout',{staticClass:\"mr-1 ml-1\",attrs:{\"row\":\"\",\"wrap\":\"\"}},[_c('v-flex',{attrs:{\"md2\":\"\",\"xs12\":\"\",\"sm12\":\"\"}}),_c('v-flex',{attrs:{\"md8\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('v-card',{staticClass:\"mt-4\",attrs:{\"color\":\"#EAEAEA\"}},[_c('v-layout',{staticClass:\"mr-2\"},[_c('v-flex',{attrs:{\"text-center\":\"\",\"md12\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('h2',{staticClass:\"mt-4 subtitle-1\",staticStyle:{\"color\":\"#202020\"}},[_vm._v(\" DATOS CLIENTE \")])])],1),_c('v-layout',{staticClass:\"pl-3 pr-3 mr-1 ml-1\",attrs:{\"row\":\"\",\"wrap\":\"\"}},[_c('v-flex',{attrs:{\"text-center\":\"\",\"md3\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('small',{staticClass:\"caption\"},[_vm._v(\"Nombre\")]),_c('v-text-field',{staticClass:\"ml-1 mr-1\",attrs:{\"placeholder\":\"Nombre\",\"readonly\":\"\",\"outlined\":\"\"},model:{value:(_vm.nombre),callback:function ($$v) {_vm.nombre=$$v},expression:\"nombre\"}})],1),_c('v-flex',{attrs:{\"text-center\":\"\",\"md2\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('small',{staticClass:\"caption\"},[_vm._v(\"Naturaleza\")]),_c('v-text-field',{staticClass:\"ml-1 mr-1\",attrs:{\"placeholder\":\"Naturaleza\",\"readonly\":\"\",\"outlined\":\"\"},model:{value:(_vm.naturaleza),callback:function ($$v) {_vm.naturaleza=$$v},expression:\"naturaleza\"}})],1),_c('v-flex',{attrs:{\"text-center\":\"\",\"md2\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('small',{staticClass:\"caption\"},[_vm._v(\"Subsector\")]),_c('v-text-field',{staticClass:\"ml-1 mr-1\",attrs:{\"placeholder\":\"Subsector\",\"readonly\":\"\",\"outlined\":\"\"},model:{value:(_vm.subsector),callback:function ($$v) {_vm.subsector=$$v},expression:\"subsector\"}})],1),_c('v-flex',{attrs:{\"text-center\":\"\",\"md2\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('small',{staticClass:\"caption\"},[_vm._v(\"Correo\")]),_c('v-text-field',{staticClass:\"ml-1 mr-1\",attrs:{\"placeholder\":\"Correo\",\"readonly\":\"\",\"outlined\":\"\"},model:{value:(_vm.correo),callback:function ($$v) {_vm.correo=$$v},expression:\"correo\"}})],1),_c('v-flex',{attrs:{\"text-center\":\"\",\"md2\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('small',{staticClass:\"caption\"},[_vm._v(\"Dirección\")]),_c('v-text-field',{staticClass:\"ml-1 mr-1\",attrs:{\"placeholder\":\"Dirección\",\"readonly\":\"\",\"outlined\":\"\"},model:{value:(_vm.direccion),callback:function ($$v) {_vm.direccion=$$v},expression:\"direccion\"}})],1),_c('v-flex',{attrs:{\"text-center\":\"\",\"md1\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('small',{staticClass:\"caption\"},[_vm._v(\"Teléfono\")]),_c('v-text-field',{staticClass:\"ml-1 mr-1\",attrs:{\"placeholder\":\"Teléfono\",\"readonly\":\"\",\"outlined\":\"\"},model:{value:(_vm.telefono),callback:function ($$v) {_vm.telefono=$$v},expression:\"telefono\"}})],1)],1)],1),_c('v-card',{staticClass:\"mt-4 mb-2\"},[_c('v-layout',{attrs:{\"row\":\"\",\"wrap\":\"\"}},[_c('v-flex',{attrs:{\"text-center\":\"\",\"md1\":\"\",\"xs12\":\"\",\"sm12\":\"\"}}),_c('v-flex',{attrs:{\"text-center\":\"\",\"md6\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('h2',{staticClass:\"mt-4 subtitle-1\",staticStyle:{\"color\":\"#202020\"}},[_vm._v(\" INFORMACIÓN COTIZACIÓN \")]),_c('v-timeline',{attrs:{\"align-top\":\"\",\"dense\":\"\"}},_vm._l((_vm.observaciones),function(observacion){return _c('v-timeline-item',{key:observacion.id,attrs:{\"color\":\"#EEA700\",\"small\":\"\"}},[_c('div',[_c('div',{staticClass:\"font-weight-normal\"},[_c('strong',[_vm._v(_vm._s(observacion.usuario))]),_vm._v(\" @\"+_vm._s(observacion.fecha)+\" | \"+_vm._s(observacion.hora)+\" \")]),(observacion.observacion != '')?_c('div',{staticClass:\"mb-3 mt-3\"},[_vm._v(\" \"+_vm._s(observacion.observacion)+\" \"),(observacion.incluir_pdf)?_c('div',[_c('v-tooltip',{attrs:{\"bottom\":\"\",\"color\":\"warning\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-btn',_vm._g(_vm._b({attrs:{\"outlined\":\"\",\"color\":\"success\",\"rounded\":\"\"},on:{\"click\":function($event){return _vm.incluirEnPdfSp(\n observacion.id,\n false,\n 'retirar'\n )}}},'v-btn',attrs,false),on),[_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(\"check_box\")]),_vm._v(\" En PDF \")],1)]}}],null,true)},[_c('span',[_vm._v(\"Clic para quitar nota del PDF\")])])],1):_c('div',[_c('v-btn',{attrs:{\"outlined\":\"\",\"color\":\"#202020\",\"rounded\":\"\"},on:{\"click\":function($event){return _vm.incluirEnPdfSp(\n observacion.id,\n true,\n 'agregar'\n )}}},[_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(\"check_box_outline_blank\")]),_vm._v(\" Incluir en PDF \")],1)],1)]):_vm._e(),_c('h2',{staticClass:\"subtitle-2 mt-2\"},[(observacion.estado.trim() == 'EN GESTIÓN')?_c('v-chip',{attrs:{\"color\":\"#2196F3\",\"dark\":\"\"}},[_vm._v(\" \"+_vm._s(observacion.estado)+\" \")]):_vm._e(),(observacion.estado.trim() == 'SOLICITADA')?_c('v-chip',{attrs:{\"color\":\"#FB8C00\",\"dark\":\"\"}},[_vm._v(\" \"+_vm._s(observacion.estado)+\" \")]):_vm._e(),(observacion.estado.trim() == 'COTIZADA')?_c('v-chip',{attrs:{\"color\":\"#4CAF50\",\"dark\":\"\"}},[_vm._v(\" \"+_vm._s(observacion.estado)+\" \")]):_vm._e(),(observacion.estado.trim() == 'ANULADA')?_c('v-chip',{attrs:{\"color\":\"#FF5252\",\"dark\":\"\"}},[_vm._v(\" \"+_vm._s(observacion.estado)+\" \")]):_vm._e(),(observacion.estado.trim() == 'COMENTARIO')?_c('v-chip',{attrs:{\"color\":\"#FB8C00\",\"dark\":\"\"}},[_vm._v(\" \"+_vm._s(observacion.estado)+\" \")]):_vm._e(),(observacion.estado.trim() == 'EN REVISIÓN')?_c('v-chip',{attrs:{\"color\":\"#00E676\",\"dark\":\"\"}},[_vm._v(\" \"+_vm._s(observacion.estado)+\" \")]):_vm._e()],1)])])}),1)],1),_c('v-flex',{attrs:{\"text-center\":\"\",\"md5\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('VerPlano',{attrs:{\"codigo_cotizacion_plano\":_vm.codigo_cotizacion}})],1)],1)],1),_c('div',{staticClass:\"mt-4 mb-2\"},[_c('v-layout',{staticClass:\"mr-2\"},[_c('v-flex',{attrs:{\"text-center\":\"\",\"md12\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('h2',{staticClass:\"mt-4 subtitle-1\",staticStyle:{\"color\":\"#202020\"}},[_vm._v(\" PRODUCTOS DE LA COTIZACIÓN \")])])],1),_vm._l((_vm.productos_agregados),function(pa,index){return _c('v-card',{key:pa.cp_detalle_id,staticClass:\"ma-7\",attrs:{\"elevation\":\"2\",\"shaped\":\"\",\"color\":\"#EAEAEA\"}},[_c('v-layout',{staticClass:\"pl-3 pr-3\",attrs:{\"row\":\"\",\"wrap\":\"\"}},[_c('v-flex',{attrs:{\"text-center\":\"\",\"md12\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.guardarPrecioSpItem(pa.sp_detalle_id, index)}}},[_c('v-layout',{staticClass:\"pl-3 pr-3 pt-4\",attrs:{\"row\":\"\",\"wrap\":\"\"}},[_c('v-flex',{attrs:{\"text-center\":\"\",\"md4\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('p',{staticClass:\"pt-3 ml-1 mr-1 overline\"},[_c('small',{staticClass:\"caption\"},[_vm._v(\" tipo \"+_vm._s(pa.descripcion_producto)+\", \")])])]),_c('v-flex',{attrs:{\"text-center\":\"\",\"md2\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('v-text-field',{staticClass:\"ml-1 mr-1 mt-2\",attrs:{\"id\":pa.sp_detalle_id + 'ccg',\"value\":pa.referencia_cguno,\"label\":\"Referencia CGuno\",\"type\":\"text\",\"placeholder\":\"Referencia CGuno\",\"outlined\":\"\",\"step\":\"0.001\"}})],1),_c('v-flex',{attrs:{\"text-center\":\"\",\"md2\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('v-text-field',{staticClass:\"ml-1 mr-1 mt-2\",attrs:{\"id\":pa.sp_detalle_id + 'ct',\"value\":pa.costo,\"label\":\"Costo (USD)\",\"type\":\"number\",\"placeholder\":\"$\",\"outlined\":\"\",\"step\":\"0.001\",\"required\":\"\"}})],1),_c('v-flex',{attrs:{\"text-center\":\"\",\"md2\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('v-text-field',{staticClass:\"ml-1 mr-1 mt-2\",attrs:{\"id\":pa.sp_detalle_id + 'vr',\"value\":pa.vr_unitario,\"label\":\"Precio venta unitario (USD)\",\"placeholder\":\"$\",\"type\":\"number\",\"outlined\":\"\",\"required\":\"\"}})],1),_c('v-flex',{attrs:{\"text-center\":\"\",\"md2\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('v-text-field',{staticClass:\"ml-1 mr-1 mt-2\",attrs:{\"value\":'(USD)' +\n new Intl.NumberFormat('en-en').format(\n _vm.calcularTotalItem(\n pa.vr_unitario,\n pa.cantidad,\n pa.um,\n pa.ancho,\n pa.largo\n )\n ),\"label\":\"Precio venta total (USD)\",\"type\":\"text\",\"outlined\":\"\",\"disabled\":\"\"}})],1)],1),_c('v-layout',{staticClass:\"pl-3 pr-3\",attrs:{\"row\":\"\",\"wrap\":\"\"}},[_c('v-flex',{attrs:{\"text-center\":\"\",\"md3\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('v-autocomplete',{staticClass:\"ml-1 mr-1 mt-2\",attrs:{\"items\":_vm.materias_primas,\"item-value\":\"codigo\",\"item-text\":\"referencia\",\"required\":\"\",\"outlined\":\"\",\"label\":\"Materia Prima\"},model:{value:(pa.codigo),callback:function ($$v) {_vm.$set(pa, \"codigo\", $$v)},expression:\"pa.codigo\"}})],1),_c('v-flex',{attrs:{\"text-center\":\"\",\"md3\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('v-autocomplete',{staticClass:\"ml-1 mr-1 mt-2\",attrs:{\"items\":_vm.materias_primas,\"item-value\":\"codigo\",\"item-text\":\"codigo\",\"required\":\"\",\"outlined\":\"\",\"label\":\"Código Materia Prima\",\"id\":pa.sp_detalle_id + 'mc'},model:{value:(pa.codigo),callback:function ($$v) {_vm.$set(pa, \"codigo\", $$v)},expression:\"pa.codigo\"}})],1),_c('v-flex',{attrs:{\"text-center\":\"\",\"md2\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('v-text-field',{staticClass:\"ml-1 mr-1 mt-2\",attrs:{\"id\":pa.sp_detalle_id + 'cmp',\"value\":pa.c_materia_prima,\"label\":\"Cantidad M Prima\",\"type\":\"number\",\"outlined\":\"\",\"required\":\"\"}})],1),_c('v-flex',{attrs:{\"text-center\":\"\",\"md2\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('v-text-field',{staticClass:\"ml-1 mr-1 mt-2\",attrs:{\"id\":pa.sp_detalle_id + 'gxu',\"value\":pa.golpes_x_unidad,\"label\":\"Golpes x Unidad\",\"type\":\"number\",\"outlined\":\"\",\"required\":\"\"}})],1),_c('v-flex',{attrs:{\"text-center\":\"\",\"md2\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('v-text-field',{staticClass:\"ml-1 mr-1 mt-2\",attrs:{\"id\":pa.sp_detalle_id + 'tp',\"value\":pa.tiempo_produccion,\"label\":\"Tiempo Producción (Minutos)\",\"type\":\"number\",\"outlined\":\"\",\"required\":\"\"}})],1)],1),_c('v-layout',{staticClass:\"pl-3 pr-3 mr-1 ml-1\",attrs:{\"row\":\"\",\"wrap\":\"\"}},[_c('v-flex',{attrs:{\"text-center\":\"\",\"md2\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('small',{staticClass:\"caption\"},[_vm._v(\"A Y F\")]),_c('v-text-field',{staticClass:\"ml-1 mr-1\",attrs:{\"type\":\"number\",\"outlined\":\"\",\"step\":\".01\",\"required\":\"\",\"id\":pa.sp_detalle_id + 'ayf_f',\"value\":pa.ayf}})],1),_c('v-flex',{attrs:{\"text-center\":\"\",\"md2\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('small',{staticClass:\"caption\"},[_vm._v(\"% Margen:\")]),_c('v-text-field',{staticClass:\"ml-1 mr-1\",attrs:{\"type\":\"number\",\"outlined\":\"\",\"step\":\".01\",\"required\":\"\",\"id\":pa.sp_detalle_id + 'porcentaje_margen_f',\"value\":pa.porcentaje_margen}})],1),_c('v-flex',{attrs:{\"text-center\":\"\",\"md2\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('small',{staticClass:\"caption\"},[_vm._v(\"Cantidad Cotizada:\")]),_c('v-text-field',{staticClass:\"ml-1 mr-1\",attrs:{\"type\":\"number\",\"step\":\".01\",\"outlined\":\"\",\"required\":\"\",\"id\":pa.sp_detalle_id + 'cantidad_cotizada_f',\"value\":pa.cantidad_cotizada}})],1),_c('v-flex',{attrs:{\"text-center\":\"\",\"md2\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('small',{staticClass:\"caption\"},[_vm._v(\"Total Est. Horas Prod:\")]),_c('v-text-field',{staticClass:\"ml-1 mr-1\",attrs:{\"type\":\"number\",\"step\":\".01\",\"outlined\":\"\",\"required\":\"\",\"id\":pa.sp_detalle_id + 'estimado_h_produccion_f',\"value\":pa.estimado_h_produccion}})],1),_c('v-flex',{attrs:{\"text-center\":\"\",\"md2\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('small',{staticClass:\"caption\"},[_vm._v(\"Costo Bruto (USD):\")]),_c('v-text-field',{staticClass:\"ml-1 mr-1\",attrs:{\"type\":\"number\",\"step\":\".01\",\"required\":\"\",\"outlined\":\"\",\"id\":pa.sp_detalle_id + 'valor_total_bruto_f',\"value\":pa.valor_total_bruto}})],1),_c('v-flex',{attrs:{\"text-center\":\"\",\"md2\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('small',{staticClass:\"caption\"},[_vm._v(\"Costo Pro. Externos (USD):\")]),_c('v-text-field',{staticClass:\"ml-1 mr-1\",attrs:{\"type\":\"number\",\"step\":\".01\",\"required\":\"\",\"outlined\":\"\",\"id\":pa.sp_detalle_id + 'costo_externos_f',\"value\":pa.costo_externos}})],1)],1),_c('v-layout',{attrs:{\"row\":\"\",\"wrap\":\"\"}},[_c('v-flex',{attrs:{\"text-center\":\"\",\"md12\":\"\",\"sm12\":\"\",\"xs12\":\"\"}},[_c('v-btn',{staticClass:\"ma-4 caption\",attrs:{\"type\":\"submit\",\"tile\":\"\",\"color\":\"#202020\",\"dark\":\"\",\"loading\":pa.estado}},[_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(\" mdi-pencil \")]),_vm._v(\" Actualizar \")],1)],1)],1)],1)])],1)],1)})],2),_c('v-card',{staticClass:\"mt-4 mb-2\",attrs:{\"color\":\"#202020\",\"dark\":\"\"}},[_c('v-layout',{staticClass:\"mr-2\"},[_c('v-flex',{attrs:{\"text-center\":\"\",\"md12\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('h2',{staticClass:\"ma-4 subtitle-1 white--text\",staticStyle:{\"color\":\"#202020\"}},[_vm._v(\" GESTIÓN COTIZACIÓN \")])])],1),_c('v-form',{ref:\"form\",on:{\"submit\":function($event){$event.preventDefault();return _vm.actualizarGestionCotizacion.apply(null, arguments)}},model:{value:(_vm.valid),callback:function ($$v) {_vm.valid=$$v},expression:\"valid\"}},[_c('v-layout',{staticClass:\"pl-3 pr-3 mr-1 ml-1\",attrs:{\"row\":\"\",\"wrap\":\"\"}},[_c('v-flex',{attrs:{\"text-center\":\"\",\"md3\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('small',{staticClass:\"caption\"},[_vm._v(\"Tiempo Entrega (DÃas):\")]),_c('v-text-field',{staticClass:\"ml-1 mr-1\",attrs:{\"type\":\"number\",\"outlined\":\"\"},model:{value:(_vm.datos_formulario.tiempo_entrega),callback:function ($$v) {_vm.$set(_vm.datos_formulario, \"tiempo_entrega\", $$v)},expression:\"datos_formulario.tiempo_entrega\"}})],1),_c('v-flex',{attrs:{\"text-center\":\"\",\"md3\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('small',{staticClass:\"caption\"},[_vm._v(\"Desarrollo planos (DÃas):\")]),_c('v-text-field',{staticClass:\"ml-1 mr-1\",attrs:{\"type\":\"number\",\"outlined\":\"\"},model:{value:(_vm.datos_formulario.dias_desarrollo_planos),callback:function ($$v) {_vm.$set(_vm.datos_formulario, \"dias_desarrollo_planos\", $$v)},expression:\"datos_formulario.dias_desarrollo_planos\"}})],1),_c('v-flex',{attrs:{\"text-center\":\"\",\"md3\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('small',{staticClass:\"caption\"},[_vm._v(\" Fabricacion (DÃas):\")]),_c('v-text-field',{staticClass:\"ml-1 mr-1\",attrs:{\"type\":\"number\",\"outlined\":\"\"},model:{value:(_vm.datos_formulario.dias_habiles_fabricacion),callback:function ($$v) {_vm.$set(_vm.datos_formulario, \"dias_habiles_fabricacion\", $$v)},expression:\"datos_formulario.dias_habiles_fabricacion\"}})],1),_c('v-flex',{attrs:{\"text-center\":\"\",\"md3\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('small',{staticClass:\"caption\"},[_vm._v(\"Estado:\")]),_c('v-autocomplete',{staticClass:\"ml-1 mr-1\",attrs:{\"items\":_vm.estados,\"item-value\":\"id_estado\",\"item-text\":\"descripcion\",\"required\":\"\",\"outlined\":\"\"},on:{\"change\":_vm.descripcionEstado},model:{value:(_vm.datos_formulario.estado),callback:function ($$v) {_vm.$set(_vm.datos_formulario, \"estado\", $$v)},expression:\"datos_formulario.estado\"}})],1)],1),_c('v-layout',{staticClass:\"pl-3 pr-3 mr-1 ml-1\",attrs:{\"row\":\"\",\"wrap\":\"\"}},[_c('v-flex',{attrs:{\"text-center\":\"\",\"md4\":\"\",\"xs12\":\"\",\"sm12\":\"\"}}),_c('v-flex',{attrs:{\"text-center\":\"\",\"md4\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('v-textarea',{staticClass:\"mt-2 ml-1 mr-1\",attrs:{\"label\":\"Observación\",\"rows\":\"4\",\"required\":\"\",\"rules\":_vm.vacio,\"prepend-icon\":\"mdi-comment\"},model:{value:(_vm.datos_formulario.observacion),callback:function ($$v) {_vm.$set(_vm.datos_formulario, \"observacion\", $$v)},expression:\"datos_formulario.observacion\"}})],1),_c('v-flex',{attrs:{\"text-center\":\"\",\"md4\":\"\",\"xs12\":\"\",\"sm12\":\"\"}})],1),_c('v-layout',{staticClass:\"mr-2\"},[_c('v-flex',{attrs:{\"text-center\":\"\",\"md12\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('v-btn',{staticClass:\"mt-2 mb-2\",attrs:{\"type\":\"submit\",\"tile\":\"\",\"color\":\"#FFB300\",\"loading\":_vm.estado_boton_gestion}},[_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(\" mdi-pencil \")]),_vm._v(\" Guardar \")],1)],1)],1)],1)],1),_c('v-snackbar',{attrs:{\"timeout\":_vm.timeout,\"transition\":\"scale-transition\"},scopedSlots:_vm._u([{key:\"action\",fn:function({ attrs }){return [_c('v-btn',_vm._b({attrs:{\"color\":\"#14E881\",\"text\":\"\"},on:{\"click\":function($event){_vm.snackbar = false}}},'v-btn',attrs,false),[_vm._v(\" Cerrar \")])]}}]),model:{value:(_vm.snackbar),callback:function ($$v) {_vm.snackbar=$$v},expression:\"snackbar\"}},[_vm._v(\" \"+_vm._s(_vm.text)+\" \")])],1),_c('v-flex',{attrs:{\"md2\":\"\",\"xs12\":\"\",\"sm12\":\"\"}})],1)],1)],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div>\r\n <!-- boton pdf -->\r\n <v-icon small color=\"#202020\" @click=\"verCotizacion\" class=\"mr-3 mt-3\">\r\n edit\r\n </v-icon>\r\n <!-- boton pdf. final code... -->\r\n\r\n <!-- Modal -->\r\n <v-dialog\r\n v-model=\"dialog\"\r\n fullscreen\r\n hide-overlay\r\n transition=\"dialog-bottom-transition\"\r\n scrollable\r\n eager\r\n persistent\r\n >\r\n <v-card tile>\r\n <v-card-text>\r\n <v-layout row wrap class=\"mr-1 ml-1\">\r\n <v-flex md12 xs12 sm12>\r\n <v-toolbar dark color=\"#202020\" class=\"ma-4\">\r\n <v-btn icon dark @click=\"dialog = false\">\r\n <v-icon>mdi-close</v-icon>\r\n </v-btn>\r\n <v-layout row wrap>\r\n <v-flex md4 sm12 xs12></v-flex>\r\n <v-flex md4 sm12 xs12>\r\n <div class=\"d-flex justify-center\">\r\n <v-chip class=\"ma-2\" color=\"orange\" label outlined>\r\n Cotización {{ codigo_cotizacion }}\r\n </v-chip>\r\n </div>\r\n </v-flex>\r\n <v-flex md4 sm12 xs12></v-flex>\r\n </v-layout>\r\n </v-toolbar>\r\n </v-flex>\r\n </v-layout>\r\n\r\n <v-layout row wrap class=\"mr-1 ml-1\">\r\n <v-flex md2 xs12 sm12></v-flex>\r\n <v-flex md8 xs12 sm12>\r\n <!-- Infomacion detallada cliente -->\r\n <v-card class=\"mt-4\" color=\"#EAEAEA\">\r\n <v-layout class=\"mr-2\">\r\n <v-flex text-center md12 xs12 sm12>\r\n <h2 class=\"mt-4 subtitle-1\" style=\"color: #202020\">\r\n DATOS CLIENTE\r\n </h2>\r\n </v-flex>\r\n </v-layout>\r\n <v-layout row wrap class=\"pl-3 pr-3 mr-1 ml-1\">\r\n <v-flex text-center md3 xs12 sm12>\r\n <small class=\"caption\">Nombre</small>\r\n <v-text-field\r\n placeholder=\"Nombre\"\r\n readonly\r\n outlined\r\n v-model=\"nombre\"\r\n class=\"ml-1 mr-1\"\r\n ></v-text-field>\r\n </v-flex>\r\n <v-flex text-center md2 xs12 sm12>\r\n <small class=\"caption\">Naturaleza</small>\r\n <v-text-field\r\n placeholder=\"Naturaleza\"\r\n readonly\r\n v-model=\"naturaleza\"\r\n class=\"ml-1 mr-1\"\r\n outlined\r\n ></v-text-field>\r\n </v-flex>\r\n <v-flex text-center md2 xs12 sm12>\r\n <small class=\"caption\">Subsector</small>\r\n <v-text-field\r\n placeholder=\"Subsector\"\r\n readonly\r\n outlined\r\n v-model=\"subsector\"\r\n class=\"ml-1 mr-1\"\r\n ></v-text-field>\r\n </v-flex>\r\n <v-flex text-center md2 xs12 sm12>\r\n <small class=\"caption\">Correo</small>\r\n <v-text-field\r\n placeholder=\"Correo\"\r\n readonly\r\n outlined\r\n v-model=\"correo\"\r\n class=\"ml-1 mr-1\"\r\n ></v-text-field>\r\n </v-flex>\r\n <v-flex text-center md2 xs12 sm12>\r\n <small class=\"caption\">Dirección</small>\r\n <v-text-field\r\n placeholder=\"Dirección\"\r\n readonly\r\n outlined\r\n v-model=\"direccion\"\r\n class=\"ml-1 mr-1\"\r\n ></v-text-field>\r\n </v-flex>\r\n <v-flex text-center md1 xs12 sm12>\r\n <small class=\"caption\">Teléfono</small>\r\n <v-text-field\r\n placeholder=\"Teléfono\"\r\n readonly\r\n outlined\r\n v-model=\"telefono\"\r\n class=\"ml-1 mr-1\"\r\n ></v-text-field>\r\n </v-flex>\r\n </v-layout>\r\n </v-card>\r\n <!-- Infomacion detallada cliente. Final code... -->\r\n\r\n <!-- Observaciones -->\r\n <v-card class=\"mt-4 mb-2\">\r\n <v-layout row wrap>\r\n <v-flex text-center md1 xs12 sm12></v-flex>\r\n <v-flex text-center md6 xs12 sm12>\r\n <h2 class=\"mt-4 subtitle-1\" style=\"color: #202020\">\r\n INFORMACIÓN COTIZACIÓN\r\n </h2>\r\n <v-timeline align-top dense>\r\n <v-timeline-item\r\n v-for=\"observacion in observaciones\"\r\n :key=\"observacion.id\"\r\n color=\"#EEA700\"\r\n small\r\n >\r\n <div>\r\n <div class=\"font-weight-normal\">\r\n <strong>{{ observacion.usuario }}</strong> @{{\r\n observacion.fecha\r\n }}\r\n |\r\n {{ observacion.hora }}\r\n </div>\r\n <div\r\n v-if=\"observacion.observacion != ''\"\r\n class=\"mb-3 mt-3\"\r\n >\r\n {{ observacion.observacion }}\r\n <div v-if=\"observacion.incluir_pdf\">\r\n <v-tooltip bottom color=\"warning\">\r\n <template v-slot:activator=\"{ on, attrs }\">\r\n <v-btn\r\n @click=\"\r\n incluirEnPdfSp(\r\n observacion.id,\r\n false,\r\n 'retirar'\r\n )\r\n \"\r\n v-bind=\"attrs\"\r\n v-on=\"on\"\r\n outlined\r\n color=\"success\"\r\n rounded\r\n >\r\n <v-icon left>check_box</v-icon>\r\n En PDF\r\n </v-btn>\r\n </template>\r\n <span>Clic para quitar nota del PDF</span>\r\n </v-tooltip>\r\n </div>\r\n <div v-else>\r\n <v-btn\r\n outlined\r\n color=\"#202020\"\r\n rounded\r\n @click=\"\r\n incluirEnPdfSp(\r\n observacion.id,\r\n true,\r\n 'agregar'\r\n )\r\n \"\r\n >\r\n <v-icon left>check_box_outline_blank</v-icon>\r\n\r\n Incluir en PDF\r\n </v-btn>\r\n </div>\r\n <!-- <div class=\"d-flex justify-center\">\r\n <v-tooltip bottom color=\"warning\">\r\n <template v-slot:activator=\"{ on, attrs }\">\r\n <v-btn\r\n @click=\"\r\n eliminarNota(\r\n observacion.id\r\n )\r\n \"\r\n v-bind=\"attrs\"\r\n v-on=\"on\"\r\n outlined\r\n color=\"error\"\r\n rounded\r\n >\r\n \r\n Eliminar\r\n </v-btn>\r\n </template>\r\n <span>Clic para eliminar nota.</span>\r\n </v-tooltip>\r\n </div> -->\r\n </div>\r\n <h2 class=\"subtitle-2 mt-2\">\r\n <v-chip\r\n color=\"#2196F3\"\r\n dark\r\n v-if=\"observacion.estado.trim() == 'EN GESTIÓN'\"\r\n >\r\n {{ observacion.estado }}\r\n </v-chip>\r\n <v-chip\r\n color=\"#FB8C00\"\r\n dark\r\n v-if=\"observacion.estado.trim() == 'SOLICITADA'\"\r\n >\r\n {{ observacion.estado }}\r\n </v-chip>\r\n <v-chip\r\n color=\"#4CAF50\"\r\n dark\r\n v-if=\"observacion.estado.trim() == 'COTIZADA'\"\r\n >\r\n {{ observacion.estado }}\r\n </v-chip>\r\n <v-chip\r\n color=\"#FF5252\"\r\n dark\r\n v-if=\"observacion.estado.trim() == 'ANULADA'\"\r\n >\r\n {{ observacion.estado }}\r\n </v-chip>\r\n <v-chip\r\n color=\"#FB8C00\"\r\n dark\r\n v-if=\"observacion.estado.trim() == 'COMENTARIO'\"\r\n >\r\n {{ observacion.estado }}\r\n </v-chip>\r\n <v-chip\r\n color=\"#00E676\"\r\n dark\r\n v-if=\"observacion.estado.trim() == 'EN REVISIÓN'\"\r\n >\r\n {{ observacion.estado }}\r\n </v-chip>\r\n </h2>\r\n </div>\r\n </v-timeline-item>\r\n </v-timeline>\r\n </v-flex>\r\n <v-flex text-center md5 xs12 sm12>\r\n <VerPlano :codigo_cotizacion_plano=\"codigo_cotizacion\" />\r\n </v-flex>\r\n </v-layout>\r\n </v-card>\r\n <!-- Observaciones. Final code... -->\r\n\r\n <!-- Productos Cotizacion -->\r\n <div class=\"mt-4 mb-2\">\r\n <v-layout class=\"mr-2\">\r\n <v-flex text-center md12 xs12 sm12>\r\n <h2 class=\"mt-4 subtitle-1\" style=\"color: #202020\">\r\n PRODUCTOS DE LA COTIZACIÓN\r\n </h2>\r\n </v-flex>\r\n </v-layout>\r\n <v-card\r\n elevation=\"2\"\r\n shaped\r\n class=\"ma-7\"\r\n v-for=\"(pa, index) in productos_agregados\"\r\n :key=\"pa.cp_detalle_id\"\r\n color=\"#EAEAEA\"\r\n >\r\n <v-layout row wrap class=\"pl-3 pr-3\">\r\n <v-flex text-center md12 xs12 sm12>\r\n \r\n <form\r\n @submit.prevent=\"guardarPrecioSpItem(pa.sp_detalle_id, index)\">\r\n \r\n <v-layout row wrap class=\"pl-3 pr-3 pt-4\">\r\n <v-flex text-center md4 xs12 sm12>\r\n <!-- <p class=\"ml-1 mr-1\">\r\n {{ pa }}\r\n </p> -->\r\n <p class=\"pt-3 ml-1 mr-1 overline\">\r\n \r\n <small\r\n class=\"caption\"\r\n >\r\n tipo {{ pa.descripcion_producto }},\r\n </small>\r\n \r\n </p>\r\n </v-flex>\r\n <v-flex text-center md2 xs12 sm12>\r\n <v-text-field\r\n :id=\"pa.sp_detalle_id + 'ccg'\"\r\n :value=\"pa.referencia_cguno\"\r\n label=\"Referencia CGuno\"\r\n type=\"text\"\r\n placeholder=\"Referencia CGuno\"\r\n outlined\r\n class=\"ml-1 mr-1 mt-2\"\r\n step=\"0.001\"\r\n ></v-text-field>\r\n </v-flex>\r\n <v-flex text-center md2 xs12 sm12>\r\n <v-text-field\r\n :id=\"pa.sp_detalle_id + 'ct'\"\r\n :value=\"pa.costo\"\r\n label=\"Costo (USD)\"\r\n type=\"number\"\r\n placeholder=\"$\"\r\n outlined\r\n class=\"ml-1 mr-1 mt-2\"\r\n step=\"0.001\"\r\n required\r\n ></v-text-field>\r\n </v-flex>\r\n <v-flex text-center md2 xs12 sm12>\r\n <v-text-field\r\n :id=\"pa.sp_detalle_id + 'vr'\"\r\n :value=\"pa.vr_unitario\"\r\n label=\"Precio venta unitario (USD)\"\r\n placeholder=\"$\"\r\n type=\"number\"\r\n outlined\r\n class=\"ml-1 mr-1 mt-2\"\r\n required\r\n ></v-text-field>\r\n </v-flex>\r\n <v-flex text-center md2 xs12 sm12>\r\n <v-text-field\r\n :value=\"\r\n '(USD)' +\r\n new Intl.NumberFormat('en-en').format(\r\n calcularTotalItem(\r\n pa.vr_unitario,\r\n pa.cantidad,\r\n pa.um,\r\n pa.ancho,\r\n pa.largo\r\n )\r\n )\r\n \"\r\n label=\"Precio venta total (USD)\"\r\n type=\"text\"\r\n outlined\r\n class=\"ml-1 mr-1 mt-2\"\r\n disabled\r\n ></v-text-field>\r\n </v-flex>\r\n\r\n <!-- <v-flex text-center md2 xs12 sm12>\r\n <v-btn\r\n class=\"ml-1 mr-1 mt-4 mb-2 caption\"\r\n type=\"submit\"\r\n tile\r\n color=\"#202020\"\r\n dark\r\n >\r\n <v-icon left> mdi-pencil </v-icon>\r\n Actualizar\r\n </v-btn>\r\n </v-flex> -->\r\n </v-layout>\r\n <!-- Datos Produccion -->\r\n <v-layout row wrap class=\"pl-3 pr-3\">\r\n <v-flex text-center md3 xs12 sm12>\r\n <v-autocomplete\r\n :items=\"materias_primas\"\r\n item-value=\"codigo\"\r\n item-text=\"referencia\"\r\n class=\"ml-1 mr-1 mt-2\"\r\n required\r\n outlined\r\n label=\"Materia Prima\"\r\n v-model=\"pa.codigo\"\r\n ></v-autocomplete>\r\n </v-flex>\r\n <v-flex text-center md3 xs12 sm12>\r\n <v-autocomplete\r\n :items=\"materias_primas\"\r\n item-value=\"codigo\"\r\n item-text=\"codigo\"\r\n class=\"ml-1 mr-1 mt-2\"\r\n required\r\n outlined\r\n label=\"Código Materia Prima\"\r\n v-model=\"pa.codigo\"\r\n :id=\"pa.sp_detalle_id + 'mc'\"\r\n ></v-autocomplete>\r\n </v-flex>\r\n <v-flex text-center md2 xs12 sm12>\r\n <v-text-field\r\n :id=\"pa.sp_detalle_id + 'cmp'\"\r\n :value=\"pa.c_materia_prima\"\r\n label=\"Cantidad M Prima\"\r\n type=\"number\"\r\n outlined\r\n class=\"ml-1 mr-1 mt-2\"\r\n required\r\n ></v-text-field>\r\n </v-flex>\r\n <v-flex text-center md2 xs12 sm12>\r\n <v-text-field\r\n :id=\"pa.sp_detalle_id + 'gxu'\"\r\n :value=\"pa.golpes_x_unidad\"\r\n label=\"Golpes x Unidad\"\r\n type=\"number\"\r\n outlined\r\n class=\"ml-1 mr-1 mt-2\"\r\n required\r\n ></v-text-field>\r\n </v-flex>\r\n <v-flex text-center md2 xs12 sm12>\r\n <v-text-field\r\n :id=\"pa.sp_detalle_id + 'tp'\"\r\n :value=\"pa.tiempo_produccion\"\r\n label=\"Tiempo Producción (Minutos)\"\r\n type=\"number\"\r\n outlined\r\n class=\"ml-1 mr-1 mt-2\"\r\n required\r\n ></v-text-field>\r\n </v-flex>\r\n </v-layout>\r\n <!-- Datos Produccion. final code... -->\r\n <!-- Datos Costos -->\r\n <v-layout row wrap class=\"pl-3 pr-3 mr-1 ml-1\">\r\n <v-flex text-center md2 xs12 sm12>\r\n <small class=\"caption\">A Y F</small>\r\n <v-text-field\r\n type=\"number\"\r\n outlined\r\n class=\"ml-1 mr-1\"\r\n step=\".01\"\r\n required\r\n :id=\"pa.sp_detalle_id + 'ayf_f'\"\r\n :value=\"pa.ayf\"\r\n ></v-text-field>\r\n </v-flex>\r\n <v-flex text-center md2 xs12 sm12>\r\n <small class=\"caption\">% Margen:</small>\r\n <v-text-field\r\n type=\"number\"\r\n outlined\r\n step=\".01\"\r\n required\r\n class=\"ml-1 mr-1\"\r\n :id=\"pa.sp_detalle_id + 'porcentaje_margen_f'\"\r\n :value=\"pa.porcentaje_margen\"\r\n ></v-text-field>\r\n </v-flex>\r\n <v-flex text-center md2 xs12 sm12>\r\n <small class=\"caption\">Cantidad Cotizada:</small>\r\n <v-text-field\r\n type=\"number\"\r\n step=\".01\"\r\n outlined\r\n required\r\n class=\"ml-1 mr-1\"\r\n :id=\"pa.sp_detalle_id + 'cantidad_cotizada_f'\"\r\n :value=\"pa.cantidad_cotizada\"\r\n ></v-text-field>\r\n </v-flex>\r\n <v-flex text-center md2 xs12 sm12>\r\n <small class=\"caption\"\r\n >Total Est. Horas Prod:</small\r\n >\r\n <v-text-field\r\n type=\"number\"\r\n step=\".01\"\r\n outlined\r\n required\r\n class=\"ml-1 mr-1\"\r\n :id=\"pa.sp_detalle_id + 'estimado_h_produccion_f'\"\r\n :value=\"pa.estimado_h_produccion\"\r\n ></v-text-field>\r\n </v-flex>\r\n <v-flex text-center md2 xs12 sm12>\r\n <small class=\"caption\">Costo Bruto (USD):</small>\r\n <v-text-field\r\n type=\"number\"\r\n step=\".01\"\r\n required\r\n outlined\r\n class=\"ml-1 mr-1\"\r\n :id=\"pa.sp_detalle_id + 'valor_total_bruto_f'\"\r\n :value=\"pa.valor_total_bruto\"\r\n ></v-text-field>\r\n </v-flex>\r\n <v-flex text-center md2 xs12 sm12>\r\n <small class=\"caption\">Costo Pro. Externos (USD):</small>\r\n <v-text-field\r\n type=\"number\"\r\n step=\".01\"\r\n required\r\n outlined\r\n class=\"ml-1 mr-1\"\r\n :id=\"pa.sp_detalle_id + 'costo_externos_f'\"\r\n :value=\"pa.costo_externos\"\r\n ></v-text-field>\r\n </v-flex>\r\n </v-layout>\r\n <!-- Datos Costos. final code... -->\r\n <!-- Boton -->\r\n <v-layout row wrap>\r\n <v-flex text-center md12 sm12 xs12>\r\n <v-btn\r\n class=\"ma-4 caption\"\r\n type=\"submit\"\r\n tile\r\n color=\"#202020\"\r\n dark\r\n :loading=\"pa.estado\"\r\n >\r\n <v-icon left> mdi-pencil </v-icon>\r\n Actualizar\r\n </v-btn>\r\n </v-flex>\r\n </v-layout>\r\n <!-- Boton. Final code... -->\r\n </form>\r\n </v-flex>\r\n </v-layout>\r\n </v-card>\r\n </div>\r\n <!-- Productos Cotizacion. Final code... -->\r\n\r\n <!-- Campos editables -->\r\n <v-card class=\"mt-4 mb-2\" color=\"#202020\" dark>\r\n <v-layout class=\"mr-2\">\r\n <v-flex text-center md12 xs12 sm12>\r\n <h2\r\n class=\"ma-4 subtitle-1 white--text\"\r\n style=\"color: #202020\"\r\n >\r\n GESTIÓN COTIZACIÓN\r\n </h2>\r\n </v-flex>\r\n </v-layout>\r\n <v-form \r\n ref=\"form\"\r\n v-model=\"valid\"\r\n @submit.prevent=\"actualizarGestionCotizacion\">\r\n <v-layout row wrap class=\"pl-3 pr-3 mr-1 ml-1\">\r\n <v-flex text-center md3 xs12 sm12>\r\n <small class=\"caption\">Tiempo Entrega (DÃas):</small>\r\n <v-text-field\r\n type=\"number\"\r\n outlined\r\n class=\"ml-1 mr-1\"\r\n v-model=\"datos_formulario.tiempo_entrega\"\r\n ></v-text-field>\r\n </v-flex>\r\n <v-flex text-center md3 xs12 sm12>\r\n <small class=\"caption\">Desarrollo planos (DÃas):</small>\r\n <v-text-field\r\n type=\"number\"\r\n outlined\r\n class=\"ml-1 mr-1\"\r\n v-model=\"datos_formulario.dias_desarrollo_planos\"\r\n ></v-text-field>\r\n </v-flex>\r\n <v-flex text-center md3 xs12 sm12>\r\n <small class=\"caption\"> Fabricacion (DÃas):</small>\r\n <v-text-field\r\n type=\"number\"\r\n outlined\r\n class=\"ml-1 mr-1\"\r\n v-model=\"datos_formulario.dias_habiles_fabricacion\"\r\n ></v-text-field>\r\n </v-flex>\r\n \r\n <v-flex text-center md3 xs12 sm12>\r\n <small class=\"caption\">Estado:</small>\r\n <v-autocomplete\r\n :items=\"estados\"\r\n item-value=\"id_estado\"\r\n item-text=\"descripcion\"\r\n class=\"ml-1 mr-1\"\r\n required\r\n outlined\r\n v-model=\"datos_formulario.estado\"\r\n @change=\"descripcionEstado\"\r\n ></v-autocomplete>\r\n </v-flex>\r\n </v-layout> \r\n <v-layout row wrap class=\"pl-3 pr-3 mr-1 ml-1\">\r\n <v-flex text-center md4 xs12 sm12></v-flex>\r\n <v-flex text-center md4 xs12 sm12>\r\n <v-textarea\r\n v-model=\"datos_formulario.observacion\"\r\n class=\"mt-2 ml-1 mr-1\"\r\n label=\"Observación\"\r\n rows=\"4\"\r\n required\r\n :rules=\"vacio\"\r\n prepend-icon=\"mdi-comment\"\r\n ></v-textarea>\r\n \r\n </v-flex>\r\n \r\n <v-flex text-center md4 xs12 sm12></v-flex>\r\n </v-layout>\r\n <v-layout class=\"mr-2\">\r\n <v-flex text-center md12 xs12 sm12>\r\n <v-btn\r\n class=\"mt-2 mb-2\"\r\n type=\"submit\"\r\n tile\r\n color=\"#FFB300\"\r\n :loading=\"estado_boton_gestion\"\r\n >\r\n <v-icon left> mdi-pencil </v-icon>\r\n Guardar\r\n </v-btn>\r\n </v-flex>\r\n </v-layout>\r\n </v-form>\r\n </v-card>\r\n <v-snackbar\r\n v-model=\"snackbar\"\r\n :timeout=\"timeout\"\r\n transition=\"scale-transition\"\r\n >\r\n {{ text }}\r\n\r\n <template v-slot:action=\"{ attrs }\">\r\n <v-btn\r\n color=\"#14E881\"\r\n text\r\n v-bind=\"attrs\"\r\n @click=\"snackbar = false\"\r\n >\r\n Cerrar\r\n </v-btn>\r\n </template>\r\n </v-snackbar>\r\n <!-- Campos editables. Final code... -->\r\n </v-flex>\r\n <v-flex md2 xs12 sm12></v-flex>\r\n </v-layout>\r\n </v-card-text>\r\n </v-card>\r\n </v-dialog>\r\n <!-- Modal. Final code... -->\r\n </div>\r\n</template>\r\n<script>\r\nimport axios from \"axios\";\r\nimport url from \"../Api\";\r\nimport { mapState } from \"vuex\";\r\n//import Swal from \"sweetalert2\";\r\nimport VerPlano from \"../components/Ver_planos.vue\";\r\nexport default {\r\n name: \"editar_cotizacion_especial_internacional\",\r\n components: {\r\n VerPlano,\r\n },\r\n props: {\r\n codigo_cotizacion: {\r\n type: String,\r\n required: true,\r\n },\r\n },\r\n data() {\r\n return {\r\n rules: [\r\n (v) => v !== null && v !== undefined || \"Este campo es requerido\",\r\n (v) => !!v || \"Digitar dato para continuar!\",\r\n (v) => v >= 0 && v <= 9999999999 || \"El valor debe tener máximo 10 dÃgitos\",\r\n ],\r\n vacio: [(v) => !!v || \"Digitar dato para continuar!\"],\r\n dialog: false,\r\n //Datos usuario\r\n id_agencia: \"\",\r\n id_usuario: \"\",\r\n token: \"\",\r\n //Datos Tercero\r\n direccion: \"\",\r\n naturaleza: \"\",\r\n nombre: \"\",\r\n subsector: \"\",\r\n telefono: \"\",\r\n correo: \"\",\r\n estados: [],\r\n //Datos Formulario\r\n datos_formulario: {\r\n estado: \"\",\r\n tiempo_entrega: 0,\r\n dias_desarrollo_planos: 0,\r\n dias_habiles_fabricacion: 0,\r\n // valor_flete: 0,\r\n //sw_flete: false,\r\n \r\n observacion: \"\",\r\n },\r\n //Formulario\r\n valid: false,\r\n //Observaciones\r\n observaciones: [],\r\n //Productos\r\n productos_agregados: [],\r\n datos_produccion: [],\r\n email: \"\",\r\n //materia prima Datos\r\n materias_primas: [],\r\n descripcion_estado: \"\",\r\n //botones\r\n estado_boton_gestion: false,\r\n //Ventana alert\r\n snackbar: false,\r\n text: \"\",\r\n timeout: 3000,\r\n };\r\n },\r\n created() {},\r\n methods: {\r\n cargarDatosCotizacion() {\r\n axios\r\n .get(\r\n `${url}/datos_editar_cotizacion_especial_internacional/${this.codigo_cotizacion}`,\r\n this.config\r\n )\r\n .then((res) => {\r\n \r\n this.direccion = res.data[0][0].direccion;\r\n this.naturaleza = res.data[0][0].naturaleza;\r\n this.nombre = res.data[0][0].nombre;\r\n this.subsector = res.data[0][0].subsector;\r\n this.telefono = res.data[0][0].telefono;\r\n this.correo = res.data[0][0].email;\r\n\r\n //Materia prima\r\n this.materias_primas = res.data[1];\r\n })\r\n .catch((err) => {\r\n console.error(err);\r\n });\r\n },\r\n verCotizacion() {\r\n this.dialog = true;\r\n this.cargarDatosCotizacion();\r\n this.gestionCotizacion();\r\n //Cargar observaciones\r\n this.observacionesSp();\r\n //Cargar productos\r\n this.cargarProductoSp();\r\n this.datosProduccionSp();\r\n },\r\n gestionCotizacion() {\r\n axios\r\n .get(\r\n `${url}/gestion_cotizacion_isp/${this.codigo_cotizacion}`,\r\n this.config\r\n )\r\n .then((res) => {\r\n \r\n this.datos_formulario.tiempo_entrega =\r\n res.data[0][0].tiempo_entrega_dias;\r\n this.datos_formulario.dias_desarrollo_planos =\r\n res.data[0][0].dias_desarrollo_planos;\r\n this.datos_formulario.dias_habiles_fabricacion =\r\n res.data[0][0].dias_habiles_fabricacion;\r\n // this.datos_formulario.valor_flete = res.data[0][0].valor_flete;\r\n //this.datos_formulario.sw_flete = res.data[0][0].sw_flete;\r\n this.datos_formulario.estado = res.data[0][0].id_estado;\r\n this.email = res.data[0][0].email;\r\n this.estados = res.data[1];\r\n this.terminos_negociacion = res.data[2];\r\n })\r\n .catch((err) => {\r\n console.error(err);\r\n });\r\n },\r\n actualizarGestionCotizacion() {\r\n // console.log(\"envio!\");\r\n const usuario = {\r\n id_usuario: this.id_usuario,\r\n };\r\n\r\n const datos = { ...usuario, ...this.datos_formulario };\r\n\r\n this.$refs.form.validate();\r\n\r\n if (this.valid) {\r\n //Boton estado\r\n this.estado_boton_gestion = true;\r\n\r\n\r\n \r\n axios\r\n .put(\r\n `${url}/actualizar_gestion_cotizacion_isp/${this.codigo_cotizacion}`,\r\n datos,\r\n this.config\r\n )\r\n .then((res) => {\r\n console.log(res);\r\n this.datos_formulario.observacion = \"\";\r\n //Cargar observaciones actualizadas\r\n this.observacionesSp();\r\n if(this.datos_formulario.estado === 18){\r\n this.enviarNotificacionMayor5(this.codigo_cotizacion);\r\n }\r\n //Enviar correo\r\n this.enviarCorreo();\r\n\r\n // this.crearNegocioCotizacionEspecial(this.datos_formulario.estado);\r\n\r\n //Boton estado\r\n this.estado_boton_gestion = false;\r\n\r\n // Swal.fire({\r\n // icon: \"success\",\r\n // title: \"GESTIÓN COTIZACIÓN\",\r\n // text: \"Datos Actualizados\",\r\n // });\r\n\r\n this.snackbar = true;\r\n this.text = \"Los datos de la cotización han sido actualizados.\";\r\n\r\n this.$emit(\"click\");\r\n })\r\n .catch((err) => {\r\n console.error(err);\r\n //Boton estado\r\n this.estado_boton_gestion = false;\r\n });\r\n }\r\n \r\n },\r\n observacionesSp() {\r\n axios\r\n .get(`${url}/observaciones_isp/${this.codigo_cotizacion}`, this.config)\r\n .then((res) => {\r\n \r\n this.observaciones = res.data;\r\n })\r\n .catch((err) => {\r\n console.error(err);\r\n });\r\n },\r\n cargarProductoSp() {\r\n axios\r\n .get(`${url}/cargar_producto_isp/${this.codigo_cotizacion}`, this.config)\r\n .then((res) => {\r\n \r\n this.productos_agregados = res.data;\r\n })\r\n .catch((err) => {\r\n console.error(err);\r\n });\r\n },\r\n enviarNotificacionMayor5(cotizacion_id){\r\n axios\r\n .post(\r\n `${url}/notificacion_cotizaciones_grandes`,\r\n {\r\n id_usuario: this.id_usuario,\r\n cotizacion_id: cotizacion_id,\r\n },\r\n this.config\r\n )\r\n .then((res) => {\r\n console.log(res); \r\n })\r\n .catch((err) => {\r\n console.error(err);\r\n this.estado_guardar_cotizacion = false;\r\n });\r\n },\r\n guardarPrecioSpItem(cp_detalle_id, index) {\r\n this.productos_agregados[index].estado = true;\r\n // console.log(cp_detalle_id);\r\n const costo = document.getElementById(`${cp_detalle_id}ct`).value;\r\n const vr_unitario = document.getElementById(`${cp_detalle_id}vr`).value;\r\n\r\n //Produccion\r\n const id_producto = document.getElementById(`${cp_detalle_id}mc`).value;\r\n const c_materia_prima = document.getElementById(\r\n `${cp_detalle_id}cmp`\r\n ).value;\r\n const golpes_x_unidad = document.getElementById(\r\n `${cp_detalle_id}gxu`\r\n ).value;\r\n const tiempo_produccion = document.getElementById(\r\n `${cp_detalle_id}tp`\r\n ).value;\r\n const referencia_cguno = document.getElementById(\r\n `${cp_detalle_id}ccg`\r\n ).value;\r\n\r\n //Costos\r\n const ayf = document.getElementById(`${cp_detalle_id}ayf_f`).value;\r\n const porcentaje_margen = document.getElementById(\r\n `${cp_detalle_id}porcentaje_margen_f`\r\n ).value;\r\n const cantidad_cotizada = document.getElementById(\r\n `${cp_detalle_id}cantidad_cotizada_f`\r\n ).value;\r\n const estimado_h_produccion = document.getElementById(\r\n `${cp_detalle_id}estimado_h_produccion_f`\r\n ).value;\r\n const valor_total_bruto = document.getElementById(\r\n `${cp_detalle_id}valor_total_bruto_f`\r\n ).value;\r\n const costo_externos = document.getElementById(\r\n `${cp_detalle_id}costo_externos_f`\r\n ).value;\r\n const datosUsuarioApp = localStorage.getItem('datos_usuario_app');\r\n const datosUsuario = JSON.parse(datosUsuarioApp);\r\n const id_usuario = datosUsuario.informacion_usuario.id_usuario.trim();\r\n axios\r\n .put(\r\n `${url}/asignar_precio_isp/${cp_detalle_id}`,\r\n {\r\n costo,\r\n vr_unitario,\r\n id_producto,\r\n c_materia_prima,\r\n golpes_x_unidad,\r\n tiempo_produccion,\r\n ayf,\r\n porcentaje_margen,\r\n cantidad_cotizada,\r\n estimado_h_produccion,\r\n valor_total_bruto,\r\n costo_externos,\r\n referencia_cguno,\r\n id_usuario, \r\n },\r\n this.config\r\n )\r\n .then((res) => {\r\n console.log(res);\r\n //Cargar productos actualizados\r\n this.cargarProductoSp();\r\n // Swal.fire({\r\n // icon: \"success\",\r\n // title: \"GESTIÓN PRECIOS\",\r\n // text: \"Precio a producto asignado!\",\r\n // });\r\n\r\n this.snackbar = true;\r\n this.text = \"Precio a producto asignado.\";\r\n this.productos_agregados[index].estado = false;\r\n })\r\n .catch((err) => {\r\n console.error(err);\r\n this.productos_agregados[index].estado = false;\r\n });\r\n },\r\n calcularTotalItem(vr_unitario, cantidad, um, ancho, largo) {\r\n if (vr_unitario != 0) {\r\n if (um.trim() == \"MT2\") {\r\n const mt2 = cantidad * ancho * largo;\r\n const total = mt2 * vr_unitario;\r\n return total;\r\n //return Math.round(total);\r\n } else if (um.trim() == \"MTS\") {\r\n const mts = cantidad * largo;\r\n const total = mts * vr_unitario;\r\n return Math.round(total);\r\n } else {\r\n const total = vr_unitario * cantidad;\r\n return Math.round(total);\r\n }\r\n } else {\r\n return 0;\r\n }\r\n },\r\n incluirEnPdfSp(id, estado) {\r\n axios\r\n .put(\r\n `${url}/incluir_en_pdf_isp/${id}`,\r\n {\r\n incluir_pdf: estado,\r\n },\r\n this.config\r\n )\r\n .then((res) => {\r\n console.log(res);\r\n //Cargar observaciones\r\n this.observacionesSp();\r\n // Swal.fire(\r\n // `PDF!`,\r\n // \"Actualización de visualización de nota\",\r\n // \"success\"\r\n // );\r\n this.snackbar = true;\r\n this.text = \"Actualización de visualización de nota.\";\r\n })\r\n .catch((err) => {\r\n console.error(err);\r\n });\r\n // console.log(id);\r\n // Swal.fire({\r\n // title: \"Nota PDF\",\r\n // text: `¿Está seguro de querer ${frase} la nota seleccionada?`,\r\n // icon: \"warning\",\r\n // showCancelButton: true,\r\n // confirmButtonColor: \"#3085d6\",\r\n // cancelButtonColor: \"#d33\",\r\n // confirmButtonText: `Si, ${frase}`,\r\n // cancelButtonText: \"No, cancelar\",\r\n // }).then((result) => {\r\n // if (result.isConfirmed) {\r\n\r\n // }\r\n // });\r\n },\r\n datosProduccionSp() {\r\n axios\r\n .get(`${url}/datos_produccion`, this.config)\r\n .then((res) => {\r\n \r\n this.datos_produccion = res.data[0];\r\n })\r\n .catch((err) => {\r\n console.error(err);\r\n });\r\n },\r\n enviarCorreo() {\r\n axios\r\n .post(\r\n `${url}/enviar_correo`,\r\n {\r\n to: this.email,\r\n subject: \"Cambio de estado en cotización...\",\r\n text: `La cotización, con el código ${this.codigo_cotizacion.trim()}, ha cambiado su estado.`,\r\n },\r\n this.config\r\n )\r\n .then((res) => {\r\n console.log(res);\r\n })\r\n .catch((err) => {\r\n console.error(err);\r\n });\r\n },\r\n descripcionEstado() {\r\n this.estados.filter((dato) => {\r\n if (this.datos_formulario.estado == dato.id_estado) {\r\n this.descripcion_estado = dato.descripcion;\r\n }\r\n });\r\n },\r\n // crearNegocioCotizacionEspecial(estado) {\r\n // // console.log(estado);\r\n // if (estado == 18) {\r\n // axios\r\n // .post(\r\n // `${url}/crear_negocio_especial_pipedrive`,\r\n // {\r\n // codigo_cotizacion: this.codigo_cotizacion,\r\n // },\r\n // this.config\r\n // )\r\n // .then((res) => {\r\n // console.log(res);\r\n\r\n // // Swal.fire({\r\n // // icon: \"success\",\r\n // // title: \"NEGOCIO COTIZACIÓN\",\r\n // // text: \"Negocio creado en PipeDrive\",\r\n // // });\r\n\r\n // this.snackbar = true;\r\n // this.text = \"Negocio estructurado en el sistema CRM.\";\r\n // })\r\n // .catch((err) => {\r\n // console.error(err);\r\n // });\r\n // }\r\n // },\r\n },\r\n computed: {\r\n ...mapState([\"informacion_usuario\"]),\r\n config: function () {\r\n let config = {\r\n headers: {\r\n token: this.token,\r\n },\r\n };\r\n return config;\r\n },\r\n },\r\n mounted() {\r\n this.id_agencia = this.informacion_usuario.id_agencia;\r\n this.id_usuario = this.informacion_usuario.id_usuario;\r\n this.token = localStorage.getItem(\"token\");\r\n },\r\n};\r\n</script>\r\n<style scoped></style>\r\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!./Editar_cotizacion_especial_internacional.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!./Editar_cotizacion_especial_internacional.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Editar_cotizacion_especial_internacional.vue?vue&type=template&id=1273c835&scoped=true\"\nimport script from \"./Editar_cotizacion_especial_internacional.vue?vue&type=script&lang=js\"\nexport * from \"./Editar_cotizacion_especial_internacional.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 \"1273c835\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('v-icon',{staticClass:\"ml-3 mt-3\",attrs:{\"disabled\":!_vm.isDisabled,\"color\":\"#202020\",\"small\":\"\"},on:{\"click\":_vm.verCotizacion}},[_vm._v(\" mdi-airplane-takeoff \")]),_c('v-dialog',{attrs:{\"persistent\":\"\",\"max-width\":\"900px\"},model:{value:(_vm.dialog),callback:function ($$v) {_vm.dialog=$$v},expression:\"dialog\"}},[_c('v-card',[_c('v-card-title',{attrs:{\"text-center\":\"\"}},[_c('v-flex',{attrs:{\"text-center\":\"\",\"md12\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('span',{staticClass:\"headline\"},[_vm._v(\"Editar Ãtems de la cotización \"+_vm._s(_vm.codigo_cotizacion))])])],1),_c('v-card-text',[_c('v-container',[_c('v-layout',{attrs:{\"row\":\"\",\"wrap\":\"\"}},[_c('v-flex',{attrs:{\"md12\":\"\",\"sm12\":\"\",\"xs12\":\"\"}},[_c('v-card',{staticClass:\"mt-4 pl-3 pr-3\"},[_c('v-layout',{staticClass:\"mr-2\"},[_c('v-flex',{attrs:{\"text-center\":\"\",\"md12\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('h2',{staticClass:\"ma-4 subtitle-1\",staticStyle:{\"color\":\"#202020\"}},[_vm._v(\" GESTIÓN COTIZACIÓN \")])])],1),_c('v-form',{ref:\"form\",on:{\"submit\":function($event){$event.preventDefault();return _vm.actualizarGestionCotizacion.apply(null, arguments)}},model:{value:(_vm.valid),callback:function ($$v) {_vm.valid=$$v},expression:\"valid\"}},[_c('v-layout',{staticClass:\"pl-3 pr-3 mr-1 ml-1\",attrs:{\"row\":\"\",\"wrap\":\"\"}},[_c('v-flex',{attrs:{\"text-center\":\"\",\"md6\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('small',{staticClass:\"caption\"},[_vm._v(\"Valor Flete Internacional (USD):\")]),_c('v-text-field',{staticClass:\"ml-1 mr-1\",attrs:{\"type\":\"number\",\"outlined\":\"\"},model:{value:(_vm.datos_formulario.flete_internacional),callback:function ($$v) {_vm.$set(_vm.datos_formulario, \"flete_internacional\", $$v)},expression:\"datos_formulario.flete_internacional\"}})],1),_c('v-flex',{attrs:{\"text-center\":\"\",\"md6\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('small',{staticClass:\"caption\"},[_vm._v(\"Seguro internacional (USD):\")]),_c('v-text-field',{staticClass:\"ml-1 mr-1\",attrs:{\"type\":\"number\",\"outlined\":\"\",\"rules\":_vm.rules},model:{value:(_vm.datos_formulario.seguro_internacional),callback:function ($$v) {_vm.$set(_vm.datos_formulario, \"seguro_internacional\", $$v)},expression:\"datos_formulario.seguro_internacional\"}})],1)],1),_c('v-layout',{staticClass:\"pl-3 pr-3 mr-1 ml-1\",attrs:{\"row\":\"\",\"wrap\":\"\"}},[_c('v-flex',{attrs:{\"text-center\":\"\",\"md4\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('small',{staticClass:\"caption\"},[_vm._v(\"Términos negociación:\")]),_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-autocomplete',_vm._g(_vm._b({staticClass:\"ml-1 mr-1\",attrs:{\"items\":_vm.terminos_negociacion,\"item-value\":\"id\",\"item-text\":\"tipo\",\"required\":\"\",\"outlined\":\"\",\"rules\":_vm.vacio},model:{value:(_vm.datos_formulario.termino_negociacion),callback:function ($$v) {_vm.$set(_vm.datos_formulario, \"termino_negociacion\", $$v)},expression:\"datos_formulario.termino_negociacion\"}},'v-autocomplete',attrs,false),on))]}}])},[_c('span',[_vm._v(\"Incluido flete internacional\")])])],1),_c('v-flex',{attrs:{\"text-center\":\"\",\"md4\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('small',{staticClass:\"caption\"},[_vm._v(\"Punto de entrega :\")]),_c('v-text-field',{staticClass:\"ml-1 mr-1\",attrs:{\"outlined\":\"\",\"rules\":_vm.vacio},model:{value:(_vm.datos_formulario.punto_entrega),callback:function ($$v) {_vm.$set(_vm.datos_formulario, \"punto_entrega\", $$v)},expression:\"datos_formulario.punto_entrega\"}})],1),_c('v-flex',{attrs:{\"text-center\":\"\",\"md4\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('small',{staticClass:\"caption\"},[_vm._v(\"Valor de los términos negociación (USD):\")]),_c('v-text-field',{staticClass:\"ml-1 mr-1\",attrs:{\"type\":\"number\",\"outlined\":\"\",\"rules\":_vm.rules},model:{value:(_vm.datos_formulario.vlr_termino_negociacion),callback:function ($$v) {_vm.$set(_vm.datos_formulario, \"vlr_termino_negociacion\", $$v)},expression:\"datos_formulario.vlr_termino_negociacion\"}})],1)],1),_c('v-layout',{staticClass:\"pl-3 pr-3 mr-1 ml-1\",attrs:{\"row\":\"\",\"wrap\":\"\"}},[_c('v-flex',{attrs:{\"text-center\":\"\",\"md2\":\"\",\"xs12\":\"\",\"sm12\":\"\"}}),_c('v-flex',{attrs:{\"text-center\":\"\",\"md8\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('v-textarea',{staticClass:\"mt-2 ml-1 mr-1\",attrs:{\"label\":\"Condiciones de pago\",\"rows\":\"4\",\"outlined\":\"\",\"rules\":_vm.vacio,\"required\":\"\",\"prepend-icon\":\"mdi-comment\"},model:{value:(_vm.datos_formulario.condiciones_pago),callback:function ($$v) {_vm.$set(_vm.datos_formulario, \"condiciones_pago\", $$v)},expression:\"datos_formulario.condiciones_pago\"}})],1),_c('v-flex',{attrs:{\"text-center\":\"\",\"md2\":\"\",\"xs12\":\"\",\"sm12\":\"\"}})],1),_vm._l((_vm.items),function(item,i){return [_c('v-layout',{key:i,staticClass:\"pa-3\",attrs:{\"row\":\"\",\"wrap\":\"\"}},[_c('v-flex',{attrs:{\"md9\":\"\",\"sm12\":\"\",\"xs12\":\"\"}},[_c('p',{staticClass:\"pt-3 ml-1 mr-1 overline\"},[_vm._v(\" \"+_vm._s(item.tipo_producto)+\" \"+_vm._s(item.tipo_material)+\" \"),(item.tipo_rejilla != null)?_c('small',{staticClass:\"caption\"},[_vm._v(\" tipo \"+_vm._s(item.tipo_rejilla)+\", \")]):_vm._e(),(item.dimension_hueco.trim() != '')?_c('small',{staticClass:\"caption\"},[_vm._v(\" dimension hueco \"+_vm._s(item.dimension_hueco)+\", \")]):_vm._e(),(item.hueco != null)?_c('small',{staticClass:\"caption\"},[_vm._v(\" Hueco de \"+_vm._s(item.hueco)+\", \")]):_vm._e(),(item.diametro != 0)?_c('small',{staticClass:\"caption\"},[_vm._v(\" pulgadas \"+_vm._s(item.diametro)+\", \")]):_vm._e(),(item.calibre != null)?_c('small',{staticClass:\"caption\"},[_vm._v(\" Calibre \"+_vm._s(item.calibre)+\", \")]):_vm._e(),(item.vena != '0')?_c('small',{staticClass:\"caption\"},[_vm._v(\" Vena \"+_vm._s(item.vena)+\", \")]):_vm._e(),(item.doblez != '0')?_c('small',{staticClass:\"caption\"},[_vm._v(\" Doblez \"+_vm._s(item.doblez)+\", \")]):_vm._e(),(item.doblez_dos != '0')?_c('small',{staticClass:\"caption\"},[_vm._v(\" Doblez(2) \"+_vm._s(item.doblez_dos)+\", \")]):_vm._e(),(item.margen != '0')?_c('small',{staticClass:\"caption\"},[_vm._v(\" Margen \"+_vm._s(item.margen)+\", \")]):_vm._e(),(item.distancia_entre_centros != 0)?_c('small',{staticClass:\"caption\"},[_vm._v(\" Distancia entre centros \"+_vm._s(item.distancia_entre_centros)+\", \")]):_vm._e(),(item.calibre_platina != null)?_c('small',{staticClass:\"caption\"},[_vm._v(\" calibre platina \"+_vm._s(item.calibre_platina)+\", \")]):_vm._e(),(item.altura_platina != null)?_c('small',{staticClass:\"caption\"},[_vm._v(\" altura platina \"+_vm._s(item.altura_platina)+\", \")]):_vm._e(),(item.amarre != null)?_c('small',{staticClass:\"caption\"},[_vm._v(\" amarre \"+_vm._s(item.amarre)+\", \")]):_vm._e(),_c('small',{staticClass:\"caption\"},[_vm._v(\" cantidad \"+_vm._s(item.cantidad)+\" \")]),_c('small',{staticClass:\"caption\"},[_vm._v(\" \"+_vm._s(item.um)+\" \")]),(item.alto != 0)?_c('small',{staticClass:\"caption\"},[_vm._v(\" alto \"+_vm._s(item.alto)+\", \")]):_vm._e(),(item.ancho != 0)?_c('small',{staticClass:\"caption\"},[_vm._v(\" ancho \"+_vm._s(item.ancho)+\", \")]):_vm._e(),(item.largo != 0)?_c('small',{staticClass:\"caption\"},[_vm._v(\" largo \"+_vm._s(item.largo)+\" \")]):_vm._e(),(item.acabado != 0)?_c('small',{staticClass:\"caption\"},[_vm._v(\" acabado \"+_vm._s(item.acabado)+\" \")]):_vm._e()])]),_c('v-flex',{attrs:{\"md3\":\"\",\"sm12\":\"\",\"xs12\":\"\"}},[_c('v-text-field',{staticClass:\"ml-1 mr-1\",attrs:{\"id\":item.codigo,\"type\":\"number\",\"counter\":\"\",\"hint\":\"máximo 10 caracteres\",\"label\":\"Subpartida arancelaria\",\"rules\":_vm.rules},model:{value:(item.subpartida_arancelaria),callback:function ($$v) {_vm.$set(item, \"subpartida_arancelaria\", $$v)},expression:\"item.subpartida_arancelaria\"}})],1)],1)]}),_c('v-layout',{staticClass:\"mr-2 ma-3\"},[_c('v-flex',{attrs:{\"text-center\":\"\",\"md12\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('v-btn',{staticClass:\"mt-2 mb-2\",attrs:{\"type\":\"submit\",\"tile\":\"\",\"color\":\"#FFB300\",\"loading\":_vm.estado_boton_gestion}},[_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(\" mdi-pencil \")]),_vm._v(\" Guardar \")],1)],1)],1)],2)],1)],1)],1)],1)],1),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{attrs:{\"color\":\"blue darken-1\",\"text\":\"\"},on:{\"click\":function($event){_vm.dialog = false}}},[_vm._v(\" Cerrar \")])],1)],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div>\r\n <v-icon :disabled=\"!isDisabled\" color=\"#202020\" class=\"ml-3 mt-3\" @click=\"verCotizacion\" small>\r\n mdi-airplane-takeoff\r\n </v-icon>\r\n <v-dialog v-model=\"dialog\" persistent max-width=\"900px\">\r\n <v-card>\r\n <v-card-title text-center>\r\n <v-flex text-center md12 xs12 sm12>\r\n <span class=\"headline\"\r\n >Editar Ãtems de la cotización {{ codigo_cotizacion }}</span\r\n >\r\n </v-flex>\r\n \r\n </v-card-title>\r\n <v-card-text>\r\n <v-container>\r\n <v-layout row wrap>\r\n <v-flex md12 sm12 xs12>\r\n <v-card\r\n class=\"mt-4 pl-3 pr-3\"\r\n >\r\n <v-layout class=\"mr-2\">\r\n <v-flex text-center md12 xs12 sm12>\r\n <h2\r\n class=\"ma-4 subtitle-1 \"\r\n style=\"color: #202020\"\r\n >\r\n GESTIÓN COTIZACIÓN\r\n </h2>\r\n </v-flex>\r\n </v-layout>\r\n <v-form \r\n ref=\"form\"\r\n v-model=\"valid\"\r\n @submit.prevent=\"actualizarGestionCotizacion\">\r\n <v-layout row wrap class=\"pl-3 pr-3 mr-1 ml-1\">\r\n \r\n \r\n <v-flex text-center md6 xs12 sm12>\r\n <small class=\"caption\">Valor Flete Internacional (USD):</small>\r\n <v-text-field\r\n type=\"number\"\r\n outlined\r\n class=\"ml-1 mr-1\"\r\n v-model=\"datos_formulario.flete_internacional\"\r\n ></v-text-field>\r\n </v-flex>\r\n <v-flex text-center md6 xs12 sm12>\r\n <small class=\"caption\">Seguro internacional (USD):</small>\r\n <v-text-field\r\n type=\"number\"\r\n outlined\r\n class=\"ml-1 mr-1\"\r\n v-model=\"datos_formulario.seguro_internacional\"\r\n :rules=\"rules\"\r\n ></v-text-field>\r\n </v-flex>\r\n \r\n </v-layout>\r\n <v-layout row wrap class=\"pl-3 pr-3 mr-1 ml-1\">\r\n \r\n <v-flex text-center md4 xs12 sm12>\r\n <small class=\"caption\">Términos negociación:</small>\r\n <v-tooltip bottom>\r\n <template v-slot:activator=\"{ on, attrs }\">\r\n <v-autocomplete\r\n v-bind=\"attrs\"\r\n v-on=\"on\"\r\n :items=\"terminos_negociacion\"\r\n item-value=\"id\"\r\n item-text=\"tipo\"\r\n class=\"ml-1 mr-1\"\r\n required\r\n outlined\r\n :rules=\"vacio\"\r\n v-model=\"datos_formulario.termino_negociacion\"\r\n ></v-autocomplete>\r\n </template>\r\n <span>Incluido flete internacional</span>\r\n </v-tooltip>\r\n </v-flex>\r\n <v-flex text-center md4 xs12 sm12>\r\n <small class=\"caption\">Punto de entrega :</small>\r\n <v-text-field\r\n outlined\r\n class=\"ml-1 mr-1\"\r\n v-model=\"datos_formulario.punto_entrega\"\r\n :rules=\"vacio\"\r\n ></v-text-field>\r\n </v-flex>\r\n <v-flex text-center md4 xs12 sm12>\r\n <small class=\"caption\">Valor de los términos negociación (USD):</small>\r\n <v-text-field\r\n type=\"number\"\r\n outlined\r\n class=\"ml-1 mr-1\"\r\n v-model=\"datos_formulario.vlr_termino_negociacion\"\r\n :rules=\"rules\"\r\n ></v-text-field>\r\n </v-flex>\r\n </v-layout>\r\n <v-layout row wrap class=\"pl-3 pr-3 mr-1 ml-1\">\r\n <v-flex text-center md2 xs12 sm12></v-flex>\r\n <v-flex text-center md8 xs12 sm12>\r\n <v-textarea\r\n v-model=\"datos_formulario.condiciones_pago\"\r\n class=\"mt-2 ml-1 mr-1\"\r\n label=\"Condiciones de pago\"\r\n rows=\"4\"\r\n outlined\r\n :rules=\"vacio\"\r\n required\r\n prepend-icon=\"mdi-comment\"\r\n ></v-textarea>\r\n </v-flex>\r\n <v-flex text-center md2 xs12 sm12></v-flex>\r\n </v-layout>\r\n \r\n <template v-for=\"(item, i) in items\" >\r\n <v-layout\r\n class=\"pa-3\"\r\n :key=\"i\"\r\n row\r\n wrap\r\n >\r\n <v-flex md9 sm12 xs12>\r\n <p class=\"pt-3 ml-1 mr-1 overline\">\r\n {{ item.tipo_producto }} {{ item.tipo_material }}\r\n <small\r\n class=\"caption\"\r\n v-if=\"item.tipo_rejilla != null\"\r\n >\r\n tipo {{ item.tipo_rejilla }},\r\n </small>\r\n <small\r\n class=\"caption\"\r\n v-if=\"item.dimension_hueco.trim() != ''\"\r\n >\r\n dimension hueco {{ item.dimension_hueco }},\r\n </small>\r\n <small class=\"caption\" v-if=\"item.hueco != null\">\r\n Hueco de {{ item.hueco }},\r\n </small>\r\n <small class=\"caption\" v-if=\"item.diametro != 0\">\r\n pulgadas {{ item.diametro }},\r\n </small>\r\n <small class=\"caption\" v-if=\"item.calibre != null\">\r\n Calibre {{ item.calibre }},\r\n </small>\r\n <small class=\"caption\" v-if=\"item.vena != '0'\">\r\n Vena {{ item.vena }},\r\n </small>\r\n <small class=\"caption\" v-if=\"item.doblez != '0'\">\r\n Doblez {{ item.doblez }},\r\n </small>\r\n <small\r\n class=\"caption\"\r\n v-if=\"item.doblez_dos != '0'\"\r\n >\r\n Doblez(2) {{ item.doblez_dos }},\r\n </small>\r\n <small class=\"caption\" v-if=\"item.margen != '0'\">\r\n Margen {{ item.margen }},\r\n </small>\r\n <small\r\n class=\"caption\"\r\n v-if=\"item.distancia_entre_centros != 0\"\r\n >\r\n Distancia entre centros\r\n {{ item.distancia_entre_centros }},\r\n </small>\r\n <small\r\n class=\"caption\"\r\n v-if=\"item.calibre_platina != null\"\r\n >\r\n calibre platina {{ item.calibre_platina }},\r\n </small>\r\n <small\r\n class=\"caption\"\r\n v-if=\"item.altura_platina != null\"\r\n >\r\n altura platina {{ item.altura_platina }},\r\n </small>\r\n <small class=\"caption\" v-if=\"item.amarre != null\">\r\n amarre {{ item.amarre }},\r\n </small>\r\n <small class=\"caption\">\r\n cantidad {{ item.cantidad }}\r\n </small>\r\n <small class=\"caption\">\r\n {{ item.um }}\r\n </small>\r\n <small class=\"caption\" v-if=\"item.alto != 0\">\r\n alto {{ item.alto }},\r\n </small>\r\n <small class=\"caption\" v-if=\"item.ancho != 0\">\r\n ancho {{ item.ancho }},\r\n </small>\r\n <small class=\"caption\" v-if=\"item.largo != 0\">\r\n largo {{ item.largo }}\r\n </small>\r\n <small class=\"caption\" v-if=\"item.acabado != 0\">\r\n acabado {{ item.acabado }}\r\n </small>\r\n </p>\r\n </v-flex>\r\n <v-flex md3 sm12 xs12>\r\n <v-text-field\r\n v-model=\"item.subpartida_arancelaria\"\r\n :id=\"item.codigo\"\r\n type=\"number\"\r\n counter\r\n hint=\"máximo 10 caracteres\"\r\n label=\"Subpartida arancelaria\"\r\n class=\"ml-1 mr-1\"\r\n :rules=\"rules\"\r\n ></v-text-field>\r\n </v-flex>\r\n </v-layout>\r\n </template>\r\n \r\n <v-layout class=\"mr-2 ma-3\">\r\n <v-flex text-center md12 xs12 sm12>\r\n <v-btn\r\n class=\"mt-2 mb-2\"\r\n type=\"submit\"\r\n tile\r\n color=\"#FFB300\"\r\n :loading=\"estado_boton_gestion\"\r\n >\r\n <v-icon left> mdi-pencil </v-icon>\r\n Guardar\r\n </v-btn>\r\n </v-flex>\r\n </v-layout>\r\n </v-form\r\n \r\n >\r\n \r\n </v-card>\r\n </v-flex>\r\n </v-layout>\r\n </v-container>\r\n </v-card-text>\r\n <v-card-actions>\r\n <v-spacer></v-spacer>\r\n <v-btn color=\"blue darken-1\" text @click=\"dialog = false\">\r\n Cerrar\r\n </v-btn>\r\n </v-card-actions>\r\n </v-card>\r\n </v-dialog>\r\n </div>\r\n</template>\r\n<script>\r\nimport axios from \"axios\";\r\nimport url from \"../Api\";\r\nimport { mapState } from \"vuex\";\r\nimport Swal from \"sweetalert2\";\r\nexport default {\r\n name: \"editar_item_st\",\r\n props: {\r\n codigo_cotizacion: {\r\n type: String\r\n },\r\n isDisabled: {\r\n type: Boolean,\r\n required: true,\r\n },\r\n },\r\n data() {\r\n return {\r\n dialog: false,\r\n token: \"\",\r\n //datos del campo terminos de negociacion \r\n terminos_negociacion:[],\r\n rules: [\r\n (v) => v !== null && v !== undefined || \"Este campo es requerido\",\r\n (v) => !!v || \"Digitar dato para continuar!\",\r\n (v) => v >= 0 && v <= 9999999999 || \"El valor debe tener máximo 10 dÃgitos\",\r\n ],\r\n vacio: [(v) => !!v || \"Digitar dato para continuar!\"],\r\n datos_formulario: {\r\n condiciones_pago:\"\",\r\n flete_internacional:0,\r\n seguro_internacional:0,\r\n termino_negociacion:0,\r\n vlr_termino_negociacion:0,\r\n punto_entrega:\"\",\r\n },\r\n items:[],\r\n //Formulario\r\n valid: false,\r\n //botones\r\n estado_boton_gestion: false,\r\n };\r\n },\r\n methods: {\r\n verCotizacion() {\r\n this.resetearValoresIniciales();\r\n this.dialog = true;\r\n this.gestionCotizacion();\r\n //Cargar productos\r\n this.cargarProductosSp();\r\n },\r\n actualizarSubpartidaArancelaria() {\r\n\r\n const datos = [ ...this.items ];\r\n \r\n axios\r\n .put(\r\n `${url}/asignar_subpartida_arancelaria/${this.codigo_cotizacion}`,\r\n datos,\r\n this.config\r\n )\r\n .then((res) => {\r\n console.log(res);\r\n Swal.fire(\r\n `Actualización!`,\r\n \"El Ãtem se actualizó en el sistema.\",\r\n \"success\"\r\n );\r\n })\r\n .catch((err) => {\r\n console.error(err);\r\n Swal.fire({\r\n icon: \"error\",\r\n title: `Fallo al actualizar partida arancelaria`,\r\n text: `ComunÃquese con el su lÃder de agencia.`,\r\n });\r\n });\r\n },\r\n actualizarGestionCotizacion() {\r\n // console.log(\"envio!\");\r\n const usuario = {\r\n id_usuario: this.id_usuario,\r\n };\r\n\r\n const datos = { ...usuario, ...this.datos_formulario };\r\n\r\n this.$refs.form.validate();\r\n\r\n if (this.valid) {\r\n //Boton estado\r\n this.estado_boton_gestion = true;\r\n this.actualizarSubpartidaArancelaria();\r\n axios\r\n .put(\r\n `${url}/actualizar_gestion_cotizacion_ventas_isp/${this.codigo_cotizacion}`,\r\n datos,\r\n this.config\r\n )\r\n .then((res) => {\r\n console.log(res);\r\n this.datos_formulario.observacion = \"\";\r\n this.dialog = false;\r\n Swal.fire(\r\n `Actualización!`,\r\n \"El Ãtem se actualizó en el sistema.\",\r\n \"success\"\r\n );\r\n this.estado_boton_gestion = false;\r\n })\r\n .catch((err) => {\r\n console.error(err);\r\n //Boton estado\r\n Swal.fire({\r\n icon: \"error\",\r\n title: `Fallo al actualizar los datos`,\r\n text: `Hubo un error en la actualización de los datos, comunÃquese con el su lÃder de agencia.`,\r\n });\r\n this.estado_boton_gestion = false;\r\n });\r\n }\r\n \r\n },\r\n resetearValoresIniciales() {\r\n \r\n\r\n this.datos_formulario = {\r\n condiciones_pago:\"\",\r\n flete_internacional:0,\r\n seguro_internacional:0,\r\n termino_negociacion:0,\r\n vlr_termino_negociacion:0,\r\n punto_entrega:\"\",\r\n };\r\n\r\n },\r\n cargarProductosSp() {\r\n axios\r\n .get(`${url}/cargar_producto_isp/${this.codigo_cotizacion}`, this.config)\r\n .then((res) => {\r\n this.items = res.data;\r\n // console.log(items);\r\n })\r\n .catch((err) => {\r\n console.error(err);\r\n });\r\n },\r\n DatosCotizacion() {\r\n //Area donde se cargar todos los datos de la cotizacion\r\n this.dimensionCst();\r\n this.dialog = true;\r\n },\r\n gestionCotizacion() {\r\n axios\r\n .get(\r\n `${url}/gestion_cotizacion_isp/${this.codigo_cotizacion}`,\r\n this.config\r\n )\r\n .then((res) => {\r\n // console.log(res);\r\n this.datos_formulario.condiciones_pago = res.data[0][0].condiciones_pago;\r\n this.datos_formulario.seguro_internacional = res.data[0][0].seguro_internacional;\r\n this.datos_formulario.flete_internacional = res.data[0][0].flete_internacional;\r\n this.datos_formulario.termino_negociacion = res.data[0][0].terminos_negociacion;\r\n this.datos_formulario.vlr_termino_negociacion = res.data[0][0].vlr_termino_negociacion;\r\n this.datos_formulario.punto_entrega = res.data[0][0].punto_entrega;\r\n //Terminos de negociacion\r\n this.terminos_negociacion = res.data[2];\r\n })\r\n .catch((err) => {\r\n console.error(err);\r\n });\r\n },\r\n actualizarItemSt(codigo_item) {\r\n const cantidad = document.getElementById(`${codigo_item}ca`).value;\r\n const descuento = document.getElementById(`${codigo_item}de`).value;\r\n axios\r\n .put(\r\n `${url}/actualizar_item_st`,\r\n {\r\n codigo: codigo_item,\r\n cantidad,\r\n descuento\r\n },\r\n this.config\r\n )\r\n .then(res => {\r\n console.log(res);\r\n this.dimensionCst();\r\n Swal.fire(\r\n `Actualización!`,\r\n \"El Ãtem se actualizó en el sistema con éxito.\",\r\n \"success\"\r\n );\r\n })\r\n .catch(err => {\r\n console.error(err);\r\n });\r\n },\r\n },\r\n computed: {\r\n ...mapState([\"informacion_usuario\"]),\r\n config: function() {\r\n let config = {\r\n headers: {\r\n token: this.token\r\n }\r\n };\r\n return config;\r\n }\r\n },\r\n mounted() {\r\n this.token = localStorage.getItem(\"token\");\r\n }\r\n};\r\n</script>\r\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!./Editar_valores_isp.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!./Editar_valores_isp.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Editar_valores_isp.vue?vue&type=template&id=4ad2a3e2\"\nimport script from \"./Editar_valores_isp.vue?vue&type=script&lang=js\"\nexport * from \"./Editar_valores_isp.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","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('v-icon',{staticClass:\"mt-3\",attrs:{\"small\":\"\",\"color\":\"#202020\"},on:{\"click\":_vm.verPdf}},[_vm._v(\" visibility \")]),_c('div',{staticClass:\"ajuste_pantalla\"},[_c('v-dialog',{attrs:{\"fullscreen\":\"\",\"hide-overlay\":\"\",\"transition\":\"dialog-bottom-transition\",\"scrollable\":\"\",\"eager\":\"\",\"persistent\":\"\"},model:{value:(_vm.dialog),callback:function ($$v) {_vm.dialog=$$v},expression:\"dialog\"}},[_c('v-card',[_c('v-card-text',[_c('v-layout',{staticClass:\"mr-1 ml-1\",attrs:{\"row\":\"\",\"wrap\":\"\"}},[_c('v-flex',{attrs:{\"md12\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('v-toolbar',{staticClass:\"ma-4\",attrs:{\"dark\":\"\",\"color\":\"#202020\",\"id\":\"parte1\"}},[_c('v-btn',{attrs:{\"icon\":\"\",\"dark\":\"\"},on:{\"click\":_vm.modalCerrar}},[_c('v-icon',[_vm._v(\"mdi-close\")])],1)],1)],1)],1),_c('v-layout',{staticClass:\"mr-1 ml-1\",attrs:{\"row\":\"\",\"wrap\":\"\"}},[_c('v-flex',{attrs:{\"md12\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('v-layout',{attrs:{\"row\":\"\",\"wrap\":\"\"}},[_c('v-flex',{attrs:{\"md2\":\"\",\"xs12\":\"\",\"sm12\":\"\"}}),_c('v-flex',{attrs:{\"md8\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('div',{attrs:{\"id\":\"html_pdf\"}},[_c('v-layout',{staticClass:\"mt-2 mb-2\"},[_c('v-flex',{attrs:{\"text-center\":\"\",\"md6\":\"\",\"xs6\":\"\",\"sm6\":\"\"}},[_c('v-card',{attrs:{\"color\":\"#D5A116\",\"height\":\"137\",\"tile\":\"\"}},[_c('h2',{staticClass:\"h4 mt-2 pt-12 mb-2 white--text\"},[_vm._v(\" PROPUESTA DE \"),_c('br'),_vm._v(\" COTIZACIÓN INTERNACIONAL \")])])],1),_c('v-flex',{attrs:{\"md6\":\"\",\"xs6\":\"\",\"sm6\":\"\"}},[_c('v-card',{attrs:{\"color\":\"#012F4F\",\"height\":\"137\",\"tile\":\"\"}},[_c('h2',{staticClass:\"body-2 mt-2 mb-2 ml-3 white--text\"},[_vm._v(\" Número #:\"),_c('small',{staticClass:\"body-1 pl-4 white--text\"},[_vm._v(_vm._s(_vm.codigo_cotizacion))])]),_c('h2',{staticClass:\"body-2 mt-2 mb-2 ml-3 white--text\"},[_vm._v(\" Fecha:\"),_c('small',{staticClass:\"caption pl-4 white--text\"},[_vm._v(_vm._s(_vm.fecha_hora_db))])]),_c('h2',{staticClass:\"body-2 mt-2 mb-2 ml-3 white--text\"},[_vm._v(\" Fecha Actualización:\"),_c('small',{staticClass:\"caption pl-4 white--text\"},[_vm._v(_vm._s(_vm.fecha_actualizacion))])]),_c('h2',{staticClass:\"body-2 mb-2 ml-3 white--text\"},[_vm._v(\" Nombre Vendedor:\"),_c('small',{staticClass:\"caption pl-4 white--text\"},[_vm._v(_vm._s(_vm.vendedor))])])])],1)],1),_c('v-layout',{staticClass:\"mt-2 mb-2\"},[_c('v-flex',{attrs:{\"md6\":\"\",\"xs6\":\"\",\"sm6\":\"\"}},[_c('v-layout',[_c('v-flex',{attrs:{\"md3\":\"\",\"xs3\":\"\",\"sm3\":\"\"}}),_c('v-flex',{attrs:{\"md6\":\"\",\"xs6\":\"\",\"sm6\":\"\"}},[_c('v-img',{staticClass:\"ml-4 mt-1\",attrs:{\"src\":require(\"../assets/logo negro_Mesa de trabajo 1.png\"),\"max-height\":\"200\",\"max-width\":\"300\"}})],1),_c('v-flex',{attrs:{\"md3\":\"\",\"xs3\":\"\",\"sm3\":\"\"}})],1),_c('v-layout',[_c('v-flex',{attrs:{\"text-center\":\"\",\"md12\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('h2',{staticClass:\"caption mb-n4\"},[_vm._v(\" www.icomallas.com | Cel: \"+_vm._s(_vm.telefono_vendedor)+\" | Tel: (+57) (2) \"+_vm._s(_vm.telefono_agencia)+\" \")]),_c('h2',{staticClass:\"body-2 mb-n4 ml-3\"},[_vm._v(\" Agencia:\"),_c('small',{staticClass:\"caption pl-4\"},[_vm._v(_vm._s(_vm.agencia))]),_vm._v(\" | \"),_c('small',{staticClass:\"caption pl-1\"},[_vm._v(_vm._s(_vm.direccion_agencia))])]),_c('h2',{staticClass:\"caption\"},[_vm._v(\"Nit. 805,007,404-4\")])])],1)],1),_c('v-flex',{attrs:{\"md1\":\"\",\"xs1\":\"\",\"sm1\":\"\"}}),_c('v-flex',{staticClass:\"mt-5\",attrs:{\"md5\":\"\",\"xs5\":\"\",\"sm5\":\"\"}},[_c('h2',{staticClass:\"body-2\"},[_vm._v(\" Nit: \"),_c('small',{staticClass:\"body-2 pl-2\"},[_vm._v(\" \"+_vm._s(_vm.nit)+\" \")])]),_c('h2',{staticClass:\"body-2\"},[_vm._v(\" Cliente: \"),_c('small',{staticClass:\"body-2 pl-2\"},[_vm._v(\" \"+_vm._s(_vm.cliente)+\" \")])]),_c('h2',{staticClass:\"body-2\"},[_vm._v(\" \"+_vm._s(_vm.direccion)+\", \"+_vm._s(_vm.ciudad)+\", \"+_vm._s(_vm.departamento)+\" \")]),_c('p',{staticClass:\"subtitle-2\"},[_vm._v(\" Tel: \"),_c('small',{staticClass:\"caption\"},[_vm._v(_vm._s(_vm.telefono))]),_vm._v(\" | Correo: \"),_c('small',{staticClass:\"caption\"},[_vm._v(_vm._s(_vm.email))]),_vm._v(\" | Contacto: \"),_c('small',{staticClass:\"caption\"},[_vm._v(_vm._s(_vm.contacto))])])])],1),_c('v-layout',[_c('v-flex',{attrs:{\"md12\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('v-simple-table',{scopedSlots:_vm._u([{key:\"default\",fn:function(){return [_c('thead',{staticStyle:{\"background-color\":\"#012f4f\"}},[_c('tr',[_c('th',{staticClass:\"text-center\",staticStyle:{\"color\":\"#fff\"}},[_vm._v(\" Referencia \")]),_c('th',{staticClass:\"text-center\",staticStyle:{\"color\":\"#fff\"}},[_vm._v(\" Descripción \")]),_c('th',{staticClass:\"text-center\",staticStyle:{\"color\":\"#fff\"}},[_vm._v(\" Cantidad \")]),_c('th',{staticClass:\"text-center\",staticStyle:{\"color\":\"#fff\"}},[_vm._v(\" UM \")]),_c('th',{staticClass:\"text-center\",staticStyle:{\"color\":\"#fff\"}},[_vm._v(\" Precio \")]),_c('th',{staticClass:\"text-center\",staticStyle:{\"color\":\"#fff\"}},[_vm._v(\" Total \")])])]),_c('tbody',_vm._l((_vm.productos_agregados),function(dato){return _c('tr',{key:dato.item},[(dato.referencia_cguno != 0)?_c('td',{staticClass:\"text-center pb-4\"},[_vm._v(\" \"+_vm._s(dato.referencia_cguno)+\" \")]):_c('td',{staticClass:\"text-center\"}),_c('td',{staticClass:\"text-center\"},[_c('p',{staticClass:\"pt-8 ml-1 mr-1 overline\"},[_vm._v(\" \"+_vm._s(dato.tipo_producto)+\" \"+_vm._s(dato.tipo_material)+\" \"),(dato.tipo_rejilla != null)?_c('small',{staticClass:\"caption\"},[_vm._v(\" tipo \"+_vm._s(dato.tipo_rejilla)+\", \")]):_vm._e(),(\n dato.dimension_hueco !=\n ' '\n )?_c('small',{staticClass:\"caption\"},[_vm._v(\" dimension hueco \"+_vm._s(dato.dimension_hueco)+\", \")]):_vm._e(),(dato.hueco != null)?_c('small',{staticClass:\"caption\"},[_vm._v(\" Hueco de \"+_vm._s(dato.hueco)+\", \")]):_vm._e(),(dato.diametro != 0)?_c('small',{staticClass:\"caption\"},[_vm._v(\" pulgadas \"+_vm._s(dato.diametro)+\", \")]):_vm._e(),(dato.calibre != null)?_c('small',{staticClass:\"caption\"},[_vm._v(\" Calibre \"+_vm._s(dato.calibre)+\", \")]):_vm._e(),(dato.vena != '0')?_c('small',{staticClass:\"caption\"},[_vm._v(\" Vena \"+_vm._s(dato.vena)+\", \")]):_vm._e(),(dato.margen != '0')?_c('small',{staticClass:\"caption\"},[_vm._v(\" Margen \"+_vm._s(dato.margen)+\", \")]):_vm._e(),(dato.calibre_platina != null)?_c('small',{staticClass:\"caption\"},[_vm._v(\" calibre platina \"+_vm._s(dato.calibre_platina)+\", \")]):_vm._e(),(dato.altura_platina != null)?_c('small',{staticClass:\"caption\"},[_vm._v(\" altura platina \"+_vm._s(dato.altura_platina)+\", \")]):_vm._e(),(dato.amarre != null)?_c('small',{staticClass:\"caption\"},[_vm._v(\" amarre \"+_vm._s(dato.amarre)+\", \")]):_vm._e(),_c('small',{staticClass:\"caption\"},[_vm._v(\" cantidad \"+_vm._s(dato.cantidad)+\" \")]),(dato.alto != 0)?_c('small',{staticClass:\"caption\"},[_vm._v(\" alto \"+_vm._s(dato.alto)+\", \")]):_vm._e(),(dato.ancho != 0)?_c('small',{staticClass:\"caption\"},[_vm._v(\" ancho \"+_vm._s(dato.ancho)+\", \")]):_vm._e(),(dato.largo != 0)?_c('small',{staticClass:\"caption\"},[_vm._v(\" largo \"+_vm._s(dato.largo)+\" \")]):_vm._e(),(dato.acabado != 0)?_c('small',{staticClass:\"caption\"},[_vm._v(\" acabado \"+_vm._s(dato.acabado)+\" \")]):_vm._e()])]),_c('td',{staticClass:\"text-center\"},[(dato.um.trim() == 'MT2')?_c('div',[_vm._v(\" \"+_vm._s(_vm.cantidadMt2( dato.cantidad, dato.ancho, dato.largo ))+\" \")]):(dato.um.trim() == 'MTS')?_c('div',[_vm._v(\" \"+_vm._s(_vm.cantidadMts(dato.cantidad, dato.largo))+\" \")]):_c('div',[_vm._v(\" \"+_vm._s(dato.cantidad)+\" \")])]),_c('td',{staticClass:\"text-center\"},[_vm._v(\" \"+_vm._s(dato.um)+\" \")]),_c('td',{staticClass:\"text-center\"},[_vm._v(\" \"+_vm._s(`USD ` + new Intl.NumberFormat(\"en-en\").format( `${dato.vr_unitario}` ))+\" \")]),_c('td',{staticClass:\"text-center\"},[(dato.um.trim() == 'MT2')?_c('div',[_vm._v(\" \"+_vm._s(`USD ` + new Intl.NumberFormat(\"en-en\").format( `${_vm.calcularTotalItem( dato.cantidad * dato.ancho * dato.largo, dato.vr_unitario )}` ))+\" \")]):(dato.um.trim() == 'MTS')?_c('div',[_vm._v(\" \"+_vm._s(`USD ` + new Intl.NumberFormat(\"en-en\").format( `${_vm.calcularTotalItem( dato.cantidad * dato.largo, dato.vr_unitario )}` ))+\" \")]):_c('div',[_vm._v(\" \"+_vm._s(`USD ` + new Intl.NumberFormat(\"en-en\").format( `${_vm.calcularTotalItem( dato.cantidad, dato.vr_unitario )}` ))+\" \")])])])}),0)]},proxy:true}])})],1)],1),_c('v-layout',{staticClass:\"mt-6 mb-6 pl-3 pr-3\"},[_c('v-flex',{attrs:{\"md6\":\"\",\"xs6\":\"\",\"sm6\":\"\"}}),_c('v-flex',{attrs:{\"md1\":\"\",\"xs1\":\"\",\"sm1\":\"\"}}),_c('v-flex',{attrs:{\"text-center\":\"\",\"md5\":\"\",\"xs5\":\"\",\"sm5\":\"\"}},[_c('v-card',{staticClass:\"text-left pa-2\",attrs:{\"elevation\":\"2\",\"shaped\":\"\",\"color\":\"#012F4F\"}},[_c('v-row',{staticClass:\"ma-0 pa-0\"},[_c('v-col',{staticClass:\"ma-0 pa-0\"},[_c('h2',{staticClass:\"body-2 pt-2 pl-8 mt-3 mb-3 white--text\"},[_vm._v(\" SubTotal: \")])]),_c('v-col',{staticClass:\"ma-0 pa-0\"},[_c('h2',{staticClass:\"body-2 pt-2 pl-8 mt-3 mb-3 white--text\"},[_vm._v(\" \"+_vm._s(`USD ` + new Intl.NumberFormat(\"en-en\").format( `${_vm.valorTotalItems}` ))+\" \")])])],1),(_vm.seguro_internacional > 0)?_c('v-row',{staticClass:\"ma-0 pa-0 d-flex align-center\"},[_c('v-col',{staticClass:\"ma-0 pa-0\"},[_c('h2',{staticClass:\"body-2 pt-2 pl-8 white--text\"},[_vm._v(\" Seguro Internacional: \")])]),_c('v-col',{staticClass:\"ma-0 pa-0\"},[_c('h2',{staticClass:\"body-2 pt-2 pl-8 white--text\"},[_vm._v(\" \"+_vm._s(`USD ` + new Intl.NumberFormat(\"en-en\").format( `${_vm.seguro_internacional}` ))+\" \")])])],1):_vm._e(),(_vm.flete > 0)?_c('v-row',{staticClass:\"ma-0 pa-0 d-flex align-center\"},[_c('v-col',{staticClass:\"ma-0 pa-0\"},[_c('h2',{staticClass:\"body-2 pt-2 pl-8 white--text\"},[_vm._v(\" Flete Internacional: \")])]),_c('v-col',{staticClass:\"ma-0 pa-0\"},[_c('h2',{staticClass:\"body-2 pt-2 pl-8 white--text\"},[_vm._v(\" \"+_vm._s(`USD ` + new Intl.NumberFormat(\"en-en\").format( `${_vm.flete}` ))+\" \")])])],1):_vm._e(),(_vm.vlr_termino_negociacion > 0)?_c('v-row',{staticClass:\"ma-0 pa-0 d-flex align-center\"},[_c('v-col',{staticClass:\"ma-0 pa-0\"},[_c('h2',{staticClass:\"body-2 pt-2 pl-8 mt-3 mb-3 white--text\"},[_vm._v(\" Incoterms término de negociación: (\"+_vm._s(_vm.termino_negociacion)+\") \"),_c('br'),_vm._v(\" Punto de entrega: \"+_vm._s(_vm.punto_entrega)+\" \")])]),_c('v-col',{staticClass:\"ma-0 pa-0\"},[_c('h2',{staticClass:\"body-2 pt-2 pl-8 mt-3 mb-3 white--text\"},[_vm._v(\" \"+_vm._s(`USD ` + new Intl.NumberFormat(\"en-en\").format( `${_vm.vlr_termino_negociacion}` ))+\" \")])])],1):_vm._e(),(_vm.subpartida_arancelaria > 0)?_c('v-row',{staticClass:\"ma-0 pa-0 d-flex align-center\"},[_c('v-col',{staticClass:\"ma-0 pa-0\"},[_c('h2',{staticClass:\"body-2 pt-2 pl-8 mt-3 mb-3 white--text\"},[_vm._v(\" Subpartida arancelaria: \")])]),_c('v-col',{staticClass:\"ma-0 pa-0\"},[_c('h2',{staticClass:\"body-2 pt-2 pl-8 mt-3 mb-3 white--text\"},[_vm._v(\" \"+_vm._s(`USD ` + new Intl.NumberFormat(\"en-en\").format( `${_vm.subpartida_arancelaria}` ))+\" \")])])],1):_vm._e(),_c('v-row',{staticClass:\"ma-0 pa-0\"},[_c('v-col',{staticClass:\"ma-0 pa-0\"},[_c('h2',{staticClass:\"body-2 pt-2 pl-8 mt-3 mb-3 white--text\"},[_vm._v(\" Total: \")])]),_c('v-col',{staticClass:\"ma-0 pa-0\"},[_c('h2',{staticClass:\"body-2 pt-2 pl-8 mt-3 mb-3 white--text\"},[_vm._v(\" \"+_vm._s(_vm.totalPagar)+\" \")])])],1)],1)],1)],1),_c('v-layout',[_c('v-flex',{attrs:{\"md6\":\"\",\"xs6\":\"\",\"sm6\":\"\"}},[_c('div',{staticClass:\"linea_pdf\"})]),_c('v-flex',{attrs:{\"md6\":\"\",\"xs6\":\"\",\"sm6\":\"\"}},[_c('div',{staticClass:\"linea_pdf2\"})])],1),_c('v-layout',{staticClass:\"mt-6 mb-6 pl-3 pr-3\"},[_c('v-flex',{attrs:{\"md6\":\"\",\"xs6\":\"\",\"sm6\":\"\"}},[_c('p',{staticClass:\"body-2 mt-4\"},[_vm._v(\" En espera de sus comentarios y alguna información adicional con gusto será atendida. \")]),_c('h2',{staticClass:\"ma-2 font-weight-bold font-italic\"},[_vm._v(\" Forma De Pago: \")]),_c('p',{staticClass:\"subtitle-2\"},[_vm._v(\" \"+_vm._s(_vm.condiciones_pago)+\" \")]),_c('h2',{staticClass:\"ma-2 font-weight-bold font-italic\"},[_vm._v(\" Tiempo de entrega: \")]),_c('p',{staticClass:\"subtitle-2\"},[_c('strong',[_vm._v(\"25 dÃas\")]),_vm._v(\" una vez recibido el anticipo y aprobación de planos más embarque. \")]),_c('h2',{staticClass:\"ma-2 font-weight-bold font-italic\"},[_vm._v(\" Validez de la oferta: \")]),_c('p',{staticClass:\"subtitle-2\"},[_c('strong',[_vm._v(\"3 dÃas\")])]),_c('h2',{staticClass:\"ma-2 font-weight-bold font-italic\"},[_vm._v(\" Instrucciones bancarias: \")]),[_c('v-container',[_c('v-row',{staticClass:\"pr-16 pb-3\"},[_c('v-col',{staticClass:\"text-left font-weight-bold pa-0\",attrs:{\"cols\":\"4\"}},[_vm._v(\" Beneficiario: \")]),_c('v-col',{staticClass:\"text-right pa-0\",attrs:{\"cols\":\"8\"}},[_vm._v(\" ICOMALLAS S.A \")])],1),_c('v-row',{staticClass:\"pr-16 pb-3\"},[_c('v-col',{staticClass:\"text-left font-weight-bold pa-0\",attrs:{\"cols\":\"6\"}},[_vm._v(\" Cuenta Beneficiario: \")]),_c('v-col',{staticClass:\"text-right pa-0\",attrs:{\"cols\":\"6\"}},[_vm._v(\" 102048577 \")])],1),_c('v-row',{staticClass:\"pr-16 pb-3\"},[_c('v-col',{staticClass:\"text-left font-weight-bold pa-0\",attrs:{\"cols\":\"4\"}},[_vm._v(\" Banco del Beneficiario: \")]),_c('v-col',{staticClass:\"text-right pa-0\",attrs:{\"cols\":\"8\"}},[_vm._v(\" Itaú (Panamá) S.A \")])],1),_c('v-row',{staticClass:\"pr-16 pb-3\"},[_c('v-col',{staticClass:\"text-left font-weight-bold pa-0\",attrs:{\"cols\":\"6\"}},[_vm._v(\" Código Swift: \")]),_c('v-col',{staticClass:\"text-right pa-0\",attrs:{\"cols\":\"6\"}},[_vm._v(\" BCTOPAPA \")])],1),_c('v-row',{staticClass:\"pr-16 pb-3\"},[_c('v-col',{staticClass:\"text-left font-weight-bold pa-0\",attrs:{\"cols\":\"4\"}},[_vm._v(\" Dirección: \")]),_c('v-col',{staticClass:\"text-right pa-0\",attrs:{\"cols\":\"8\"}},[_vm._v(\" Edif. World Trade Center Piso 19. Calle 53 Este Marbella Panamá, República de Panamá \")])],1)],1)],_c('h2',{staticClass:\"ma-2 font-weight-bold text-left font-italic\"},[_vm._v(\" Cuenta: \")]),[_c('v-container',[_c('v-row',{staticClass:\"pr-16 pb-3\"},[_c('v-col',{staticClass:\"text-left font-weight-bold pa-0\",attrs:{\"cols\":\"6\"}},[_vm._v(\" Banco intermediario: \")]),_c('v-col',{staticClass:\"text-right pa-0\",attrs:{\"cols\":\"6\"}},[_vm._v(\" 36225789 \")])],1),_c('v-row',{staticClass:\"pr-16 pb-3\"},[_c('v-col',{staticClass:\"text-left font-weight-bold pa-0\",attrs:{\"cols\":\"6\"}},[_vm._v(\" Banco intermediario: \")]),_c('v-col',{staticClass:\"text-right pa-0\",attrs:{\"cols\":\"6\"}},[_vm._v(\" Citibank N. A. New York \")])],1),_c('v-row',{staticClass:\"pr-16 pb-3\"},[_c('v-col',{staticClass:\"text-left font-weight-bold pa-0\",attrs:{\"cols\":\"4\"}},[_vm._v(\" Dirección: \")]),_c('v-col',{staticClass:\"text-right pa-0\",attrs:{\"cols\":\"8\"}},[_vm._v(\" 111 Wall Street New York, N.Y 10043 \")])],1),_c('v-row',{staticClass:\"pr-16 pb-3\"},[_c('v-col',{staticClass:\"text-left font-weight-bold pa-0\",attrs:{\"cols\":\"6\"}},[_vm._v(\" Swift: \")]),_c('v-col',{staticClass:\"text-right pa-0\",attrs:{\"cols\":\"6\"}},[_vm._v(\" CITUS33 \")])],1),_c('v-row',{staticClass:\"pr-16 pb-3\"},[_c('v-col',{staticClass:\"text-left font-weight-bold pa-0\",attrs:{\"cols\":\"6\"}},[_vm._v(\" ABA CODE: \")]),_c('v-col',{staticClass:\"text-right pa-0\",attrs:{\"cols\":\"6\"}},[_vm._v(\" c021000089 \")])],1)],1)]],2),_c('v-flex',{attrs:{\"md6\":\"\",\"xs6\":\"\",\"sm6\":\"\"}},[_c('h2',{staticClass:\"ma-2 font-weight-bold text-left font-italic\"},[_vm._v(\" Términos y Condiciones: \")]),_c('p',{staticClass:\"body-2\"},[_vm._v(\" - Validez de la cotización 3 dÃas hábiles después de la fecha de cotización. \")]),_c('p',{staticClass:\"body-2\"},[_vm._v(\" - El punto de entrega será en \"),_c('strong',[_vm._v(_vm._s(this.punto_entrega))]),_vm._v(\". \")]),_c('h2',{staticClass:\"overline mt-1\"},[_vm._v(\" Tiempo de entrega mercancia : \")]),_c('p',{staticClass:\"body-2\"},[_vm._v(\" Iniciará a partir de pago del anticipo acordado y orden de compra de aprobación del número de cotización. \")]),_c('h1',{staticClass:\"overline mt-1\"},[_vm._v(\" Los tiempos se establecen asi: \")]),_c('small',{staticClass:\"button\"},[(_vm.dias_desarrollo_planos != null)?_c('v-chip',{staticClass:\"ma-2\",attrs:{\"color\":\"success\",\"outlined\":\"\"}},[_vm._v(\" \"+_vm._s(_vm.dias_desarrollo_planos)+\" \")]):_vm._e(),_vm._v(\" Dia(s) habiles de desarrollo de planos \")],1),_c('br'),_c('small',{staticClass:\"button\"},[(_vm.dias_habiles_fabricacion != null)?_c('v-chip',{staticClass:\"ma-2\",attrs:{\"color\":\"success\",\"outlined\":\"\"}},[_vm._v(\" \"+_vm._s(_vm.dias_habiles_fabricacion)+\" \")]):_vm._e(),_vm._v(\" Dia(s) habiles de fabricacion \")],1),_c('p',{staticClass:\"body-2 mr-5\"},[_vm._v(\" - 1 dia habil de aprobacion de planos por parte del cliente. \")]),_c('p',{staticClass:\"body-2\"},[_vm._v(\" - El tiempo de desarrollo de planos puede variar, de acuerdo a modificaciones de dimension y cantidad con respecto a la presente cotizacion. \"),_c('br'),_vm._v(\" - Por cada dia que demore el cliente en la aprobacion del plano, se sumará al tiempo habil de fabricacion. \")]),_c('p',{staticClass:\"body-2\"},[_vm._v(\" Si las cantidades o dimensiones cambian, la cotización debe ser revisada nuevamente \")]),_c('h2',{staticClass:\"ma-2 font-weight-bold text-left font-italic\"},[_vm._v(\" Observación: \")]),_vm._l((_vm.observacion_externa),function(observacion){return _c('p',{key:observacion.observacion_externa,staticClass:\"body-2 mt-1\",domProps:{\"innerHTML\":_vm._s(observacion.observacion_externa)}})}),_c('small',{staticClass:\"button\"},[(_vm.tiempo_entrega_dias != 0)?_c('v-chip',{staticClass:\"ma-2\",attrs:{\"color\":\"success\",\"outlined\":\"\"}},[_vm._v(\" \"+_vm._s(_vm.tiempo_entrega_dias)+\" \")]):_vm._e(),_vm._v(\" DÃAS HÃBILES DE LUNES A SÃBADO A PARTIR DE PAGO ANTICIPO Y APROBACIÓN DE PLANOS \")],1),_c('h2',{staticClass:\"overline mt-4\"},[_vm._v(\" Fecha y hora de Impresión: \"),_c('small',{staticClass:\"subtitle-2\"},[_vm._v(_vm._s(_vm.fecha_hora))])])],2)],1)],1),_c('v-layout',{attrs:{\"row\":\"\",\"wrap\":\"\"}},[_c('v-flex',{attrs:{\"text-center\":\"\",\"md12\":\"\",\"xs12\":\"\",\"sm12\":\"\"}},[_c('v-btn',{staticClass:\"mb-10 mt-5\",attrs:{\"disabled\":!_vm.isDisabled,\"id\":\"parte2\",\"fab\":\"\",\"dark\":\"\",\"large\":\"\",\"color\":\"teal\"},on:{\"click\":function($event){return _vm.crearPdfServerSp(_vm.codigo_cotizacion)}}},[_c('v-icon',{attrs:{\"dark\":\"\"}},[_vm._v(\" picture_as_pdf \")])],1)],1)],1)],1),_c('v-flex',{attrs:{\"md2\":\"\",\"xs12\":\"\",\"sm12\":\"\"}})],1)],1)],1)],1)],1)],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <div>\r\n <!-- boton pdf -->\r\n <v-icon class=\"mt-3\" small color=\"#202020\" @click=\"verPdf\">\r\n visibility\r\n </v-icon>\r\n <!-- boton pdf. final code... -->\r\n \r\n <!-- Modal -->\r\n <div class=\"ajuste_pantalla\">\r\n <v-dialog\r\n v-model=\"dialog\"\r\n fullscreen\r\n hide-overlay\r\n transition=\"dialog-bottom-transition\"\r\n scrollable\r\n eager\r\n persistent\r\n >\r\n <v-card>\r\n <v-card-text>\r\n <v-layout row wrap class=\"mr-1 ml-1\">\r\n <v-flex md12 xs12 sm12>\r\n <v-toolbar dark color=\"#202020\" class=\"ma-4\" id=\"parte1\">\r\n <v-btn icon dark @click=\"modalCerrar\">\r\n <v-icon>mdi-close</v-icon>\r\n </v-btn>\r\n </v-toolbar>\r\n </v-flex>\r\n </v-layout>\r\n\r\n <v-layout row wrap class=\"mr-1 ml-1\">\r\n <v-flex md12 xs12 sm12>\r\n <v-layout row wrap>\r\n <v-flex md2 xs12 sm12></v-flex>\r\n <v-flex md8 xs12 sm12>\r\n <div id=\"html_pdf\">\r\n <v-layout class=\"mt-2 mb-2\">\r\n <v-flex text-center md6 xs6 sm6>\r\n <v-card color=\"#D5A116\" height=\"137\" tile>\r\n <h2 class=\"h4 mt-2 pt-12 mb-2 white--text\">\r\n PROPUESTA DE <br> COTIZACIÓN INTERNACIONAL\r\n </h2>\r\n </v-card>\r\n </v-flex>\r\n <v-flex md6 xs6 sm6>\r\n <v-card color=\"#012F4F\" height=\"137\" tile>\r\n <h2 class=\"body-2 mt-2 mb-2 ml-3 white--text\">\r\n Número #:<small class=\"body-1 pl-4 white--text\">{{\r\n codigo_cotizacion\r\n }}</small>\r\n </h2>\r\n <h2 class=\"body-2 mt-2 mb-2 ml-3 white--text\">\r\n Fecha:<small class=\"caption pl-4 white--text\">{{\r\n fecha_hora_db\r\n }}</small>\r\n </h2>\r\n <h2 class=\"body-2 mt-2 mb-2 ml-3 white--text\">\r\n Fecha Actualización:<small\r\n class=\"caption pl-4 white--text\"\r\n >{{ fecha_actualizacion }}</small\r\n >\r\n </h2>\r\n <h2 class=\"body-2 mb-2 ml-3 white--text\">\r\n Nombre Vendedor:<small\r\n class=\"caption pl-4 white--text\"\r\n >{{ vendedor }}</small\r\n >\r\n </h2>\r\n \r\n </v-card>\r\n </v-flex>\r\n </v-layout>\r\n <v-layout class=\"mt-2 mb-2\">\r\n <v-flex md6 xs6 sm6>\r\n <v-layout>\r\n <v-flex md3 xs3 sm3></v-flex>\r\n <v-flex md6 xs6 sm6>\r\n <v-img\r\n src=\"../assets/logo negro_Mesa de trabajo 1.png\"\r\n max-height=\"200\"\r\n max-width=\"300\"\r\n class=\"ml-4 mt-1\"\r\n ></v-img>\r\n </v-flex>\r\n <v-flex md3 xs3 sm3></v-flex>\r\n </v-layout>\r\n <v-layout>\r\n <v-flex text-center md12 xs12 sm12>\r\n <h2 class=\"caption mb-n4\">\r\n www.icomallas.com | Cel:\r\n {{ telefono_vendedor }} | Tel: (+57) (2)\r\n {{ telefono_agencia }}\r\n </h2>\r\n <h2 class=\"body-2 mb-n4 ml-3\">\r\n Agencia:<small class=\"caption pl-4\">{{\r\n agencia\r\n }}</small>\r\n |\r\n <small class=\"caption pl-1\">{{\r\n direccion_agencia\r\n }}</small>\r\n </h2>\r\n <h2 class=\"caption\">Nit. 805,007,404-4</h2>\r\n </v-flex>\r\n </v-layout>\r\n </v-flex>\r\n <v-flex md1 xs1 sm1></v-flex>\r\n <v-flex md5 xs5 sm5 class=\"mt-5\">\r\n <h2 class=\"body-2\">\r\n Nit:\r\n <small class=\"body-2 pl-2\">\r\n {{ nit }}\r\n </small>\r\n </h2>\r\n <h2 class=\"body-2\">\r\n Cliente:\r\n <small class=\"body-2 pl-2\">\r\n {{ cliente }}\r\n </small>\r\n </h2>\r\n <h2 class=\"body-2\">\r\n {{ direccion }}, {{ ciudad }}, {{ departamento }}\r\n </h2>\r\n <p class=\"subtitle-2\">\r\n Tel: <small class=\"caption\">{{ telefono }}</small> |\r\n Correo: <small class=\"caption\">{{ email }}</small> |\r\n Contacto:\r\n <small class=\"caption\">{{ contacto }}</small>\r\n </p>\r\n </v-flex>\r\n </v-layout>\r\n <v-layout>\r\n <v-flex md12 xs12 sm12>\r\n <!-- Tabla de datos -->\r\n <v-simple-table>\r\n <template v-slot:default>\r\n <thead style=\"background-color: #012f4f\">\r\n <tr>\r\n <th class=\"text-center\" style=\"color: #fff\">\r\n Referencia\r\n </th>\r\n <th class=\"text-center\" style=\"color: #fff\">\r\n Descripción\r\n </th>\r\n <th class=\"text-center\" style=\"color: #fff\">\r\n Cantidad\r\n </th>\r\n <th class=\"text-center\" style=\"color: #fff\">\r\n UM\r\n </th>\r\n <th class=\"text-center\" style=\"color: #fff\">\r\n Precio\r\n </th>\r\n <th class=\"text-center\" style=\"color: #fff\">\r\n Total\r\n </th>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n <tr\r\n v-for=\"dato in productos_agregados\"\r\n :key=\"dato.item\"\r\n >\r\n <td\r\n class=\"text-center pb-4\"\r\n v-if=\"dato.referencia_cguno != 0\"\r\n >\r\n {{ dato.referencia_cguno }}\r\n </td>\r\n <td class=\"text-center\" v-else></td>\r\n <td class=\"text-center\">\r\n <!-- {{ dato }} -->\r\n <p class=\"pt-8 ml-1 mr-1 overline\">\r\n {{ dato.tipo_producto }}\r\n {{ dato.tipo_material }}\r\n <!-- {{ dato.tipo_rejilla }} -->\r\n <small\r\n class=\"caption\"\r\n v-if=\"dato.tipo_rejilla != null\"\r\n >\r\n tipo {{ dato.tipo_rejilla }},\r\n </small>\r\n <small\r\n class=\"caption\"\r\n v-if=\"\r\n dato.dimension_hueco !=\r\n ' '\r\n \"\r\n >\r\n dimension hueco\r\n {{ dato.dimension_hueco }},\r\n </small>\r\n <small\r\n class=\"caption\"\r\n v-if=\"dato.hueco != null\"\r\n >\r\n Hueco de {{ dato.hueco }},\r\n </small>\r\n <small\r\n class=\"caption\"\r\n v-if=\"dato.diametro != 0\"\r\n >\r\n pulgadas {{ dato.diametro }},\r\n </small>\r\n <small\r\n class=\"caption\"\r\n v-if=\"dato.calibre != null\"\r\n >\r\n Calibre {{ dato.calibre }},\r\n </small>\r\n <small\r\n class=\"caption\"\r\n v-if=\"dato.vena != '0'\"\r\n >\r\n Vena {{ dato.vena }},\r\n </small>\r\n\r\n <small\r\n class=\"caption\"\r\n v-if=\"dato.margen != '0'\"\r\n >\r\n Margen {{ dato.margen }},\r\n </small>\r\n\r\n <!-- <small\r\n class=\"caption\"\r\n v-if=\"dato.um.trim() == 'MT2'\"\r\n >\r\n cantidad \r\n {{\r\n dato.cantidad * dato.ancho * dato.largo\r\n }}\r\n </small>\r\n <small\r\n class=\"caption\"\r\n v-else-if=\"dato.um.trim() == 'MTS'\"\r\n >\r\n cantidad {{ dato.cantidad * dato.largo }}\r\n </small>\r\n <small class=\"caption\" v-else>\r\n cantidad {{ dato.cantidad }}\r\n </small> -->\r\n <small\r\n class=\"caption\"\r\n v-if=\"dato.calibre_platina != null\"\r\n >\r\n calibre platina\r\n {{ dato.calibre_platina }},\r\n </small>\r\n <small\r\n class=\"caption\"\r\n v-if=\"dato.altura_platina != null\"\r\n >\r\n altura platina\r\n {{ dato.altura_platina }},\r\n </small>\r\n <small\r\n class=\"caption\"\r\n v-if=\"dato.amarre != null\"\r\n >\r\n amarre {{ dato.amarre }},\r\n </small>\r\n\r\n <small class=\"caption\">\r\n cantidad {{ dato.cantidad }}\r\n </small>\r\n\r\n <!-- <small class=\"caption\">\r\n {{ dato.um }}\r\n </small> -->\r\n <small\r\n class=\"caption\"\r\n v-if=\"dato.alto != 0\"\r\n >\r\n alto {{ dato.alto }},\r\n </small>\r\n <small\r\n class=\"caption\"\r\n v-if=\"dato.ancho != 0\"\r\n >\r\n ancho {{ dato.ancho }},\r\n </small>\r\n <small\r\n class=\"caption\"\r\n v-if=\"dato.largo != 0\"\r\n >\r\n largo {{ dato.largo }}\r\n </small>\r\n <small\r\n class=\"caption\"\r\n v-if=\"dato.acabado != 0\"\r\n >\r\n acabado {{ dato.acabado }}\r\n </small>\r\n </p>\r\n </td>\r\n <td class=\"text-center\">\r\n <div v-if=\"dato.um.trim() == 'MT2'\">\r\n {{\r\n cantidadMt2(\r\n dato.cantidad,\r\n dato.ancho,\r\n dato.largo\r\n )\r\n }}\r\n </div>\r\n <div v-else-if=\"dato.um.trim() == 'MTS'\">\r\n {{\r\n cantidadMts(dato.cantidad, dato.largo)\r\n }}\r\n </div>\r\n <div v-else>\r\n {{ dato.cantidad }}\r\n </div>\r\n </td>\r\n <td class=\"text-center\">\r\n {{ dato.um }}\r\n </td>\r\n <td class=\"text-center\">\r\n <!-- {{dato}} -->\r\n {{\r\n `USD ` +\r\n new Intl.NumberFormat(\"en-en\").format(\r\n `${dato.vr_unitario}`\r\n )\r\n }}\r\n </td>\r\n <td class=\"text-center\">\r\n <!-- {{\r\n `USD` +\r\n new Intl.NumberFormat(\"en-en\").format(\r\n `${calcularTotalItem(\r\n dato.cantidad,\r\n dato.vr_unitario\r\n )}`\r\n )\r\n }} -->\r\n <div v-if=\"dato.um.trim() == 'MT2'\">\r\n {{\r\n `USD ` +\r\n new Intl.NumberFormat(\"en-en\").format(\r\n `${calcularTotalItem(\r\n dato.cantidad *\r\n dato.ancho *\r\n dato.largo,\r\n dato.vr_unitario\r\n )}`\r\n )\r\n }}\r\n </div>\r\n <div v-else-if=\"dato.um.trim() == 'MTS'\">\r\n {{\r\n `USD ` +\r\n new Intl.NumberFormat(\"en-en\").format(\r\n `${calcularTotalItem(\r\n dato.cantidad * dato.largo,\r\n dato.vr_unitario\r\n )}`\r\n )\r\n }}\r\n </div>\r\n <div v-else>\r\n {{\r\n `USD ` +\r\n new Intl.NumberFormat(\"en-en\").format(\r\n `${calcularTotalItem(\r\n dato.cantidad,\r\n dato.vr_unitario\r\n )}`\r\n )\r\n }}\r\n </div>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </template>\r\n </v-simple-table>\r\n <!-- Tabla de datos. Final code... -->\r\n </v-flex>\r\n </v-layout>\r\n <v-layout class=\"mt-6 mb-6 pl-3 pr-3\">\r\n <v-flex md6 xs6 sm6> </v-flex>\r\n <v-flex md1 xs1 sm1></v-flex>\r\n <v-flex text-center md5 xs5 sm5>\r\n <v-card\r\n elevation=\"2\"\r\n class=\"text-left pa-2\"\r\n shaped\r\n color=\"#012F4F\"\r\n >\r\n <v-row\r\n class=\"ma-0 pa-0\">\r\n <v-col class=\"ma-0 pa-0\">\r\n <h2 class=\"body-2 pt-2 pl-8 mt-3 mb-3 white--text\">\r\n SubTotal:\r\n </h2>\r\n </v-col>\r\n <v-col class=\"ma-0 pa-0 \">\r\n <h2 class=\"body-2 pt-2 pl-8 mt-3 mb-3 white--text\"> \r\n {{\r\n `USD ` +\r\n new Intl.NumberFormat(\"en-en\").format(\r\n `${valorTotalItems}`\r\n )\r\n }}\r\n </h2>\r\n </v-col>\r\n </v-row>\r\n <v-row\r\n class=\"ma-0 pa-0 d-flex align-center\"\r\n v-if=\"seguro_internacional > 0\">\r\n <v-col class=\"ma-0 pa-0\">\r\n <h2 class=\"body-2 pt-2 pl-8 white--text\">\r\n Seguro Internacional:\r\n </h2>\r\n </v-col>\r\n <v-col class=\"ma-0 pa-0\">\r\n <h2 class=\"body-2 pt-2 pl-8 white--text\"> \r\n {{\r\n `USD ` +\r\n new Intl.NumberFormat(\"en-en\").format(\r\n `${seguro_internacional}`\r\n )\r\n }}\r\n </h2>\r\n </v-col>\r\n </v-row>\r\n <v-row\r\n class=\"ma-0 pa-0 d-flex align-center\"\r\n v-if=\"flete > 0\">\r\n <v-col class=\"ma-0 pa-0\">\r\n <h2 class=\"body-2 pt-2 pl-8 white--text\">\r\n Flete Internacional:\r\n </h2>\r\n </v-col>\r\n <v-col class=\"ma-0 pa-0\">\r\n <h2 class=\"body-2 pt-2 pl-8 white--text\"> \r\n {{\r\n `USD ` +\r\n new Intl.NumberFormat(\"en-en\").format(\r\n `${flete}`\r\n )\r\n }}\r\n </h2>\r\n </v-col>\r\n </v-row>\r\n <v-row\r\n class=\"ma-0 pa-0 d-flex align-center\"\r\n v-if=\"vlr_termino_negociacion > 0\">\r\n <v-col class=\"ma-0 pa-0\">\r\n <h2 class=\"body-2 pt-2 pl-8 mt-3 mb-3 white--text\">\r\n Incoterms término de negociación: ({{termino_negociacion}}) <br>\r\n Punto de entrega: {{punto_entrega}}\r\n \r\n </h2>\r\n </v-col>\r\n <v-col class=\"ma-0 pa-0 \">\r\n <h2 class=\"body-2 pt-2 pl-8 mt-3 mb-3 white--text\"> \r\n {{\r\n `USD ` +\r\n new Intl.NumberFormat(\"en-en\").format(\r\n `${vlr_termino_negociacion}`\r\n )\r\n }}\r\n </h2>\r\n </v-col>\r\n </v-row>\r\n <v-row\r\n class=\"ma-0 pa-0 d-flex align-center\"\r\n v-if=\"subpartida_arancelaria > 0\">\r\n <v-col class=\"ma-0 pa-0\">\r\n <h2 class=\"body-2 pt-2 pl-8 mt-3 mb-3 white--text\">\r\n Subpartida arancelaria:\r\n </h2>\r\n </v-col>\r\n <v-col class=\"ma-0 pa-0 \">\r\n <h2 class=\"body-2 pt-2 pl-8 mt-3 mb-3 white--text\"> \r\n {{\r\n `USD ` +\r\n new Intl.NumberFormat(\"en-en\").format(\r\n `${subpartida_arancelaria}`\r\n )\r\n }}\r\n </h2>\r\n </v-col>\r\n </v-row>\r\n \r\n <v-row\r\n class=\"ma-0 pa-0\">\r\n <v-col class=\"ma-0 pa-0\">\r\n <h2 class=\"body-2 pt-2 pl-8 mt-3 mb-3 white--text\">\r\n Total:\r\n </h2>\r\n </v-col>\r\n <v-col class=\"ma-0 pa-0 \">\r\n <h2 class=\"body-2 pt-2 pl-8 mt-3 mb-3 white--text\"> \r\n {{ totalPagar }}\r\n </h2>\r\n </v-col>\r\n </v-row>\r\n </v-card>\r\n </v-flex>\r\n </v-layout>\r\n <v-layout>\r\n <v-flex md6 xs6 sm6>\r\n <div class=\"linea_pdf\"></div>\r\n </v-flex>\r\n <v-flex md6 xs6 sm6>\r\n <div class=\"linea_pdf2\"></div>\r\n </v-flex>\r\n </v-layout>\r\n <v-layout class=\"mt-6 mb-6 pl-3 pr-3\">\r\n <v-flex md6 xs6 sm6>\r\n <p class=\"body-2 mt-4\">\r\n En espera de sus comentarios y alguna información adicional con gusto será atendida.\r\n </p>\r\n <h2 class=\"ma-2 font-weight-bold font-italic\">\r\n Forma De Pago:\r\n </h2>\r\n <p class=\"subtitle-2\">\r\n {{condiciones_pago}}\r\n </p>\r\n <h2 class=\"ma-2 font-weight-bold font-italic\">\r\n Tiempo de entrega:\r\n </h2>\r\n <p class=\"subtitle-2\">\r\n <strong>25 dÃas</strong> una vez recibido el anticipo y aprobación de planos más embarque.\r\n </p>\r\n <h2 class=\"ma-2 font-weight-bold font-italic\">\r\n Validez de la oferta:\r\n </h2>\r\n <p class=\"subtitle-2\">\r\n <strong>3 dÃas</strong>\r\n </p>\r\n <h2 class=\"ma-2 font-weight-bold font-italic\">\r\n Instrucciones bancarias:\r\n </h2>\r\n \r\n \r\n \r\n <template>\r\n <v-container>\r\n <v-row class=\"pr-16 pb-3\">\r\n <v-col cols=\"4\" class=\"text-left font-weight-bold pa-0\">\r\n Beneficiario:\r\n </v-col>\r\n <v-col cols=\"8\" class=\"text-right pa-0\">\r\n ICOMALLAS S.A\r\n </v-col>\r\n </v-row>\r\n <v-row class=\"pr-16 pb-3\">\r\n <v-col cols=\"6\" class=\"text-left font-weight-bold pa-0\">\r\n Cuenta Beneficiario:\r\n </v-col>\r\n <v-col cols=\"6\" class=\"text-right pa-0\">\r\n 102048577\r\n </v-col>\r\n </v-row>\r\n <v-row class=\"pr-16 pb-3\">\r\n <v-col cols=\"4\" class=\"text-left font-weight-bold pa-0\">\r\n Banco del Beneficiario:\r\n </v-col>\r\n <v-col cols=\"8\" class=\"text-right pa-0\">\r\n Itaú (Panamá) S.A\r\n </v-col>\r\n </v-row>\r\n <v-row class=\"pr-16 pb-3\">\r\n <v-col cols=\"6\" class=\"text-left font-weight-bold pa-0\">\r\n Código Swift:\r\n </v-col>\r\n <v-col cols=\"6\" class=\"text-right pa-0\">\r\n BCTOPAPA\r\n </v-col>\r\n </v-row>\r\n <v-row class=\"pr-16 pb-3\">\r\n <v-col cols=\"4\" class=\"text-left font-weight-bold pa-0\">\r\n Dirección:\r\n </v-col>\r\n <v-col cols=\"8\" class=\"text-right pa-0\">\r\n Edif. World Trade Center Piso 19. Calle 53 Este Marbella Panamá, República de Panamá\r\n </v-col>\r\n </v-row>\r\n \r\n </v-container>\r\n </template>\r\n \r\n <h2 class=\"ma-2 font-weight-bold text-left font-italic\">\r\n Cuenta:\r\n </h2>\r\n \r\n \r\n <template>\r\n <v-container>\r\n <v-row class=\"pr-16 pb-3\">\r\n <v-col cols=\"6\" class=\"text-left font-weight-bold pa-0\">\r\n Banco intermediario:\r\n </v-col>\r\n <v-col cols=\"6\" class=\"text-right pa-0\">\r\n 36225789\r\n </v-col>\r\n </v-row>\r\n \r\n <v-row class=\"pr-16 pb-3\">\r\n <v-col cols=\"6\" class=\"text-left font-weight-bold pa-0\">\r\n Banco intermediario:\r\n </v-col>\r\n <v-col cols=\"6\" class=\"text-right pa-0\">\r\n Citibank N. A. New York\r\n </v-col>\r\n </v-row>\r\n \r\n <v-row class=\"pr-16 pb-3\">\r\n <v-col cols=\"4\" class=\"text-left font-weight-bold pa-0\">\r\n Dirección:\r\n </v-col>\r\n <v-col cols=\"8\" class=\"text-right pa-0\">\r\n 111 Wall Street New York, N.Y 10043\r\n </v-col>\r\n </v-row>\r\n \r\n <v-row class=\"pr-16 pb-3\">\r\n <v-col cols=\"6\" class=\"text-left font-weight-bold pa-0\">\r\n Swift:\r\n </v-col>\r\n <v-col cols=\"6\" class=\"text-right pa-0\">\r\n CITUS33\r\n </v-col>\r\n </v-row>\r\n \r\n <v-row class=\"pr-16 pb-3\">\r\n <v-col cols=\"6\" class=\"text-left font-weight-bold pa-0\">\r\n ABA CODE:\r\n </v-col>\r\n <v-col cols=\"6\" class=\"text-right pa-0\">\r\n c021000089\r\n </v-col>\r\n </v-row>\r\n </v-container>\r\n </template>\r\n \r\n \r\n <!-- <p class=\"body-2 \">\r\n <small class=\"body-2\">MERCANCÃA PARA ENTREGA:</small>\r\n {{ tiempo_entrega_dias }} DÃAS HÃBILES A PARTIR DE PAGO\r\n ANTICIPO Y APROBACIÓN\r\n </p> -->\r\n </v-flex>\r\n <v-flex md6 xs6 sm6>\r\n <h2 class=\"ma-2 font-weight-bold text-left font-italic\">\r\n Términos y Condiciones:\r\n </h2>\r\n <p class=\"body-2\">\r\n - Validez de la cotización 3 dÃas hábiles después de\r\n la fecha de cotización.\r\n </p>\r\n <p class=\"body-2\" >\r\n - El punto de entrega será en <strong>{{this.punto_entrega}}</strong>.\r\n </p>\r\n <h2 class=\"overline mt-1\">\r\n Tiempo de entrega mercancia :\r\n </h2>\r\n <p class=\"body-2\">\r\n Iniciará a partir de pago del anticipo acordado y orden\r\n de compra de aprobación del número de cotización.\r\n </p>\r\n \r\n <h1 class=\"overline mt-1\">\r\n Los tiempos se establecen asi:\r\n </h1>\r\n <small class=\"button\">\r\n <v-chip\r\n class=\"ma-2\"\r\n v-if=\"dias_desarrollo_planos != null\"\r\n color=\"success\"\r\n outlined\r\n >\r\n {{ dias_desarrollo_planos }}\r\n </v-chip>\r\n Dia(s) habiles de desarrollo de planos\r\n </small>\r\n <br />\r\n <small class=\"button\">\r\n <v-chip\r\n class=\"ma-2\"\r\n v-if=\"dias_habiles_fabricacion != null\"\r\n color=\"success\"\r\n outlined\r\n >\r\n {{ dias_habiles_fabricacion }}\r\n </v-chip>\r\n Dia(s) habiles de fabricacion\r\n </small>\r\n <p class=\"body-2 mr-5\">\r\n - 1 dia habil de aprobacion de planos por parte del\r\n cliente.\r\n </p>\r\n <!-- <h1 class=\"ma-2 font-weight-bold text-left font-italic\">Nota:</h1> -->\r\n <p class=\"body-2\">\r\n - El tiempo de desarrollo de planos puede variar, de\r\n acuerdo a modificaciones de dimension y cantidad con\r\n respecto a la presente cotizacion.\r\n <br />\r\n - Por cada dia que demore el cliente en la aprobacion\r\n del plano, se sumará al tiempo habil de fabricacion.\r\n </p>\r\n \r\n <p class=\"body-2\">\r\n Si las cantidades o dimensiones cambian, la cotización\r\n debe ser revisada nuevamente\r\n </p>\r\n <h2 class=\"ma-2 font-weight-bold text-left font-italic\">\r\n Observación:\r\n </h2>\r\n <p\r\n class=\"body-2 mt-1\"\r\n v-for=\"observacion in observacion_externa\"\r\n :key=\"observacion.observacion_externa\"\r\n v-html=\"observacion.observacion_externa\"\r\n ></p>\r\n <!-- <p class=\"overline mt-2\">\r\n MERCANCÃA PARA ENTREGA: -->\r\n <small class=\"button\">\r\n <v-chip\r\n class=\"ma-2\"\r\n v-if=\"tiempo_entrega_dias != 0\"\r\n color=\"success\"\r\n outlined\r\n >\r\n {{ tiempo_entrega_dias }}\r\n </v-chip>\r\n DÃAS HÃBILES DE LUNES A SÃBADO A PARTIR DE PAGO\r\n ANTICIPO Y APROBACIÓN DE PLANOS\r\n </small>\r\n <!-- </p> -->\r\n <h2 class=\"overline mt-4\">\r\n Fecha y hora de Impresión:\r\n <small class=\"subtitle-2\">{{ fecha_hora }}</small>\r\n </h2>\r\n </v-flex>\r\n <!-- <v-flex md3 xs3 sm3></v-flex>\r\n <v-flex md3 xs3 sm3></v-flex> -->\r\n </v-layout>\r\n </div>\r\n <!-- Componente generar pdf -->\r\n <v-layout row wrap>\r\n <v-flex text-center md12 xs12 sm12>\r\n <!-- Boton imprimir -->\r\n <v-btn\r\n :disabled=\"!isDisabled\"\r\n id=\"parte2\"\r\n class=\"mb-10 mt-5\"\r\n fab\r\n dark\r\n large\r\n color=\"teal\"\r\n @click=\"crearPdfServerSp(codigo_cotizacion)\"\r\n >\r\n <v-icon dark> picture_as_pdf </v-icon>\r\n </v-btn>\r\n <!-- Boton imprimir. Final code... -->\r\n </v-flex>\r\n </v-layout>\r\n <!-- Componenete generar pdf. final code... -->\r\n </v-flex>\r\n <v-flex md2 xs12 sm12></v-flex>\r\n </v-layout>\r\n </v-flex>\r\n </v-layout>\r\n </v-card-text>\r\n </v-card>\r\n </v-dialog>\r\n </div>\r\n <!-- Modal. Final code... -->\r\n </div>\r\n</template>\r\n<script>\r\n//import printJS from 'print-js'\r\nimport axios from \"axios\";\r\nimport url from \"../Api\";\r\nimport { mapState } from \"vuex\";\r\nimport Swal from \"sweetalert2\";\r\nexport default {\r\n name: \"pdf_cst\",\r\n components: {},\r\n props: {\r\n codigo_cotizacion: {\r\n type: String,\r\n },\r\n vendedor: {\r\n type: String,\r\n },\r\n isDisabled: {\r\n type: Boolean,\r\n required: true,\r\n },\r\n },\r\n data() {\r\n return {\r\n dialog: false,\r\n //Datos usuario\r\n id_agencia: \"\",\r\n id_usuario: \"\",\r\n token: \"\",\r\n //Datos\r\n productos_agregados: [],\r\n //Datos Cotizacion\r\n nit:\"\",\r\n cliente: \"\",\r\n direccion: \"\",\r\n ciudad: \"\",\r\n departamento: \"\",\r\n telefono: \"\",\r\n email: \"\",\r\n contacto: \"\",\r\n agencia: \"\",\r\n direccion_agencia: \"\",\r\n telefono_agencia: \"\",\r\n telefono_vendedor: \"\",\r\n observacion_externa: [],\r\n tiempo_entrega_dias: \"\",\r\n dias_desarrollo_planos: \"\",\r\n dias_habiles_fabricacion: \"\",\r\n fecha_hora_db: \"\",\r\n fecha_actualizacion: \"\",\r\n flete: \"\",\r\n vlr_termino_negociacion: \"\",\r\n punto_entrega: \"\",\r\n subpartida_arancelaria: \"\",\r\n termino_negociacion: \"\",\r\n seguro_internacional: \"\",\r\n condiciones_pago: \"\",\r\n };\r\n },\r\n methods: {\r\n verPdf() {\r\n this.dialog = true;\r\n this.cargarDatosPdfSp();\r\n this.cargarProductoSp();\r\n this.tituloPdf();\r\n },\r\n crearPdfServerSp(codigo_cotizacion) {\r\n Swal.fire({\r\n title: 'Cargando...',\r\n text: 'Por favor, espera mientras se genera el PDF.',\r\n allowOutsideClick: false,\r\n didOpen: () => {\r\n Swal.showLoading();\r\n },\r\n });\r\n axios\r\n .post(\r\n `${url}/pdf_isp`,\r\n {\r\n codigo_cotizacion: codigo_cotizacion.trim(),\r\n },\r\n this.config\r\n )\r\n .then((res) => {\r\n console.log(res);\r\n setTimeout(() => {\r\n Swal.close();\r\n window.open(`${url}/ver_pdf_isp/${codigo_cotizacion}`, \"_blank\");\r\n }, 1000);\r\n })\r\n .catch((err) => {\r\n Swal.fire({\r\n icon: 'error',\r\n title: 'Error',\r\n text: 'Ocurrió un error al generar el PDF.',\r\n });\r\n console.error(err);\r\n });\r\n },\r\n cargarProductoSp() {\r\n axios\r\n .get(`${url}/cargar_producto_isp/${this.codigo_cotizacion}`, this.config)\r\n .then((res) => {\r\n console.log(res);\r\n this.productos_agregados = res.data;\r\n })\r\n .catch((err) => {\r\n console.error(err);\r\n });\r\n },\r\n cargarDatosPdfSp() {\r\n axios\r\n .get(\r\n `${url}/cargar_datos_pdf_isp/${this.codigo_cotizacion}`,\r\n //`${url}/cargar_datos_pdf_st/CL-ST-43`,\r\n this.config\r\n )\r\n .then((res) => {\r\n console.log(res);\r\n\r\n this.cliente = res.data[0][0].cliente;\r\n this.nit = res.data[0][0].nit;\r\n this.direccion = res.data[0][0].direccion;\r\n this.ciudad = res.data[0][0].ciudad;\r\n this.departamento = res.data[0][0].departamento;\r\n this.telefono = res.data[0][0].telefono;\r\n this.email = res.data[0][0].email;\r\n this.contacto = res.data[0][0].contacto;\r\n this.agencia = res.data[0][0].agencia;\r\n this.fecha_hora_db = res.data[0][0].fecha_hora;\r\n this.fecha_actualizacion = res.data[0][0].fecha_actualizacion;\r\n\r\n this.direccion_agencia = res.data[0][0].direccion_agencia;\r\n this.telefono_agencia = res.data[0][0].telefono_agencia;\r\n this.telefono_vendedor = res.data[0][0].telefono_vendedor;\r\n this.observacion_externa = res.data[1];\r\n this.tiempo_entrega_dias = res.data[0][0].tiempo_entrega_dias;\r\n this.dias_desarrollo_planos = res.data[0][0].dias_desarrollo_planos;\r\n this.dias_habiles_fabricacion = res.data[0][0].dias_habiles_fabricacion;\r\n this.flete = res.data[0][0].flete;\r\n this.termino_negociacion = res.data[0][0].terminos_negociacion;\r\n this.punto_entrega = res.data[0][0].punto_entrega;\r\n this.vlr_termino_negociacion = res.data[0][0].vlr_termino_negociacion;\r\n this.subpartida_arancelaria = res.data[0][0].subpartida_arancelaria;\r\n this.seguro_internacional = res.data[0][0].seguro_internacional;\r\n this.condiciones_pago = res.data[0][0].condiciones_pago;\r\n })\r\n .catch((err) => {\r\n console.error(err);\r\n });\r\n },\r\n calcularTotalItem(cantidad, vru) {\r\n let subtotal = cantidad * vru;\r\n //let resultado_descuento = subtotal * (descuento / 100);\r\n //let resultado_descuento = subtotal - descuento%;\r\n\r\n //console.log(resultado_descuento);\r\n\r\n //let total = subtotal - resultado_descuento;\r\n\r\n // return new Intl.NumberFormat(\"en-en\").format(\r\n // subtotal - resultado_descuento\r\n // );\r\n return Math.round(subtotal);\r\n },\r\n tituloPdf() {\r\n document.title = this.codigo_cotizacion;\r\n },\r\n modalCerrar() {\r\n document.title = \"icosoft_app\";\r\n this.dialog = false;\r\n },\r\n cantidadMt2(cantidad, ancho, largo) {\r\n let total_cantidad = cantidad * ancho * largo;\r\n\r\n if (Number.isInteger(total_cantidad)) {\r\n return total_cantidad;\r\n } else {\r\n const cantidad_decimales = total_cantidad.toFixed(3);\r\n return parseFloat(cantidad_decimales);\r\n }\r\n },\r\n cantidadMts(cantidad, largo) {\r\n let total_cantidad = cantidad * largo;\r\n\r\n if (Number.isInteger(total_cantidad)) {\r\n return total_cantidad;\r\n } else {\r\n const cantidad_decimales = total_cantidad.toFixed(3);\r\n return parseFloat(cantidad_decimales);\r\n }\r\n },\r\n },\r\n computed: {\r\n ...mapState([\"informacion_usuario\"]),\r\n config: function () {\r\n let config = {\r\n headers: {\r\n token: this.token,\r\n },\r\n };\r\n return config;\r\n },\r\n valorTotalItems: function () {\r\n let suma = 0;\r\n\r\n this.productos_agregados.forEach(function (num) {\r\n //let subtotal = num.cantidad * num.vr_unitario;\r\n //let resultado_descuento = subtotal * (num.descuento / 100);\r\n //let total = subtotal - resultado_descuento;\r\n if (num.um.trim() == \"MT2\") {\r\n const cantidad_item = num.cantidad * num.ancho * num.largo;\r\n const subtotal = cantidad_item * num.vr_unitario;\r\n suma += subtotal;\r\n } else if (num.um.trim() == \"MTS\") {\r\n const cantidad_item = num.cantidad * num.largo;\r\n const subtotal = cantidad_item * num.vr_unitario;\r\n suma += subtotal;\r\n } else {\r\n let subtotal = num.cantidad * num.vr_unitario;\r\n suma += subtotal;\r\n }\r\n });\r\n\r\n return Math.round(suma);\r\n },\r\n // Iva: function () {\r\n // let iva = (this.valorTotalItems * 19) / 100;\r\n // return Math.round(iva);\r\n // },\r\n totalPagar: function () {\r\n let total = Math.round(this.valorTotalItems ?? 0);\r\n let flete = Math.round(this.flete ?? 0);\r\n let seguro_internacional = Math.round(this.seguro_internacional ?? 0);\r\n let vlr_termino_negociacion = Math.round(this.vlr_termino_negociacion ?? 0);\r\n\r\n let suma = total + flete + vlr_termino_negociacion + seguro_internacional;\r\n\r\n return \"USD \" + new Intl.NumberFormat(\"en-en\").format(suma);\r\n },\r\n fecha_hora: function () {\r\n var hoy = new Date();\r\n const fecha =\r\n hoy.getDate() + \"-\" + (hoy.getMonth() + 1) + \"-\" + hoy.getFullYear();\r\n //const hora = hoy.getHours() + ':' + hoy.getMinutes() + ':' + hoy.getSeconds();\r\n return `${fecha} ${hoy.toLocaleTimeString(\"en-US\")}`;\r\n },\r\n },\r\n mounted() {\r\n this.id_agencia = this.informacion_usuario.id_agencia;\r\n this.id_usuario = this.informacion_usuario.id_usuario;\r\n this.token = localStorage.getItem(\"token\");\r\n },\r\n};\r\n</script>\r\n<style scoped media=\"print\">\r\n@media print {\r\n #parte1 {\r\n display: none;\r\n }\r\n #parte2 {\r\n display: none;\r\n }\r\n}\r\n\r\n.linea_pdf {\r\n background: #012f4f;\r\n width: 100%;\r\n height: 8px;\r\n}\r\n\r\n.linea_pdf2 {\r\n background: #d5a116;\r\n width: 100%;\r\n height: 8px;\r\n}\r\n\r\n/* .ajuste_pantalla {\r\n width: 100vw;\r\n height: 10vh;\r\n} */\r\n</style>\r\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!./Pdf_isp.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!./Pdf_isp.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Pdf_isp.vue?vue&type=template&id=6a7477bd&scoped=true\"\nimport script from \"./Pdf_isp.vue?vue&type=script&lang=js\"\nexport * from \"./Pdf_isp.vue?vue&type=script&lang=js\"\nimport style0 from \"./Pdf_isp.vue?vue&type=style&index=0&id=6a7477bd&prod&scoped=true&media=print&lang=css\"\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 \"6a7477bd\",\n null\n \n)\n\nexport default component.exports","<template>\r\n <v-app id=\"inspire\">\r\n <v-container>\r\n <v-layout row wrap>\r\n <v-flex md12 xs12 sm12>\r\n <!-- Card de carga -->\r\n <v-dialog v-model=\"dialog\" hide-overlay persistent width=\"400\">\r\n <v-card dark>\r\n <v-card-text>\r\n <div class=\"d-flex justify-center\">\r\n <h2 class=\"mt-4 mb-4 body-1\">Cargando menú...</h2>\r\n <v-progress-circular :size=\"50\" color=\"amber\" indeterminate></v-progress-circular>\r\n </div>\r\n </v-card-text>\r\n </v-card>\r\n </v-dialog>\r\n <!-- Card de carga. Final code... -->\r\n </v-flex>\r\n </v-layout>\r\n <v-layout row wrap class=\"pl-3 pr-3\">\r\n <v-flex text-center md12 xs12 sm12>\r\n <!-- Contenido -->\r\n <v-card class=\"ma-4\">\r\n <v-layout row wrap>\r\n <v-flex text-center md12 xs12 sm12>\r\n <!-- Contenido Sp-->\r\n <v-card>\r\n <v-card-title>\r\n <v-layout row wrap>\r\n <v-flex md4 xs12 sm12></v-flex>\r\n <v-flex md4 xs12 sm12>\r\n <v-text-field v-model=\"search\" append-icon=\"mdi-magnify\" label=\"Buscar:\" single-line hide-details solo class=\"ma-4\"></v-text-field>\r\n </v-flex>\r\n <v-flex md4 xs12 sm12></v-flex>\r\n </v-layout>\r\n </v-card-title>\r\n <v-data-table :headers=\"headers4\" :items=\"sp_cotizacion_encabezado\" :search=\"search\" :loading=\"estado_datos_sp\">\r\n <!-- Opciones -->\r\n <template v-slot:[`item.opciones`]=\"{ item }\">\r\n <div class=\"d-flex justify-center\">\r\n <EditarCotizacionEspecialInternacional :codigo_cotizacion=\"item.sp_cotizacion_id\" @click=\"cargarCotizacionesRegistradasSp\" />\r\n <Pdfisp :is-disabled=\"item.estado === 'COTIZADA'\" :codigo_cotizacion=\"item.sp_cotizacion_id\" :vendedor=\"item.vendedor\" />\r\n\r\n <EditarValoresInternacional :is-disabled=\"item.estado === 'COTIZADA'\" :codigo_cotizacion=\"item.sp_cotizacion_id\" />\r\n <v-icon :disabled=\"item.estado !== 'COTIZADA'\" class=\"ma-3\" small color=\"#1d1d1d\" @click=\"\r\n crearPdfServerISP(item.sp_cotizacion_id)\r\n \">\r\n picture_as_pdf\r\n </v-icon>\r\n <v-icon :disabled=\"item.estado !== 'COTIZADA'\" small color=\"#329EF4\" @click=\"\r\n compartirCotizacionISP(\r\n item.sp_cotizacion_id,\r\n item.vendedor\r\n )\r\n \">\r\n share\r\n </v-icon>\r\n </div>\r\n </template>\r\n <!-- Opciones. final code... -->\r\n\r\n <!-- Ajuste color estado -->\r\n <template v-slot:[`item.estado`]=\"{ item }\">\r\n <Estados :estado=\"item.estado\" />\r\n </template>\r\n <!-- Ajuste color estado. final code... -->\r\n </v-data-table>\r\n </v-card>\r\n <!-- Contenido Sp. Final code... -->\r\n </v-flex>\r\n </v-layout>\r\n </v-card>\r\n </v-flex>\r\n </v-layout>\r\n </v-container>\r\n </v-app>\r\n</template>\r\n\r\n<script>\r\nimport { mapState } from \"vuex\";\r\nimport axios from \"axios\";\r\nimport url from \"../Api\";\r\nimport EditarCotizacionEspecialInternacional from \"../components/Editar_cotizacion_especial_internacional.vue\";\r\nimport EditarValoresInternacional from \"../components/Editar_valores_isp.vue\";\r\nimport Swal from \"sweetalert2\";\r\nimport Pdfisp from \"../components/Pdf_isp\";\r\nimport Estados from \"../components/ver_cotizaciones/estados.vue\";\r\n\r\nexport default {\r\n name: \"c_especial_internacional\",\r\n components: {\r\n EditarValoresInternacional,\r\n EditarCotizacionEspecialInternacional,\r\n Pdfisp,\r\n Estados,\r\n },\r\n data() {\r\n return {\r\n tab: null,\r\n dialog: false,\r\n drawer: null,\r\n items: [\r\n\r\n ],\r\n //Datos token\r\n token: \"\",\r\n id_agencia: \"\",\r\n id_usuario: \"\",\r\n //Condicionales\r\n estado_ver_cotizaciones: false,\r\n estado_asignar_precios: false,\r\n search: \"\",\r\n headers4: [\r\n {\r\n text: \"Código\",\r\n align: \"start\",\r\n filterable: true,\r\n value: \"sp_cotizacion_id\",\r\n },\r\n { text: \"Vendedor\", value: \"vendedor\" },\r\n { text: \"Agencia\", value: \"agencia\" },\r\n { text: \"Cliente\", value: \"cliente\" },\r\n { text: \"Fecha\", value: \"fecha\" },\r\n { text: \"Estado\", value: \"estado\" },\r\n { text: \"Opción\", value: \"opciones\", sortable: false },\r\n ],\r\n //Datos tablas\r\n sp_cotizacion_encabezado: [],\r\n //Condicionales\r\n estado_datos_sp: false,\r\n //Rol\r\n rol: \"\",\r\n };\r\n },\r\n methods: {\r\n compartirCotizacionISP(codigo_cotizacion_la, vendedor) {\r\n //console.log(codigo_cotizacion, vendedor);\r\n const codigo_cotizacion = codigo_cotizacion_la.trim();\r\n axios\r\n .post(\r\n `${url}/pdf_isp`,\r\n {\r\n codigo_cotizacion,\r\n },\r\n this.config\r\n )\r\n .then((res) => {\r\n console.log(res);\r\n setTimeout(() => {\r\n // Api web share\r\n if (navigator.share) {\r\n navigator\r\n .share({\r\n title: `Cotización ${codigo_cotizacion.trim()} compartida!`,\r\n text: `Comercial ${vendedor.trim()} de Icomallas ha compartido con usted el siguiente enlace que contiene el link de la cotización ${codigo_cotizacion.trim()}`,\r\n url: `${url}/ver_pdf_isp/${codigo_cotizacion}`,\r\n })\r\n .then(() => {\r\n console.log(\"Cotizacion compartida!\");\r\n })\r\n .catch((err) => {\r\n console.log(`Fallo al compartir el PDF`, err.message);\r\n });\r\n } else {\r\n console.log(\"web share no compatible con su navegador :/\");\r\n Swal.fire({\r\n icon: \"error\",\r\n title: `Fallo de Api`,\r\n text: `web share no compatible con su navegador :/`,\r\n });\r\n }\r\n // Api web share. Final code...\r\n }, 500);\r\n })\r\n .catch((err) => {\r\n console.error(err);\r\n });\r\n },\r\n crearPdfServerISP(codigo_cotizacion) {\r\n Swal.fire({\r\n title: 'Cargando...',\r\n text: 'Por favor, espera mientras se genera el PDF.',\r\n allowOutsideClick: false,\r\n didOpen: () => {\r\n Swal.showLoading();\r\n },\r\n });\r\n axios\r\n .post(\r\n `${url}/pdf_isp`,\r\n {\r\n codigo_cotizacion: codigo_cotizacion.trim(),\r\n },\r\n this.config\r\n )\r\n .then((res) => {\r\n console.log(res);\r\n setTimeout(() => {\r\n Swal.close();\r\n window.open(`${url}/ver_pdf_isp/${codigo_cotizacion}`, \"_blank\");\r\n }, 1000);\r\n })\r\n .catch((err) => {\r\n Swal.fire({\r\n icon: 'error',\r\n title: 'Error',\r\n text: 'Ocurrió un error al generar el PDF.',\r\n });\r\n console.error(err);\r\n });\r\n },\r\n urlRouter(url) {\r\n console.log(url);\r\n this.$router.push(`/${url}`);\r\n },\r\n verPdf(item) {\r\n console.log(item.st_cotizacion_id);\r\n },\r\n cargarCotizacionesRegistradasSp() {\r\n this.estado_datos_sp = true;\r\n axios\r\n .post(\r\n `${url}/cargar_cotizaciones_registradas_isp`,\r\n {\r\n id_usuario: this.id_usuario,\r\n rol: this.rol,\r\n },\r\n this.config\r\n )\r\n .then((res) => {\r\n console.log(res);\r\n this.estado_datos_sp = false;\r\n this.sp_cotizacion_encabezado = res.data;\r\n })\r\n .catch((err) => {\r\n console.error(err);\r\n });\r\n },\r\n },\r\n computed: {\r\n ...mapState([\"informacion_usuario\"]),\r\n config: function () {\r\n let config = {\r\n headers: {\r\n token: this.token,\r\n },\r\n };\r\n return config;\r\n },\r\n },\r\n mounted() {\r\n this.id_agencia = this.informacion_usuario.id_agencia;\r\n this.id_usuario = this.informacion_usuario.id_usuario;\r\n this.token = localStorage.getItem(\"token\");\r\n this.rol = this.informacion_usuario.id_cargo;\r\n\r\n //Cargar Cotizaciones\r\n this.cargarCotizacionesRegistradasSp();\r\n },\r\n};\r\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!./c_especial_intl.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!./c_especial_intl.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./c_especial_intl.vue?vue&type=template&id=475f3f7c\"\nimport script from \"./c_especial_intl.vue?vue&type=script&lang=js\"\nexport * from \"./c_especial_intl.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","// Components\nimport VInput from '../VInput/VInput'\n\n// Mixins\nimport mixins from '../../util/mixins'\nimport BindsAttrs from '../../mixins/binds-attrs'\nimport { provide as RegistrableProvide } from '../../mixins/registrable'\n\n// Helpers\nimport { VNode } from 'vue'\nimport { getSlot } from '../../util/helpers'\n\ntype ErrorBag = Record<number, boolean>\ntype VInputInstance = InstanceType<typeof VInput>\ntype Watchers = {\n _uid: number\n valid: () => void\n shouldValidate: () => void\n}\n\n/* @vue/component */\nexport default mixins(\n BindsAttrs,\n RegistrableProvide('form')\n /* @vue/component */\n).extend({\n name: 'v-form',\n\n provide (): object {\n return { form: this }\n },\n\n inheritAttrs: false,\n\n props: {\n disabled: Boolean,\n lazyValidation: Boolean,\n readonly: Boolean,\n value: Boolean,\n },\n\n data: () => ({\n inputs: [] as VInputInstance[],\n watchers: [] as Watchers[],\n errorBag: {} as ErrorBag,\n }),\n\n watch: {\n errorBag: {\n handler (val) {\n const errors = Object.values(val).includes(true)\n\n this.$emit('input', !errors)\n },\n deep: true,\n immediate: true,\n },\n },\n\n methods: {\n watchInput (input: any): Watchers {\n const watcher = (input: any): (() => void) => {\n return input.$watch('hasError', (val: boolean) => {\n this.$set(this.errorBag, input._uid, val)\n }, { immediate: true })\n }\n\n const watchers: Watchers = {\n _uid: input._uid,\n valid: () => {},\n shouldValidate: () => {},\n }\n\n if (this.lazyValidation) {\n // Only start watching inputs if we need to\n watchers.shouldValidate = input.$watch('shouldValidate', (val: boolean) => {\n if (!val) return\n\n // Only watch if we're not already doing it\n if (this.errorBag.hasOwnProperty(input._uid)) return\n\n watchers.valid = watcher(input)\n })\n } else {\n watchers.valid = watcher(input)\n }\n\n return watchers\n },\n /** @public */\n validate (): boolean {\n return this.inputs.filter(input => !input.validate(true)).length === 0\n },\n /** @public */\n reset (): void {\n this.inputs.forEach(input => input.reset())\n this.resetErrorBag()\n },\n resetErrorBag () {\n if (this.lazyValidation) {\n // Account for timeout in validatable\n setTimeout(() => {\n this.errorBag = {}\n }, 0)\n }\n },\n /** @public */\n resetValidation () {\n this.inputs.forEach(input => input.resetValidation())\n this.resetErrorBag()\n },\n register (input: VInputInstance) {\n this.inputs.push(input)\n this.watchers.push(this.watchInput(input))\n },\n unregister (input: VInputInstance) {\n const found = this.inputs.find(i => i._uid === input._uid)\n\n if (!found) return\n\n const unwatch = this.watchers.find(i => i._uid === found._uid)\n if (unwatch) {\n unwatch.valid()\n unwatch.shouldValidate()\n }\n\n this.watchers = this.watchers.filter(i => i._uid !== found._uid)\n this.inputs = this.inputs.filter(i => i._uid !== found._uid)\n this.$delete(this.errorBag, found._uid)\n },\n },\n\n render (h): VNode {\n return h('form', {\n staticClass: 'v-form',\n attrs: {\n novalidate: true,\n ...this.attrs$,\n },\n on: {\n submit: (e: Event) => this.$emit('submit', e),\n },\n }, getSlot(this))\n },\n})\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[(_vm.estado.trim() == 'EN GESTIÓN')?_c('v-chip',{attrs:{\"color\":\"#2196F3\",\"dark\":\"\"}},[_vm._v(\" \"+_vm._s(_vm.estado)+\" \")]):_vm._e(),(_vm.estado.trim() == 'SOLICITADA')?_c('v-chip',{attrs:{\"color\":\"#FB8C00\",\"dark\":\"\"}},[_vm._v(\" \"+_vm._s(_vm.estado)+\" \")]):_vm._e(),(_vm.estado.trim() == 'EN PROVEEDOR')?_c('v-chip',{attrs:{\"color\":\"#FB8C00\",\"dark\":\"\"}},[_vm._v(\" \"+_vm._s(_vm.estado)+\" \")]):_vm._e(),(_vm.estado.trim() == 'COTIZADA')?_c('v-chip',{attrs:{\"color\":\"#4CAF50\",\"dark\":\"\"}},[_vm._v(\" \"+_vm._s(_vm.estado)+\" \")]):_vm._e(),(_vm.estado.trim() == 'ANULADA')?_c('v-chip',{attrs:{\"color\":\"#FF5252\",\"dark\":\"\"}},[_vm._v(\" \"+_vm._s(_vm.estado)+\" \")]):_vm._e(),(_vm.estado.trim() == 'NO VIABLE')?_c('v-chip',{attrs:{\"color\":\"#FF5252\",\"dark\":\"\"}},[_vm._v(\" \"+_vm._s(_vm.estado)+\" \")]):_vm._e(),(_vm.estado.trim() == 'COMENTARIO')?_c('v-chip',{attrs:{\"color\":\"#FB8C00\",\"dark\":\"\"}},[_vm._v(\" \"+_vm._s(_vm.estado)+\" \")]):_vm._e(),(_vm.estado.trim() == 'SIMULACIÓN')?_c('v-chip',{attrs:{\"color\":\"#FB8C00\",\"dark\":\"\"}},[_vm._v(\" \"+_vm._s(_vm.estado)+\" \")]):_vm._e(),(_vm.estado.trim() == 'EN DISEÑO')?_c('v-chip',{attrs:{\"color\":\"#FB8C00\",\"dark\":\"\"}},[_vm._v(\" \"+_vm._s(_vm.estado)+\" \")]):_vm._e(),(_vm.estado.trim() == 'APROBACIÓN CLIENTE')?_c('v-chip',{attrs:{\"color\":\"#FF5252\",\"dark\":\"\"}},[_vm._v(\" \"+_vm._s(_vm.estado)+\" \")]):_vm._e(),(_vm.estado.trim() == 'ABONO ESP')?_c('v-chip',{attrs:{\"color\":\"#7B1FA2\",\"dark\":\"\"}},[_vm._v(\" \"+_vm._s(_vm.estado)+\" \")]):_vm._e(),(_vm.estado.trim() == 'EN PENDIENTE PRODUCCIÓN')?_c('v-chip',{attrs:{\"color\":\"#2979FF\",\"dark\":\"\"}},[_vm._v(\" \"+_vm._s(_vm.estado)+\" \")]):_vm._e(),(_vm.estado.trim() == 'PENDIENTE FACTURAR')?_c('v-chip',{attrs:{\"color\":\"#CDDC39\",\"dark\":\"\"}},[_vm._v(\" \"+_vm._s(_vm.estado)+\" \")]):_vm._e(),(_vm.estado.trim() == 'APROBADA')?_c('v-chip',{attrs:{\"color\":\"#FFEB3B\",\"dark\":\"\"}},[_vm._v(\" \"+_vm._s(_vm.estado)+\" \")]):_vm._e(),(_vm.estado.trim() == 'EN REVISIÓN')?_c('v-chip',{attrs:{\"color\":\"#00E676\",\"dark\":\"\"}},[_vm._v(\" \"+_vm._s(_vm.estado)+\" \")]):_vm._e(),(_vm.estado.trim() == 'RECOTIZACIÓN')?_c('v-chip',{attrs:{\"color\":\"#009688\",\"dark\":\"\"}},[_vm._v(\" \"+_vm._s(_vm.estado)+\" \")]):_vm._e(),(_vm.estado.trim() == 'FACTURADO')?_c('v-chip',{attrs:{\"color\":\"#7C4DFF\",\"dark\":\"\"}},[_vm._v(\" \"+_vm._s(_vm.estado)+\" \")]):_vm._e(),(_vm.estado.trim() == 'ABONO PLAZA')?_c('v-chip',{attrs:{\"color\":\"#A7FFEB\",\"dark\":\"\"}},[_vm._v(\" \"+_vm._s(_vm.estado)+\" \")]):_vm._e(),(_vm.estado.trim() == 'ABONO ARQ')?_c('v-chip',{attrs:{\"color\":\"#00E5FF\",\"dark\":\"\"}},[_vm._v(\" \"+_vm._s(_vm.estado)+\" \")]):_vm._e(),(_vm.estado.trim() == 'ACTUALIZACIÓN')?_c('v-chip',{attrs:{\"color\":\"#CCFF90\",\"dark\":\"\"}},[_vm._v(\" \"+_vm._s(_vm.estado)+\" \")]):_vm._e(),(_vm.estado.trim() == 'EN COMPRAS')?_c('v-chip',{attrs:{\"color\":\"#FFF59D\",\"dark\":\"\"}},[_vm._v(\" \"+_vm._s(_vm.estado)+\" \")]):_vm._e(),(_vm.estado.trim() == 'PIPEDRIVE - VENCIDO')?_c('v-chip',{attrs:{\"color\":\"#FF7C48\",\"dark\":\"\"}},[_vm._v(\" \"+_vm._s(_vm.estado)+\" \")]):_vm._e(),(_vm.estado.trim() == 'PERDIDO')?_c('v-chip',{attrs:{\"color\":\"#E53935\",\"dark\":\"\"}},[_vm._v(\" \"+_vm._s(_vm.estado)+\" \")]):_vm._e(),(_vm.estado.trim() == 'GANADO')?_c('v-chip',{attrs:{\"color\":\"#4A148C\",\"dark\":\"\"}},[_vm._v(\" \"+_vm._s(_vm.estado)+\" \")]):_vm._e(),(_vm.estado.trim() == 'ABONO')?_c('v-chip',{attrs:{\"color\":\"#0D47A1\",\"dark\":\"\"}},[_vm._v(\" \"+_vm._s(_vm.estado)+\" \")]):_vm._e(),(_vm.estado.trim() == 'FABRICACIÓN')?_c('v-chip',{attrs:{\"color\":\"#64FFDA\",\"dark\":\"\"}},[_vm._v(\" \"+_vm._s(_vm.estado)+\" \")]):_vm._e(),(_vm.estado.trim() == 'FACTR C.ACTUAL')?_c('v-chip',{attrs:{\"color\":\"#C0CA33\",\"dark\":\"\"}},[_vm._v(\" \"+_vm._s(_vm.estado)+\" \")]):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n\t<div>\r\n\t\t<v-chip color=\"#2196F3\" dark v-if=\"estado.trim() == 'EN GESTIÓN'\">\r\n\t\t\t{{ estado }}\r\n\t\t</v-chip>\r\n\t\t<v-chip color=\"#FB8C00\" dark v-if=\"estado.trim() == 'SOLICITADA'\">\r\n\t\t\t{{ estado }}\r\n\t\t</v-chip>\r\n\t\t<v-chip color=\"#FB8C00\" dark v-if=\"estado.trim() == 'EN PROVEEDOR'\">\r\n\t\t\t{{ estado }}\r\n\t\t</v-chip>\r\n\t\t<v-chip color=\"#4CAF50\" dark v-if=\"estado.trim() == 'COTIZADA'\">\r\n\t\t\t{{ estado }}\r\n\t\t</v-chip>\r\n\t\t<v-chip color=\"#FF5252\" dark v-if=\"estado.trim() == 'ANULADA'\">\r\n\t\t\t{{ estado }}\r\n\t\t</v-chip>\r\n\t\t<v-chip color=\"#FF5252\" dark v-if=\"estado.trim() == 'NO VIABLE'\">\r\n\t\t\t{{ estado }}\r\n\t\t</v-chip>\r\n\t\t<v-chip color=\"#FB8C00\" dark v-if=\"estado.trim() == 'COMENTARIO'\">\r\n\t\t\t{{ estado }}\r\n\t\t</v-chip>\r\n\t\t<v-chip color=\"#FB8C00\" dark v-if=\"estado.trim() == 'SIMULACIÓN'\">\r\n\t\t\t{{ estado }}\r\n\t\t</v-chip>\r\n\t\t<v-chip color=\"#FB8C00\" dark v-if=\"estado.trim() == 'EN DISEÑO'\">\r\n\t\t\t{{ estado }}\r\n\t\t</v-chip>\r\n\t\t<v-chip color=\"#FF5252\" dark v-if=\"estado.trim() == 'APROBACIÓN CLIENTE'\">\r\n\t\t\t{{ estado }}\r\n\t\t</v-chip>\r\n\t\t<v-chip color=\"#7B1FA2\" dark v-if=\"estado.trim() == 'ABONO ESP'\">\r\n\t\t\t{{ estado }}\r\n\t\t</v-chip>\r\n\t\t<v-chip color=\"#2979FF\" dark v-if=\"estado.trim() == 'EN PENDIENTE PRODUCCIÓN'\">\r\n\t\t\t{{ estado }}\r\n\t\t</v-chip>\r\n\t\t<v-chip color=\"#CDDC39\" dark v-if=\"estado.trim() == 'PENDIENTE FACTURAR'\">\r\n\t\t\t{{ estado }}\r\n\t\t</v-chip>\r\n\t\t<v-chip color=\"#FFEB3B\" dark v-if=\"estado.trim() == 'APROBADA'\">\r\n\t\t\t{{ estado }}\r\n\t\t</v-chip>\r\n\t\t<v-chip color=\"#00E676\" dark v-if=\"estado.trim() == 'EN REVISIÓN'\">\r\n\t\t\t{{ estado }}\r\n\t\t</v-chip>\r\n\t\t<v-chip color=\"#009688\" dark v-if=\"estado.trim() == 'RECOTIZACIÓN'\">\r\n\t\t\t{{ estado }}\r\n\t\t</v-chip>\r\n\t\t<v-chip color=\"#7C4DFF\" dark v-if=\"estado.trim() == 'FACTURADO'\">\r\n\t\t\t{{ estado }}\r\n\t\t</v-chip>\r\n\t\t<v-chip color=\"#A7FFEB\" dark v-if=\"estado.trim() == 'ABONO PLAZA'\">\r\n\t\t\t{{ estado }}\r\n\t\t</v-chip>\r\n\t\t<v-chip color=\"#00E5FF\" dark v-if=\"estado.trim() == 'ABONO ARQ'\">\r\n\t\t\t{{ estado }}\r\n\t\t</v-chip>\r\n\t\t<v-chip color=\"#CCFF90\" dark v-if=\"estado.trim() == 'ACTUALIZACIÓN'\">\r\n\t\t\t{{ estado }}\r\n\t\t</v-chip>\r\n\t\t<v-chip color=\"#FFF59D\" dark v-if=\"estado.trim() == 'EN COMPRAS'\">\r\n\t\t\t{{ estado }}\r\n\t\t</v-chip>\r\n\t\t<v-chip color=\"#FF7C48\" dark v-if=\"estado.trim() == 'PIPEDRIVE - VENCIDO'\">\r\n\t\t\t{{ estado }}\r\n\t\t</v-chip>\r\n\t\t<!-- Estados CRM -->\r\n\t\t<v-chip color=\"#E53935\" dark v-if=\"estado.trim() == 'PERDIDO'\">\r\n\t\t\t{{ estado }}\r\n\t\t</v-chip>\r\n\t\t<v-chip color=\"#4A148C\" dark v-if=\"estado.trim() == 'GANADO'\">\r\n\t\t\t{{ estado }}\r\n\t\t</v-chip>\r\n\t\t<v-chip color=\"#0D47A1\" dark v-if=\"estado.trim() == 'ABONO'\">\r\n\t\t\t{{ estado }}\r\n\t\t</v-chip>\r\n\t\t<v-chip color=\"#64FFDA\" dark v-if=\"estado.trim() == 'FABRICACIÓN'\">\r\n\t\t\t{{ estado }}\r\n\t\t</v-chip>\r\n\t\t<v-chip color=\"#C0CA33\" dark v-if=\"estado.trim() == 'FACTR C.ACTUAL'\">\r\n\t\t\t{{ estado }}\r\n\t\t</v-chip>\r\n\t\t<!-- Final de estados CRM -->\r\n\t</div>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n\tname: \"editar_usuario\",\r\n\tcomponents: {},\r\n\tprops: {\r\n\t\testado: {\r\n\t\t\ttype: String,\r\n\t\t},\r\n\t}\r\n};\r\n</script>\r\n<style scoped></style>","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!./estados.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!./estados.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./estados.vue?vue&type=template&id=400b2427&scoped=true\"\nimport script from \"./estados.vue?vue&type=script&lang=js\"\nexport * from \"./estados.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 \"400b2427\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-layout',{staticClass:\"pl-3 pr-3\",attrs:{\"row\":\"\",\"wrap\":\"\"}},[_c('v-flex',{attrs:{\"text-center\":\"\",\"md12\":\"\",\"sm12\":\"\",\"xs12\":\"\"}},[_c('h2',{staticClass:\"mt-4 subtitle-1\",staticStyle:{\"color\":\"#202020\"}},[_vm._v(\"PLANO COTIZACIÓN\")]),(_vm.datos_plano == '')?_c('div',{staticClass:\"d-flex justify-center mb-2 mt-2\"},[_c('v-btn',{staticClass:\"ma-2\",attrs:{\"outlined\":\"\",\"color\":\"indigo\"},on:{\"click\":_vm.verPlanos}},[_c('v-icon',{attrs:{\"left\":\"\",\"dark\":\"\"}},[_vm._v(\" cloud_off \")]),_vm._v(\" No Contiene Plano \")],1)],1):_vm._l((_vm.datos_plano),function(plano){return _c('div',{key:plano.id_plano,staticClass:\"mt-8 mb-4\"},[(\n plano.tipo_elemento.trim() == 'image/png' ||\n plano.tipo_elemento.trim() == 'image/jpeg'\n )?_c('div',{staticClass:\"d-flex justify-center mb-4\"},[_c('v-img',{attrs:{\"max-height\":\"235\",\"max-width\":\"300\",\"src\":`${_vm.enlace}/ver_planos/${plano.nombre_plano}`}})],1):_vm._e(),_c('a',{staticClass:\"plano_estilo pt-2 pb-2 pr-6 pl-6 text--white\",attrs:{\"target\":\"_blank\",\"href\":`${_vm.enlace}/ver_planos/${plano.nombre_plano}`}},[_vm._v(\"Ver Plano\")])])})],2)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <v-layout class=\"pl-3 pr-3\" row wrap>\r\n <v-flex text-center md12 sm12 xs12>\r\n <h2 class=\"mt-4 subtitle-1\" style=\"color: #202020\">PLANO COTIZACIÓN</h2>\r\n <div class=\"d-flex justify-center mb-2 mt-2\" v-if=\"datos_plano == ''\">\r\n <v-btn class=\"ma-2\" outlined color=\"indigo\" @click=\"verPlanos\">\r\n <v-icon left dark> cloud_off </v-icon>\r\n No Contiene Plano\r\n </v-btn>\r\n </div>\r\n <div\r\n v-else\r\n class=\"mt-8 mb-4\"\r\n v-for=\"plano in datos_plano\"\r\n :key=\"plano.id_plano\"\r\n >\r\n <div\r\n class=\"d-flex justify-center mb-4\"\r\n v-if=\"\r\n plano.tipo_elemento.trim() == 'image/png' ||\r\n plano.tipo_elemento.trim() == 'image/jpeg'\r\n \"\r\n >\r\n <v-img\r\n max-height=\"235\"\r\n max-width=\"300\"\r\n :src=\"`${enlace}/ver_planos/${plano.nombre_plano}`\"\r\n ></v-img>\r\n </div>\r\n <a\r\n class=\"plano_estilo pt-2 pb-2 pr-6 pl-6 text--white\"\r\n target=\"_blank\"\r\n :href=\"`${enlace}/ver_planos/${plano.nombre_plano}`\"\r\n >Ver Plano</a\r\n >\r\n </div>\r\n </v-flex>\r\n </v-layout>\r\n</template>\r\n<script>\r\nimport axiosInstance from \"../config/axiosInstance\";\r\n\r\nexport default {\r\n name: \"subir_plano\",\r\n props: {\r\n codigo_cotizacion_plano: {\r\n type: String,\r\n required: true,\r\n },\r\n },\r\n data() {\r\n return {\r\n datos_plano: [],\r\n enlace: process.env.VUE_APP_API,\r\n };\r\n },\r\n methods: {\r\n verPlanos() {\r\n axiosInstance\r\n .get(\r\n `/cargar_datos_plano/${this.codigo_cotizacion_plano}`)\r\n .then((res) => {\r\n this.datos_plano = res.data[0];\r\n })\r\n .catch((err) => {\r\n console.error(err);\r\n });\r\n },\r\n },\r\n mounted() {\r\n this.verPlanos();\r\n }\r\n};\r\n</script>\r\n\r\n<style scoped>\r\n.plano_estilo {\r\n margin-top: 200px;\r\n margin-bottom: 20px;\r\n text-decoration: none;\r\n background: #14c1d7;\r\n color: #fff;\r\n border-radius: 10px;\r\n box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);\r\n}\r\n</style>\r\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!./Ver_planos.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!./Ver_planos.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Ver_planos.vue?vue&type=template&id=43e8b521&scoped=true\"\nimport script from \"./Ver_planos.vue?vue&type=script&lang=js\"\nexport * from \"./Ver_planos.vue?vue&type=script&lang=js\"\nimport style0 from \"./Ver_planos.vue?vue&type=style&index=0&id=43e8b521&prod&scoped=true&lang=css\"\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 \"43e8b521\",\n null\n \n)\n\nexport default component.exports","// Styles\nimport './VTextarea.sass'\n\n// Extensions\nimport VTextField from '../VTextField/VTextField'\n\n// Utilities\nimport mixins from '../../util/mixins'\n\n// Types\nimport Vue from 'vue'\n\ninterface options extends Vue {\n $refs: {\n input: HTMLTextAreaElement\n }\n}\n\nconst baseMixins = mixins<options &\n InstanceType<typeof VTextField>\n>(\n VTextField\n)\n\n/* @vue/component */\nexport default baseMixins.extend({\n name: 'v-textarea',\n\n props: {\n autoGrow: Boolean,\n noResize: Boolean,\n rowHeight: {\n type: [Number, String],\n default: 24,\n validator: (v: any) => !isNaN(parseFloat(v)),\n },\n rows: {\n type: [Number, String],\n default: 5,\n validator: (v: any) => !isNaN(parseInt(v, 10)),\n },\n },\n\n computed: {\n classes (): object {\n return {\n 'v-textarea': true,\n 'v-textarea--auto-grow': this.autoGrow,\n 'v-textarea--no-resize': this.noResizeHandle,\n ...VTextField.options.computed.classes.call(this),\n }\n },\n noResizeHandle (): boolean {\n return this.noResize || this.autoGrow\n },\n },\n\n watch: {\n autoGrow (val: boolean) {\n this.$nextTick(() => {\n val\n ? this.calculateInputHeight()\n : this.$refs.input?.style.removeProperty('height')\n })\n },\n lazyValue () {\n this.autoGrow && this.$nextTick(this.calculateInputHeight)\n },\n rowHeight () {\n this.autoGrow && this.$nextTick(this.calculateInputHeight)\n },\n },\n\n mounted () {\n setTimeout(() => {\n this.autoGrow && this.calculateInputHeight()\n }, 0)\n },\n\n methods: {\n calculateInputHeight () {\n const input = this.$refs.input\n if (!input) return\n\n input.style.height = '0'\n const height = input.scrollHeight\n const minHeight = parseInt(this.rows, 10) * parseFloat(this.rowHeight)\n // This has to be done ASAP, waiting for Vue\n // to update the DOM causes ugly layout jumping\n input.style.height = Math.max(minHeight, height) + 'px'\n },\n genInput () {\n const input = VTextField.options.methods.genInput.call(this)\n\n input.tag = 'textarea'\n delete input.data!.attrs!.type\n input.data!.attrs!.rows = this.rows\n\n return input\n },\n onInput (e: Event) {\n VTextField.options.methods.onInput.call(this, e)\n this.autoGrow && this.calculateInputHeight()\n },\n onKeyDown (e: KeyboardEvent) {\n // Prevents closing of a\n // dialog when pressing\n // enter\n if (this.isFocused && e.keyCode === 13) {\n e.stopPropagation()\n }\n\n this.$emit('keydown', e)\n },\n },\n})\n","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Pdf_isp.vue?vue&type=style&index=0&id=6a7477bd&prod&scoped=true&media=print&lang=css\"","module.exports = __webpack_public_path__ + \"img/logo negro_Mesa de trabajo 1.2a56e9fb.png\";"],"sourceRoot":""}