{"version":3,"sources":["webpack:///./src/components/Ppe/modules/PlanForecastVolumeCosts.vue?a66d","webpack:///./src/components/Ppe/PlanDetails.vue?e92f","webpack:///./src/entity/Ppe/UnitOfMeasurement.ts","webpack:///./src/components/Ppe/modules/PlanGeneralInfo.vue?b325","webpack:///./src/components/Ppe/modules/PlanGeneralInfo.vue?c3f7","webpack:///./src/components/Ppe/modules/PlanGeneralInfo.vue","webpack:///./src/components/Ppe/modules/PlanForecastVolumeCosts.vue?bf41","webpack:///./src/components/Ppe/modules/PlanForecastVolumeCosts.vue?b109","webpack:///./src/components/Ppe/modules/PlanEvaluationForm.vue?2cf0","webpack:///./src/components/Ppe/modules/PlanAttachmentsDetail.vue?3ba6","webpack:///./src/components/Ppe/modules/PlanEvaluationForm.vue?bf64","webpack:///./src/components/Ppe/PlanDetails.vue?1075","webpack:///./src/components/Ppe/modules/PlanProductsManage.vue?2ed1","webpack:///./src/components/Ppe/modules/PlanAttachmentsDetail.vue?6896","webpack:///./src/components/Ppe/modules/PlanAttachmentsDetail.vue?f646","webpack:///./src/components/Ppe/PlanDetails.vue?903b","webpack:///./src/components/Ppe/modules/PlanProductsManage.vue?095a","webpack:///./src/entity/Ppe/PlanDetail.ts","webpack:///./src/entity/Ppe/PlanFinal.ts","webpack:///./src/entity/Ppe/PlanTarget.ts","webpack:///./src/components/Ppe/modules/PlanAttachmentsDetail.vue","webpack:///./src/components/Ppe/PlanDetails.vue?07c8","webpack:///./src/components/Ppe/PlanDetails.vue?374f","webpack:///./src/components/Ppe/modules/PlanProductsManage.vue?7179","webpack:///./node_modules/core-js/modules/es.number.is-nan.js","webpack:///./src/components/Ppe/modules/PlanAttachmentsDetail.vue?37c4","webpack:///./src/components/Ppe/PlanDetails.vue?012f","webpack:///./src/components/Ppe/modules/PlanProductsManage.vue?94e5","webpack:///./src/components/Ppe/modules/PlanProductsManage.vue?c60d","webpack:///./src/components/Ppe/modules/PlanEvaluationForm.vue?991c","webpack:///./src/components/Ppe/modules/PlanEvaluationForm.vue?d4a1","webpack:///./src/components/Ppe/modules/PlanEvaluationForm.vue?bdc7","webpack:///./src/entity/Ppe/PlanAuthorization.ts","webpack:///./src/components/Ppe/modules/PlanGeneralInfo.vue?0007","webpack:///./src/components/Ppe/modules/PlanForecastVolumeCosts.vue?b607","webpack:///./src/components/Ppe/modules/PlanEvaluationForm.vue?d406","webpack:///./src/components/Ppe/modules/PlanGeneralInfo.vue?ea12","webpack:///./src/components/Ppe/modules/PlanForecastVolumeCosts.vue?05f2","webpack:///./src/components/Ppe/modules/PlanForecastVolumeCosts.vue?da90","webpack:///./src/entity/Ppe/PlanAttachment.ts","webpack:///./src/components/Ppe/modules/PlanProductsManage.vue?b96c"],"names":["component","UnitOfMeasurement","_createClass","idUnit","name","symbol","kSymbol","_classCallCheck","this","exports","render","_vm","_h","$createElement","_c","_self","attrs","$t","planHeaderEditable","model","value","plan","callback","$$v","$set","expression","planDetailEditable","returnState","detail","title","isSaveClicked","_v","_s","undefined","id","dropDownCountries","idCountryFrom","isSaveDraftClicked","creator","placeDate","staticClass","mrkMngSign","mrkHeadSign","cnyMngSign","dropDownTargetCustomer1","targetCustomer1","dropDownTargetCustomer2","targetCustomer2","year","month","day","dtStart","dtEnd","benefits","planGoal","dropDownMechanics","mechanics","mechanicsDescription","dropDownModality","supportMaterials","unitOfMeasurement","targetVolume","target","_e","staticRenderFns","planTargetEditable","planTarget","lastYearVolumeBaseLine","isImported","on","$event","calculateExtraVolumePromo","kSymbolProp","totalVolumeTons","planTargetVolume","onChangeTotalVolumeTons","totalVolumeEuroDurance","planTargetUnits","onChangeTotalVolumeEuro","costPPE","onChangeCostPPE","style","incidenceKg","toString","replace","symbolProp","incidenceEuro","budgetIncidence","grossProfit","onChangeGrossProfit","directives","rawName","modifiers","onChangeExtraVolumePromo","extraVolumePromo","onChangeExtraGPPromo","extraGPPromo","valueROI","isSubsidiaryNotesEditable","isHeadNotesEditable","vue_property_decorator_1","require","Enums_1","PlanFinal_1","General_1","ClaimEnum_1","PlanEvaluationForm","_vue_property_decorat","_this","planFinal","PlanFinal","evaluationMarkOptions","planTargetTotalVolumeYearBefore","symbolUnitOfMeasurementPlan","kSymbolUnitOfMeasurementPlan","entityMounted","confirmIncidencesRecalc","extraVolumePromoFinal","extraGPPromoFinal","valueROIFinal","recalculateExtraVolumePromo","recalculateExtraGPPromo","recalculateROI","recalculateIncidence","isAdminPpe","_inherits","key","get","checkPpeAdminClaim","planFinalProp","planTargetTotalVolumeYearBeforeProp","_context","stop","_callee","condition","clickButton","isPlanFinal","_this2","isNotNullOrNaN","setTimeout","calculateExtraGPPromo","_this3","Number","toFixed","calculateROI","_this4","trim","planFinalEditable","calculateIncidenceKg","_this5","result","calculateIncidenceEuro","_this6","calculateIncidences","isNaN","planStatus","PPE_STATUS","IN_PROGRESS","EVALUATION_CHECK","General","CheckAuthorization","ClaimEnum","CanAdminPpe","Vue","tslib_1","__decorate","Prop","type","Boolean","required","Component","components","axios_1","__importDefault","PlanHeader_1","PlanGeneralInfo_vue_1","PlanDetail_1","PlanAuthorization_1","i18n_setup_1","PlanTarget_1","Enums_2","PlanProductsManage_vue_1","PpeDropDowns_1","PlanForecastVolumeCosts_vue_1","PlanAttachmentsDetail_vue_1","PlanEvaluationForm_vue_1","file_saver_1","UnitOfMeasurement_1","PlanDetails","authorizedUser","parentMounted","tabActivated","loading","PlanHeader","planProductConfirmation","planCountryManagerEndorsement","countryManagerEndorsementEditable","productConfirmationEditable","saveAllowed","attachmentUpload","nextAllowed","refuseAllowed","downloadEvaluationReportPdfAllowed","downloadPromotionPlanPdfAllowed","dropDownProductConfirmation","PRODUCT_TYPE","PPE_PRODUCT_TYPE","ppePdfType","PPE_PDF","costAllocationSectionVisibility","includedProductModuleKey","costAllocationModuleKey","costAllocationCheck","event","status","TARGET_CHECK","dropDownCountriesProp","next","GetDropdownCountriesForUser","planHeaderId","sent","GetDropDownListBySource","SOURCE","PRODUCT_CONFIRMATION","SyncPpeDropdowns","getPlanById","getBasePlanInfo","baseInfo","PPE_UOM","LITERS","PlanDetail","allBrands","PlanTarget","authorization","PlanAuthorization","productsIncluded","Array","productsExcluded","productsCostAllocation","attachments","marketingManagerName","headOfMarketingName","place","date","formatDateIt","setFormAuthorizationNewPlan","productionConfirmation","countryManagerEndorsement","default","method","url","GetApiUrl","withCredentials","responseType","response","_context2","data","totalVolumeYearBefore","initDraftPlan","setCostAllocationSectionVisibility","setFormAuthorization","initPlanFinal","prev","t0","$emit","HandleError","_callee2","_context3","abrupt","_callee3","refused","arguments","length","isDraft","_context5","isValidForm","returnCountryManagerAlert","confirm","i18n","t","__awaiter","_regeneratorRuntime","mark","_callee4","wrap","_context4","doSave","isValidFormNewPlan","_callee5","_callee7","_context7","updatePlan","_callee6","_context6","createPlan","_context8","_callee8","_context9","post","numericId","showAlertSuccess","closeDetailModal","finish","_callee9","_context10","_callee10","$bvModal","hide","isValid","CheckIsNullOrEmpty","showAlertDanger","validGeneralInfo","isValidGeneralInfo","validProductsIncluded","isValidProductsIncluded","validProductsCostAllocation","isValidProductsCostAllocation","validForecastVolumeAndCost","isValidForecastVolumeAndCost","validEvaluationForm","isValidEvaluationForm","allBrandsCost","isValidTargetVolume","isValidTarget","isValidOtherField","final","evaluationMark","resetFormAuthorization","planHeader","PPE_AUTHORIZATION","WRITE","planDetail","productConfirmation","CLOSED","text","pop","idHeader","PROMOTION_PLAN","_context11","filename","headers","split","saveAs","Blob","_callee11","String","PlanGeneralInfo","PlanProductsManage","PlanForecastVolumeCosts","PlanAttachmentsDetail","reset","staticStyle","scopedSlots","_u","fn","confirmAttachment","proxy","uploadPerc","fileName","showSuccessAlert","updateProgress","getFileName","noteFileToUpload","attachmentsUploaded","some","item","toDelete","_m","_l","index","downloadAttachmentDo","notes","removeAttachment","targetCustomerNotes","modality","excludedProductsNotes","commercialCampaignCode","involvedProductsNotes","currentVersion","totalGifts","avgGiftCost","incidenceLiter","mrkHeadNotes","statusDescription","lastYearVolumePromo","groosProfit","getDisabledState","onChangeAllBrand","onChangeCostAllocationAllBrand","ref","$refs","forecastVolumeCostsComponent","onChangeTargetVolume","relatedTabVisibility","evaluationFormTabVisibility","handleTotalVolumeLastYearChange","save","downloadPpePdf","EVALUATION_REPORT","dropDownCode4","dropDownCode5","dropDownProducts","completeDropDownCode5","completeDropDownProducts","isCollapseVisibile","planProducts","productsNotes","planProductsCount","dataReady","code4","code5","idProduct","level","LEVEL","allBrandsProp","toggle","product","GetProductDropDownValues","BRAND","VARIANT","PRODUCT","planProductsProp","onChangeAllBrands","notesProp","formValidation","findIndex","x","normalizeCode","newProduct","push","cleanAllSelection","indexToDelete","splice","color","editable","input","$","stat","number","PlanAttachment_1","idSession","singleFile","PlanAttachment","attachment","downloadAttachmentById","downloadDocumentGenericByIdSession","sessionId","isAlreadyUploaded","newAttachment","check","f","set","e","onSelectingItem","addProduct","class","colorChange","removeProduct","this$1","planProp","InitDropDown","TARGET_CUSTOMER_1","TARGET_CUSTOMER_2","MECHANICS","MODALITY","app","resultTons","confirmWithNoFunction","planTargetProp","fileBlob","userUpload","dataUpload"],"mappings":"kHAAA,8IAQIA,EAAY,eACd,aACA,OACA,QACA,EACA,KACA,WACA,MAIa,aAAAA,E,6CCnBf,W,+ICEaC,EAAiBC,GAQ1B,SAAAD,EACIE,EACAC,EACAC,EACAC,GAAiBC,EAAA,KAAAN,GAEjBO,KAAKL,OAASA,EACdK,KAAKJ,KAAOA,EACZI,KAAKH,OAASA,EACdG,KAAKF,QAAUA,KAjBvBG,EAAAR,qB,oCCFA,IAAIS,EAAS,WAAa,IAAIC,EAAIH,KAASI,EAAGD,EAAIE,eAAmBC,EAAGH,EAAII,MAAMD,IAAIF,EAAG,OAAOE,EAAG,cAAc,CAACE,MAAM,CAAC,MAAQ,KAAK,CAAEL,EAAiB,cAAEG,EAAG,SAAS,CAACA,EAAG,QAAQ,CAACA,EAAG,QAAQ,CAACE,MAAM,CAAC,KAAO,MAAM,CAACF,EAAG,eAAe,CAACE,MAAM,CAAC,MAAQL,EAAIM,GA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,WAAA,CADCjE,EAAAkE,KAAK,CAACC,KAAKC,QAASgF,SAAQ,K,iCAjBZoG,EAAuBxL,EAAAC,WAAA,CAL3CjE,EAAAsE,UAAU,CACPC,WAAY,CACRgL,mBAAAtK,EAAAmE,YAGaoG,G,UAAAA,G,kCC9LrB,W,0JCAa8F,EAAcxb,GAWvB,SAAAwb,EACIxZ,EACA8S,EACAsB,EACA+G,EACAlG,EACA2E,EACAwB,EACAC,EACAzG,GAAkBvW,EAAA,KAAAmb,GAElBlb,KAAK0B,GAAKA,EACV1B,KAAKwU,SAAWA,EAChBxU,KAAK8V,SAAWA,EAChB9V,KAAK6c,SAAWA,EAChB7c,KAAK2W,MAAQA,EACb3W,KAAKsb,UAAYA,EACjBtb,KAAK8c,WAAaA,EAClB9c,KAAK+c,WAAaA,EAClB/c,KAAKsW,SAAWA,KA9BxBrW,EAAAib,kB,kCCAA,8IAQI1b,EAAY,eACd,aACA,OACA,QACA,EACA,KACA,WACA,MAIa,aAAAA,E","file":"js/chunk-10bacadc.3317106f.js","sourcesContent":["import { render, staticRenderFns } from \"./PlanForecastVolumeCosts.vue?vue&type=template&id=41d41f54&scoped=true\"\nimport script from \"./PlanForecastVolumeCosts.vue?vue&type=script&lang=ts\"\nexport * from \"./PlanForecastVolumeCosts.vue?vue&type=script&lang=ts\"\nimport style0 from \"./PlanForecastVolumeCosts.vue?vue&type=style&index=0&id=41d41f54&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 \"41d41f54\",\n null\n \n)\n\nexport default component.exports","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!./PlanDetails.vue?vue&type=style&index=0&id=7ed8b9de&prod&lang=css\"","import { PlanHeader } from \"./PlanHeader\";\r\n\r\nexport class UnitOfMeasurement {\r\n public idUnit : string;\r\n public name : string;\r\n public symbol : string;\r\n public kSymbol : string;\r\n\r\n public planHeaders : Array;\r\n\r\n constructor(\r\n idUnit? : string,\r\n name? : string,\r\n symbol? : string,\r\n kSymbol? : string\r\n ){\r\n this.idUnit = idUnit;\r\n this.name = name;\r\n this.symbol = symbol;\r\n this.kSymbol = kSymbol;\r\n }\r\n}","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-container',{attrs:{\"fluid\":\"\"}},[(_vm.entityMounted)?_c('b-form',[_c('b-row',[_c('b-col',{attrs:{\"cols\":\"4\"}},[_c('b-form-group',{attrs:{\"label\":_vm.$t('PPE.PLAN_SAP_CODE')}},[_c('b-form-input',{attrs:{\"disabled\":!_vm.planHeaderEditable,\"type\":\"text\",\"maxlength\":\"50\"},model:{value:(_vm.plan.sapCode),callback:function ($$v) {_vm.$set(_vm.plan, \"sapCode\", $$v)},expression:\"plan.sapCode\"}})],1)],1),_c('b-col',{attrs:{\"cols\":\"4\"}},[_c('b-form-group',{attrs:{\"label\":_vm.$t('PPE.PLAN_TITLE') + ' *'}},[_c('b-form-input',{attrs:{\"disabled\":!_vm.planDetailEditable,\"type\":\"text\",\"maxlength\":\"500\",\"state\":_vm.returnState(!!_vm.plan.detail.title,_vm.isSaveClicked),\"aria-describedby\":\"titleValidation\"},model:{value:(_vm.plan.detail.title),callback:function ($$v) {_vm.$set(_vm.plan.detail, \"title\", $$v)},expression:\"plan.detail.title\"}}),_c('b-form-invalid-feedback',{attrs:{\"id\":\"titleValidation\"}},[_vm._v(_vm._s(_vm.$t('GENERIC.MANDATORY_FIELD')))])],1)],1),_c('b-col',{attrs:{\"cols\":\"4\"}},[_c('b-form-group',{attrs:{\"label\":_vm.$t('PPE.PLAN_COUNTRY') + ' *'}},[_c('b-form-select',{attrs:{\"disabled\":!this.planHeaderEditable||this.plan.id!==undefined,\"options\":_vm.dropDownCountries,\"state\":_vm.returnState(!!_vm.plan.idCountryFrom,_vm.isSaveClicked||_vm.isSaveDraftClicked),\"aria-describedby\":\"idCountryValidation\"},model:{value:(_vm.plan.idCountryFrom),callback:function ($$v) {_vm.$set(_vm.plan, \"idCountryFrom\", $$v)},expression:\"plan.idCountryFrom\"}}),_c('b-form-invalid-feedback',{attrs:{\"id\":\"idCountryValidation\"}},[_vm._v(_vm._s(_vm.$t('GENERIC.MANDATORY_FIELD')))])],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"4\"}},[_c('b-form-group',{attrs:{\"label\":_vm.$t('PPE.PLAN_CREATOR') + ' *'}},[_c('b-form-input',{attrs:{\"disabled\":!_vm.planHeaderEditable,\"type\":\"text\",\"maxlength\":\"500\",\"state\":_vm.returnState(!!_vm.plan.creator,_vm.isSaveClicked),\"aria-describedby\":\"creatorValidation\"},model:{value:(_vm.plan.creator),callback:function ($$v) {_vm.$set(_vm.plan, \"creator\", $$v)},expression:\"plan.creator\"}}),_c('b-form-invalid-feedback',{attrs:{\"id\":\"creatorValidation\"}},[_vm._v(_vm._s(_vm.$t('GENERIC.MANDATORY_FIELD')))])],1)],1),_c('b-col',{attrs:{\"cols\":\"4\"}},[_c('b-form-group',{attrs:{\"label\":_vm.$t('PPE.PLAN_PLACE_DATE') + ' *'}},[_c('b-form-input',{attrs:{\"disabled\":!_vm.planHeaderEditable,\"type\":\"text\",\"maxlength\":\"100\",\"state\":_vm.returnState(!!_vm.plan.placeDate,_vm.isSaveClicked),\"aria-describedby\":\"placeDateValidation\"},model:{value:(_vm.plan.placeDate),callback:function ($$v) {_vm.$set(_vm.plan, \"placeDate\", $$v)},expression:\"plan.placeDate\"}}),_c('b-form-invalid-feedback',{attrs:{\"id\":\"placeDateValidation\"}},[_vm._v(_vm._s(_vm.$t('GENERIC.MANDATORY_FIELD')))])],1)],1)],1),_c('br'),_c('b-row',{staticClass:\"boxed\"},[_c('b-col',[_vm._v(_vm._s(_vm.$t('PPE.PLAN_APPROVAL_SECTION')))])],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"4\"}},[_c('b-form-group',{attrs:{\"label\":_vm.$t('PPE.PLAN_MRK_MNG_SIGN') + ' *'}},[_c('b-form-input',{attrs:{\"disabled\":!_vm.planHeaderEditable,\"type\":\"text\",\"maxlength\":\"50\",\"state\":_vm.returnState(!!_vm.plan.mrkMngSign,_vm.isSaveClicked),\"aria-describedby\":\"mrkMngSignValidation\"},model:{value:(_vm.plan.mrkMngSign),callback:function ($$v) {_vm.$set(_vm.plan, \"mrkMngSign\", $$v)},expression:\"plan.mrkMngSign\"}}),_c('b-form-invalid-feedback',{attrs:{\"id\":\"mrkMngSignValidation\"}},[_vm._v(_vm._s(_vm.$t('GENERIC.MANDATORY_FIELD')))])],1)],1),_c('b-col',{attrs:{\"cols\":\"4\"}},[_c('b-form-group',{attrs:{\"label\":_vm.$t('PPE.PLAN_MRK_HEAD_SIGN') + ' *'}},[_c('b-form-input',{attrs:{\"disabled\":!_vm.planHeaderEditable,\"type\":\"text\",\"maxlength\":\"50\",\"state\":_vm.returnState(!!_vm.plan.mrkHeadSign,_vm.isSaveClicked),\"aria-describedby\":\"mrkHeadSignValidation\"},model:{value:(_vm.plan.mrkHeadSign),callback:function ($$v) {_vm.$set(_vm.plan, \"mrkHeadSign\", $$v)},expression:\"plan.mrkHeadSign\"}}),_c('b-form-invalid-feedback',{attrs:{\"id\":\"mrkHeadSignValidation\"}},[_vm._v(_vm._s(_vm.$t('GENERIC.MANDATORY_FIELD')))])],1)],1),_c('b-col',{attrs:{\"cols\":\"4\"}},[_c('b-form-group',{attrs:{\"label\":_vm.$t('PPE.PLAN_CNY_MNG_SIGN') + ' *'}},[_c('b-form-input',{attrs:{\"disabled\":!_vm.planHeaderEditable,\"type\":\"text\",\"maxlength\":\"50\",\"state\":_vm.returnState(!!_vm.plan.cnyMngSign,_vm.isSaveClicked),\"aria-describedby\":\"cnyMngSignValidation\"},model:{value:(_vm.plan.cnyMngSign),callback:function ($$v) {_vm.$set(_vm.plan, \"cnyMngSign\", $$v)},expression:\"plan.cnyMngSign\"}}),_c('b-form-invalid-feedback',{attrs:{\"id\":\"cnyMngSignValidation\"}},[_vm._v(_vm._s(_vm.$t('GENERIC.MANDATORY_FIELD')))])],1)],1)],1),_c('b-row',{staticClass:\"boxed\"},[_c('b-col',[_vm._v(_vm._s(_vm.$t('PPE.PLAN_DEFINITION_SECTION')))])],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"4\"}},[_c('b-form-group',{attrs:{\"label\":_vm.$t('PPE.PLAN_NUMBER')}},[_c('b-form-input',{attrs:{\"disabled\":\"\",\"type\":\"text\"},model:{value:(_vm.plan.number),callback:function ($$v) {_vm.$set(_vm.plan, \"number\", $$v)},expression:\"plan.number\"}})],1)],1),_c('b-col',{attrs:{\"cols\":\"8\"}},[_c('b-form-group',{attrs:{\"label\":_vm.$t('PPE.PLAN_CAMPAIGN_CODE')}},[_c('b-form-input',{attrs:{\"disabled\":!_vm.planDetailEditable,\"type\":\"text\",\"maxlength\":\"50\"},model:{value:(_vm.plan.detail.commercialCampaignCode),callback:function ($$v) {_vm.$set(_vm.plan.detail, \"commercialCampaignCode\", $$v)},expression:\"plan.detail.commercialCampaignCode\"}})],1)],1)],1),_c('b-row',{staticClass:\"section\"},[_c('b-col',[_vm._v(_vm._s(_vm.$t('PPE.PLAN_TARGET_CUSTOMER_SUB_SECTION')))])],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"6\"}},[_c('b-form-group',{attrs:{\"label\":_vm.$t('PPE.PLAN_TARGET_CUSTOMER_1') + ' *'}},[_c('b-form-select',{attrs:{\"disabled\":!_vm.planDetailEditable,\"options\":_vm.dropDownTargetCustomer1,\"state\":_vm.returnState(!!_vm.plan.detail.targetCustomer1,_vm.isSaveClicked),\"aria-describedby\":\"targetCustomer1Validation\"},model:{value:(_vm.plan.detail.targetCustomer1),callback:function ($$v) {_vm.$set(_vm.plan.detail, \"targetCustomer1\", $$v)},expression:\"plan.detail.targetCustomer1\"}}),_c('b-form-invalid-feedback',{attrs:{\"id\":\"targetCustomer1Validation\"}},[_vm._v(_vm._s(_vm.$t('GENERIC.MANDATORY_FIELD')))])],1)],1),_c('b-col',{attrs:{\"cols\":\"6\"}},[_c('b-form-group',{attrs:{\"label\":_vm.$t('PPE.PLAN_TARGET_CUSTOMER_2') + ' *'}},[_c('b-form-select',{attrs:{\"disabled\":!_vm.planDetailEditable,\"options\":_vm.dropDownTargetCustomer2,\"state\":_vm.returnState(!!_vm.plan.detail.targetCustomer2,_vm.isSaveClicked),\"aria-describedby\":\"targetCustomer2Validation\"},model:{value:(_vm.plan.detail.targetCustomer2),callback:function ($$v) {_vm.$set(_vm.plan.detail, \"targetCustomer2\", $$v)},expression:\"plan.detail.targetCustomer2\"}}),_c('b-form-invalid-feedback',{attrs:{\"id\":\"targetCustomer2Validation\"}},[_vm._v(_vm._s(_vm.$t('GENERIC.MANDATORY_FIELD')))])],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":_vm.$t('PPE.PLAN_TARGET_CUSTOMER_NOTES')}},[_c('b-form-textarea',{attrs:{\"disabled\":!_vm.planDetailEditable,\"rows\":\"2\",\"max-rows\":\"6\",\"type\":\"text\",\"maxlength\":\"500\"},model:{value:(_vm.plan.detail.targetCustomerNotes),callback:function ($$v) {_vm.$set(_vm.plan.detail, \"targetCustomerNotes\", $$v)},expression:\"plan.detail.targetCustomerNotes\"}})],1)],1)],1),_c('b-row',{staticClass:\"section\"},[_c('b-col',[_vm._v(_vm._s(_vm.$t('PPE.PLAN_PERIOD_SUB_SECTION')))])],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"6\"}},[_c('b-form-group',{attrs:{\"label\":_vm.$t('PPE.PLAN_START_DATE')}},[_c('b-form-datepicker',{attrs:{\"disabled\":!_vm.planDetailEditable,\"date-format-options\":{ year: '2-digit', month: '2-digit', day: '2-digit' },\"locale\":\"en\",\"state\":_vm.returnState(!!_vm.plan.detail.dtStart,_vm.isSaveClicked),\"aria-describedby\":\"dtStartValidation\"},model:{value:(_vm.plan.detail.dtStart),callback:function ($$v) {_vm.$set(_vm.plan.detail, \"dtStart\", $$v)},expression:\"plan.detail.dtStart\"}}),_c('b-form-invalid-feedback',{attrs:{\"id\":\"dtStartValidation\"}},[_vm._v(_vm._s(_vm.$t('GENERIC.MANDATORY_FIELD')))])],1)],1),_c('b-col',{attrs:{\"cols\":\"6\"}},[_c('b-form-group',{attrs:{\"label\":_vm.$t('PPE.PLAN_END_DATE')}},[_c('b-form-datepicker',{attrs:{\"disabled\":!_vm.planDetailEditable,\"date-format-options\":{ year: '2-digit', month: '2-digit', day: '2-digit' },\"locale\":\"en\",\"state\":_vm.returnState(!!_vm.plan.detail.dtEnd,_vm.isSaveClicked),\"aria-describedby\":\"dtEndValidation\"},model:{value:(_vm.plan.detail.dtEnd),callback:function ($$v) {_vm.$set(_vm.plan.detail, \"dtEnd\", $$v)},expression:\"plan.detail.dtEnd\"}}),_c('b-form-invalid-feedback',{attrs:{\"id\":\"dtEndValidation\"}},[_vm._v(_vm._s(_vm.$t('GENERIC.MANDATORY_FIELD')))])],1)],1)],1),_c('b-row',{staticClass:\"section\"},[_c('b-col',[_vm._v(_vm._s(_vm.$t('PPE.PLAN_BENEFITS_SUB_SECTION')))])],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":_vm.$t('PPE.PLAN_BENEFITS') + ' *'}},[_c('b-form-textarea',{attrs:{\"disabled\":!_vm.planDetailEditable,\"rows\":\"3\",\"max-rows\":\"6\",\"type\":\"text\",\"maxlength\":\"1000\",\"state\":_vm.returnState(!!_vm.plan.detail.benefits,_vm.isSaveClicked),\"aria-describedby\":\"benefitsValidation\"},model:{value:(_vm.plan.detail.benefits),callback:function ($$v) {_vm.$set(_vm.plan.detail, \"benefits\", $$v)},expression:\"plan.detail.benefits\"}}),_c('b-form-invalid-feedback',{attrs:{\"id\":\"benefitsValidation\"}},[_vm._v(_vm._s(_vm.$t('GENERIC.MANDATORY_FIELD')))])],1)],1)],1),_c('b-row',{staticClass:\"section\"},[_c('b-col',[_vm._v(_vm._s(_vm.$t('PPE.PLAN_GOAL_SUB_SECTION')))])],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":_vm.$t('PPE.PLAN_GOAL') + ' *'}},[_c('b-form-input',{attrs:{\"disabled\":!_vm.planDetailEditable,\"type\":\"text\",\"maxlength\":\"500\",\"state\":_vm.returnState(!!_vm.plan.detail.planGoal,_vm.isSaveClicked),\"aria-describedby\":\"planGoalValidation\"},model:{value:(_vm.plan.detail.planGoal),callback:function ($$v) {_vm.$set(_vm.plan.detail, \"planGoal\", $$v)},expression:\"plan.detail.planGoal\"}}),_c('b-form-invalid-feedback',{attrs:{\"id\":\"planGoalValidation\"}},[_vm._v(_vm._s(_vm.$t('GENERIC.MANDATORY_FIELD')))])],1)],1)],1),_c('b-row',{staticClass:\"section\"},[_c('b-col',[_vm._v(_vm._s(_vm.$t('PPE.PLAN_MECHANICS_SUB_SECTION')))])],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":_vm.$t('PPE.PLAN_MECHANICS') + ' *'}},[_c('b-form-select',{attrs:{\"disabled\":!_vm.planDetailEditable,\"options\":_vm.dropDownMechanics,\"state\":_vm.returnState(!!_vm.plan.detail.mechanics,_vm.isSaveClicked),\"aria-describedby\":\"mechanicsValidation\"},model:{value:(_vm.plan.detail.mechanics),callback:function ($$v) {_vm.$set(_vm.plan.detail, \"mechanics\", $$v)},expression:\"plan.detail.mechanics\"}}),_c('b-form-invalid-feedback',{attrs:{\"id\":\"mechanicsValidation\"}},[_vm._v(_vm._s(_vm.$t('GENERIC.MANDATORY_FIELD')))])],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":_vm.$t('PPE.PLAN_MECHANICS_DESCRIPTION') + ' *'}},[_c('b-form-textarea',{attrs:{\"disabled\":!_vm.planDetailEditable,\"rows\":\"3\",\"max-rows\":\"6\",\"type\":\"text\",\"maxlength\":\"4000\",\"state\":_vm.returnState(!!_vm.plan.detail.mechanicsDescription,_vm.isSaveClicked),\"aria-describedby\":\"mechanicsDescriptionValidation\"},model:{value:(_vm.plan.detail.mechanicsDescription),callback:function ($$v) {_vm.$set(_vm.plan.detail, \"mechanicsDescription\", $$v)},expression:\"plan.detail.mechanicsDescription\"}}),_c('b-form-invalid-feedback',{attrs:{\"id\":\"mechanicsDescriptionValidation\"}},[_vm._v(_vm._s(_vm.$t('GENERIC.MANDATORY_FIELD')))])],1)],1)],1),_c('b-row',{staticClass:\"section\"},[_c('b-col',[_vm._v(_vm._s(_vm.$t('PPE.PLAN_MODALITY_SUB_SECTION')))])],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":_vm.$t('PPE.PLAN_MODALITY')}},[_c('b-form-select',{attrs:{\"disabled\":!_vm.planDetailEditable,\"options\":_vm.dropDownModality},model:{value:(_vm.plan.detail.modality),callback:function ($$v) {_vm.$set(_vm.plan.detail, \"modality\", $$v)},expression:\"plan.detail.modality\"}})],1)],1)],1),_c('b-row',{staticClass:\"section\"},[_c('b-col',[_vm._v(_vm._s(_vm.$t('PPE.PLAN_SUPPORT_MATERIALS_SUB_SECTION')))])],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":_vm.$t('PPE.PLAN_SUPPORT_MATERIALS') + ' *'}},[_c('b-form-textarea',{attrs:{\"disabled\":!_vm.planDetailEditable,\"rows\":\"3\",\"max-rows\":\"6\",\"type\":\"text\",\"maxlength\":\"1500\",\"state\":_vm.returnState(!!_vm.plan.detail.supportMaterials,_vm.isSaveClicked),\"aria-describedby\":\"supportMaterialsValidation\"},model:{value:(_vm.plan.detail.supportMaterials),callback:function ($$v) {_vm.$set(_vm.plan.detail, \"supportMaterials\", $$v)},expression:\"plan.detail.supportMaterials\"}}),_c('b-form-invalid-feedback',{attrs:{\"id\":\"supportMaterialsValidation\"}},[_vm._v(_vm._s(_vm.$t('GENERIC.MANDATORY_FIELD')))])],1)],1)],1),_c('b-row',{staticClass:\"section\"},[_c('b-col',[_vm._v(_vm._s(_vm.$t('PPE.PLAN_TARGET_SUB_SECTION')))])],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":_vm.$t('PPE.PLAN_TARGET_VOLUME_GENERIC') + ' ' + '('+ _vm.plan.unitOfMeasurement.symbol + ')'}},[_c('b-form-input',{attrs:{\"disabled\":!_vm.planDetailEditable,\"type\":\"number\",\"state\":_vm.returnState(!!_vm.plan.detail.targetVolume||!!_vm.plan.detail.target,_vm.isSaveClicked),\"aria-describedby\":\"targetVolumeValidation\"},model:{value:(_vm.plan.detail.targetVolume),callback:function ($$v) {_vm.$set(_vm.plan.detail, \"targetVolume\", $$v)},expression:\"plan.detail.targetVolume\"}}),_c('b-form-invalid-feedback',{attrs:{\"id\":\"targetVolumeValidation\"}},[_vm._v(_vm._s(_vm.$t('PPE.TARGET_VOLUME_FIELD_MANDATORY')))])],1)],1),_c('b-col',[_c('b-form-group',{attrs:{\"label\":_vm.$t('PPE.PLAN_TARGET')}},[_c('b-form-input',{attrs:{\"disabled\":!_vm.planDetailEditable,\"type\":\"text\",\"maxlength\":\"500\",\"state\":_vm.returnState(!!_vm.plan.detail.target||!!_vm.plan.detail.targetVolume,_vm.isSaveClicked),\"aria-describedby\":\"mobileValidation\"},model:{value:(_vm.plan.detail.target),callback:function ($$v) {_vm.$set(_vm.plan.detail, \"target\", $$v)},expression:\"plan.detail.target\"}}),_c('b-form-invalid-feedback',{attrs:{\"id\":\"mobileValidation\"}},[_vm._v(_vm._s(_vm.$t('PPE.TARGET_FIELD_MANDATORY')))])],1)],1)],1)],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js?{\\\"cacheDirectory\\\":\\\"node_modules/.cache/vue-loader\\\",\\\"cacheIdentifier\\\":\\\"28da8b7a-vue-loader-template\\\"}!../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PlanGeneralInfo.vue?vue&type=template&id=69232482&scoped=true\"","import { render, staticRenderFns } from \"./PlanGeneralInfo.vue?vue&type=template&id=69232482&scoped=true\"\nimport script from \"./PlanGeneralInfo.vue?vue&type=script&lang=ts\"\nexport * from \"./PlanGeneralInfo.vue?vue&type=script&lang=ts\"\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 \"69232482\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-container',{attrs:{\"fluid\":\"\"}},[_c('table',{staticClass:\"table b-table table-hover\"},[_c('thead',{staticClass:\"table-light\"},[_c('tr',[_c('th',{staticClass:\"tabHeader\"},[_vm._v(_vm._s(_vm.$t('PPE.FORECAST_TAB_HEADER_DESCRIPTION')))]),_c('th',{staticClass:\"tabHeader\"},[_vm._v(_vm._s(_vm.$t('PPE.FORECAST_TAB_HEADER_AMOUNT')))]),_c('th',{staticClass:\"tabHeader\"},[_vm._v(_vm._s(_vm.$t('PPE.FORECAST_TAB_HEADER_UNITS')))])])]),_c('tbody',[_c('tr',{staticClass:\"oddRow\"},[_c('td',{staticClass:\"tabDescriptionCell\"},[_vm._v(_vm._s(_vm.$t('PPE.FORECAST_TAB_ROW_LAST_YEAR_BASE'))+\" *\")]),_c('td',[_c('b-form-input',{attrs:{\"disabled\":!_vm.planTargetEditable,\"state\":_vm.returnState(!!this.planTarget.lastYearVolumeBaseLine || !!_vm.isImported, _vm.isSaveClicked),\"type\":\"number\",\"aria-describedby\":\"lastYearBaseValidation\"},on:{\"change\":function($event){return _vm.calculateExtraVolumePromo()}},model:{value:(_vm.planTarget.lastYearVolumeBaseLine),callback:function ($$v) {_vm.$set(_vm.planTarget, \"lastYearVolumeBaseLine\", $$v)},expression:\"planTarget.lastYearVolumeBaseLine\"}}),_c('b-form-invalid-feedback',{attrs:{\"id\":\"lastYearBaseValidation\"}},[_vm._v(_vm._s(_vm.$t('GENERIC.MANDATORY_FIELD')))])],1),_c('td',[_vm._v(_vm._s(_vm.$t(this.kSymbolProp))+\" \")])]),_c('tr',[_c('td',{staticClass:\"tabDescriptionCell\"},[_vm._v(_vm._s(_vm.$t('PPE.FORECAST_TAB_ROW_LAST_YEAR_PROMO')))]),_c('td',[_c('b-form-input',{attrs:{\"disabled\":!_vm.planTargetEditable,\"type\":\"number\"},model:{value:(_vm.planTarget.lastYearVolumePromo),callback:function ($$v) {_vm.$set(_vm.planTarget, \"lastYearVolumePromo\", $$v)},expression:\"planTarget.lastYearVolumePromo\"}})],1),_c('td',{staticClass:\"tableUomCell\"},[_vm._v(_vm._s(_vm.$t(this.kSymbolProp)))])]),_c('tr',{staticClass:\"oddRow\"},[_c('td',{staticClass:\"tabDescriptionCell\",attrs:{\"rowspan\":\"2\"}},[_vm._v(_vm._s(_vm.$t('PPE.FORECAST_TAB_ROW_TOTAL_PPE_TARGET'))+\" *\")]),_c('td',[_c('b-form-input',{attrs:{\"disabled\":!_vm.planTargetEditable,\"type\":\"number\",\"state\":_vm.returnState(!!this.planTarget.totalVolumeTons||!this.planTargetVolume,_vm.isSaveClicked),\"aria-describedby\":\"totalVolumeTonsValidation\"},on:{\"change\":function($event){return _vm.onChangeTotalVolumeTons()}},model:{value:(_vm.planTarget.totalVolumeTons),callback:function ($$v) {_vm.$set(_vm.planTarget, \"totalVolumeTons\", $$v)},expression:\"planTarget.totalVolumeTons\"}}),_c('b-form-invalid-feedback',{attrs:{\"id\":\"totalVolumeTonsValidation\"}},[_vm._v(_vm._s(_vm.$t('GENERIC.MANDATORY_FIELD')))])],1),_c('td',{staticClass:\"tableUomCell\"},[_vm._v(_vm._s(_vm.$t(this.kSymbolProp)))])]),_c('tr',{staticClass:\"oddRow\"},[_c('td',[_c('b-form-input',{attrs:{\"disabled\":!_vm.planTargetEditable,\"type\":\"number\",\"state\":_vm.returnState(!!_vm.planTarget.totalVolumeEuroDurance||!this.planTargetUnits,_vm.isSaveClicked),\"aria-describedby\":\"totalVolumeEuroDuranceValidation\"},on:{\"change\":function($event){return _vm.onChangeTotalVolumeEuro()}},model:{value:(_vm.planTarget.totalVolumeEuroDurance),callback:function ($$v) {_vm.$set(_vm.planTarget, \"totalVolumeEuroDurance\", $$v)},expression:\"planTarget.totalVolumeEuroDurance\"}}),_c('b-form-invalid-feedback',{attrs:{\"id\":\"totalVolumeEuroDuranceValidation\"}},[_vm._v(_vm._s(_vm.$t('GENERIC.MANDATORY_FIELD')))])],1),_c('td',{staticClass:\"tableUomCell\"},[_vm._v(_vm._s(_vm.$t('PPE.FORECAST_TAB_ROW_TOTAL_PPE_TARGET_VOLUME_EURO_UOM')))])]),_c('tr',[_c('td',{staticClass:\"tabDescriptionCell\"},[_vm._v(_vm._s(_vm.$t('PPE.FORECAST_TAB_ROW_TOTAL_GIFTS')))]),_c('td',[_c('b-form-input',{attrs:{\"disabled\":!_vm.planTargetEditable,\"type\":\"number\"},model:{value:(_vm.planTarget.totalGifts),callback:function ($$v) {_vm.$set(_vm.planTarget, \"totalGifts\", $$v)},expression:\"planTarget.totalGifts\"}})],1),_c('td',{staticClass:\"tableUomCell\"},[_vm._v(_vm._s(_vm.$t('PPE.FORECAST_TAB_ROW_TOTAL_GIFTS_UOM')))])]),_c('tr',{staticClass:\"oddRow\"},[_c('td',{staticClass:\"tabDescriptionCell\"},[_vm._v(_vm._s(_vm.$t('PPE.FORECAST_TAB_ROW_AVG_GIFTS_COST')))]),_c('td',[_c('b-form-input',{attrs:{\"disabled\":!_vm.planTargetEditable,\"type\":\"number\"},model:{value:(_vm.planTarget.avgGiftCost),callback:function ($$v) {_vm.$set(_vm.planTarget, \"avgGiftCost\", $$v)},expression:\"planTarget.avgGiftCost\"}})],1),_c('td',{staticClass:\"tableUomCell\"},[_vm._v(_vm._s(_vm.$t('PPE.FORECAST_TAB_ROW_AVG_GIFTS_COST_UOM')))])]),_c('tr',[_c('td',{staticClass:\"tabDescriptionCell\"},[_vm._v(_vm._s(_vm.$t('PPE.FORECAST_TAB_ROW_COST_PPE'))+\" *\")]),_c('td',[_c('b-form-input',{attrs:{\"disabled\":!_vm.planTargetEditable,\"type\":\"number\",\"state\":_vm.returnState(!!_vm.planTarget.costPPE,_vm.isSaveClicked),\"aria-describedby\":\"costPPEValidation\"},on:{\"change\":function($event){return _vm.onChangeCostPPE()}},model:{value:(_vm.planTarget.costPPE),callback:function ($$v) {_vm.$set(_vm.planTarget, \"costPPE\", $$v)},expression:\"planTarget.costPPE\"}}),_c('b-form-invalid-feedback',{attrs:{\"id\":\"costPPEValidation\"}},[_vm._v(_vm._s(_vm.$t('GENERIC.MANDATORY_FIELD')))])],1),_c('td',{staticClass:\"tableUomCell\"},[_vm._v(_vm._s(_vm.$t('PPE.FORECAST_TAB_ROW_COST_PPE_UOM')))])]),_c('tr',{staticClass:\"oddRow\"},[_c('td',{staticClass:\"tabDescriptionCell\",attrs:{\"rowspan\":\"2\"}},[_vm._v(_vm._s(_vm.$t('PPE.FORECAST_TAB_ROW_INCIDENCE'))+\" *\")]),_c('td',[_c('b-form-input',{style:(_vm.borderColorIncidence),attrs:{\"disabled\":!_vm.planTargetEditable,\"type\":\"number\",\"state\":_vm.returnState(!!_vm.planTarget.incidenceKg||!this.planTargetVolume,_vm.isSaveClicked),\"aria-describedby\":\"incidenceKgValidation\"},model:{value:(_vm.planTarget.incidenceKg),callback:function ($$v) {_vm.$set(_vm.planTarget, \"incidenceKg\", $$v)},expression:\"planTarget.incidenceKg\"}}),_c('b-form-invalid-feedback',{attrs:{\"id\":\"incidenceKgValidation\"}},[_vm._v(_vm._s(_vm.$t('GENERIC.MANDATORY_FIELD')))])],1),_c('td',{staticClass:\"tableUomCell\"},[_vm._v(_vm._s(_vm.$t('PPE.FORECAST_TAB_ROW_INCIDENCE_KG_UOM').toString().replace('{0}',this.symbolProp)))])]),_c('tr',{staticClass:\"oddRow\"},[_c('td',[_c('b-form-input',{style:(_vm.borderColorIncidence),attrs:{\"disabled\":!_vm.planTargetEditable,\"type\":\"number\",\"state\":_vm.returnState(!!_vm.planTarget.incidenceEuro||!this.planTargetUnits,_vm.isSaveClicked),\"aria-describedby\":\"incidenceEuroValidation\"},model:{value:(_vm.planTarget.incidenceEuro),callback:function ($$v) {_vm.$set(_vm.planTarget, \"incidenceEuro\", $$v)},expression:\"planTarget.incidenceEuro\"}}),_c('b-form-invalid-feedback',{attrs:{\"id\":\"incidenceEuroValidation\"}},[_vm._v(_vm._s(_vm.$t('GENERIC.MANDATORY_FIELD')))])],1),_c('td',{staticClass:\"tableUomCell\"},[_vm._v(_vm._s(_vm.$t('PPE.FORECAST_TAB_ROW_INCIDENCE_EURO_UOM')))])]),_c('tr',[_c('td',{staticClass:\"tabDescriptionCell\"},[_vm._v(_vm._s(_vm.$t('PPE.FORECAST_TAB_ROW_BUDGET_INCIDENCE'))+\" *\")]),_c('td',[_c('b-form-input',{attrs:{\"disabled\":!_vm.planTargetEditable,\"type\":\"number\",\"state\":_vm.returnState(!!_vm.planTarget.budgetIncidence,_vm.isSaveClicked),\"aria-describedby\":\"budgetIncidenceValidation\"},model:{value:(_vm.planTarget.budgetIncidence),callback:function ($$v) {_vm.$set(_vm.planTarget, \"budgetIncidence\", $$v)},expression:\"planTarget.budgetIncidence\"}}),_c('b-form-invalid-feedback',{attrs:{\"id\":\"budgetIncidenceValidation\"}},[_vm._v(_vm._s(_vm.$t('GENERIC.MANDATORY_FIELD')))])],1),_c('td',{staticClass:\"tableUomCell\"},[_vm._v(_vm._s(_vm.$t('PPE.FORECAST_TAB_ROW_BUDGET_INCIDENCE_UOM').toString().replace('{0}',this.symbolProp)))])]),_c('tr',{staticClass:\"oddRow\"},[_c('td',{staticClass:\"tabDescriptionCell\"},[_vm._v(_vm._s(_vm.$t('PPE.FORECAST_TAB_ROW_BUDGET_GROSS_PROFIT'))+\" * \")]),_c('td',[_c('b-form-input',{attrs:{\"disabled\":!_vm.planTargetEditable,\"type\":\"number\",\"state\":_vm.returnState(!!_vm.planTarget.grossProfit || !!_vm.isImported,_vm.isSaveClicked),\"aria-describedby\":\"grossProfitValidation\"},on:{\"change\":function($event){return _vm.onChangeGrossProfit()}},model:{value:(_vm.planTarget.grossProfit),callback:function ($$v) {_vm.$set(_vm.planTarget, \"grossProfit\", $$v)},expression:\"planTarget.grossProfit\"}}),_c('b-form-invalid-feedback',{attrs:{\"id\":\"grossProfitValidation\"}},[_vm._v(_vm._s(_vm.$t('GENERIC.MANDATORY_FIELD')))])],1),_c('td',{staticClass:\"tableUomCell\"},[_vm._v(_vm._s(_vm.$t(\"PPE.FORECAST_TAB_ROW_BUDGET_INCIDENCE_UOM\").toString().replace('{0}',this.symbolProp)))])]),_c('tr',{staticClass:\"tableUomCell\"},[_c('td',{staticClass:\"tabDescriptionCell\"},[_vm._v(_vm._s(_vm.$t('PPE.FORECAST_TAB_ROW_BUDGET_EXTRA_VOLUME_PROMO'))+\" \"),_c('span',{directives:[{name:\"b-tooltip\",rawName:\"v-b-tooltip.hover.bottomleft\",modifiers:{\"hover\":true,\"bottomleft\":true}}],staticClass:\"m-1\",attrs:{\"title\":_vm.$t('PPE.FORECAST_TAB_ROW_TOTAL_PPE_TARGET') + ' - ' + _vm.$t('PPE.FORECAST_TAB_ROW_LAST_YEAR_BASE')}},[_c('i',{staticClass:\"fa fa-question-circle-o\",attrs:{\"aria-hidden\":\"true\"}})])]),_c('td',[_c('b-form-input',{style:(_vm.borderColorExtraVolumePromo),attrs:{\"disabled\":true,\"type\":\"number\",\"aria-describedby\":\"extraVolumeValidation\"},on:{\"change\":function($event){return _vm.onChangeExtraVolumePromo()}},model:{value:(_vm.extraVolumePromo),callback:function ($$v) {_vm.extraVolumePromo=$$v},expression:\"extraVolumePromo\"}})],1),_c('td',[_vm._v(_vm._s(_vm.$t(this.kSymbolProp))+\" \")])]),_c('tr',{staticClass:\"oddRow\"},[_c('td',{staticClass:\"tabDescriptionCell\"},[_vm._v(_vm._s(_vm.$t('PPE.FORECAST_TAB_ROW_BUDGET_EXTRA_GP_PROMO'))+\" \"),_c('span',{directives:[{name:\"b-tooltip\",rawName:\"v-b-tooltip.hover.bottomleft\",modifiers:{\"hover\":true,\"bottomleft\":true}}],staticClass:\"m-1\",attrs:{\"title\":'(' + _vm.$t('PPE.FORECAST_TAB_ROW_BUDGET_GROSS_PROFIT') + ' x ' + _vm.$t('PPE.FORECAST_TAB_ROW_BUDGET_EXTRA_VOLUME_PROMO') + ')' + ' - ' + _vm.$t('PPE.FORECAST_TAB_ROW_COST_PPE')}},[_c('i',{staticClass:\"fa fa-question-circle-o\",attrs:{\"aria-hidden\":\"true\"}})])]),_c('td',[_c('b-form-input',{style:(_vm.borderColorExtraGPPromo),attrs:{\"disabled\":true,\"type\":\"number\",\"aria-describedby\":\"extraGPValidation\"},on:{\"change\":function($event){return _vm.onChangeExtraGPPromo()}},model:{value:(_vm.extraGPPromo),callback:function ($$v) {_vm.extraGPPromo=$$v},expression:\"extraGPPromo\"}})],1),_c('td',[_vm._v(_vm._s(_vm.$t('PPE.FORECAST_TAB_ROW_COST_PPE_UOM')))])]),_c('tr',[_c('td',{staticClass:\"tabDescriptionCell\"},[_vm._v(_vm._s(_vm.$t('PPE.FORECAST_TAB_ROW_BUDGET_ROI'))+\" \"),_c('span',{directives:[{name:\"b-tooltip\",rawName:\"v-b-tooltip.hover.bottomleft\",modifiers:{\"hover\":true,\"bottomleft\":true}}],staticClass:\"m-1\",attrs:{\"title\":_vm.$t('PPE.FORECAST_TAB_ROW_BUDGET_EXTRA_GP_PROMO') + ' / ' + _vm.$t('PPE.FORECAST_TAB_ROW_COST_PPE')}},[_c('i',{staticClass:\"fa fa-question-circle-o\",attrs:{\"aria-hidden\":\"true\"}})])]),_c('td',[_c('b-form-input',{style:(_vm.borderColorROI),attrs:{\"disabled\":true,\"type\":\"number\",\"aria-describedby\":\"roiValidation\"},model:{value:(_vm.valueROI),callback:function ($$v) {_vm.valueROI=$$v},expression:\"valueROI\"}})],1),_c('td',[_vm._v(\"%\")])])])]),(_vm.entityMounted)?_c('b-form',[_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":_vm.$t('PPE.PLAN_SUBSIDIARY_NOTES') + ':'}},[_c('b-form-textarea',{attrs:{\"disabled\":!_vm.isSubsidiaryNotesEditable(),\"rows\":\"3\",\"max-rows\":\"6\",\"type\":\"text\",\"maxlength\":\"1500\"},model:{value:(_vm.planTarget.notes),callback:function ($$v) {_vm.$set(_vm.planTarget, \"notes\", $$v)},expression:\"planTarget.notes\"}})],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":_vm.$t('PPE.PLAN_HEAD_NOTES') + ':'}},[_c('b-form-textarea',{attrs:{\"disabled\":!_vm.isHeadNotesEditable(),\"rows\":\"3\",\"max-rows\":\"6\",\"type\":\"text\",\"maxlength\":\"1500\"},model:{value:(_vm.planTarget.mrkHeadNotes),callback:function ($$v) {_vm.$set(_vm.planTarget, \"mrkHeadNotes\", $$v)},expression:\"planTarget.mrkHeadNotes\"}})],1)],1)],1)],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js?{\\\"cacheDirectory\\\":\\\"node_modules/.cache/vue-loader\\\",\\\"cacheIdentifier\\\":\\\"28da8b7a-vue-loader-template\\\"}!../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PlanForecastVolumeCosts.vue?vue&type=template&id=41d41f54&scoped=true\"","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PlanEvaluationForm.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PlanEvaluationForm.vue?vue&type=script&lang=ts\"","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PlanAttachmentsDetail.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PlanAttachmentsDetail.vue?vue&type=script&lang=ts\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Prop } from \"vue-property-decorator\";\nimport { PPE_STATUS } from \"@/services/Enums\";\nimport { PlanFinal } from \"@/entity/Ppe/PlanFinal\";\nimport { General } from \"@/services/General\";\nimport { ClaimEnum } from \"@/services/ClaimEnum\";\n\n@Component({\n components: {\n }\n})\nexport default class PlanEvaluationForm extends Vue {\n @Prop({ type: Boolean, required: true })\n planFinalEditable;\n @Prop({ required: true })\n planTarget;\n @Prop({ required: true })\n symbolProp;\n @Prop({ required: true })\n kSymbolProp;\n @Prop({ required: true })\n planFinalProp;\n @Prop({ type: Boolean, required: true })\n isSaveClicked;\n @Prop({ type: Number, required: true })\n planStatus;\n @Prop({ type: Number, required: false })\n planTargetTotalVolumeYearBeforeProp;\n\n planFinal: PlanFinal = new PlanFinal();\n evaluationMarkOptions: Array = [5,4,3,2,1];\n planTargetTotalVolumeYearBefore: number = 0;\n symbolUnitOfMeasurementPlan : string = \"\";\n kSymbolUnitOfMeasurementPlan : string = \"\";\n\n entityMounted: boolean = false;\n confirmIncidencesRecalc: boolean = true;\n\n extraVolumePromo: number = null;\n extraGPPromo: number = null;\n valueROI: number = null;\n\n extraVolumePromoFinal: number = null;\n extraGPPromoFinal: number = null;\n valueROIFinal: number = null;\n\n recalculateExtraVolumePromo: boolean = false;\n recalculateExtraGPPromo: boolean = false;\n recalculateROI: boolean = false;\n recalculateIncidence: boolean = false;\n\n isAdminPpe: boolean = false;\n\n get borderColorExtraVolumePromo(){\n return this.recalculateExtraVolumePromo ? 'border-color: #4285f4;' : '';\n }\n\n get borderColorExtraGPPromo(){\n return this.recalculateExtraGPPromo ? 'border-color: #4285f4;' : '';\n }\n\n get borderColorROI(){\n return this.recalculateROI ? 'border-color: #4285f4;' : '';\n }\n\n get borderColorIncidence(){\n return this.recalculateIncidence ? 'border-color: #4285f4;' : '';\n }\n\n\n async mounted() {\n this.isAdminPpe = this.checkPpeAdminClaim();\n this.planFinal = this.planFinalProp;\n this.planTargetTotalVolumeYearBefore = this.planTargetTotalVolumeYearBeforeProp;\n this.entityMounted = true;\n this.symbolUnitOfMeasurementPlan = this.symbolProp;\n this.kSymbolUnitOfMeasurementPlan = this.kSymbolProp;\n this.calculateExtraVolumePromo(false);\n this.calculateExtraVolumePromo(true);\n }\n\n returnState(condition: boolean, clickButton: boolean): boolean {\n if (clickButton) \n return condition;\n else \n return null;\n }\n\n calculateExtraVolumePromo(isPlanFinal:boolean){\n let plan = isPlanFinal ? this.planFinal : this.planTarget;\n if(this.isNotNullOrNaN(plan.totalVolumeTons) && this.isNotNullOrNaN(this.planTarget.lastYearVolumeBaseLine )){\n let extraVolumePromo = plan.totalVolumeTons - this.planTarget.lastYearVolumeBaseLine; \n if(isPlanFinal){\n this.recalculateExtraVolumePromo = true;\n this.extraVolumePromoFinal = extraVolumePromo;\n setTimeout(() => this.recalculateExtraVolumePromo = false , 2000); \n }else{\n this.extraVolumePromo = extraVolumePromo;\n }\n this.calculateExtraGPPromo(isPlanFinal);\n }else{\n if(isPlanFinal){\n this.extraGPPromoFinal = null;\n this.extraVolumePromoFinal = null;\n this.valueROIFinal = null; \n }else{\n this.extraGPPromo = null;\n this.extraVolumePromo = null;\n this.valueROI = null; \n }\n }\n }\n \n calculateExtraGPPromo(isPlanFinal:boolean){\n let plan = isPlanFinal ? this.planFinal : this.planTarget;\n let extraVolumePromo = isPlanFinal ? this.extraVolumePromoFinal : this.extraVolumePromo\n if(this.isNotNullOrNaN(plan.grossProfit) && this.isNotNullOrNaN(extraVolumePromo) && this.isNotNullOrNaN(plan.costPPE) ){\n let extraGPPromo = Number((((plan.grossProfit * 1000) * extraVolumePromo) - plan.costPPE).toFixed(2));\n if(isPlanFinal){\n this.recalculateExtraGPPromo = true;\n this.extraGPPromoFinal = extraGPPromo;\n setTimeout(() => this.recalculateExtraGPPromo = false , 2000); \n }else{\n this.extraGPPromo = extraGPPromo;\n }\n this.calculateROI(isPlanFinal)\n }else{\n if(isPlanFinal){\n this.extraGPPromoFinal = null;\n this.valueROIFinal = null; \n }else{\n this.extraGPPromo = null;\n this.valueROI = null; \n } \n }\n }\n\n calculateROI(isPlanFinal:boolean){\n let plan = isPlanFinal ? this.planFinal : this.planTarget;\n let extraGPPromo = isPlanFinal ? this.extraGPPromoFinal : this.extraGPPromo;\n if(this.isNotNullOrNaN(plan.costPPE) && plan.costPPE > 0 && this.isNotNullOrNaN(extraGPPromo)){\n let valueROI = Number(((extraGPPromo / plan.costPPE) * 100).toFixed(2));\n if(isPlanFinal){\n this.recalculateROI = true;\n this.valueROIFinal = valueROI;\n setTimeout(() => this.recalculateROI = false , 2000); \n }else{\n this.valueROI = valueROI;\n }\n }else{\n if(isPlanFinal){\n this.valueROI = null;\n }else{\n this.valueROI = null; \n }\n }\n }\n\n onChangeExtraVolumePromo(isPlanFinal:boolean){\n this.calculateExtraGPPromo(isPlanFinal); \n }\n\n onChangeExtraGPPromo(isPlanFinal:boolean){\n this.calculateROI(isPlanFinal);\n }\n\n onChangeGrossProfit(isPlanFinal:boolean){\n this.calculateExtraGPPromo(isPlanFinal);\n }\n\n onChangeTotalVolumeTons() {\n if(this.planFinal.incidenceKg != undefined && this.planFinal.incidenceKg.toString().trim() !== '' && this.planFinalEditable) {\n // General.confirm(\n // i18n.t('PPE.CONFIRM_INCIDENCE_KG_CHANGE') as string,\n // this,\n // () => {\n this.calculateIncidenceKg();\n // }\n // );\n } else {\n this.calculateIncidenceKg();\n }\n this.calculateExtraVolumePromo(true);\n }\n\n calculateIncidenceKg() {\n if(this.isNotNullOrNaN(this.planFinal.costPPE) && this.isNotNullOrNaN(this.planFinal.totalVolumeTons)) {\n let result = 0;\n this.recalculateIncidence = true;\n if(this.planFinal.totalVolumeTons != 0) { \n result = this.planFinal.costPPE / (this.planFinal.totalVolumeTons * 1000)\n this.planFinal.incidenceKg = Number(result.toFixed(3))\n } else {\n this.planFinal.incidenceKg = null;\n }\n setTimeout(() => this.recalculateIncidence = false , 2000); \n }\n }\n\n onChangeTotalVolumeEuro() {\n if(this.planFinal.incidenceEuro != undefined && this.planFinal.incidenceEuro.toString().trim() !== '' && this.planFinalEditable) {\n // General.confirm(\n // i18n.t('PPE.CONFIRM_INCIDENCE_EURO_CHANGE') as string,\n // this,\n // () => {\n this.calculateIncidenceEuro();\n // }\n // );\n } else {\n this.calculateIncidenceEuro();\n }\n }\n\n calculateIncidenceEuro() {\n if(this.isNotNullOrNaN(this.planFinal.costPPE) && this.isNotNullOrNaN(this.planFinal.totalVolumeEuroDurance)) {\n this.recalculateIncidence = true;\n if(this.planFinal.totalVolumeEuroDurance != 0) {\n let result = 0;\n result = (this.planFinal.costPPE / this.planFinal.totalVolumeEuroDurance) * 100\n this.planFinal.incidenceEuro = Number(result.toFixed(3))\n } else {\n this.planFinal.incidenceEuro = null;\n }\n setTimeout(() => this.recalculateIncidence = false , 2000); \n }\n }\n\n onChangeCostPPE() {\n if(this.planFinalEditable) {\n // General.msgBoxAlert(i18n.t('PPE.ALERT_INCIDENCES_CHANGE') as string, this, () => {\n this.calculateIncidences();\n this.calculateExtraGPPromo(true);\n // });\n }\n }\n\n calculateIncidences() {\n this.calculateIncidenceKg();\n this.calculateIncidenceEuro();\n }\n\n isNotNullOrNaN(value: number) {\n return value != undefined && !Number.isNaN(value)\n }\n\n isSubsidiaryNotesEditable() {\n if(this.isAdminPpe || (this.planStatus == PPE_STATUS.IN_PROGRESS && this.planFinalEditable)) \n return true;\n else\n return false;\n }\n\n isHeadNotesEditable() {\n if(this.isAdminPpe || (this.planStatus == PPE_STATUS.EVALUATION_CHECK && this.planFinalEditable))\n return true;\n else\n return false;\n }\n\n checkPpeAdminClaim() {\n return General.CheckAuthorization(ClaimEnum.CanAdminPpe);\n }\n}\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Prop } from \"vue-property-decorator\";\nimport axios from \"axios\";\nimport { General } from \"@/services/General\";\nimport { PlanHeader } from \"@/entity/Ppe/PlanHeader\";\nimport PlanGeneralInfo from \"./modules/PlanGeneralInfo.vue\";\nimport { PlanDetail } from \"@/entity/Ppe/PlanDetail\";\nimport { PPE_AUTHORIZATION, PPE_PDF, PPE_STATUS, PPE_UOM } from \"@/services/Enums\";\nimport { PlanAuthorization } from \"@/entity/Ppe/PlanAuthorization\";\nimport { i18n } from \"@/i18n/i18n-setup\";\nimport { PlanTarget } from \"@/entity/Ppe/PlanTarget\";\nimport { IPlanProducts } from \"@/interfaces/IPlanProduct\";\nimport { PPE_PRODUCT_TYPE } from \"@/services/Enums\";\nimport PlanProductsManage from \"./modules/PlanProductsManage.vue\";\nimport { GetDropdownCountriesForUser, GetDropDownListBySource, SyncPpeDropdowns, SOURCE } from \"@/services/PpeDropDowns\";\nimport PlanForecastVolumeCosts from \"./modules/PlanForecastVolumeCosts.vue\";\nimport PlanAttachmentsDetail from \"./modules/PlanAttachmentsDetail.vue\";\nimport { PlanAttachment } from \"@/entity/Ppe/PlanAttachment\";\nimport PlanEvaluationForm from \"./modules/PlanEvaluationForm.vue\";\nimport { PlanFinal } from \"@/entity/Ppe/PlanFinal\";\nimport {IPlanBaseInfo} from \"@/interfaces/IPlanBaseInfo\";\nimport { saveAs } from 'file-saver';\nimport { UnitOfMeasurement } from \"@/entity/Ppe/UnitOfMeasurement\";\n\n@Component({\n components: {\n PlanGeneralInfo,\n PlanProductsManage,\n PlanForecastVolumeCosts,\n PlanAttachmentsDetail,\n PlanEvaluationForm\n }\n})\nexport default class PlanDetails extends Vue {\n @Prop({ type: String, required: false })\n planHeaderId;\n @Prop({ type: Array, required: false })\n dropDownCountriesProp: Array;\n\n authorizedUser: boolean = true;\n parentMounted: boolean = false;\n tabActivated: number = 0;\n loading: boolean = false;\n isSaveClicked: boolean = false;\n isSaveDraftClicked: boolean = false;\n\n plan: PlanHeader = new PlanHeader();\n symbolUnitOfMeasurementPlan : string = \"\";\n kSymbolUnitOfMeasurementPlan : string = \"\";\n planProductConfirmation: string = \"\";\n planCountryManagerEndorsement: string = \"\";\n planTargetTotalVolumeYearBefore: number = 0;\n \n planHeaderEditable: boolean = false;\n planDetailEditable: boolean = false;\n planTargetEditable: boolean = false;\n planFinalEditable: boolean = false;\n countryManagerEndorsementEditable: boolean = false;\n productConfirmationEditable: boolean = false;\n saveAllowed: boolean = false;\n attachmentUpload: boolean = false;\n nextAllowed: boolean = false;\n refuseAllowed: boolean = false;\n downloadEvaluationReportPdfAllowed: boolean = false;\n downloadPromotionPlanPdfAllowed: boolean = false;\n\n dropDownCountries: Array = [];\n dropDownProductConfirmation: Array = [];\n\n PRODUCT_TYPE = PPE_PRODUCT_TYPE;\n ppePdfType: any = PPE_PDF;\n\n costAllocationSectionVisibility: boolean = false;\n includedProductModuleKey: number = 0;\n costAllocationModuleKey: number = 0;\n\n setCostAllocationSectionVisibility() {\n this.costAllocationSectionVisibility = !this.plan.detail.costAllocationCheck;\n }\n\n handleTotalVolumeLastYearChange(event) {\n this.planTargetTotalVolumeYearBefore = Number(event);\n }\n\n relatedTabVisibility() {\n if(this.plan.status >= PPE_STATUS.TARGET_CHECK)\n return true;\n else\n return false;\n }\n\n evaluationFormTabVisibility() {\n if(this.plan.status >= PPE_STATUS.IN_PROGRESS)\n return true;\n else\n return false;\n }\n\n onChangeAllBrand() {\n this.includedProductModuleKey = this.includedProductModuleKey + 1;\n }\n\n onChangeCostAllocationAllBrand() {\n this.costAllocationModuleKey = this.costAllocationModuleKey + 1;\n }\n \n async mounted() {\n this.loading = true;\n if(this.dropDownCountriesProp == null) {\n this.dropDownCountries = await GetDropdownCountriesForUser(this.planHeaderId == null ? true : false);\n } else {\n this.dropDownCountries = this.dropDownCountriesProp;\n }\n this.dropDownProductConfirmation = await GetDropDownListBySource(SOURCE.PRODUCT_CONFIRMATION);\n await SyncPpeDropdowns();\n \n if(this.planHeaderId != null) {\n await this.getPlanById(this.planHeaderId);\n } else {\n let baseInfo = await this.getBasePlanInfo();\n\n this.plan.unitOfMeasurement = new UnitOfMeasurement();\n this.symbolUnitOfMeasurementPlan = PPE_UOM.LITERS;\n this.kSymbolUnitOfMeasurementPlan = 'GENERIC.UOM_K_LITERS';\n this.plan.unitOfMeasurement.symbol = this.symbolUnitOfMeasurementPlan;\n this.plan.unitOfMeasurement.kSymbol = this.kSymbolUnitOfMeasurementPlan;\n\n this.plan.detail = new PlanDetail();\n this.plan.detail.costAllocationCheck = true;\n this.plan.detail.allBrands = true;\n this.plan.status = 0;\n this.plan.target = new PlanTarget();\n this.plan.authorization = new PlanAuthorization();\n this.plan.productsIncluded = new Array();\n this.plan.productsExcluded = new Array();\n this.plan.productsCostAllocation = new Array();\n this.plan.attachments = new Array();\n this.plan.mrkMngSign = baseInfo.marketingManagerName;\n this.plan.mrkHeadSign = baseInfo.headOfMarketingName;\n if (baseInfo.place && baseInfo.date)\n this.plan.placeDate = baseInfo.place + ', ' + General.formatDateIt(baseInfo.date);\n this.setFormAuthorizationNewPlan();\n \n this.loading = false; \n this.parentMounted = true;\n }\n if(this.authorizedUser) {\n if(this.plan.target.productionConfirmation != null)\n this.planProductConfirmation = this.plan.target.productionConfirmation;\n \n if(this.plan.target.countryManagerEndorsement != null)\n this.planCountryManagerEndorsement = this.plan.target.countryManagerEndorsement;\n }\n }\n\n initDraftPlan() {\n if(this.plan.detail == null) {\n this.plan.detail = new PlanDetail();\n this.plan.detail.costAllocationCheck = true;\n }\n\n if(this.plan.target == null) \n this.plan.target = new PlanTarget();\n }\n\n async getPlanById(planHeaderId: string) {\n try {\n let response = await axios({\n method: \"get\",\n url: General.GetApiUrl(\"/api/ppe/GetPlanById?planHeaderId=\" + planHeaderId),\n withCredentials: true,\n responseType: \"json\",\n });\n this.plan = response.data;\n this.symbolUnitOfMeasurementPlan = this.plan.unitOfMeasurement.symbol;\n this.kSymbolUnitOfMeasurementPlan = this.plan.unitOfMeasurement.kSymbol;\n this.planTargetTotalVolumeYearBefore = this.plan.target != null ? this.plan.target.totalVolumeYearBefore : 0;\n\n this.initDraftPlan();\n this.setCostAllocationSectionVisibility();\n this.setFormAuthorization();\n this.initPlanFinal();\n\n this.loading = false;\n this.parentMounted = true;\n } catch (error) {\n if(error.response.status == 403) {\n this.parentMounted = false;\n this.authorizedUser = false;\n this.$emit(\"unauthorized\");\n } else {\n General.HandleError(error, this);\n this.parentMounted = false;\n }\n }\n }\n\n async getBasePlanInfo():Promise{\n try {\n let response = await axios({\n method: \"get\",\n url: General.GetApiUrl(\"/api/ppe/GetPlanBaseInfo\"),\n withCredentials: true,\n responseType: \"json\",\n });\n return response.data;\n\n } catch (error) {\n General.HandleError(error, this);\n this.parentMounted = false;\n }\n }\n returnCountryManagerAlert(refused: boolean = false) {\n return !this.planCountryManagerEndorsement && this.plan.status == PPE_STATUS.TARGET_CHECK && !refused\n }\n\n async save(isDraft: boolean = true, refused: boolean = false) { \n if(!isDraft && !refused) {\n this.isSaveClicked = true;\n if(this.isValidForm()) {\n if(this.returnCountryManagerAlert(refused)) {\n General.confirm(\n i18n.t('PPE.CONFIRM_COUNTRY_MANAGER_ENDORSEMENT_ABSENCE') as string,\n this,\n async () => {\n await this.doSave(isDraft, refused);\n }\n );\n } else {\n await this.doSave(isDraft, refused);\n }\n }\n } else {\n this.isSaveDraftClicked = true;\n if(this.isValidFormNewPlan()) \n await this.doSave(isDraft, refused);\n }\n }\n\n async doSave(isDraft: boolean = true, refused: boolean = false) {\n if(!refused) {\n General.confirm(\n i18n.t('GENERIC.CONFIRM_MESSAGE') as string,\n this,\n async () => {\n if(this.planHeaderId != null)\n await this.updatePlan(isDraft);\n else\n await this.createPlan(isDraft);\n }\n );\n } else {\n General.confirm(\n i18n.t('PPE.CONFIRM_PPE_REFUSING') as string,\n this,\n async () => {\n await this.updatePlan(isDraft, refused);\n }\n );\n }\n }\n\n async createPlan(isDraft: boolean = true) {\n try {\n this.loading = true;\n let response = await axios.post(General.GetApiUrl('/api/ppe/CreatePlan?isDraft=' + isDraft)\n ,this.plan\n ,{ withCredentials: true });\n if(response.data != null) {\n let numericId: string = response.data;\n\n General.showAlertSuccess(i18n.t('PPE.PLAN_CREATED') as string, this);\n this.isSaveClicked = false;\n this.isSaveDraftClicked = false;\n this.closeDetailModal();\n this.$emit(\"plan-created\", numericId);\n }\n } catch (error) {\n General.HandleError(error, this);\n } finally {\n this.loading = false;\n }\n }\n\n async updatePlan(isDraft: boolean = true, refused: boolean = false) {\n try {\n this.loading = true;\n\n if(this.productConfirmationEditable)\n this.plan.target.productionConfirmation = this.planProductConfirmation;\n \n if(this.countryManagerEndorsementEditable)\n this.plan.target.countryManagerEndorsement = this.planCountryManagerEndorsement;\n\n if(this.planFinalEditable)\n this.plan.target.totalVolumeYearBefore = this.planTargetTotalVolumeYearBefore;\n\n await axios.post(General.GetApiUrl('/api/ppe/UpdatePlan?isDraft=' + isDraft + '&isRefused=' + refused)\n ,this.plan\n ,{ withCredentials: true });\n\n General.showAlertSuccess(i18n.t('PPE.PLAN_UPDATED') as string, this);\n this.isSaveClicked = false;\n this.closeDetailModal();\n this.$emit(\"plan-updated\", this.plan.numericId);\n } catch (error) {\n General.HandleError(error, this);\n } finally {\n this.loading = false;\n }\n }\n\n closeDetailModal() {\n this.$bvModal.hide(\"plan-details-modal\");\n }\n\n isValidFormNewPlan() {\n let isValid = true;\n if(this.CheckIsNullOrEmpty(this.plan.idCountryFrom)) {\n this.tabActivated = 0;\n isValid = false;\n General.showAlertDanger(i18n.t('GENERIC.CHECK_MANDATORY_FIELDS') as string, this);\n }\n return isValid;\n }\n\n isValidForm() {\n let validGeneralInfo = this.isValidGeneralInfo();\n let validProductsIncluded = this.isValidProductsIncluded();\n let validProductsCostAllocation = this.isValidProductsCostAllocation();\n let validForecastVolumeAndCost = this.isValidForecastVolumeAndCost();\n let validEvaluationForm = this.isValidEvaluationForm();\n\n if(!validGeneralInfo){\n this.tabActivated = 0;\n General.showAlertDanger(i18n.t('GENERIC.CHECK_MANDATORY_FIELDS') as string, this);\n } else if(!validProductsIncluded) {\n this.tabActivated = 1;\n General.showAlertDanger(i18n.t('PPE.CHECK_PRODUCTS_INCLUDED') as string, this);\n } else if(!validProductsCostAllocation) {\n this.tabActivated = 1;\n General.showAlertDanger(i18n.t('PPE.CHECK_PRODUCTS_COST_ALLOCATION') as string, this);\n } else if(!validForecastVolumeAndCost) {\n this.tabActivated = 2;\n General.showAlertDanger(i18n.t('PPE.CHECK_FORECAST_VOLUME_COST') as string, this);\n } else if(!validEvaluationForm) {\n this.tabActivated = 6;\n General.showAlertDanger(i18n.t('PPE.CHECK_EVALUATION_FORM') as string, this);\n }\n return validGeneralInfo && validProductsIncluded && validProductsCostAllocation && validForecastVolumeAndCost && validEvaluationForm;\n }\n\n isValidGeneralInfo() {\n let isValid: boolean = true;\n if(this.CheckIsNullOrEmpty(this.plan.idCountryFrom)\n || this.CheckIsNullOrEmpty(this.plan.creator)\n || this.CheckIsNullOrEmpty(this.plan.placeDate)\n || this.CheckIsNullOrEmpty(this.plan.mrkMngSign)\n || this.CheckIsNullOrEmpty(this.plan.mrkHeadSign)\n || this.CheckIsNullOrEmpty(this.plan.cnyMngSign)\n //PLAN DETAIL VALIDATION\n || this.CheckIsNullOrEmpty(this.plan.detail.title)\n || this.CheckIsNullOrEmpty(this.plan.detail.targetCustomer1)\n || this.CheckIsNullOrEmpty(this.plan.detail.targetCustomer2)\n || this.CheckIsNullOrEmpty(this.plan.detail.dtStart)\n || this.CheckIsNullOrEmpty(this.plan.detail.dtEnd)\n || this.CheckIsNullOrEmpty(this.plan.detail.benefits)\n || this.CheckIsNullOrEmpty(this.plan.detail.planGoal)\n || this.CheckIsNullOrEmpty(this.plan.detail.mechanics)\n || this.CheckIsNullOrEmpty(this.plan.detail.mechanicsDescription)\n || this.CheckIsNullOrEmpty(this.plan.detail.supportMaterials)\n || (this.CheckIsNullOrEmpty(this.plan.detail.targetVolume) && this.CheckIsNullOrEmpty(this.plan.detail.target)\n )\n ) {\n isValid = false;\n }\n\n return isValid;\n }\n\n isValidProductsIncluded() {\n let isValid: boolean = true;\n if(!this.plan.detail.allBrands && (this.plan.productsIncluded == undefined || this.plan.productsIncluded == null || this.plan.productsIncluded.length == 0))\n isValid = false;\n return isValid;\n }\n\n isValidProductsCostAllocation() {\n let isValid: boolean = true;\n if(!this.plan.detail.costAllocationCheck && (!this.plan.detail.allBrandsCost && (this.plan.productsCostAllocation == undefined || this.plan.productsCostAllocation.length == 0))) \n isValid = false;\n return isValid;\n }\n\n isValidForecastVolumeAndCost() {\n let isValidTargetVolume: boolean = true;\n let isValidTarget: boolean = true;\n let isValidOtherField: boolean = true;\n if(!this.CheckIsNullOrEmpty(this.plan.detail.targetVolume)) {\n if(this.CheckIsNullOrEmpty(this.plan.target.totalVolumeTons) || this.CheckIsNullOrEmpty(this.plan.target.incidenceKg) || \n (!this.plan.isImported && (this.CheckIsNullOrEmpty(this.plan.target.grossProfit) || this.CheckIsNullOrEmpty(this.plan.target.lastYearVolumeBaseLine))))\n isValidTargetVolume = false;\n }\n\n if(!this.CheckIsNullOrEmpty(this.plan.detail.target)) {\n if(this.CheckIsNullOrEmpty(this.plan.target.totalVolumeEuroDurance) || this.CheckIsNullOrEmpty(this.plan.target.incidenceEuro))\n isValidTarget = false;\n }\n\n if(this.CheckIsNullOrEmpty(this.plan.target.costPPE) || this.CheckIsNullOrEmpty(this.plan.target.budgetIncidence))\n isValidOtherField = false;\n\n return isValidTargetVolume && isValidTarget && isValidOtherField;\n }\n\n isValidEvaluationForm() {\n\n let isValidTargetVolume: boolean = true;\n let isValidTarget: boolean = true;\n let isValidOtherField: boolean = true;\n\n if(this.plan.status >= PPE_STATUS.IN_PROGRESS) {\n if(!this.CheckIsNullOrEmpty(this.plan.target.totalVolumeTons)) {\n if(this.CheckIsNullOrEmpty(this.plan.final.totalVolumeTons) || this.CheckIsNullOrEmpty(this.plan.final.incidenceKg))\n isValidTargetVolume = false;\n }\n\n if(!this.CheckIsNullOrEmpty(this.plan.target.totalVolumeEuroDurance)) {\n if(this.CheckIsNullOrEmpty(this.plan.final.totalVolumeEuroDurance) || this.CheckIsNullOrEmpty(this.plan.final.incidenceEuro))\n isValidTarget = false;\n }\n\n if(this.CheckIsNullOrEmpty(this.plan.final.costPPE) || this.CheckIsNullOrEmpty(this.plan.final.evaluationMark) || \n (!this.plan.isImported && (this.CheckIsNullOrEmpty(this.plan.final.grossProfit) || this.CheckIsNullOrEmpty(this.plan.target.lastYearVolumeBaseLine))))\n isValidOtherField = false;\n\n }\n\n return isValidTargetVolume && isValidTarget && isValidOtherField;\n }\n\n setFormAuthorization() {\n this.resetFormAuthorization();\n if(this.plan.authorization.planHeader === PPE_AUTHORIZATION.WRITE) {\n this.planHeaderEditable = true;\n }\n if(this.plan.authorization.planDetail === PPE_AUTHORIZATION.WRITE) {\n this.planDetailEditable = true;\n }\n if(this.plan.authorization.planTarget === PPE_AUTHORIZATION.WRITE) {\n this.planTargetEditable = true;\n }\n if(this.plan.authorization.planFinal === PPE_AUTHORIZATION.WRITE) {\n this.planFinalEditable = true;\n }\n if(this.plan.authorization.countryManagerEndorsement === PPE_AUTHORIZATION.WRITE) {\n this.countryManagerEndorsementEditable = true;\n }\n if(this.plan.authorization.productConfirmation === PPE_AUTHORIZATION.WRITE) {\n this.productConfirmationEditable = true;\n }\n this.saveAllowed = this.plan.authorization.saveAllowed;\n this.attachmentUpload = this.plan.authorization.attachmentUpload;\n this.nextAllowed = this.plan.authorization.nextAllowed;\n this.refuseAllowed = this.plan.authorization.refuseAllowed;\n\n this.downloadEvaluationReportPdfAllowed = this.plan.status == PPE_STATUS.CLOSED;\n this.downloadPromotionPlanPdfAllowed = this.plan.status >= PPE_STATUS.IN_PROGRESS;\n }\n\n resetFormAuthorization() {\n this.planHeaderEditable = false;\n this.planDetailEditable = false;\n this.planTargetEditable = false;\n this.planFinalEditable = false;\n this.countryManagerEndorsementEditable = false;\n this.productConfirmationEditable = false;\n this.saveAllowed = false;\n this.attachmentUpload = false;\n this.nextAllowed = false;\n this.refuseAllowed = false;\n }\n\n setFormAuthorizationNewPlan(){\n this.planHeaderEditable = true;\n this.planDetailEditable = true;\n this.planTargetEditable = true;\n this.saveAllowed = true;\n this.attachmentUpload = true;\n this.nextAllowed = true;\n }\n\n CheckIsNullOrEmpty(text: any) {\n if (text == null) return true;\n if (text.toString() === '') return true;\n return false;\n }\n\n getDisabledState(authorization: boolean) {\n if(authorization) {\n return false;\n }\n else {\n return true; \n }\n }\n\n onChangeCostAllocationCheck() {\n if(!this.plan.detail.costAllocationCheck) {\n while(this.plan.productsCostAllocation.length) {\n this.plan.productsCostAllocation.pop();\n }\n }\n }\n\n initPlanFinal() {\n if(this.plan.status >= PPE_STATUS.IN_PROGRESS && this.planFinalEditable) {\n if(this.plan.final == null) {\n this.plan.final = new PlanFinal()\n this.plan.final.idHeader = this.planHeaderId;\n } else {\n this.planTargetTotalVolumeYearBefore = this.plan.target.totalVolumeYearBefore;\n }\n }\n }\n\n async downloadPpePdf(ppePdfType: PPE_PDF) {\n try {\n let url = \"/api/ppe/\";\n if(ppePdfType == PPE_PDF.PROMOTION_PLAN)\n url = url + \"GetPromotionalPlanPdfById?planId=\";\n else\n url = url + \"GetFinalReportPlanPdfById?planId=\";\n\n let response = await axios({\n method: 'get',\n url: General.GetApiUrl(url + this.plan.id),\n withCredentials: true,\n responseType: 'blob'\n });\n let filename = response.headers['content-disposition'].split('filename=')[1];\n saveAs(new Blob([response.data]), filename);\n } catch (error) {\n General.showAlertDanger(i18n.t('GENERIC.DOWNLOAD_FILE_ERROR') as string, this); \n }\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!./PlanProductsManage.vue?vue&type=style&index=0&id=145f2b9f&prod&scoped=true&lang=css\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"container\"},[(_vm.editable)?_c('div',{staticClass:\"form-group row ml-2 align-items-center\"},[_c('span',{directives:[{name:\"b-modal\",rawName:\"v-b-modal.add-file-modal\",modifiers:{\"add-file-modal\":true}}],staticClass:\"clickable\",on:{\"click\":_vm.reset}},[_c('b-icon-plus-circle',{staticClass:\"mt-2\",staticStyle:{\"outline\":\"none\",\"margin-right\":\"5px\"},attrs:{\"scale\":\"1.5\"}}),_vm._v(\" \"+_vm._s(_vm.$t('GENERIC.ADD_NEW_ATTACHMENT'))+\" \")],1)]):_vm._e(),_c('b-modal',{attrs:{\"id\":\"add-file-modal\",\"title\":_vm.$t('GENERIC.ADD_NEW_ATTACHMENT'),\"no-close-on-backdrop\":true},scopedSlots:_vm._u([{key:\"modal-footer\",fn:function(){return [_c('b-button',{attrs:{\"size\":\"sm\",\"variant\":\"primary\"},on:{\"click\":function($event){return _vm.confirmAttachment()}}},[_c('span',{staticClass:\"fa fa-check\",staticStyle:{\"margin-right\":\"5px\"}}),_vm._v(\" \"+_vm._s(_vm.$t('GENERIC.CONFIRM_NEW_ATTACHMENT'))+\" \")])]},proxy:true}])},[_c('div',{staticClass:\"container\"},[_c('div',{staticClass:\"form-group row\"},[_c('label',{staticClass:\"col-4 col-form-label font-weight-bold\",attrs:{\"for\":\"staticCode\"}},[_vm._v(\"Sfoglia:\")]),_c('div',{staticClass:\"col-8\"},[(_vm.uploadPerc > 0)?_c('span',[_vm._v(_vm._s(_vm.fileName))]):_vm._e(),_c('chunk-uploader',{attrs:{\"endpoint\":\"/api/document/UploadGenericDocumentChunk\",\"max-parallel-upload\":3,\"ext-allowed\":\"\",\"max-size-allowed-kb\":15360},on:{\"completed\":_vm.showSuccessAlert,\"progress\":_vm.updateProgress,\"getfilename\":_vm.getFileName}}),(_vm.uploadPerc > 0)?_c('div',{staticStyle:{\"padding-top\":\"10px\"}},[_c('b-progress',{attrs:{\"max\":100}},[_c('b-progress-bar',{attrs:{\"value\":_vm.uploadPerc,\"label\":_vm.uploadPerc.toString()}})],1)],1):_vm._e()],1)]),_c('div',{staticClass:\"form-group row\"},[_c('label',{staticClass:\"col-4 col-form-label font-weight-bold\"},[_vm._v(\"Note: \")]),_c('div',{staticClass:\"col-8\"},[_c('b-textarea',{attrs:{\"type\":\"text\",\"maxlength\":\"1000\",\"rows\":\"4\"},model:{value:(_vm.noteFileToUpload),callback:function ($$v) {_vm.noteFileToUpload=$$v},expression:\"noteFileToUpload\"}})],1)])])]),(_vm.attachmentsUploaded.length==0 || !_vm.attachmentsUploaded.some(function (item) { return !item.toDelete; }))?[_c('b',[_vm._v(_vm._s(_vm.$t('GENERIC.NO_ATTACHMENTS')))])]:_c('div',[_c('table',{staticClass:\"table b-table table-striped table-hover\",staticStyle:{\"width\":\"100%\",\"table-layout\":\"fixed\"}},[_vm._m(0),_c('tbody',_vm._l((_vm.attachmentsUploaded),function(item,index){return _c('tr',{key:index},[(!item.toDelete)?_c('td',{staticStyle:{\"text-align\":\"center\",\"width\":\"10%\"}},[_c('b-icon',{staticClass:\"clickable\",attrs:{\"icon\":\"file-earmark-arrow-down\",\"aria-hidden\":\"true\",\"scale\":\"1.2\"},on:{\"click\":function($event){return _vm.downloadAttachmentDo(item)}}})],1):_vm._e(),(!item.toDelete)?_c('td',{staticStyle:{\"width\":\"20%\"}},[_vm._v(_vm._s(item.fileName))]):_vm._e(),(!item.toDelete)?_c('td',{staticStyle:{\"word-wrap\":\"break-word\",\"width\":\"60%\"}},[_vm._v(_vm._s(item.notes))]):_vm._e(),(!item.toDelete)?_c('td',{staticStyle:{\"text-align\":\"center\",\"width\":\"10%\"}},[(_vm.editable)?_c('b-icon-dash-circle',{staticClass:\"deleteBtn clickable\",attrs:{\"scale\":\"1.2\",\"variant\":\"danger\"},on:{\"click\":function($event){return _vm.removeAttachment(item, index)}}}):_vm._e()],1):_vm._e()])}),0)])])],2)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('thead',{staticClass:\"table-light\"},[_c('tr',[_c('th',{staticStyle:{\"width\":\"10%\"}}),_c('th',{staticStyle:{\"width\":\"20%\"}},[_vm._v(\"File\")]),_c('th',{staticStyle:{\"width\":\"60%\"}},[_vm._v(\"Note\")]),_c('th',{staticStyle:{\"width\":\"10%\"}})])])}]\n\nexport { render, staticRenderFns }","export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js?{\\\"cacheDirectory\\\":\\\"node_modules/.cache/vue-loader\\\",\\\"cacheIdentifier\\\":\\\"28da8b7a-vue-loader-template\\\"}!../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PlanAttachmentsDetail.vue?vue&type=template&id=3f5a3d52&scoped=true\"","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PlanDetails.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PlanDetails.vue?vue&type=script&lang=ts\"","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PlanProductsManage.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PlanProductsManage.vue?vue&type=script&lang=ts\"","export class PlanDetail {\r\n public idHeader: string;\r\n public title: string;\r\n public dtStart: Date;\r\n public dtEnd: Date;\r\n public targetCustomer1: string;\r\n public targetCustomer2: string;\r\n public targetCustomerNotes: string;\r\n public benefits: string;\r\n public planGoal: string;\r\n public mechanics: string;\r\n public mechanicsDescription: string;\r\n public modality: string;\r\n public targetVolume: number;\r\n public excludedProductsNotes: string;\r\n public allBrands: boolean;\r\n public costAllocationCheck: boolean;\r\n public allBrandsCost: boolean;\r\n public supportMaterials: string;\r\n public target: string;\r\n public commercialCampaignCode: string;\r\n public involvedProductsNotes: string;\r\n public currentVersion: [];\r\n\r\n constructor(\r\n idHeader?: string,\r\n title?: string,\r\n dtStart?: Date,\r\n dtEnd?: Date,\r\n targetCustomer1?: string,\r\n targetCustomer2?: string,\r\n targetCustomerNotes?: string,\r\n benefits?: string,\r\n planGoal?: string,\r\n mechanics?: string,\r\n mechanicsDescription?: string,\r\n modality?: string,\r\n targetVolume?: number,\r\n excludedProductsNotes?: string,\r\n allBrands?: boolean,\r\n costAllocationCheck?: boolean,\r\n supportMaterials?: string,\r\n target?: string,\r\n commercialCampaignCode?: string,\r\n involvedProductsNotes?: string,\r\n allBrandsCost?: boolean,\r\n currentVersion?: []\r\n ) {\r\n this.idHeader = idHeader;\r\n this.title = title;\r\n this.dtStart = dtStart;\r\n this.dtEnd = dtEnd;\r\n this.targetCustomer1 = targetCustomer1;\r\n this.targetCustomer2 = targetCustomer2;\r\n this.targetCustomerNotes = targetCustomerNotes;\r\n this.benefits = benefits;\r\n this.planGoal = planGoal;\r\n this.mechanics = mechanics;\r\n this.mechanicsDescription = mechanicsDescription;\r\n this.modality = modality;\r\n this.targetVolume = targetVolume;\r\n this.excludedProductsNotes = excludedProductsNotes;\r\n this.allBrands = allBrands;\r\n this.costAllocationCheck = costAllocationCheck;\r\n this.supportMaterials = supportMaterials;\r\n this.target = target;\r\n this.commercialCampaignCode = commercialCampaignCode;\r\n this.involvedProductsNotes = involvedProductsNotes;\r\n this.allBrandsCost = allBrandsCost;\r\n this.currentVersion = currentVersion;\r\n }\r\n}","export class PlanFinal {\r\n public idHeader: string;\r\n public totalVolumeTons: number;\r\n public totalVolumeEuroDurance: number;\r\n public totalVolumeYearBefore: number;\r\n public totalGifts: number;\r\n public avgGiftCost: number;\r\n public costPPE: number;\r\n public incidenceKg: number;\r\n public incidenceLiter: number;\r\n public incidenceEuro: number;\r\n public budgetIncidence: number;\r\n public evaluationMark: number;\r\n public notes: string;\r\n public mrkHeadNotes: string;\r\n public mrkMngSign: string;\r\n public mrkHeadSign: string;\r\n public status: number;\r\n public currentVersion: [];\r\n public statusDescription: string;\r\n public grossProfit: number\r\n\r\n constructor(\r\n idHeader?: string,\r\n totalVolumeTons?: number,\r\n totalVolumeEuroDurance?: number,\r\n totalVolumeYearBefore?: number,\r\n totalGifts?: number,\r\n avgGiftCost?: number,\r\n costPPE?: number,\r\n incidenceKg?: number,\r\n incidenceLiter?: number,\r\n incidenceEuro?: number,\r\n budgetIncidence?: number,\r\n evaluationMark?: number,\r\n notes?: string,\r\n mrkHeadNotes?: string,\r\n mrkMngSign?: string,\r\n mrkHeadSign?: string,\r\n status?: number,\r\n currentVersion?: [],\r\n statusDescription?: string,\r\n grossProfit?: number\r\n ) {\r\n this.idHeader = idHeader;\r\n this.totalVolumeTons = totalVolumeTons;\r\n this.totalVolumeEuroDurance = totalVolumeEuroDurance;\r\n this.totalVolumeYearBefore = totalVolumeYearBefore;\r\n this.totalGifts = totalGifts;\r\n this.avgGiftCost = avgGiftCost;\r\n this.costPPE = costPPE;\r\n this.incidenceKg = incidenceKg;\r\n this.incidenceLiter = incidenceLiter;\r\n this.incidenceEuro = incidenceEuro\r\n this.budgetIncidence = budgetIncidence;\r\n this.evaluationMark = evaluationMark;\r\n this.notes = notes;\r\n this.mrkHeadNotes = mrkHeadNotes;\r\n this.mrkMngSign = mrkMngSign;\r\n this.mrkHeadSign =mrkHeadSign;\r\n this.status = status;\r\n this.currentVersion = currentVersion;\r\n this.statusDescription = statusDescription;\r\n this.grossProfit = grossProfit;\r\n }\r\n}","export class PlanTarget {\r\n public idHeader: string;\r\n public lastYearVolumeBaseLine: number;\r\n public lastYearVolumePromo: number;\r\n public totalVolumeTons: number;\r\n public totalVolumeEuroDurance: number;\r\n public totalVolumeYearBefore: number;\r\n public totalGifts: number;\r\n public avgGiftCost: number;\r\n public costPPE: number;\r\n public incidenceKg: number;\r\n public incidenceLiter: number;\r\n public incidenceEuro: number;\r\n public budgetIncidence: number;\r\n public notes: string;\r\n public mrkHeadNotes: string;\r\n public status: number;\r\n public productionConfirmation: string;\r\n public countryManagerEndorsement: string;\r\n public currentVersion: [];\r\n public statusDescription: string;\r\n public grossProfit: number;\r\n public isImported: boolean;\r\n\r\n constructor(\r\n idHeader?: string,\r\n lastYearVolumeBaseLine?: number,\r\n lastYearVolumePromo?: number,\r\n totalVolumeTons?: number,\r\n totalVolumeEuroDurance?: number,\r\n totalVolumeYearBefore?: number,\r\n totalGifts?: number,\r\n avgGiftCost?: number,\r\n costPPE?: number,\r\n incidenceKg?: number,\r\n incidenceLiter?: number,\r\n incidenceEuro?: number,\r\n budgetIncidence?: number,\r\n notes?: string,\r\n mrkHeadNotes?: string,\r\n status?: number,\r\n productionConfirmation?: string,\r\n countryManagerEndorsement?: string,\r\n statusDescription?: string,\r\n groosProfit?: number,\r\n currentVersion?: []\r\n ) {\r\n this.idHeader = idHeader;\r\n this.lastYearVolumeBaseLine = lastYearVolumeBaseLine;\r\n this.lastYearVolumePromo = lastYearVolumePromo;\r\n this.totalVolumeTons = totalVolumeTons;\r\n this.totalVolumeEuroDurance = totalVolumeEuroDurance;\r\n this.totalVolumeYearBefore = totalVolumeYearBefore;\r\n this.totalGifts = totalGifts;\r\n this.avgGiftCost = avgGiftCost;\r\n this.costPPE = costPPE;\r\n this.incidenceKg = incidenceKg;\r\n this.incidenceLiter = incidenceLiter;\r\n this.incidenceEuro = incidenceEuro;\r\n this.budgetIncidence = budgetIncidence;\r\n this.notes = notes;\r\n this.mrkHeadNotes = mrkHeadNotes;\r\n this.status = status;\r\n this.productionConfirmation = productionConfirmation;\r\n this.countryManagerEndorsement = countryManagerEndorsement;\r\n this.statusDescription = statusDescription;\r\n this.grossProfit = groosProfit;\r\n this.currentVersion = currentVersion;\r\n }\r\n}","import { render, staticRenderFns } from \"./PlanAttachmentsDetail.vue?vue&type=template&id=3f5a3d52&scoped=true\"\nimport script from \"./PlanAttachmentsDetail.vue?vue&type=script&lang=ts\"\nexport * from \"./PlanAttachmentsDetail.vue?vue&type=script&lang=ts\"\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 \"3f5a3d52\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-overlay',{attrs:{\"show\":_vm.loading,\"rounded\":\"sm\"}},[_c('b-tabs',{model:{value:(_vm.tabActivated),callback:function ($$v) {_vm.tabActivated=$$v},expression:\"tabActivated\"}},[_c('b-tab',{staticClass:\"p-3\",attrs:{\"title\":_vm.$t('PPE.GENERAL_INFO_TAB')}},[(_vm.parentMounted)?_c('PlanGeneralInfo',{attrs:{\"dropDownCountries\":_vm.dropDownCountries,\"planProp\":_vm.plan,\"isSaveClicked\":_vm.isSaveClicked,\"isSaveDraftClicked\":_vm.isSaveDraftClicked,\"planHeaderEditable\":_vm.planHeaderEditable,\"planDetailEditable\":_vm.planDetailEditable}}):_vm._e()],1),_c('b-tab',{staticClass:\"p-3\",attrs:{\"title\":_vm.$t('PPE.PRODUCTS_TAB')}},[_c('b-form',[_c('b-row',{staticClass:\"boxed\"},[_c('b-col',[_vm._v(_vm._s(_vm.$t('PPE.PLAN_PRODUCTS_INCLUDED_SECTION')))])],1),_c('b-row',[_c('b-col',[_c('b-form-group',[(_vm.parentMounted)?_c('b-form-checkbox',{attrs:{\"disabled\":_vm.getDisabledState(_vm.planDetailEditable),\"switch\":\"\"},on:{\"change\":function($event){return _vm.onChangeAllBrand()}},model:{value:(_vm.plan.detail.allBrands),callback:function ($$v) {_vm.$set(_vm.plan.detail, \"allBrands\", $$v)},expression:\"plan.detail.allBrands\"}},[_vm._v(\" \"+_vm._s(_vm.$t('PPE.ALL_BRANDS'))+\" \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',[(_vm.parentMounted)?_c('PlanProductsManage',{key:_vm.includedProductModuleKey,attrs:{\"planProductsProp\":_vm.plan.productsIncluded,\"planHeaderId\":_vm.plan.id,\"editable\":_vm.planDetailEditable,\"allBrandsProp\":_vm.plan.detail.allBrands}}):_vm._e()],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":_vm.$t('PPE.PLAN_PRODUCTS_INCLUDED_NOTES')}},[(_vm.parentMounted)?_c('b-form-textarea',{attrs:{\"disabled\":_vm.getDisabledState(_vm.planDetailEditable),\"rows\":\"3\",\"max-rows\":\"6\",\"type\":\"text\",\"maxlength\":\"1500\"},model:{value:(_vm.plan.detail.involvedProductsNotes),callback:function ($$v) {_vm.$set(_vm.plan.detail, \"involvedProductsNotes\", $$v)},expression:\"plan.detail.involvedProductsNotes\"}}):_vm._e()],1)],1)],1),_c('b-row',{staticClass:\"boxed\"},[_c('b-col',[_vm._v(_vm._s(_vm.$t('PPE.PLAN_PRODUCTS_EXCLUDED_SECTION')))])],1),_c('b-row',[_c('b-col',[(_vm.parentMounted)?_c('PlanProductsManage',{attrs:{\"planProductsProp\":_vm.plan.productsExcluded,\"planHeaderId\":_vm.plan.id,\"editable\":_vm.planDetailEditable}}):_vm._e()],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":_vm.$t('PPE.PLAN_PRODUCTS_EXCLUDED_NOTES')}},[(_vm.parentMounted)?_c('b-form-textarea',{attrs:{\"disabled\":_vm.getDisabledState(_vm.planDetailEditable),\"rows\":\"3\",\"max-rows\":\"6\",\"type\":\"text\",\"maxlength\":\"1500\"},model:{value:(_vm.plan.detail.excludedProductsNotes),callback:function ($$v) {_vm.$set(_vm.plan.detail, \"excludedProductsNotes\", $$v)},expression:\"plan.detail.excludedProductsNotes\"}}):_vm._e()],1)],1)],1)],1),_c('b-row',{staticClass:\"boxed\"},[_c('b-col',[_vm._v(_vm._s(_vm.$t('PPE.PLAN_PRODUCTS_COST_ALLOCATION_SECTION')))])],1),_c('b-row',[_c('b-col',[_c('b-form-group',[(_vm.parentMounted)?_c('b-form-checkbox',{attrs:{\"disabled\":_vm.getDisabledState(_vm.planDetailEditable),\"switch\":\"\"},on:{\"change\":function($event){return _vm.setCostAllocationSectionVisibility()}},model:{value:(_vm.plan.detail.costAllocationCheck),callback:function ($$v) {_vm.$set(_vm.plan.detail, \"costAllocationCheck\", $$v)},expression:\"plan.detail.costAllocationCheck\"}},[_vm._v(\" \"+_vm._s(_vm.$t('PPE.COST_ALLOCATION_CHECK'))+\" \")]):_vm._e()],1)],1)],1),(_vm.costAllocationSectionVisibility)?_c('div',[_c('b-row',[_c('b-col',[_c('b-form-group',[(_vm.parentMounted)?_c('b-form-checkbox',{attrs:{\"disabled\":_vm.getDisabledState(_vm.planDetailEditable),\"switch\":\"\"},on:{\"change\":_vm.onChangeCostAllocationAllBrand},model:{value:(_vm.plan.detail.allBrandsCost),callback:function ($$v) {_vm.$set(_vm.plan.detail, \"allBrandsCost\", $$v)},expression:\"plan.detail.allBrandsCost\"}},[_vm._v(\" \"+_vm._s(_vm.$t('PPE.ALL_BRANDS'))+\" \")]):_vm._e()],1)],1)],1),_c('b-row',[_c('b-col',[(_vm.parentMounted)?_c('PlanProductsManage',{key:_vm.costAllocationModuleKey,ref:\"costAllocationProductsMng\",attrs:{\"planProductsProp\":_vm.plan.productsCostAllocation,\"planHeaderId\":_vm.plan.id,\"editable\":_vm.planDetailEditable,\"allBrandsProp\":_vm.plan.detail.allBrandsCost}}):_vm._e()],1)],1)],1):_vm._e()],1),_c('b-tab',{staticClass:\"p-3\",attrs:{\"title\":_vm.$t('PPE.FORECAST_VOLUME_TAB')},on:{\"click\":function($event){return _vm.$refs.forecastVolumeCostsComponent.onChangeTargetVolume()}}},[(_vm.parentMounted)?_c('PlanForecastVolumeCosts',{ref:\"forecastVolumeCostsComponent\",attrs:{\"isSaveClicked\":_vm.isSaveClicked,\"planTargetEditable\":_vm.planTargetEditable,\"planTargetProp\":_vm.plan.target,\"symbolProp\":_vm.symbolUnitOfMeasurementPlan,\"kSymbolProp\":_vm.kSymbolUnitOfMeasurementPlan,\"planTargetUnits\":_vm.plan.detail.target,\"planTargetVolume\":_vm.plan.detail.targetVolume,\"planStatus\":_vm.plan.status,\"isImported\":_vm.plan.isImported}}):_vm._e()],1),_c('b-tab',{staticClass:\"p-3\",attrs:{\"title\":_vm.$t('PPE.ATTACHMENTS_TAB')}},[(_vm.parentMounted)?_c('PlanAttachmentsDetail',{attrs:{\"editable\":_vm.attachmentUpload,\"attachments\":_vm.plan.attachments}}):_vm._e()],1),(_vm.relatedTabVisibility())?_c('b-tab',{staticClass:\"p-3\",attrs:{\"title\":_vm.$t('PPE.REQUEST_PROMOTION_TAB')}},[_c('b-form',[_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":_vm.$t('PPE.PLAN_PRODUCT_CONFIRMATION')}},[(_vm.parentMounted)?_c('b-form-select',{attrs:{\"disabled\":!_vm.productConfirmationEditable,\"options\":_vm.dropDownProductConfirmation},model:{value:(_vm.planProductConfirmation),callback:function ($$v) {_vm.planProductConfirmation=$$v},expression:\"planProductConfirmation\"}}):_vm._e()],1)],1)],1)],1)],1):_vm._e(),(_vm.relatedTabVisibility())?_c('b-tab',{staticClass:\"p-3\",attrs:{\"title\":_vm.$t('PPE.PLAN_COUNTRY_MANAGER_ENDORSEMENT')}},[_c('b-form',[_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":_vm.$t('PPE.PLAN_COUNTRY_MANAGER_ENDORSEMENT')}},[_c('b-form-textarea',{attrs:{\"disabled\":!_vm.countryManagerEndorsementEditable,\"rows\":\"3\",\"max-rows\":\"6\",\"type\":\"text\",\"maxlength\":\"1500\"},model:{value:(_vm.planCountryManagerEndorsement),callback:function ($$v) {_vm.planCountryManagerEndorsement=$$v},expression:\"planCountryManagerEndorsement\"}})],1)],1)],1)],1)],1):_vm._e(),(_vm.evaluationFormTabVisibility())?_c('b-tab',{staticClass:\"p-3\",attrs:{\"title\":_vm.$t('PPE.PLAN_EVALUATION_FORM_TAB')}},[(_vm.parentMounted)?_c('PlanEvaluationForm',{ref:\"evaluationFormComponent\",attrs:{\"isSaveClicked\":_vm.isSaveClicked,\"planFinalEditable\":_vm.planFinalEditable,\"planTarget\":_vm.plan.target,\"symbolProp\":_vm.symbolUnitOfMeasurementPlan,\"kSymbolProp\":_vm.kSymbolUnitOfMeasurementPlan,\"planFinalProp\":_vm.plan.final,\"planStatus\":_vm.plan.status,\"planTargetTotalVolumeYearBeforeProp\":_vm.planTargetTotalVolumeYearBefore},on:{\"totalVolumeLastYear\":_vm.handleTotalVolumeLastYearChange}}):_vm._e()],1):_vm._e()],1),(_vm.parentMounted)?_c('footer',{staticClass:\"modal-footer\"},[_c('b-container',{attrs:{\"fluid\":\"\"}},[_c('b-row',[_c('b-col',{attrs:{\"md\":\"2\"}},[(_vm.refuseAllowed)?_c('b-button',{attrs:{\"variant\":\"danger\"},on:{\"click\":function($event){return _vm.save(true, true)}}},[_c('span',{staticClass:\"fa fa-ban\",staticStyle:{\"margin-right\":\"5px\"}}),_vm._v(\" \"+_vm._s(_vm.$t('NET20.BUTTON_REFUSE'))+\" \")]):_vm._e()],1),_c('b-col',{attrs:{\"md\":\"3\"}},[(_vm.downloadPromotionPlanPdfAllowed)?_c('b-button',{attrs:{\"variant\":\"outline-success\",\"title\":_vm.$t('GENERIC.BTN_DOWNLOAD')},on:{\"click\":function($event){return _vm.downloadPpePdf(_vm.ppePdfType.PROMOTION_PLAN)}}},[_c('span',{staticClass:\"fa fa-file-pdf-o\",staticStyle:{\"margin-right\":\"5px\"}}),_vm._v(\" \"+_vm._s(_vm.$t('PPE.BTN_DOWNLOAD_PROMOTION_PLAN_PDF'))+\" \")]):_vm._e()],1),_c('b-col',{attrs:{\"md\":\"3\"}},[(_vm.downloadEvaluationReportPdfAllowed)?_c('b-button',{attrs:{\"variant\":\"outline-success\",\"title\":_vm.$t('GENERIC.BTN_DOWNLOAD')},on:{\"click\":function($event){return _vm.downloadPpePdf(_vm.ppePdfType.EVALUATION_REPORT)}}},[_c('span',{staticClass:\"fa fa-file-pdf-o\",staticStyle:{\"margin-right\":\"5px\"}}),_vm._v(\" \"+_vm._s(_vm.$t('PPE.BTN_DOWNLOAD_EVALUATION_REPORT_PDF'))+\" \")]):_vm._e()],1),_c('b-col',{attrs:{\"md\":\"2\"}},[(_vm.saveAllowed)?_c('b-button',{attrs:{\"disabled\":!_vm.saveAllowed,\"variant\":\"outline-primary\"},on:{\"click\":function($event){return _vm.save(true)}}},[_c('span',{staticClass:\"fa fa-floppy-o\",staticStyle:{\"margin-right\":\"5px\"}}),_vm._v(\" \"+_vm._s(_vm.$t('GENERIC.SAVE_DRAFT'))+\" \")]):_vm._e()],1),_c('b-col',{staticClass:\"ml-auto\",attrs:{\"md\":\"2\"}},[(_vm.nextAllowed)?_c('b-button',{attrs:{\"disabled\":!_vm.nextAllowed,\"variant\":\"primary\"},on:{\"click\":function($event){return _vm.save(false)}}},[_c('span',{staticClass:\"fa fa-floppy-o\",staticStyle:{\"margin-right\":\"5px\"}}),_vm._v(\" \"+_vm._s(_vm.$t('GENERIC.SAVE'))+\" \")]):_vm._e()],1)],1)],1)],1):_vm._e()],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export * from \"-!../../../node_modules/cache-loader/dist/cjs.js?{\\\"cacheDirectory\\\":\\\"node_modules/.cache/vue-loader\\\",\\\"cacheIdentifier\\\":\\\"28da8b7a-vue-loader-template\\\"}!../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PlanDetails.vue?vue&type=template&id=7ed8b9de\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Prop } from \"vue-property-decorator\";\nimport { IPlanProducts } from \"@/interfaces/IPlanProduct\";\nimport { GetProductDropDownValues, LEVEL } from \"@/services/PpeDropDowns\";\nimport { General } from \"@/services/General\";\nimport { i18n } from \"@/i18n/i18n-setup\";\n\n@Component({\n})\nexport default class PlanProductsManage extends Vue {\n @Prop({ type: Boolean, required: true })\n editable;\n @Prop({ required: true })\n planProductsProp;\n @Prop({ type: String })\n planHeaderId;\n @Prop({ type: Boolean, required: false, default: false })\n allBrandsProp;\n @Prop({ type: String, required: false })\n notesProp;\n\n isSaveClicked: boolean = false;\n dropDownCode4: Array = [];\n dropDownCode5: Array = [];\n dropDownProducts: Array = [];\n\n completeDropDownCode5: Array = [];\n completeDropDownProducts: Array = [];\n\n isCollapseVisibile: boolean = false;\n\n planProducts: Array = [];\n productsNotes: string = \"\";\n planProductsCount: number = 0;\n\n dataReady: boolean = false;\n code4: string = '';\n code5: string = '';\n idProduct: string = '';\n\n allBrands: boolean = false;\n\n level = LEVEL;\n\n onChangeAllBrands() {\n if(this.allBrandsProp) {\n while(this.planProducts.length) {\n this.planProducts.pop();\n }\n this.planProductsCount = 0;\n this.toggle();\n }\n }\n\n onChangeCostAllocationCheck(costAllocationCheck: any) {\n if(!costAllocationCheck) {\n while(this.planProducts.length) {\n this.planProducts.pop();\n }\n this.planProductsCount = 0;\n this.toggle();\n }\n }\n\n async mounted() {\n let product = {} as IPlanProducts;\n this.dropDownCode4 = await GetProductDropDownValues(product, LEVEL.BRAND); \n this.completeDropDownCode5 = await GetProductDropDownValues(product, LEVEL.VARIANT);\n this.completeDropDownProducts = await GetProductDropDownValues(product, LEVEL.PRODUCT);\n\n this.planProducts = this.planProductsProp;\n this.planProductsCount = this.planProducts.length;\n\n if(this.allBrandsProp != this.allBrands) {\n this.onChangeAllBrands();\n this.allBrands = this.allBrandsProp;\n }\n\n this.productsNotes = this.notesProp;\n this.isCollapseVisibile = this.planProductsCount > 0;\n this.dataReady = true;\n }\n\n async onSelectingItem(level: number) {\n let product = {} as IPlanProducts;\n\n if (level == LEVEL.VARIANT as number) {\n this.dropDownProducts = null;\n this.idProduct = null;\n product.code4 = this.code4;\n this.dropDownCode5 = await GetProductDropDownValues(product, level);\n } else if (level == LEVEL.PRODUCT as number) {\n product.code4 = this.code4;\n product.code5 = this.code5;\n this.dropDownProducts = await GetProductDropDownValues(product, level);\n }\n }\n\n cleanAllSelection() {\n this.dropDownCode5 = null;\n this.dropDownProducts = null;\n\n this.code4 = null;\n this.code5 = null;\n this.idProduct = null;\n }\n\n formValidation(): boolean {\n let isValid = true;\n if(!this.code4)\n isValid = false;\n\n return isValid;\n }\n\n addProduct() {\n this.isSaveClicked = true;\n if(this.formValidation()) {\n let index = this.planProducts.findIndex(x => this.normalizeCode(x.code4) === this.normalizeCode(this.code4)\n && (this.normalizeCode(x.code5) === this.normalizeCode(this.code5))\n && (this.normalizeCode(x.idProduct) === this.normalizeCode(this.idProduct)));\n if(index < 0) {\n let newProduct = {} as IPlanProducts;\n newProduct.code4 = this.code4;\n newProduct.code5 = this.code5;\n newProduct.idProduct = this.idProduct;\n newProduct.idHeader = this.planHeaderId;\n \n this.planProducts.push(newProduct);\n this.planProductsCount = this.planProductsCount + 1;\n\n this.code4 = null;\n this.code5 = null;\n this.idProduct = null;\n\n if(!this.isCollapseVisibile)\n this.toggle();\n\n this.isSaveClicked = false;\n this.cleanAllSelection();\n } else {\n General.showAlertDanger(i18n.t('PPE.PRODUCT_ALREADY_INSERTED') as string, this);\n }\n }\n }\n\n async removeProduct(indexToDelete: number){\n this.planProducts.splice(indexToDelete, 1);\n this.planProductsCount = this.planProductsCount - 1;\n\n if(this.planProductsCount == 0 && this.isCollapseVisibile)\n this.toggle();\n }\n\n toggle(): void {\n this.isCollapseVisibile = !this.isCollapseVisibile;\n }\n\n get colorChange(){\n let color = '';\n if (!this.isCollapseVisibile)\n color = 'secondary';\n\n color = 'outline-secondary';\n return color;\n }\n\n getDisabledState() {\n if(this.editable) {\n if(this.allBrandsProp) {\n return true;\n } else {\n return false;\n }\n }\n else {\n return true; \n }\n }\n\n returnState(condition: boolean, clickButton: boolean): boolean {\n if (clickButton) \n return condition;\n else \n return null;\n }\n\n normalizeCode(input: string): string {\n if(input == null) {\n return input;\n } else if(input == undefined || input.trim() === '') {\n return null;\n } else {\n return input;\n }\n }\n}\n","'use strict';\nvar $ = require('../internals/export');\n\n// `Number.isNaN` method\n// https://tc39.es/ecma262/#sec-number.isnan\n$({ target: 'Number', stat: true }, {\n isNaN: function isNaN(number) {\n // eslint-disable-next-line no-self-compare -- NaN check\n return number !== number;\n }\n});\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n import { Component, Vue, Prop } from \"vue-property-decorator\";\n import axios from 'axios';\n import { General } from '@/services/General';\n import { saveAs } from 'file-saver';\n import { PlanAttachment } from \"@/entity/Ppe/PlanAttachment\";\n import { i18n } from \"@/i18n/i18n-setup\";\n\n @Component\n export default class PlanAttachmentsDetail extends Vue {\n @Prop({ type: String, required: false })\n planHeaderId;\n @Prop({required: true})\n attachments: Array;\n @Prop({required: true}) \n editable: boolean;\n\n fileName: string = \"\";\n uploadPerc: number = 0;\n idSession: string = \"\";\n attachmentsUploaded : Array = [];\n noteFileToUpload: string = \"\";\n singleFile: PlanAttachment = new PlanAttachment();\n\n mounted(){\n this.attachmentsUploaded = this.attachments;\n }\n\n async downloadAttachmentDo(attachment: PlanAttachment){\n if(attachment.id != undefined && attachment.id)\n await this.downloadAttachmentById(attachment);\n else\n await this.downloadDocumentGenericByIdSession(attachment);\n }\n\n async downloadDocumentGenericByIdSession(attachment: PlanAttachment){\n try {\n let response = await axios({\n method: 'get',\n url: General.GetApiUrl(\"/api/document/DownloadDocumentGenericByIdSession?idSession=\" + attachment.sessionId),\n withCredentials: true,\n responseType: 'blob'\n });\n saveAs(new Blob([response.data]), attachment.fileName);\n } catch (error) {\n General.showAlertDanger(i18n.t(\"GENERIC.DOWNLOAD_FILE_ERROR\") as string, this); \n }\n }\n\n async downloadAttachmentById(attachment: PlanAttachment){\n try {\n let response = await axios({\n method: 'get',\n url: General.GetApiUrl(\"/api/ppe/DownloadPlanAttachment?attachmentId=\" + attachment.id),\n withCredentials: true,\n responseType: 'blob'\n });\n saveAs(new Blob([response.data]), attachment.fileName);\n } catch (error) {\n General.showAlertDanger(i18n.t(\"GENERIC.DOWNLOAD_FILE_ERROR\") as string, this); \n }\n }\n\n showSuccessAlert(sessionId: any) {\n this.idSession = sessionId;\n this.uploadPerc = 100;\n }\n\n confirmAttachment() {\n if(!this.isAlreadyUploaded(this.fileName)) {\n if(this.idSession != undefined && this.idSession !== \"\") {\n let newAttachment = new PlanAttachment();\n newAttachment.fileName = this.fileName;\n newAttachment.sessionId = this.idSession\n newAttachment.notes = this.noteFileToUpload;\n newAttachment.idHeader = this.planHeaderId;\n newAttachment.toDelete = false;\n\n this.singleFile = newAttachment;\n this.attachmentsUploaded.push(this.singleFile);\n\n this.noteFileToUpload = null; \n this.singleFile = new PlanAttachment();\n\n this.$bvModal.hide('add-file-modal'); \n } else {\n General.showAlertDanger(i18n.t(\"GENERIC.FILE_BROWSE_MANDATORY\") as string, this);\n }\n } else {\n General.showAlertDanger(i18n.t(\"GENERIC.FILE_ALREADY_UPLOADED\") as string, this);\n }\n }\n\n isAlreadyUploaded(fileName: string) {\n let check = false;\n if((this.attachmentsUploaded.length > 0 && this.attachmentsUploaded.findIndex(f => f.fileName === fileName && !f.toDelete) >= 0))\n check = true;\n return check;\n }\n\n removeAttachment(attachment:PlanAttachment, index: number){\n General.confirm(\n i18n.t(\"GENERIC.CONFIRM_DELETE_ATTACHMENT\") as string,\n this,\n async () => {\n attachment.toDelete = true;\n Vue.set(this.attachmentsUploaded, index, attachment) \n } \n ); \n }\n\n updateProgress(e: any) {\n this.uploadPerc = e;\n }\n\n getFileName(fileName: string) {\n this.fileName = fileName;\n }\n\n reset() {\n this.uploadPerc = 0;\n this.fileName = \"\";\n this.idSession = \"\";\n }\n}\n","import { render, staticRenderFns } from \"./PlanDetails.vue?vue&type=template&id=7ed8b9de\"\nimport script from \"./PlanDetails.vue?vue&type=script&lang=ts\"\nexport * from \"./PlanDetails.vue?vue&type=script&lang=ts\"\nimport style0 from \"./PlanDetails.vue?vue&type=style&index=0&id=7ed8b9de&prod&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 null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-container',{staticStyle:{\"margin-bottom\":\"20px\"}},[_c('b-form',[_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":_vm.$t('PPE.PLAN_PRODUCT_BRAND')}},[_c('b-form-select',{attrs:{\"disabled\":_vm.getDisabledState(),\"options\":_vm.dropDownCode4,\"state\":_vm.returnState(!!_vm.code4,_vm.isSaveClicked),\"aria-describedby\":\"code4Service\"},on:{\"change\":function($event){return _vm.onSelectingItem(_vm.level.VARIANT)}},model:{value:(_vm.code4),callback:function ($$v) {_vm.code4=$$v},expression:\"code4\"}}),_c('b-form-invalid-feedback',{attrs:{\"id\":\"validationService\"}},[_vm._v(_vm._s(_vm.$t('GENERIC.MANDATORY_FIELD')))])],1)],1),_c('b-col',[_c('b-form-group',{attrs:{\"label\":_vm.$t('PPE.PLAN_PRODUCT_VARIANT')}},[_c('b-form-select',{attrs:{\"disabled\":_vm.getDisabledState(),\"options\":_vm.dropDownCode5},on:{\"change\":function($event){return _vm.onSelectingItem(_vm.level.PRODUCT)}},model:{value:(_vm.code5),callback:function ($$v) {_vm.code5=$$v},expression:\"code5\"}})],1)],1)],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"11\"}},[_c('b-form-group',{attrs:{\"label\":_vm.$t('PPE.PLAN_PRODUCT_PRODUCT')}},[_c('b-form-select',{attrs:{\"disabled\":_vm.getDisabledState(),\"options\":_vm.dropDownProducts},model:{value:(_vm.idProduct),callback:function ($$v) {_vm.idProduct=$$v},expression:\"idProduct\"}})],1)],1),_c('b-col',{attrs:{\"cols\":\"1\"}},[_c('b-form-group',[_c('b-button',{staticStyle:{\"margin-top\":\"35px\"},attrs:{\"disabled\":_vm.getDisabledState(),\"variant\":\"info\",\"title\":_vm.$t('GENERIC.BUTTON_ADD')},on:{\"click\":_vm.addProduct}},[_c('span',{staticClass:\"fa fa-plus\"})])],1)],1)],1),_c('div',[_vm._v(_vm._s(_vm.$t('PPE.PLUS_TEXT')))]),_c('b-row',[_c('b-col',[_c('b-button',{staticClass:\"btn right-rounded-border\",class:_vm.isCollapseVisibile ? null : 'collapsed',staticStyle:{\"margin-bottom\":\"10px\"},attrs:{\"block\":\"\",\"disabled\":_vm.planProductsCount == 0,\"aria-controls\":\"collapse-serviceList\",\"variant\":_vm.colorChange,\"aria-expanded\":_vm.isCollapseVisibile ? 'true' : 'false'},on:{\"click\":function($event){return _vm.toggle()}}},[_c('i',{class:[_vm.planProductsCount > 0 && _vm.isCollapseVisibile ? 'fa fa-chevron-right rotate-90-deg' : 'fa fa-chevron-right'],staticStyle:{\"transition\":\"transform 0.5s\"},attrs:{\"id\":\"viewProductsIcon\"}}),_vm._v(\" \"+_vm._s(_vm.$t('PPE.VIEW_PRODUCTS'))+\" \"),_c('b-badge',{attrs:{\"pill\":\"\",\"variant\":\"dark\"}},[_vm._v(_vm._s(_vm.planProductsCount))])],1)],1)],1),_c('b-row',{staticStyle:{\"margin-bottom\":\"10px\"}},[_c('b-col',[(_vm.dataReady)?_c('b-collapse',{attrs:{\"id\":\"collapse-serviceList\"},model:{value:(_vm.isCollapseVisibile),callback:function ($$v) {_vm.isCollapseVisibile=$$v},expression:\"isCollapseVisibile\"}},_vm._l((_vm.planProducts),function(product,index){return _c('b-card',{key:index,staticStyle:{\"margin-bottom\":\"1px\",\"padding\":\"0.5rem\"}},[_c('b-row',[_c('b-col',{attrs:{\"cols\":\"3\"}},[_c('b-form-select',{attrs:{\"disabled\":\"\",\"options\":_vm.dropDownCode4},model:{value:(product.code4),callback:function ($$v) {_vm.$set(product, \"code4\", $$v)},expression:\"product.code4\"}})],1),_c('b-col',{attrs:{\"cols\":\"3\"}},[_c('b-form-select',{attrs:{\"disabled\":\"\",\"options\":_vm.completeDropDownCode5},model:{value:(product.code5),callback:function ($$v) {_vm.$set(product, \"code5\", $$v)},expression:\"product.code5\"}})],1),_c('b-col',{attrs:{\"cols\":\"5\"}},[_c('b-form-select',{attrs:{\"disabled\":\"\",\"options\":_vm.completeDropDownProducts},model:{value:(product.idProduct),callback:function ($$v) {_vm.$set(product, \"idProduct\", $$v)},expression:\"product.idProduct\"}})],1),_c('b-col',{attrs:{\"cols\":\"1\"}},[_c('b-button',{staticStyle:{\"margin-top\":\"5px\",\"margin-left\":\"8px\"},attrs:{\"disabled\":_vm.getDisabledState(),\"variant\":\"danger\",\"title\":_vm.$t('GENERIC.BUTTON_MINUS')},on:{\"click\":function($event){return _vm.removeProduct(index)}}},[_c('span',{staticClass:\"fa fa-minus\"})])],1)],1)],1)}),1):_vm._e()],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js?{\\\"cacheDirectory\\\":\\\"node_modules/.cache/vue-loader\\\",\\\"cacheIdentifier\\\":\\\"28da8b7a-vue-loader-template\\\"}!../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PlanProductsManage.vue?vue&type=template&id=145f2b9f&scoped=true\"","var render = function () {\nvar this$1 = this;\nvar _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-container',{attrs:{\"fluid\":\"\"}},[_c('table',{staticClass:\"table b-table table-hover\"},[_c('thead',{staticClass:\"table-light\"},[_c('tr',[_c('th',{staticClass:\"tabHeader\"},[_vm._v(_vm._s(_vm.$t('PPE.EVAL_TAB_HEADER_DESCRIPTION')))]),_c('th',{staticClass:\"tabHeader\"},[_vm._v(_vm._s(_vm.$t('PPE.EVAL_TAB_HEADER_TARGET')))]),_c('th',{staticClass:\"tabHeader\"},[_vm._v(_vm._s(_vm.$t('PPE.EVAL_TAB_HEADER_FINAL')))]),_c('th',{staticClass:\"tabHeader\"},[_vm._v(_vm._s(_vm.$t('PPE.EVAL_TAB_HEADER_UNITS')))])])]),_c('tbody',[_c('tr',{staticClass:\"oddRow\"},[_c('td',{staticClass:\"tabDescriptionCell\",attrs:{\"rowspan\":\"2\"}},[_vm._v(_vm._s(_vm.$t('PPE.EVAL_TAB_ROW_TOTAL_VOLUME'))+\" *\")]),_c('td',{staticClass:\"tabTargetCellValue\"},[_c('b',[_vm._v(_vm._s(this.planTarget.totalVolumeTons))])]),_c('td',[_c('b-form-input',{attrs:{\"disabled\":!_vm.planFinalEditable,\"type\":\"number\",\"state\":_vm.returnState(!!_vm.planFinal.totalVolumeTons||!this.planTarget.totalVolumeTons,_vm.isSaveClicked),\"aria-describedby\":\"totalVolumeTonsValidation\"},on:{\"change\":function($event){return _vm.onChangeTotalVolumeTons()}},model:{value:(_vm.planFinal.totalVolumeTons),callback:function ($$v) {_vm.$set(_vm.planFinal, \"totalVolumeTons\", $$v)},expression:\"planFinal.totalVolumeTons\"}}),_c('b-form-invalid-feedback',{attrs:{\"id\":\"totalVolumeTonsValidation\"}},[_vm._v(_vm._s(_vm.$t('GENERIC.MANDATORY_FIELD')))])],1),_c('td',{staticClass:\"tableUomCell\"},[_vm._v(_vm._s(_vm.$t(this.kSymbolProp)))])]),_c('tr',{staticClass:\"oddRow\"},[_c('td',{staticClass:\"tabTargetCellValue\"},[_c('b',[_vm._v(_vm._s(this.planTarget.totalVolumeEuroDurance))])]),_c('td',[_c('b-form-input',{attrs:{\"disabled\":!_vm.planFinalEditable,\"type\":\"number\",\"state\":_vm.returnState(!!_vm.planFinal.totalVolumeEuroDurance||!this.planTarget.totalVolumeEuroDurance,_vm.isSaveClicked),\"aria-describedby\":\"totalVolumeEuroDuranceValidation\"},on:{\"change\":function($event){return _vm.onChangeTotalVolumeEuro()}},model:{value:(_vm.planFinal.totalVolumeEuroDurance),callback:function ($$v) {_vm.$set(_vm.planFinal, \"totalVolumeEuroDurance\", $$v)},expression:\"planFinal.totalVolumeEuroDurance\"}}),_c('b-form-invalid-feedback',{attrs:{\"id\":\"totalVolumeEuroDuranceValidation\"}},[_vm._v(_vm._s(_vm.$t('GENERIC.MANDATORY_FIELD')))])],1),_c('td',{staticClass:\"tableUomCell\"},[_vm._v(_vm._s(_vm.$t('PPE.EVAL_TAB_ROW_TOTAL_PPE_TARGET_VOLUME_EURO_UOM')))])]),_c('tr',{staticClass:\"oddRow\"},[_c('td',{staticClass:\"tabDescriptionCell\"},[_vm._v(_vm._s(_vm.$t('PPE.EVALUATION_TAB_ROW_TOTAL_VOLUME_LAST_YEAR')))]),_c('td',[_c('b-form-input',{attrs:{\"disabled\":!_vm.planFinalEditable,\"type\":\"number\"},on:{\"input\":function (event) { return this$1.$emit('totalVolumeLastYear', event); }},model:{value:(_vm.planTargetTotalVolumeYearBefore),callback:function ($$v) {_vm.planTargetTotalVolumeYearBefore=$$v},expression:\"planTargetTotalVolumeYearBefore\"}})],1),_c('td',[_c('b-form-input',{attrs:{\"disabled\":!_vm.planFinalEditable,\"type\":\"number\"},model:{value:(_vm.planFinal.totalVolumeYearBefore),callback:function ($$v) {_vm.$set(_vm.planFinal, \"totalVolumeYearBefore\", $$v)},expression:\"planFinal.totalVolumeYearBefore\"}})],1),_c('td',[_vm._v(_vm._s(_vm.$t(this.kSymbolProp)))])]),_c('tr',[_c('td',{staticClass:\"tabDescriptionCell\"},[_vm._v(_vm._s(_vm.$t('PPE.EVAL_TAB_ROW_TOTAL_GIFTS')))]),_c('td'),_c('td',[_c('b-form-input',{attrs:{\"disabled\":!_vm.planFinalEditable,\"type\":\"number\"},model:{value:(_vm.planFinal.totalGifts),callback:function ($$v) {_vm.$set(_vm.planFinal, \"totalGifts\", $$v)},expression:\"planFinal.totalGifts\"}})],1),_c('td',{staticClass:\"tableUomCell\"},[_vm._v(_vm._s(_vm.$t('PPE.EVAL_TAB_ROW_TOTAL_GIFTS_UOM')))])]),_c('tr',{staticClass:\"oddRow\"},[_c('td',{staticClass:\"tabDescriptionCell\"},[_vm._v(_vm._s(_vm.$t('PPE.EVAL_TAB_ROW_AVG_GIFTS_COST')))]),_c('td'),_c('td',[_c('b-form-input',{attrs:{\"disabled\":!_vm.planFinalEditable,\"type\":\"number\"},model:{value:(_vm.planFinal.avgGiftCost),callback:function ($$v) {_vm.$set(_vm.planFinal, \"avgGiftCost\", $$v)},expression:\"planFinal.avgGiftCost\"}})],1),_c('td',{staticClass:\"tableUomCell\"},[_vm._v(_vm._s(_vm.$t('PPE.EVAL_TAB_ROW_AVG_GIFTS_COST_UOM')))])]),_c('tr',[_c('td',{staticClass:\"tabDescriptionCell\"},[_vm._v(_vm._s(_vm.$t('PPE.EVAL_TAB_ROW_COST_PPE'))+\" *\")]),_c('td',{staticClass:\"tabTargetCellValue\"},[_c('b',[_vm._v(_vm._s(this.planTarget.costPPE))])]),_c('td',[_c('b-form-input',{attrs:{\"disabled\":!_vm.planFinalEditable,\"type\":\"number\",\"state\":_vm.returnState(!!_vm.planFinal.costPPE,_vm.isSaveClicked),\"aria-describedby\":\"costPPEValidation\"},on:{\"change\":function($event){return _vm.onChangeCostPPE()}},model:{value:(_vm.planFinal.costPPE),callback:function ($$v) {_vm.$set(_vm.planFinal, \"costPPE\", $$v)},expression:\"planFinal.costPPE\"}}),_c('b-form-invalid-feedback',{attrs:{\"id\":\"costPPEValidation\"}},[_vm._v(_vm._s(_vm.$t('GENERIC.MANDATORY_FIELD')))])],1),_c('td',{staticClass:\"tableUomCell\"},[_vm._v(_vm._s(_vm.$t('PPE.EVAL_TAB_ROW_COST_PPE_UOM')))])]),_c('tr',{staticClass:\"oddRow\"},[_c('td',{staticClass:\"tabDescriptionCell\",attrs:{\"rowspan\":\"2\"}},[_vm._v(_vm._s(_vm.$t('PPE.EVAL_TAB_ROW_INCIDENCE'))+\" *\")]),_c('td',{staticClass:\"tabTargetCellValue\"},[_c('b',[_vm._v(_vm._s(this.planTarget.incidenceKg))])]),_c('td',[_c('b-form-input',{style:(_vm.borderColorIncidence),attrs:{\"disabled\":!_vm.planFinalEditable,\"type\":\"number\",\"state\":_vm.returnState(!!_vm.planFinal.incidenceKg||!this.planTarget.totalVolumeTons,_vm.isSaveClicked),\"aria-describedby\":\"incidenceKgValidation\"},model:{value:(_vm.planFinal.incidenceKg),callback:function ($$v) {_vm.$set(_vm.planFinal, \"incidenceKg\", $$v)},expression:\"planFinal.incidenceKg\"}}),_c('b-form-invalid-feedback',{attrs:{\"id\":\"incidenceKgValidation\"}},[_vm._v(_vm._s(_vm.$t('GENERIC.MANDATORY_FIELD')))])],1),_c('td',{staticClass:\"tableUomCell\"},[_vm._v(_vm._s(_vm.$t('PPE.EVAL_TAB_ROW_INCIDENCE_KG_UOM').toString().replace('{0}',this.symbolProp)))])]),_c('tr',{staticClass:\"oddRow\"},[_c('td',{staticClass:\"tabTargetCellValue\"},[_c('b',[_vm._v(_vm._s(this.planTarget.incidenceEuro))])]),_c('td',[_c('b-form-input',{style:(_vm.borderColorIncidence),attrs:{\"disabled\":!_vm.planFinalEditable,\"type\":\"number\",\"state\":_vm.returnState(!!_vm.planFinal.incidenceEuro||!this.planTarget.totalVolumeEuroDurance,_vm.isSaveClicked),\"aria-describedby\":\"incidenceEuroValidation\"},model:{value:(_vm.planFinal.incidenceEuro),callback:function ($$v) {_vm.$set(_vm.planFinal, \"incidenceEuro\", $$v)},expression:\"planFinal.incidenceEuro\"}}),_c('b-form-invalid-feedback',{attrs:{\"id\":\"incidenceEuroValidation\"}},[_vm._v(_vm._s(_vm.$t('GENERIC.MANDATORY_FIELD')))])],1),_c('td',{staticClass:\"tableUomCell\"},[_vm._v(_vm._s(_vm.$t('PPE.EVAL_TAB_ROW_INCIDENCE_EURO_UOM')))])]),_c('tr',[_c('td',{staticClass:\"tabDescriptionCell\"},[_vm._v(_vm._s(_vm.$t('PPE.EVAL_TAB_ROW_BUDGET_INCIDENCE')))]),_c('td'),_c('td',[_c('b-form-input',{attrs:{\"disabled\":!_vm.planFinalEditable,\"type\":\"number\"},model:{value:(_vm.planFinal.budgetIncidence),callback:function ($$v) {_vm.$set(_vm.planFinal, \"budgetIncidence\", $$v)},expression:\"planFinal.budgetIncidence\"}})],1),_c('td',{staticClass:\"tableUomCell\"},[_vm._v(_vm._s(_vm.$t('PPE.EVAL_TAB_ROW_BUDGET_INCIDENCE_UOM').toString().replace('{0}',this.symbolProp)))])]),_c('tr',{staticClass:\"oddRow\"},[_c('td',{staticClass:\"tabDescriptionCell\"},[_vm._v(_vm._s(_vm.$t('PPE.FORECAST_TAB_ROW_BUDGET_GROSS_PROFIT'))+\"* \")]),_c('td',{staticClass:\"tabTargetCellValue\"},[_c('b',[_vm._v(_vm._s(this.planTarget.grossProfit))])]),_c('td',[_c('b-form-input',{attrs:{\"disabled\":!_vm.planFinalEditable,\"type\":\"number\",\"state\":_vm.returnState(!!this.planFinal.grossProfit||!this.planTarget.grossProfit,_vm.isSaveClicked),\"aria-describedby\":\"totalVolumeTonsValidation\"},on:{\"change\":function($event){return _vm.onChangeGrossProfit(true)}},model:{value:(_vm.planFinal.grossProfit),callback:function ($$v) {_vm.$set(_vm.planFinal, \"grossProfit\", $$v)},expression:\"planFinal.grossProfit\"}}),_c('b-form-invalid-feedback',{attrs:{\"id\":\"totalVolumeTonsValidation\"}},[_vm._v(_vm._s(_vm.$t('GENERIC.MANDATORY_FIELD')))])],1),_c('td',{staticClass:\"tableUomCell\"},[_vm._v(_vm._s(_vm.$t('PPE.FORECAST_TAB_ROW_BUDGET_GROSS_PROFIT_UOM').toString().replace('{0}',this.symbolProp)))])]),_c('tr',{},[_c('td',{staticClass:\"tabDescriptionCell\"},[_vm._v(_vm._s(_vm.$t('PPE.FORECAST_TAB_ROW_BUDGET_EXTRA_VOLUME_PROMO'))+\" \"),_c('span',{directives:[{name:\"b-tooltip\",rawName:\"v-b-tooltip.hover.bottomleft\",modifiers:{\"hover\":true,\"bottomleft\":true}}],staticClass:\"m-1\",attrs:{\"title\":_vm.$t('PPE.FORECAST_TAB_ROW_TOTAL_PPE_TARGET') + ' - ' + _vm.$t('PPE.FORECAST_TAB_ROW_LAST_YEAR_BASE')}},[_c('i',{staticClass:\"fa fa-question-circle-o\",attrs:{\"aria-hidden\":\"true\"}})])]),_c('td',{staticClass:\"tabTargetCellValue\"},[_c('b',[_vm._v(_vm._s(this.extraVolumePromo))])]),_c('td',[_c('b-form-input',{style:(_vm.borderColorExtraVolumePromo),attrs:{\"disabled\":true,\"type\":\"number\",\"aria-describedby\":\"extraVolumeValidation\"},on:{\"change\":function($event){return _vm.onChangeExtraVolumePromo(true)}},model:{value:(_vm.extraVolumePromoFinal),callback:function ($$v) {_vm.extraVolumePromoFinal=$$v},expression:\"extraVolumePromoFinal\"}})],1),_c('td',[_vm._v(_vm._s(_vm.$t(this.kSymbolProp))+\" \")])]),_c('tr',{staticClass:\"oddRow\"},[_c('td',{staticClass:\"tabDescriptionCell\"},[_vm._v(_vm._s(_vm.$t('PPE.FORECAST_TAB_ROW_BUDGET_EXTRA_GP_PROMO'))+\" \"),_c('span',{directives:[{name:\"b-tooltip\",rawName:\"v-b-tooltip.hover.bottomleft\",modifiers:{\"hover\":true,\"bottomleft\":true}}],staticClass:\"m-1\",attrs:{\"title\":'(' + _vm.$t('PPE.FORECAST_TAB_ROW_BUDGET_GROSS_PROFIT') + ' x ' + _vm.$t('PPE.FORECAST_TAB_ROW_BUDGET_EXTRA_VOLUME_PROMO') + ')' + ' - ' + _vm.$t('PPE.FORECAST_TAB_ROW_COST_PPE')}},[_c('i',{staticClass:\"fa fa-question-circle-o\",attrs:{\"aria-hidden\":\"true\"}})])]),_c('td',{staticClass:\"tabTargetCellValue\"},[_c('b',[_vm._v(_vm._s(this.extraGPPromo))])]),_c('td',[_c('b-form-input',{style:(_vm.borderColorExtraGPPromo),attrs:{\"disabled\":true,\"type\":\"number\",\"aria-describedby\":\"extraGPValidation\"},on:{\"change\":function($event){return _vm.onChangeExtraGPPromo(true)}},model:{value:(_vm.extraGPPromoFinal),callback:function ($$v) {_vm.extraGPPromoFinal=$$v},expression:\"extraGPPromoFinal\"}})],1),_c('td',[_vm._v(_vm._s(_vm.$t('PPE.FORECAST_TAB_ROW_BUDGET_EXTRA_GP_PROMO_UOM')))])]),_c('tr',{},[_c('td',{staticClass:\"tabDescriptionCell\"},[_vm._v(_vm._s(_vm.$t('PPE.FORECAST_TAB_ROW_BUDGET_ROI'))+\" \"),_c('span',{directives:[{name:\"b-tooltip\",rawName:\"v-b-tooltip.hover.bottomleft\",modifiers:{\"hover\":true,\"bottomleft\":true}}],staticClass:\"m-1\",attrs:{\"title\":_vm.$t('PPE.FORECAST_TAB_ROW_BUDGET_EXTRA_GP_PROMO') + ' / ' + _vm.$t('PPE.FORECAST_TAB_ROW_COST_PPE')}},[_c('i',{staticClass:\"fa fa-question-circle-o\",attrs:{\"aria-hidden\":\"true\"}})])]),_c('td',{staticClass:\"tabTargetCellValue\"},[_c('b',[_vm._v(_vm._s(this.valueROI))])]),_c('td',[_c('b-form-input',{style:(_vm.borderColorROI),attrs:{\"disabled\":true,\"type\":\"number\",\"aria-describedby\":\"roiValidation\"},model:{value:(_vm.valueROIFinal),callback:function ($$v) {_vm.valueROIFinal=$$v},expression:\"valueROIFinal\"}})],1),_c('td',[_vm._v(_vm._s(_vm.$t('PPE.FORECAST_TAB_ROW_BUDGET_ROI_UOM')))])]),_c('tr',[_c('td',{staticClass:\"tabDescriptionCell\"},[_vm._v(_vm._s(_vm.$t('PPE.EVAL_TAB_ROW_EVALUATION_MARK'))+\" *\")]),_c('td',{staticStyle:{\"text-align\":\"center\"},attrs:{\"colspan\":\"3\"}},[_c('b-form-radio-group',{attrs:{\"disabled\":!_vm.planFinalEditable,\"size\":\"lg\",\"state\":_vm.returnState(!!_vm.planFinal.evaluationMark,_vm.isSaveClicked),\"options\":_vm.evaluationMarkOptions,\"aria-describedby\":\"evaluationMarkValidation\"},model:{value:(_vm.planFinal.evaluationMark),callback:function ($$v) {_vm.$set(_vm.planFinal, \"evaluationMark\", $$v)},expression:\"planFinal.evaluationMark\"}},[_c('b-form-invalid-feedback',{attrs:{\"state\":_vm.returnState(!!_vm.planFinal.evaluationMark,_vm.isSaveClicked),\"id\":\"evaluationMarkValidation\"}},[_vm._v(_vm._s(_vm.$t('GENERIC.MANDATORY_FIELD')))])],1)],1)])])]),_c('table',{staticClass:\"table legendTable\",staticStyle:{\"margin-top\":\"25px\",\"margin-bottom\":\"25px\"}},[_c('thead',[_c('tr',{staticStyle:{\"text-align\":\"center\"}},[_c('th',{attrs:{\"colspan\":\"5\"}},[_vm._v(_vm._s(_vm.$t('PPE.MARK_LEG_TAB_HEAD')))])]),_c('tr',{staticStyle:{\"text-align\":\"center\"}},[_c('th',[_vm._v(\"5\")]),_c('th',[_vm._v(\"4\")]),_c('th',[_vm._v(\"3\")]),_c('th',[_vm._v(\"2\")]),_c('th',[_vm._v(\"1\")])]),_c('tr',{staticStyle:{\"text-align\":\"center\"}},[_c('th',[_vm._v(_vm._s(_vm.$t('PPE.MARK_LEG_TAB_HEAD_5')))]),_c('th',[_vm._v(_vm._s(_vm.$t('PPE.MARK_LEG_TAB_HEAD_4')))]),_c('th',[_vm._v(_vm._s(_vm.$t('PPE.MARK_LEG_TAB_HEAD_3')))]),_c('th',[_vm._v(_vm._s(_vm.$t('PPE.MARK_LEG_TAB_HEAD_2')))]),_c('th',[_vm._v(_vm._s(_vm.$t('PPE.MARK_LEG_TAB_HEAD_1')))])])]),_c('tbody',[_c('tr',[_c('td',[_vm._v(_vm._s(_vm.$t('PPE.MARK_LEG_TAB_ROW_5')))]),_c('td',[_vm._v(_vm._s(_vm.$t('PPE.MARK_LEG_TAB_ROW_4')))]),_c('td',[_vm._v(_vm._s(_vm.$t('PPE.MARK_LEG_TAB_ROW_3')))]),_c('td',[_vm._v(_vm._s(_vm.$t('PPE.MARK_LEG_TAB_ROW_2')))]),_c('td',[_vm._v(_vm._s(_vm.$t('PPE.MARK_LEG_TAB_ROW_1')))])])])]),_c('b-form',[_c('b-row',{staticClass:\"boxed\"},[_c('b-col',[_vm._v(_vm._s(_vm.$t('PPE.PLAN_APPROVAL_SECTION')))])],1),_c('b-row',[_c('b-col',{attrs:{\"cols\":\"6\"}},[_c('b-form-group',{attrs:{\"label\":_vm.$t('PPE.PLAN_MRK_MNG_SIGN') + ' *'}},[_c('b-form-input',{attrs:{\"disabled\":!_vm.planFinalEditable,\"type\":\"text\",\"maxlength\":\"50\",\"state\":_vm.returnState(!!_vm.planFinal.mrkMngSign,_vm.isSaveClicked),\"aria-describedby\":\"mrkMngSignValidation\"},model:{value:(_vm.planFinal.mrkMngSign),callback:function ($$v) {_vm.$set(_vm.planFinal, \"mrkMngSign\", $$v)},expression:\"planFinal.mrkMngSign\"}}),_c('b-form-invalid-feedback',{attrs:{\"id\":\"mrkMngSignValidation\"}},[_vm._v(_vm._s(_vm.$t('GENERIC.MANDATORY_FIELD')))])],1)],1),_c('b-col',{attrs:{\"cols\":\"6\"}},[_c('b-form-group',{attrs:{\"label\":_vm.$t('PPE.PLAN_MRK_HEAD_SIGN') + ' *'}},[_c('b-form-input',{attrs:{\"disabled\":!_vm.planFinalEditable,\"type\":\"text\",\"maxlength\":\"50\",\"state\":_vm.returnState(!!_vm.planFinal.mrkHeadSign,_vm.isSaveClicked),\"aria-describedby\":\"mrkHeadSignValidation\"},model:{value:(_vm.planFinal.mrkHeadSign),callback:function ($$v) {_vm.$set(_vm.planFinal, \"mrkHeadSign\", $$v)},expression:\"planFinal.mrkHeadSign\"}}),_c('b-form-invalid-feedback',{attrs:{\"id\":\"mrkHeadSignValidation\"}},[_vm._v(_vm._s(_vm.$t('GENERIC.MANDATORY_FIELD')))])],1)],1)],1)],1),(_vm.entityMounted)?_c('b-form',[_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":_vm.$t('PPE.PLAN_SUBSIDIARY_NOTES') + ':'}},[_c('b-form-textarea',{attrs:{\"disabled\":!_vm.isSubsidiaryNotesEditable(),\"rows\":\"3\",\"max-rows\":\"6\",\"type\":\"text\",\"maxlength\":\"1500\"},model:{value:(_vm.planFinal.notes),callback:function ($$v) {_vm.$set(_vm.planFinal, \"notes\", $$v)},expression:\"planFinal.notes\"}})],1)],1)],1),_c('b-row',[_c('b-col',[_c('b-form-group',{attrs:{\"label\":_vm.$t('PPE.PLAN_HEAD_NOTES') + ':'}},[_c('b-form-textarea',{attrs:{\"disabled\":!_vm.isHeadNotesEditable(),\"rows\":\"3\",\"max-rows\":\"6\",\"type\":\"text\",\"maxlength\":\"1500\"},model:{value:(_vm.planFinal.mrkHeadNotes),callback:function ($$v) {_vm.$set(_vm.planFinal, \"mrkHeadNotes\", $$v)},expression:\"planFinal.mrkHeadNotes\"}})],1)],1)],1)],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js?{\\\"cacheDirectory\\\":\\\"node_modules/.cache/vue-loader\\\",\\\"cacheIdentifier\\\":\\\"28da8b7a-vue-loader-template\\\"}!../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PlanEvaluationForm.vue?vue&type=template&id=471b34a6&scoped=true\"","import { render, staticRenderFns } from \"./PlanEvaluationForm.vue?vue&type=template&id=471b34a6&scoped=true\"\nimport script from \"./PlanEvaluationForm.vue?vue&type=script&lang=ts\"\nexport * from \"./PlanEvaluationForm.vue?vue&type=script&lang=ts\"\nimport style0 from \"./PlanEvaluationForm.vue?vue&type=style&index=0&id=471b34a6&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 \"471b34a6\",\n null\n \n)\n\nexport default component.exports","export class PlanAuthorization {\r\n public planHeader: string;\r\n public planDetail: string;\r\n public planTarget: string;\r\n public planFinal: string;\r\n public countryManagerEndorsement: string;\r\n public productConfirmation: string;\r\n public attachmentUpload: boolean;\r\n public saveAllowed: boolean;\r\n public nextAllowed: boolean;\r\n public refuseAllowed: boolean;\r\n\r\n constructor(\r\n planHeader?: string,\r\n planDetail?: string,\r\n planTarget?: string,\r\n planFinal?: string,\r\n countryManagerEndorsement?: string,\r\n productConfirmation?: string,\r\n attachmentUpload?: boolean,\r\n saveAllowed?: boolean,\r\n nextAllowed?: boolean,\r\n refuseAllowed?: boolean\r\n ) {\r\n this.planHeader = planHeader;\r\n this.planDetail = planDetail;\r\n this.planTarget = planTarget;\r\n this.planFinal = planFinal;\r\n this.countryManagerEndorsement = countryManagerEndorsement;\r\n this.productConfirmation = productConfirmation;\r\n this.attachmentUpload = attachmentUpload;\r\n this.saveAllowed = saveAllowed;\r\n this.nextAllowed = nextAllowed;\r\n this.refuseAllowed = refuseAllowed;\r\n }\r\n}","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Prop } from \"vue-property-decorator\";\nimport { PlanHeader } from \"@/entity/Ppe/PlanHeader\";\nimport { GetDropDownListBySource, SOURCE } from \"@/services/PpeDropDowns\";\nimport PlanProductsManage from \"./PlanProductsManage.vue\";\nimport { PPE_PRODUCT_TYPE } from \"@/services/Enums\";\n\n@Component({\n components: {\n PlanProductsManage,\n }\n})\nexport default class PlanGeneralInfo extends Vue {\n @Prop({ type: Boolean, required: true })\n planHeaderEditable;\n @Prop({ type: Boolean, required: true })\n planDetailEditable;\n @Prop({ required: true })\n planProp;\n @Prop({ type: Array, required: true })\n dropDownCountries: [];\n @Prop({ type: Boolean, required: true })\n isSaveClicked;\n @Prop({ type: Boolean, required: true })\n isSaveDraftClicked;\n\n plan: PlanHeader = new PlanHeader();\n\n entityMounted: boolean = false;\n\n dropDownTargetCustomer1: any = new Array();\n dropDownTargetCustomer2: any = new Array();\n dropDownMechanics: any = new Array();\n dropDownModality: any = new Array();\n\n PRODUCT_TYPE = PPE_PRODUCT_TYPE;\n\n async mounted() {\n this.plan = this.planProp;\n if(this.plan.number == null) {\n this.plan.number = '-';\n }\n if(this.plan.detail.allBrands == null) {\n this.plan.detail.allBrands = false;\n }\n this.entityMounted = true;\n await this.InitDropDown();\n }\n\n async InitDropDown() {\n this.dropDownTargetCustomer1 = await GetDropDownListBySource(SOURCE.TARGET_CUSTOMER_1);\n this.dropDownTargetCustomer2 = await GetDropDownListBySource(SOURCE.TARGET_CUSTOMER_2);\n this.dropDownMechanics = await GetDropDownListBySource(SOURCE.MECHANICS);\n this.dropDownModality = await GetDropDownListBySource(SOURCE.MODALITY);\n }\n\n returnState(condition: boolean, clickButton: boolean): boolean {\n if (clickButton) \n return condition;\n else \n return null;\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PlanForecastVolumeCosts.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PlanForecastVolumeCosts.vue?vue&type=script&lang=ts\"","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!./PlanEvaluationForm.vue?vue&type=style&index=0&id=471b34a6&prod&scoped=true&lang=css\"","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PlanGeneralInfo.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PlanGeneralInfo.vue?vue&type=script&lang=ts\"","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Prop } from \"vue-property-decorator\";\nimport { PlanTarget } from \"@/entity/Ppe/PlanTarget\";\nimport { General } from \"@/services/General\";\nimport { i18n } from \"@/i18n/i18n-setup\";\nimport { PPE_STATUS } from \"@/services/Enums\";\nimport PlanProductsManage from \"./PlanProductsManage.vue\";\nimport { ClaimEnum } from \"@/services/ClaimEnum\";\n\n@Component({\n components: {\n PlanProductsManage,\n }\n})\nexport default class PlanForecastVolumeCosts extends Vue {\n @Prop({ type: Boolean, required: true })\n planTargetEditable;\n @Prop({ required: false })\n planTargetVolume;\n @Prop({ type: String, required: false })\n planTargetUnits;\n @Prop({ required: true })\n planTargetProp;\n @Prop({ required: true })\n symbolProp;\n @Prop({ required: true })\n kSymbolProp;\n @Prop({ type: Boolean, required: true })\n isSaveClicked;\n @Prop({ type: Number, required: true })\n planStatus;\n @Prop({type:Boolean, default:false})\n isImported;\n\n planTarget: PlanTarget = new PlanTarget();\n symbolUnitOfMeasurementPlan : string = \"\";\n kSymbolUnitOfMeasurementPlan : string = \"\";\n\n entityMounted: boolean = false;\n confirmIncidencesRecalc: boolean = true;\n extraVolumePromo: number = null;\n extraGPPromo: number = null;\n valueROI: number = null;\n\n recalculateExtraVolumePromo: boolean = false;\n recalculateExtraGPPromo: boolean = false;\n recalculateROI: boolean = false;\n recalculateIncidence: boolean = false;\n\n isAdminPpe: boolean = false;\n\n get borderColorExtraVolumePromo(){\n return this.recalculateExtraVolumePromo ? 'border-color: #4285f4;' : '';\n }\n\n get borderColorExtraGPPromo(){\n return this.recalculateExtraGPPromo ? 'border-color: #4285f4;' : '';\n }\n\n get borderColorROI(){\n return this.recalculateROI ? 'border-color: #4285f4;' : '';\n }\n\n get borderColorIncidence(){\n return this.recalculateIncidence ? 'border-color: #4285f4;' : '';\n }\n\n calculateExtraVolumePromo(){\n if(this.isNotNullOrNaN(this.planTarget.totalVolumeTons) && this.isNotNullOrNaN(this.planTarget.lastYearVolumeBaseLine )){\n this.recalculateExtraVolumePromo = true;\n this.extraVolumePromo = this.planTarget.totalVolumeTons - this.planTarget.lastYearVolumeBaseLine; \n this.calculateExtraGPPromo();\n let app = this;\n setTimeout(() => app.recalculateExtraVolumePromo = false , 2000); \n }else{\n this.extraGPPromo = null;\n this.extraVolumePromo = null;\n this.valueROI = null; \n }\n }\n\n calculateExtraGPPromo(){\n if(this.isNotNullOrNaN(this.planTarget.grossProfit) && this.isNotNullOrNaN(this.extraVolumePromo) && this.isNotNullOrNaN(this.planTarget.costPPE) ){\n this.extraGPPromo = Number((((this.planTarget.grossProfit * 1000) * this.extraVolumePromo) - this.planTarget.costPPE).toFixed(2));\n this.recalculateExtraGPPromo = true;\n let app = this;\n setTimeout( () => app.recalculateExtraGPPromo = false , 2000);\n this.calculateROI()\n }else{\n this.extraGPPromo = null;\n this.valueROI = null; \n }\n }\n\n calculateROI(){\n if(this.isNotNullOrNaN(this.planTarget.costPPE) && this.planTarget.costPPE > 0 && this.isNotNullOrNaN(this.extraGPPromo)){\n this.valueROI = Number(((this.extraGPPromo / this .planTarget.costPPE) * 100).toFixed(2));\n this.recalculateROI = true;\n let app = this;\n setTimeout(() => app.recalculateROI = false, 2000);\n }else{\n this.valueROI = null; \n }\n }\n\n onChangeExtraVolumePromo(){\n this.calculateExtraGPPromo(); \n }\n\n onChangeExtraGPPromo(){\n this.calculateROI();\n }\n\n onChangeGrossProfit(){\n this.calculateExtraGPPromo();\n }\n\n onChangeTargetVolume() {\n if(this.planTargetVolume != undefined && !Number.isNaN(this.planTargetVolume) && this.planTargetEditable && this.confirmIncidencesRecalc) {\n let result = Number(this.planTargetVolume) / 1000;\n let resultTons = Number(result.toFixed(2));\n\n if(this.planTarget.incidenceKg != undefined && this.planTarget.incidenceKg.toString().trim() !== '') { \n if(this.planTarget.totalVolumeTons != resultTons) {\n General.confirmWithNoFunction(\n i18n.t('PPE.ALERT_TARGET_VOLUME_CHANGE') as string,\n this,\n () => {\n this.planTarget.totalVolumeTons = resultTons;\n this.calculateIncidenceKg();\n this.calculateExtraVolumePromo();\n },\n () => {\n this.calculateExtraVolumePromo();\n this.confirmIncidencesRecalc = false;\n }\n );\n }\n } else {\n this.planTarget.totalVolumeTons = resultTons;\n this.calculateIncidenceKg();\n this.calculateExtraVolumePromo();\n }\n }\n \n\n }\n\n async mounted() {\n this.isAdminPpe = this.checkPpeAdminClaim();\n this.planTarget = this.planTargetProp;\n this.symbolUnitOfMeasurementPlan = this.symbolProp;\n this.kSymbolUnitOfMeasurementPlan = this.kSymbolProp;\n this.entityMounted = true;\n this.calculateExtraVolumePromo();\n }\n\n returnState(condition: boolean, clickButton: boolean): boolean {\n if (clickButton) \n return condition;\n else \n return null;\n }\n\n onChangeTotalVolumeTons() {\n if(this.planTarget.incidenceKg != undefined && this.planTarget.incidenceKg.toString().trim() !== '' && this.planTargetEditable) {\n General.confirm(\n i18n.t('PPE.CONFIRM_INCIDENCE_KG_CHANGE') as string,\n this,\n () => {\n this.calculateIncidenceKg();\n }\n );\n } else {\n this.calculateIncidenceKg();\n }\n\n this.calculateExtraVolumePromo();\n }\n\n calculateIncidenceKg() {\n if(this.isNotNullOrNaN(this.planTarget.costPPE) && this.isNotNullOrNaN(this.planTarget.totalVolumeTons)) {\n let result = 0;\n \n if(this.planTarget.totalVolumeTons != 0) { \n result = this.planTarget.costPPE / (this.planTarget.totalVolumeTons * 1000)\n this.planTarget.incidenceKg = Number(result.toFixed(3))\n } else {\n this.planTarget.incidenceKg = null;\n }\n }\n }\n\n onChangeTotalVolumeEuro() {\n if(this.planTarget.incidenceEuro != undefined && this.planTarget.incidenceEuro.toString().trim() !== '' && this.planTargetEditable) {\n General.confirm(\n i18n.t('PPE.CONFIRM_INCIDENCE_EURO_CHANGE') as string,\n this,\n () => {\n this.calculateIncidenceEuro();\n }\n );\n } else {\n this.calculateIncidenceEuro();\n }\n }\n\n calculateIncidenceEuro() {\n if(this.isNotNullOrNaN(this.planTarget.costPPE) && this.isNotNullOrNaN(this.planTarget.totalVolumeEuroDurance)) {\n if(this.planTarget.totalVolumeEuroDurance != 0) {\n let result = 0;\n result = (this.planTarget.costPPE / this.planTarget.totalVolumeEuroDurance) * 100\n this.planTarget.incidenceEuro = Number(result.toFixed(3))\n }else {\n this.planTarget.incidenceEuro = null;\n }\n }\n }\n\n onChangeCostPPE() {\n if(this.planTargetEditable) {\n this.calculateIncidences();\n this.calculateExtraGPPromo();\n this.calculateROI();\n }\n\n }\n\n calculateIncidences() {\n this.recalculateIncidence = true;\n this.calculateIncidenceKg();\n this.calculateIncidenceEuro();\n setTimeout(() => this.recalculateIncidence = false, 2000)\n }\n\n isNotNullOrNaN(value: number) {\n return value != undefined && !Number.isNaN(value)\n }\n\n isSubsidiaryNotesEditable() {\n if(this.isAdminPpe || (this.planStatus < PPE_STATUS.TARGET_CHECK && this.planTargetEditable))\n return true;\n else\n return false;\n }\n\n isHeadNotesEditable() {\n if(this.isAdminPpe || (this.planStatus == PPE_STATUS.TARGET_CHECK && this.planTargetEditable))\n return true;\n else\n return false;\n }\n\n checkPpeAdminClaim() {\n return General.CheckAuthorization(ClaimEnum.CanAdminPpe);\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!./PlanForecastVolumeCosts.vue?vue&type=style&index=0&id=41d41f54&prod&scoped=true&lang=css\"","export class PlanAttachment {\r\n public id: string;\r\n public idHeader: string;\r\n public fileName: string;\r\n public fileBlob: [];\r\n public notes: string;\r\n public sessionId: string;\r\n public userUpload: string;\r\n public dataUpload: Date;\r\n public toDelete: boolean;\r\n \r\n constructor(\r\n id?: string,\r\n idHeader?: string,\r\n fileName?: string,\r\n fileBlob?: [],\r\n notes?: string,\r\n sessionId?: string,\r\n userUpload?: string,\r\n dataUpload?: Date,\r\n toDelete?: boolean,\r\n ) {\r\n this.id = id;\r\n this.idHeader = idHeader;\r\n this.fileName = fileName;\r\n this.fileBlob = fileBlob;\r\n this.notes = notes;\r\n this.sessionId = sessionId;\r\n this.userUpload = userUpload;\r\n this.dataUpload = dataUpload;\r\n this.toDelete = toDelete;\r\n }\r\n}","import { render, staticRenderFns } from \"./PlanProductsManage.vue?vue&type=template&id=145f2b9f&scoped=true\"\nimport script from \"./PlanProductsManage.vue?vue&type=script&lang=ts\"\nexport * from \"./PlanProductsManage.vue?vue&type=script&lang=ts\"\nimport style0 from \"./PlanProductsManage.vue?vue&type=style&index=0&id=145f2b9f&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 \"145f2b9f\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}