{"version":3,"sources":["webpack:///./src/views/apps/customizeField/customizeFieldView.vue?e424","webpack:///./src/services/customizeFieldService.js","webpack:///src/views/apps/customizeField/customizeFieldView.vue","webpack:///./src/views/apps/customizeField/customizeFieldView.vue?dea8","webpack:///./src/views/apps/customizeField/customizeFieldView.vue"],"names":["render","this$1","this","_vm","_h","$createElement","_c","_self","attrs","staticClass","_v","directives","name","rawName","value","expression","model","Expenseform","callback","$$v","$set","Efield_type","on","ref","field_id","scopedSlots","_u","key","fn","option","_s","values","Evalue","errors","has","first","$event","preventDefault","submitExpenseForm","clearExpenseForm","Challanform","Cfield_type","Cvalue","submitChallanForm","clearChallanForm","staticRenderFns","organization_id","window","localStorage","getItem","addCustomizeField","payload","Api","post","data","field_name","field_value","field_is_mandatory","field_is_unique","radios1","radios2","radios3","radios4","methods","customizeFieldService","field_type","console","log","component"],"mappings":"uHAAA,IAAIA,EAAS,WACb,IAAIC,EAASC,KACTC,EAAID,KAASE,EAAGD,EAAIE,eAAmBC,EAAGH,EAAII,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACA,EAAG,UAAU,CAACA,EAAG,SAAS,CAACE,MAAM,CAAC,MAAQ,aAAa,YAAY,UAAU,KAAO,aAAa,CAACF,EAAG,MAAM,CAACG,YAAY,YAAY,CAACH,EAAG,MAAM,CAACG,YAAY,UAAU,CAACH,EAAG,MAAM,CAACG,YAAY,iBAAiB,CAACH,EAAG,UAAU,CAACG,YAAY,aAAaD,MAAM,CAAC,MAAQ,eAAe,CAACF,EAAG,OAAO,CAACA,EAAG,MAAM,CAACG,YAAY,UAAU,CAACH,EAAG,MAAM,CAACG,YAAY,2BAA2B,CAACH,EAAG,MAAM,CAACG,YAAY,eAAe,CAACH,EAAG,MAAM,CAACG,YAAY,uDAAuD,CAACH,EAAG,KAAK,CAACG,YAAY,QAAQ,CAACN,EAAIO,GAAG,YAAYJ,EAAG,MAAM,CAACG,YAAY,0BAA0B,CAACH,EAAG,MAAM,GAAG,CAACA,E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$1 = this;\nvar _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('vs-tabs',[_c('vs-tab',{attrs:{\"label\":\"Expense PO\",\"icon-pack\":\"feather\",\"icon\":\"icon-box\"}},[_c('div',{staticClass:\"tab-text\"},[_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col w-full\"},[_c('vx-card',{staticClass:\"form-title\",attrs:{\"title\":\"Expense PO\"}},[_c('form',[_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col md:w-3/4 mx-auto\"},[_c('div',{staticClass:\"vx-row mb-6\"},[_c('div',{staticClass:\"vx-col sm:w-1/5 w-full text-right align-self-center\"},[_c('h5',{staticClass:\"mb-0\"},[_vm._v(\"Name\")])]),_c('div',{staticClass:\"vx-col sm:w-2/3 w-full\"},[_c('div',{},[_c('vs-input',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],staticClass:\"w-full\",attrs:{\"name\":\"name\"},model:{value:(_vm.Expenseform.field_name),callback:function ($$v) {_vm.$set(_vm.Expenseform, \"field_name\", $$v)},expression:\"Expenseform.field_name\"}})],1)])]),_c('div',{staticClass:\"vx-row mb-6\"},[_c('div',{staticClass:\"vx-col sm:w-1/5 w-full text-right align-self-center\"},[_c('h5',{staticClass:\"mb-0\"},[_vm._v(\"Field Type\")])]),_c('div',{staticClass:\"vx-col sm:w-2/3 w-full\"},[_c('div',{},[_c('multiselect',{attrs:{\"track-by\":\"field_id\",\"label\":\"values\",\"options\":_vm.Efield_type,\"name\":\"Field Name\",\"searchable\":false,\"allow-empty\":true,\"open-direction\":\"bottom\",\"deselect-label\":\"remove this value\"},on:{\"input\":function (ref){\n\tvar field_id = ref.field_id;\n\n\treturn this$1.field_id = field_id;\n}},scopedSlots:_vm._u([{key:\"singleLabel\",fn:function(ref){\nvar option = ref.option;\nreturn [_vm._v(_vm._s(option.values))]}}]),model:{value:(_vm.Evalue),callback:function ($$v) {_vm.Evalue=$$v},expression:\"Evalue\"}}),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.errors.has('Field Name')),expression:\"errors.has('Field Name')\"}],staticClass:\"text-danger text-sm\"},[_vm._v(_vm._s(_vm.errors.first('Field Name')))])],1)])]),_c('div',{staticClass:\"vx-row mb-6\"},[_c('div',{staticClass:\"vx-col sm:w-1/5 w-full text-right align-self-center\"},[_c('h5',{staticClass:\"mb-0\"},[_vm._v(\"Default Value\")])]),_c('div',{staticClass:\"vx-col sm:w-2/3 w-full\"},[_c('div',{},[_c('vs-input',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],staticClass:\"w-full\",attrs:{\"name\":\"default value\"},model:{value:(_vm.Expenseform.field_value),callback:function ($$v) {_vm.$set(_vm.Expenseform, \"field_value\", $$v)},expression:\"Expenseform.field_value\"}})],1)])]),_c('div',{staticClass:\"vx-row mb-6\"},[_c('div',{staticClass:\"vx-col sm:w-1/5 w-full text-right align-self-center\"},[_c('h5',{staticClass:\"mb-0\"},[_vm._v(\"Is it mandatory\")])]),_c('div',{staticClass:\"vx-col sm:w-2/3 w-full\"},[_c('div',[_c('vs-radio',{staticClass:\"mr-3\",attrs:{\"vs-name\":\"radios1\",\"vs-value\":\"1\"},model:{value:(_vm.Expenseform.field_is_mandatory),callback:function ($$v) {_vm.$set(_vm.Expenseform, \"field_is_mandatory\", $$v)},expression:\"Expenseform.field_is_mandatory\"}},[_vm._v(\"Yes\")]),_c('vs-radio',{attrs:{\"vs-name\":\"radios1\",\"vs-value\":\"2\"},model:{value:(_vm.Expenseform.field_is_mandatory),callback:function ($$v) {_vm.$set(_vm.Expenseform, \"field_is_mandatory\", $$v)},expression:\"Expenseform.field_is_mandatory\"}},[_vm._v(\"No\")])],1)])]),_c('div',{staticClass:\"vx-row mb-6\"},[_c('div',{staticClass:\"vx-col sm:w-1/5 w-full text-right align-self-center\"},[_c('h5',{staticClass:\"mb-0\"},[_vm._v(\"Is it unique\")])]),_c('div',{staticClass:\"vx-col sm:w-2/3 w-full\"},[_c('div',[_c('vs-radio',{staticClass:\"mr-3\",attrs:{\"vs-name\":\"radios2\",\"vs-value\":\"3\"},model:{value:(_vm.Expenseform.field_is_unique),callback:function ($$v) {_vm.$set(_vm.Expenseform, \"field_is_unique\", $$v)},expression:\"Expenseform.field_is_unique\"}},[_vm._v(\"Yes\")]),_c('vs-radio',{attrs:{\"vs-name\":\"radios2\",\"vs-value\":\"4\"},model:{value:(_vm.Expenseform.field_is_unique),callback:function ($$v) {_vm.$set(_vm.Expenseform, \"field_is_unique\", $$v)},expression:\"Expenseform.field_is_unique\"}},[_vm._v(\"No\")])],1)])])])]),_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col mx-auto\"},[_c('vs-button',{staticClass:\"mr-3\",attrs:{\"type\":\"filled\"},on:{\"click\":function($event){$event.preventDefault();return _vm.submitExpenseForm($event)}}},[_vm._v(\"Submit\")]),_c('vs-button',{attrs:{\"color\":\"warning\",\"type\":\"border\"},on:{\"click\":function($event){$event.preventDefault();return _vm.clearExpenseForm($event)}}},[_vm._v(\"Reset\")])],1)])])])],1)])])]),_c('vs-tab',{attrs:{\"label\":\"Challan\",\"icon-pack\":\"feather\",\"icon\":\"icon-box\"}},[_c('div',{staticClass:\"tab-text\"},[_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col w-full\"},[_c('vx-card',{staticClass:\"form-title\",attrs:{\"title\":\"Challan\"}},[_c('form',[_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col md:w-3/4 mx-auto\"},[_c('div',{staticClass:\"vx-row mb-6\"},[_c('div',{staticClass:\"vx-col sm:w-1/5 w-full text-right align-self-center\"},[_c('h5',{staticClass:\"mb-0\"},[_vm._v(\"Name\")])]),_c('div',{staticClass:\"vx-col sm:w-2/3 w-full\"},[_c('div',{},[_c('vs-input',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],staticClass:\"w-full\",attrs:{\"name\":\"name\"},model:{value:(_vm.Challanform.field_name),callback:function ($$v) {_vm.$set(_vm.Challanform, \"field_name\", $$v)},expression:\"Challanform.field_name\"}})],1)])]),_c('div',{staticClass:\"vx-row mb-6\"},[_c('div',{staticClass:\"vx-col sm:w-1/5 w-full text-right align-self-center\"},[_c('h5',{staticClass:\"mb-0\"},[_vm._v(\"Field Type\")])]),_c('div',{staticClass:\"vx-col sm:w-2/3 w-full\"},[_c('div',{},[_c('multiselect',{attrs:{\"track-by\":\"field_id\",\"label\":\"values\",\"options\":_vm.Cfield_type,\"name\":\"Field Name\",\"searchable\":false,\"allow-empty\":false,\"open-direction\":\"bottom\",\"deselect-label\":\"Can't remove this value\"},on:{\"input\":function (ref){\n\tvar field_id = ref.field_id;\n\n\treturn this$1.field_id = field_id;\n}},scopedSlots:_vm._u([{key:\"singleLabel\",fn:function(ref){\nvar option = ref.option;\nreturn [_vm._v(_vm._s(option.values))]}}]),model:{value:(_vm.Cvalue),callback:function ($$v) {_vm.Cvalue=$$v},expression:\"Cvalue\"}}),_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.errors.has('Field Name')),expression:\"errors.has('Field Name')\"}],staticClass:\"text-danger text-sm\"},[_vm._v(_vm._s(_vm.errors.first('Field Name')))])],1)])]),_c('div',{staticClass:\"vx-row mb-6\"},[_c('div',{staticClass:\"vx-col sm:w-1/5 w-full text-right align-self-center\"},[_c('h5',{staticClass:\"mb-0\"},[_vm._v(\"Default Value\")])]),_c('div',{staticClass:\"vx-col sm:w-2/3 w-full\"},[_c('div',{},[_c('vs-input',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],staticClass:\"w-full\",attrs:{\"name\":\"default value\"},model:{value:(_vm.Challanform.field_value),callback:function ($$v) {_vm.$set(_vm.Challanform, \"field_value\", $$v)},expression:\"Challanform.field_value\"}})],1)])]),_c('div',{staticClass:\"vx-row mb-6\"},[_c('div',{staticClass:\"vx-col sm:w-1/5 w-full text-right align-self-center\"},[_c('h5',{staticClass:\"mb-0\"},[_vm._v(\"Is it mandatory\")])]),_c('div',{staticClass:\"vx-col sm:w-2/3 w-full\"},[_c('div',[_c('vs-radio',{staticClass:\"mr-3\",attrs:{\"vs-name\":\"radios1\",\"vs-value\":\"1\"},model:{value:(_vm.Challanform.field_is_mandatory),callback:function ($$v) {_vm.$set(_vm.Challanform, \"field_is_mandatory\", $$v)},expression:\"Challanform.field_is_mandatory\"}},[_vm._v(\"Yes\")]),_c('vs-radio',{attrs:{\"vs-name\":\"radios1\",\"vs-value\":\"2\"},model:{value:(_vm.Challanform.field_is_mandatory),callback:function ($$v) {_vm.$set(_vm.Challanform, \"field_is_mandatory\", $$v)},expression:\"Challanform.field_is_mandatory\"}},[_vm._v(\"No\")])],1)])]),_c('div',{staticClass:\"vx-row mb-6\"},[_c('div',{staticClass:\"vx-col sm:w-1/5 w-full text-right align-self-center\"},[_c('h5',{staticClass:\"mb-0\"},[_vm._v(\"Is it unique\")])]),_c('div',{staticClass:\"vx-col sm:w-2/3 w-full\"},[_c('div',[_c('vs-radio',{staticClass:\"mr-3\",attrs:{\"vs-name\":\"radios2\",\"vs-value\":\"3\"},model:{value:(_vm.Challanform.field_is_unique),callback:function ($$v) {_vm.$set(_vm.Challanform, \"field_is_unique\", $$v)},expression:\"Challanform.field_is_unique\"}},[_vm._v(\"Yes\")]),_c('vs-radio',{attrs:{\"vs-name\":\"radios2\",\"vs-value\":\"4\"},model:{value:(_vm.Challanform.field_is_unique),callback:function ($$v) {_vm.$set(_vm.Challanform, \"field_is_unique\", $$v)},expression:\"Challanform.field_is_unique\"}},[_vm._v(\"No\")])],1)])])])]),_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col mx-auto\"},[_c('vs-button',{staticClass:\"mr-3\",attrs:{\"type\":\"filled\"},on:{\"click\":function($event){$event.preventDefault();return _vm.submitChallanForm($event)}}},[_vm._v(\"Submit\")]),_c('vs-button',{attrs:{\"color\":\"warning\",\"type\":\"border\"},on:{\"click\":function($event){$event.preventDefault();return _vm.clearChallanForm($event)}}},[_vm._v(\"Reset\")])],1)])])])],1)])])])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import Api from './Api.js';\r\nconst organization_id = () => {\r\n return window.localStorage.getItem(\"OrganizationID\");\r\n};\r\n\r\nexport default {\r\n addCustomizeField(payload) {\r\n return Api().post(`/v2/customizefield?organization_id=${organization_id()}`, payload);\r\n },\r\n};\r\n","\r\n \r\n {{ errors.first('Field Name') }}\r\n \r\n \r\n \r\n\r\n \r\n\r\n
\r\n
\r\n
Default Value
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
Is it mandatory
\r\n
\r\n\r\n
\r\n
\r\n Yes\r\n No\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
Is it unique
\r\n
\r\n\r\n
\r\n
\r\n Yes\r\n No\r\n
\r\n
\r\n
\r\n \r\n \r\n\r\n \r\n
\r\n
\r\n Submit\r\n\r\n Reset\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
Name
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
Field Type
\r\n
\r\n
\r\n
\r\n \r\n \r\n this.field_id = field_id\"\r\n :options=\"Cfield_type\"\r\n name=\"Field Name\"\r\n :searchable=\"false\"\r\n :allow-empty=\"false\"\r\n open-direction=\"bottom\"\r\n deselect-label=\"Can't remove this value\"\r\n >\r\n {{ option.values }}\r\n \r\n {{ errors.first('Field Name') }}\r\n
\r\n
\r\n
\r\n\r\n \r\n\r\n
\r\n
\r\n
Default Value
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
Is it mandatory
\r\n
\r\n \r\n
\r\n
\r\n Yes\r\n No\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
Is it unique
\r\n
\r\n\r\n
\r\n
\r\n Yes\r\n No\r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n Submit\r\n\r\n Reset\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./customizeFieldView.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./customizeFieldView.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./customizeFieldView.vue?vue&type=template&id=1e6d9a5b&\"\nimport script from \"./customizeFieldView.vue?vue&type=script&lang=js&\"\nexport * from \"./customizeFieldView.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}