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,SAASC,EAAoBC,GAC5B,IAAIC,EAAoBC,EAAEJ,EAAKE,GAC9B,OAAO/C,QAAQkD,UAAUC,MAAK,WAC7B,IAAIvD,EAAI,IAAIwD,MAAM,uBAAyBL,EAAM,KAEjD,MADAnD,EAAEyD,KAAO,mBACHzD,KAIR,IAAI0D,EAAMT,EAAIE,GAAMrK,EAAK4K,EAAI,GAC7B,OAAON,EAAoBpD,EAAE0D,EAAI,IAAIH,MAAK,WACzC,OAAOH,EAAoBtK,MAG7BoK,EAAoBS,KAAO,WAAa,OAAOzK,OAAOyK,KAAKV,IAC3DC,EAAoBpK,GAAK,MACzB8K,EAAOC,QAAUX,G","sources":["webpack://liman/./src/components/document-factor/generalForm.vue?c129","webpack://liman/src/components/document-factor/generalForm.vue","webpack://liman/./src/components/document-factor/generalForm.vue?f1ce","webpack://liman/./src/components/document-factor/generalForm.vue","webpack://liman/./src/mixins/negoTbl.js","webpack://liman/./src/mixins/restFull.js","webpack://liman/./src/tableModel|lazy|/^/.*Tbl$/|groupOptions: {}|namespace object"],"sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('sedmed-form',{ref:\"generalDocForm\",attrs:{\"items\":_vm.fromItems,\"initial-value\":_vm.initialValue,\"select-options\":_vm.formOptions,\"okText\":(\"\" + (_vm.id ? 'ویرایش' : 'ثبت'))},on:{\"create\":function($event){_vm.create(Object.assign($event,{items: _vm.items}))},\"update\":_vm.update}},[_c('div',{attrs:{\"slot\":\"after\"},slot:\"after\"},[(_vm.items.length > 0)?[_c('h4',[_vm._v(\"آیتم ها\")]),_vm._l((_vm.items),function(item){return _c('a-descriptions',{key:item.id ? item.id : item.index,staticClass:\"mt-4 p-[10px] rounded-[4px] bg-gray-100\",attrs:{\"column\":{md: 4, xs: 1 }}},[_c('div',{staticClass:\"flex\",attrs:{\"slot\":\"title\"},slot:\"title\"},[_vm._v(\" \"+_vm._s(_vm.showNegotiable(item.negotiable))+\" \"),_c('span',{on:{\"click\":function($event){return _vm.toEditRow(item)}}},[_c('Icon',{staticClass:\"ml-2 size-24 cursor-pointer text-success\",attrs:{\"icon\":\"ion:create-outline\"}})],1),_c('span',{on:{\"click\":function($event){return _vm.deleteRow(item)}}},[_c('Icon',{staticClass:\"ml-2 size-24 cursor-pointer text-danger\",attrs:{\"icon\":\"ion:trash-outline\"}})],1)]),_vm._l((_vm.documentRowItems),function(field,fieldKey){return [(field.label)?_c('a-descriptions-item',{key:fieldKey,attrs:{\"label\":field.label}},[_vm._v(\" \"+_vm._s(_vm.showRecord(item, field,fieldKey))+\" \")]):_vm._e()]})],2)})]:_vm._e(),_c('div',{staticClass:\"my-2 w-full\"},[_c('a-button',{staticClass:\"m-auto block\",attrs:{\"type\":\"dashed\"},on:{\"click\":function($event){_vm.addRowModel = true}}},[_vm._v(\" افزودن ردیف \")])],1),_c('a-modal',{attrs:{\"title\":\"افزودن ردیف\",\"closable\":false,\"maskClosable\":false},model:{value:(_vm.addRowModel),callback:function ($$v) {_vm.addRowModel=$$v},expression:\"addRowModel\"}},[_c('template',{slot:\"footer\"},[_c('a-button',{key:\"back\",on:{\"click\":_vm.cancel}},[_vm._v(\" انصراف \")]),_c('a-button',{key:\"submit\",attrs:{\"type\":\"primary\",\"loading\":_vm.$store.state.loading,\"disabled\":!_vm.documentRowType},on:{\"click\":_vm.handelModal}},[(_vm.addRowStep === 1)?[_vm._v(\" تکمیل ردیف \")]:(_vm.rowId)?[_vm._v(\" ویرایش ردیف \")]:[_vm._v(\" ثبت ردیف \")]],2)],1),(_vm.addRowStep === 1)?[_c('div',{staticClass:\"grid grid-cols-3 gap-4 justify-center items-center\"},_vm._l((_vm.negotiable),function(item){return _c('div',{key:item.id,staticClass:\"flex flex-column justify-center items-center p-10 rounded-[4px] cursor-pointer\",class:{'bg-info text-white': _vm.documentRowType === item.id, 'bg-gray-100': _vm.documentRowType !== item.id},on:{\"click\":function($event){return _vm.setNegotiable(item.id)}}},[_c('img',{attrs:{\"src\":item.icon || require('@/assets/images/no-image.png'),\"alt\":item.name}}),_c('div',[_vm._v(_vm._s(item.name))])])}),0)]:[_c('sedmed-form',{ref:\"documentItemForm\",attrs:{\"items\":_vm.documentRowItems,\"initial-value\":_vm.documentRowInitialValue,\"select-options\":_vm.documentRowOptions,\"hasBtn\":false},on:{\"create\":_vm.addEditRow,\"update\":_vm.handleRowSubmit}})]],2)],2)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\r\n <sedmed-form ref=\"generalDocForm\" :items=\"fromItems\" @create=\"create(Object.assign($event,{items}))\" @update=\"update\"\r\n :initial-value=\"initialValue\" :select-options=\"formOptions\"\r\n :okText=\"`${id ? 'ویرایش' : 'ثبت'}`\">\r\n <div slot=\"after\">\r\n <template v-if=\"items.length > 0\">\r\n <h4>آیتم ها</h4>\r\n <a-descriptions class=\"mt-4 p-[10px] rounded-[4px] bg-gray-100\" v-for=\"item in items\" :key=\"item.id ? item.id : item.index\" :column=\"{md: 4, xs: 1 }\">\r\n <div slot=\"title\" class=\"flex\">\r\n {{ showNegotiable(item.negotiable) }}\r\n <span @click=\"toEditRow(item)\">\r\n <Icon icon=\"ion:create-outline\" class=\"ml-2 size-24 cursor-pointer text-success\"/>\r\n </span>\r\n <span @click=\"deleteRow(item)\">\r\n <Icon icon=\"ion:trash-outline\" class=\"ml-2 size-24 cursor-pointer text-danger\"/>\r\n </span>\r\n </div>\r\n <template v-for=\"(field, fieldKey) in documentRowItems\">\r\n <a-descriptions-item :key=\"fieldKey\" v-if=\"field.label\" :label=\"field.label\">\r\n {{ showRecord(item, field,fieldKey) }}\r\n </a-descriptions-item>\r\n </template>\r\n </a-descriptions>\r\n </template>\r\n <div class=\"my-2 w-full\">\r\n <a-button class=\"m-auto block\" type=\"dashed\" @click=\"addRowModel = true\">\r\n افزودن ردیف\r\n </a-button>\r\n </div>\r\n <a-modal v-model=\"addRowModel\" title=\"افزودن ردیف\" :closable=\"false\" :maskClosable=\"false\">\r\n <template slot=\"footer\">\r\n <a-button key=\"back\" @click=\"cancel\">\r\n انصراف\r\n </a-button>\r\n <a-button key=\"submit\" type=\"primary\" :loading=\"$store.state.loading\" @click=\"handelModal\" :disabled=\"!documentRowType\">\r\n <template v-if=\"addRowStep === 1\">\r\n تکمیل ردیف\r\n </template>\r\n <template v-else-if=\"rowId\">\r\n ویرایش ردیف\r\n </template>\r\n <template v-else>\r\n ثبت ردیف\r\n </template>\r\n </a-button>\r\n </template>\r\n <template v-if=\"addRowStep === 1\">\r\n <div class=\"grid grid-cols-3 gap-4 justify-center items-center\">\r\n <div class=\"flex flex-column justify-center items-center p-10 rounded-[4px] cursor-pointer\"\r\n :class=\"{'bg-info text-white': documentRowType === item.id, 'bg-gray-100': documentRowType !== item.id}\"\r\n v-for=\"item in negotiable\" :key=\"item.id\" @click=\"setNegotiable(item.id)\">\r\n <img :src=\"item.icon || require('@/assets/images/no-image.png')\" :alt=\"item.name\">\r\n <div>{{item.name}}</div>\r\n </div>\r\n </div>\r\n </template>\r\n <template v-else>\r\n <sedmed-form :items=\"documentRowItems\" @create=\"addEditRow\" @update=\"handleRowSubmit\"\r\n :initial-value=\"documentRowInitialValue\" :select-options=\"documentRowOptions\"\r\n :hasBtn=\"false\" ref=\"documentItemForm\"/>\r\n </template>\r\n </a-modal>\r\n </div>\r\n </sedmed-form>\r\n</template>\r\n\r\n<script>\r\nimport restFull from \"@/mixins/restFull\";\r\nimport SedmedForm from '@/components/sedmed-form/sedmed-form.vue'\r\nimport negoTbl from \"@/mixins/negoTbl\";\r\n\r\nexport default {\r\n name: 'generalForm',\r\n components: {\r\n SedmedForm,\r\n },\r\n props: {\r\n type: Number\r\n },\r\n mixins:[restFull, negoTbl],\r\n data() {\r\n return {\r\n fromItems: {\r\n type: {initialValue: this.type, cls: 'hidden', decorator: [{defaultKey: 'required'}]},\r\n no: {label: 'شماره سند', custom: {type: 'number', min: 0}, itemCls: 'w-full'},\r\n c_no: {label: 'شماره سند مشتری', custom: {type: 'number', min: 0}, itemCls: 'w-full'},\r\n creator: {\r\n label: 'ثبت کننده',\r\n decorator: [{defaultKey: 'required'}],\r\n custom: {\r\n type: 'select',\r\n options: 'user',\r\n options_mode: 'list',\r\n options_key: {val: 'id', display: 'full_name'},\r\n },\r\n },\r\n user: {\r\n label: 'مشتری',\r\n decorator: [{defaultKey: 'required'}],\r\n custom: {\r\n type: 'select',\r\n options: 'user',\r\n options_mode: 'list',\r\n options_key: {val: 'id', display: 'full_name'},\r\n },\r\n },\r\n deposit: {label: 'سپرده', custom: {type: 'switch'}},\r\n accepted: {label: 'تایید شده', custom: {type: 'switch'}},\r\n description: {\r\n label: 'توضیحات',\r\n custom: {type: 'textarea', autoSize: {minRows: 2, maxRows: 3},},\r\n cls: 'md:col-span-3'\r\n },\r\n },\r\n user: [],\r\n negotiableType: [],\r\n product: [],\r\n bankAccount: [],\r\n items: [],\r\n addRowModel: false,\r\n addRowStep: 1,\r\n rowId: undefined,\r\n documentRowType: undefined,\r\n documentRowInitialValue: undefined,\r\n documentRowItems: {\r\n negotiable: {cls: 'hidden', decorator: [{defaultKey: 'required'}]},\r\n negotiable_type: {\r\n label: 'نوع',\r\n custom: {\r\n type: 'select',\r\n options: 'negotiableType',\r\n options_mode: 'list',\r\n options_key: {val: 'id', display: 'name'},\r\n },\r\n },\r\n product: {\r\n label: 'محصول',\r\n custom: {\r\n type: 'select',\r\n options: 'product',\r\n options_mode: 'list',\r\n options_key: {val: 'id', display: 'name'},\r\n },\r\n },\r\n weight: {label: 'وزن', custom: {type: 'number', min: 0}, itemCls: 'w-full'},\r\n count: {label: 'تعداد', custom: {type: 'number', min: 0}, itemCls: 'w-full'},\r\n currency_type: {\r\n label: 'نوع ارز',\r\n custom: {\r\n type: 'select',\r\n options: 'currency',\r\n options_mode: 'list',\r\n options_key: {val: 'id', display: 'name'},\r\n },\r\n },\r\n amount: {label: 'مقدار', custom: {type: 'number', min: 0}, itemCls: 'w-full'},\r\n unit_price: {label: 'قیمت واحد', custom: {type: 'number', min: 0}, itemCls: 'w-full'},\r\n name: {label: 'نام'},\r\n cutie: {label: 'عیار', custom: {type: 'number', min: 0}, itemCls: 'w-full'},\r\n account: {\r\n label: 'حساب بانکی',\r\n custom: {\r\n type: 'select',\r\n options: 'bankAccount',\r\n options_mode: 'list',\r\n options_key: {val: 'id', display: 'name'},\r\n },\r\n },\r\n check_no: {label: 'شماره چک'},\r\n check_date: {label: 'تاریخ چک', custom: {type: 'date'}},\r\n wage: {label: 'عیار', custom: {type: 'number', min: 0}, itemCls: 'w-full'},\r\n document: {cls: 'hidden'},\r\n /*explanation: {\r\n label: 'توضیحات',\r\n custom: {type: 'textarea', autoSize: {minRows: 2, maxRows: 3},},\r\n cls: 'md:col-span-3'\r\n },*/\r\n description: {\r\n label: 'توضیحات',\r\n custom: {type: 'textarea', autoSize: {minRows: 2, maxRows: 3},},\r\n cls: 'md:col-span-3'\r\n },\r\n }\r\n }\r\n },\r\n computed: {\r\n formOptions() {\r\n return {\r\n user: this.user\r\n }\r\n },\r\n documentRowOptions() {\r\n return {\r\n negotiableType: this.negotiableType,\r\n product: this.product,\r\n bankAccount: this.bankAccount,\r\n currency: this.currency,\r\n }\r\n },\r\n },\r\n watch: {\r\n initialValue(value) {\r\n if (value) this.items = value.items\r\n },\r\n $route(){\r\n this.cancel()\r\n this.$refs.generalDocForm.rest()\r\n this.items = []\r\n }\r\n },\r\n methods: {\r\n showRecord(item,field,fieldKey){\r\n if (field.custom){\r\n if (field.custom.mode == 'select') return this.showItem(item[fieldKey], field.custom.options)\r\n if (field.custom.mode == 'date') return this.$options.filters.jdate(item[fieldKey])\r\n }\r\n return item[fieldKey]\r\n },\r\n // get necessaries\r\n async getUser() {\r\n try {\r\n this.$store.commit('setLoading', true)\r\n const { data: {rows} } = await this.$axios.post('/user/table')\r\n this.user = rows[0]\r\n } catch (error) {\r\n console.log(error)\r\n } finally {\r\n this.$store.commit('setLoading', false)\r\n }\r\n },\r\n async getProduct() {\r\n try {\r\n this.$store.commit('setLoading', true)\r\n const { data: {rows} } = await this.$axios.post('/product/table',{limit: 1000})\r\n this.product = rows[0]\r\n } catch (error) {\r\n console.log(error)\r\n } finally {\r\n this.$store.commit('setLoading', false)\r\n }\r\n },\r\n async getBankAccount() {\r\n try {\r\n this.$store.commit('setLoading', true)\r\n const { data: {rows} } = await this.$axios.post('/bank-account/table',{limit: 1000})\r\n this.bankAccount = rows[0]\r\n } catch (error) {\r\n console.log(error)\r\n } finally {\r\n this.$store.commit('setLoading', false)\r\n }\r\n },\r\n async getNegotiableType(id) {\r\n try {\r\n this.$store.commit('setLoading', true)\r\n const { data: {rows} } = await this.$axios.post('/negotiable-type/table',{\r\n filters: [{field: 'negotiable', value: id}],\r\n limit: 2000\r\n })\r\n this.negotiableType = rows[0]\r\n } catch (error) {\r\n console.log(error)\r\n } finally {\r\n this.$store.commit('setLoading', false)\r\n }\r\n },\r\n // get necessaries\r\n \r\n async addEditRow(values) {\r\n if (this.rowId) {\r\n this.cancel()\r\n const index = this.items.findIndex(x => x.index === this.rowId)\r\n if (index > -1) return this.items[index] = Object.assign(values)\r\n }\r\n this.items.push(Object.assign(values,{index: `item-${this.items.length+1}`}))\r\n this.cancel()\r\n },\r\n async toEditRow(item) {\r\n await this.getNegotiableType(item.negotiable)\r\n this.documentRowItems.negotiable.initialValue = item.negotiable\r\n this.documentRowInitialValue = item\r\n this.rowId = item.id || item.index\r\n this.addRowModel= true\r\n this.documentRowType= item.negotiable\r\n },\r\n async deleteRow(item) {\r\n const type = item.id ? 'id' : 'index'\r\n this.rowId = item[type]\r\n if (item.id) await this.deleteDocumentItem()\r\n const index = this.items.findIndex(x => item[type] === x[type])\r\n if (index > -1) this.items.splice(index,1)\r\n },\r\n async setNegotiable(id){\r\n this.documentRowType = id\r\n this.documentRowItems.negotiable.initialValue = id\r\n await this.getNegotiableType(id)\r\n },\r\n cancel() {\r\n this.addRowModel = false\r\n if (this.$refs.documentItemForm) this.$refs.documentItemForm.rest()\r\n this.addRowStep = 1\r\n this.documentRowInitialValue = undefined\r\n this.documentRowType = undefined\r\n this.rowId = undefined\r\n },\r\n handelModal(e) {\r\n if(this.addRowStep === 1) return this.addRowStep = 2\r\n this.$refs.documentItemForm.handleSubmit(e)\r\n },\r\n showItem(item, options) {\r\n const object = this[options].find(x => x.id == item)\r\n if (object) return object.name\r\n return 'نامشخص'\r\n },\r\n \r\n // on edit page\r\n async handleRowSubmit(values) {\r\n if (this.rowId) {\r\n const result = await this.updateDocumentItem(values)\r\n if (result) {\r\n const index = this.items.findIndex(x => x.id === this.rowId)\r\n if (index > -1) {\r\n this.cancel()\r\n return this.items[index] = result\r\n }\r\n }\r\n }\r\n const result = await this.createDocumentItem(values)\r\n if (result) this.items.push(result)\r\n this.cancel()\r\n },\r\n async updateDocumentItem(values) {\r\n try {\r\n this.$store.commit('setLoading', true)\r\n const {data} = await this.$axios.patch(`/document-item/${this.rowId}/`, values)\r\n this.$ntSuccess('اطلاعات با موفقیت آپدیت شد')\r\n this.$store.commit('setLoading', false)\r\n return data\r\n } catch (error) {\r\n this.$store.commit('setLoading', false)\r\n console.log(error)\r\n }\r\n },\r\n async createDocumentItem(values) {\r\n try {\r\n this.$store.commit('setLoading', true)\r\n const {data} = await this.$axios.post('/document-item/', values)\r\n this.$ntSuccess('اطلاعات با موفقیت آپدیت شد')\r\n this.$store.commit('setLoading', false)\r\n return data\r\n } catch (error) {\r\n this.$store.commit('setLoading', false)\r\n console.log(error)\r\n }\r\n },\r\n async deleteDocumentItem() {\r\n try {\r\n this.$store.commit('setLoading', true)\r\n await this.$axios.delete(`/document-item/${this.rowId}/`)\r\n this.$ntSuccess('اطلاعات با موفقیت آپدیت شد')\r\n this.$store.commit('setLoading', false)\r\n return true\r\n } catch (error) {\r\n this.$store.commit('setLoading', false)\r\n console.log(error)\r\n }\r\n },\r\n // on edit page\r\n },\r\n async created() {\r\n await Promise.all([\r\n this.getUser(),\r\n this.getNegotiableByType('negotiable'),\r\n this.getProduct(),\r\n this.getNegotiableByType('currency'),\r\n this.getBankAccount(),\r\n ])\r\n if (this.id) this.documentRowItems.document.initialValue = this.id\r\n },\r\n}\r\n</script>\r\n\r\n<style scoped>\r\n\r\n</style>\r\n","import mod from \"-!../../../node_modules/.pnpm/thread-loader@3.0.4_webpack@5.70.0/node_modules/thread-loader/dist/cjs.js!../../../node_modules/.pnpm/babel-loader@8.2.3_ed870ac3ba52c4ec230ba2bc3dbb311c/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../node_modules/.pnpm/@vue+cli-service@5.0.1_c60d37d6f98edb8bb59b38caea4c9fe8/node_modules/@vue/cli-service/lib/config/vue-loader-v15-resolve-compat/vue-loader.js??vue-loader-options!./generalForm.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/.pnpm/thread-loader@3.0.4_webpack@5.70.0/node_modules/thread-loader/dist/cjs.js!../../../node_modules/.pnpm/babel-loader@8.2.3_ed870ac3ba52c4ec230ba2bc3dbb311c/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../node_modules/.pnpm/@vue+cli-service@5.0.1_c60d37d6f98edb8bb59b38caea4c9fe8/node_modules/@vue/cli-service/lib/config/vue-loader-v15-resolve-compat/vue-loader.js??vue-loader-options!./generalForm.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./generalForm.vue?vue&type=template&id=40b9614c&scoped=true&\"\nimport script from \"./generalForm.vue?vue&type=script&lang=js&\"\nexport * from \"./generalForm.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/.pnpm/vue-loader@15.9.8_1f9b6d6a8c5e3033a639476f0cf6d876/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"40b9614c\",\n null\n \n)\n\nexport default component.exports","export default {\r\n data() {\r\n return {\r\n negoTypes: {\r\n currency: 1,\r\n metal: 2,\r\n stone: 3,\r\n negotiable: 4,\r\n },\r\n negotiable: [],\r\n stone: [],\r\n metal: [],\r\n currency: [],\r\n }\r\n },\r\n methods: {\r\n async getNegotiableByType(type) {\r\n try {\r\n this.$store.commit('setLoading', true)\r\n const { data: {rows} } = await this.$axios.post('/negotiable/table',{\r\n filters: [{field: 'type', op: 'like', value: this.negoTypes[type]}],\r\n limit: 2000\r\n })\r\n this[type] = rows[0]\r\n } catch (error) {\r\n console.log(error)\r\n } finally {\r\n this.$store.commit('setLoading', false)\r\n }\r\n },\r\n showCurrency(id){\r\n const item = this.currency.find(x => x.id == id)\r\n return item && item.name ? item.name : 'نا معتبر'\r\n },\r\n showMetal(id){\r\n const item = this.metal.find(x => x.id == id)\r\n return item && item.name ? item.name : 'نا معتبر'\r\n },\r\n showStone(id){\r\n const item = this.stone.find(x => x.id == id)\r\n return item && item.name ? item.name : 'نا معتبر'\r\n },\r\n showNegotiable(id){\r\n const item = this.negotiable.find(x => x.id == id)\r\n return item && item.name ? item.name : 'نا معتبر'\r\n },\r\n },\r\n}\r\n","export default {\r\n data() {\r\n return {\r\n initialValue: undefined,\r\n model: undefined,\r\n view: false,\r\n }\r\n },\r\n computed: {\r\n id() {\r\n return this.$route.params.id\r\n },\r\n restfull() {\r\n return this.$route.meta.restfull\r\n },\r\n restfullPath() {\r\n return this.$route.meta.restfullPath || this.$route.meta.restfull\r\n },\r\n customRoute() {\r\n return this.$route.meta.isCustomRoute\r\n },\r\n },\r\n async created() {\r\n const model = await import(`@/tableModel/${this.restfull}Tbl`)\r\n this.model = model.default\r\n if (this.id && !this.customRoute) await this.getData()\r\n if (this.initialValue && this.initialValue.city && this.initialValue.province) await this.getCities(this.initialValue.province)\r\n },\r\n methods: {\r\n async getData(id = undefined) {\r\n try {\r\n this.$store.commit('setLoading', true)\r\n const {data} = await this.$axios.get(`/${this.restfullPath}/${id || this.id}/`)\r\n if (data && data.city && data.city.id && data.city.parent && data.city.parent.id) {\r\n this.initialValue = Object.assign(data, {\r\n province: data.city.parent.id,\r\n city: data.city.id\r\n })\r\n }\r\n else this.initialValue = data\r\n } catch (error) {\r\n console.log(error)\r\n } finally {\r\n this.$store.commit('setLoading', false)\r\n }\r\n },\r\n async update(values) {\r\n try {\r\n this.$store.commit('setLoading', true)\r\n await this.$axios.patch(`/${this.restfullPath}/${this.id}/`, values)\r\n this.$ntSuccess('اطلاعات با موفقیت آپدیت شد')\r\n await this.$router.push({name: `${this.restfull}_list`})\r\n } catch (error) {\r\n console.log(error)\r\n } finally {\r\n this.$store.commit('setLoading', false)\r\n }\r\n },\r\n async create(values) {\r\n try {\r\n this.$store.commit('setLoading', true)\r\n await this.$axios.post(`/${this.restfullPath}/`, values)\r\n this.$ntSuccess('اطلاعات با موفقیت ثبت شد')\r\n await this.$router.push({name: `${this.restfull}_list`})\r\n } catch (error) {\r\n console.log(error)\r\n } finally {\r\n this.$store.commit('setLoading', false)\r\n }\r\n },\r\n\r\n\r\n\r\n // list methods\r\n toEdit(id) {\r\n window.open(`/${this.restfull}/edit/${id}`, '_blank').focus()\r\n },\r\n setInitialValue(row) {\r\n this.initialValue = row\r\n this.view = true\r\n },\r\n async toView(id) {\r\n await this.getData(id)\r\n this.view = true\r\n },\r\n async deleteItem(id) {\r\n try {\r\n this.$store.commit('setLoading', true)\r\n await this.$axios.delete(`/${this.restfullPath}/${id}/`)\r\n this.$ntSuccess('آیتم با موفقیت حذف شد')\r\n await this.$refs[`${this.restfull}Tbl`].fetch()\r\n } catch (error) {\r\n console.log(error)\r\n } finally {\r\n this.$store.commit('setLoading', false)\r\n }\r\n },\r\n },\r\n}\r\n","var map = {\n\t\"./brandTbl\": [\n\t\t54660,\n\t\t660\n\t],\n\t\"./categoryTbl\": [\n\t\t22881,\n\t\t881\n\t],\n\t\"./customerTbl\": [\n\t\t61003,\n\t\t3\n\t],\n\t\"./documentTbl\": [\n\t\t1370,\n\t\t370\n\t],\n\t\"./factorTbl\": [\n\t\t13159,\n\t\t159\n\t],\n\t\"./negotiable-typeTbl\": [\n\t\t47429,\n\t\t429\n\t],\n\t\"./negotiableTbl\": [\n\t\t2941,\n\t\t941\n\t],\n\t\"./porterTbl\": [\n\t\t63685,\n\t\t685\n\t],\n\t\"./productTbl\": [\n\t\t44740,\n\t\t740\n\t],\n\t\"./userTbl\": [\n\t\t66896,\n\t\t896\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(function() {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn __webpack_require__.e(ids[1]).then(function() {\n\t\treturn __webpack_require__(id);\n\t});\n}\nwebpackAsyncContext.keys = function() { return Object.keys(map); };\nwebpackAsyncContext.id = 18847;\nmodule.exports = webpackAsyncContext;"],"names":["render","_vm","this","_h","$createElement","_c","_self","ref","attrs","fromItems","initialValue","formOptions","id","on","$event","create","Object","assign","items","update","slot","length","_v","_l","item","key","index","staticClass","md","xs","_s","showNegotiable","negotiable","toEditRow","deleteRow","field","fieldKey","label","showRecord","_e","addRowModel","model","value","callback","$$v","expression","cancel","$store","state","loading","documentRowType","handelModal","addRowStep","class","setNegotiable","icon","name","documentRowItems","documentRowInitialValue","documentRowOptions","addEditRow","handleRowSubmit","staticRenderFns","components","SedmedForm","props","type","Number","mixins","data","cls","decorator","defaultKey","no","custom","min","itemCls","c_no","creator","options","options_mode","options_key","val","display","user","deposit","accepted","description","autoSize","minRows","maxRows","negotiableType","product","bankAccount","rowId","undefined","negotiable_type","weight","count","currency_type","amount","unit_price","cutie","account","check_no","check_date","wage","document","computed","currency","watch","$route","$refs","generalDocForm","rest","methods","mode","showItem","$options","filters","jdate","rows","console","limit","values","documentItemForm","e","handleSubmit","object","result","Promise","component","negoTypes","metal","stone","getNegotiableByType","commit","$axios","post","op","log","showCurrency","find","x","showMetal","showStone","view","params","restfull","meta","restfullPath","customRoute","isCustomRoute","created","default","getData","city","province","getCities","get","parent","patch","$ntSuccess","$router","push","toEdit","window","open","focus","setInitialValue","row","toView","deleteItem","delete","fetch","map","webpackAsyncContext","req","__webpack_require__","o","resolve","then","Error","code","ids","keys","module","exports"],"sourceRoot":""}
Copyright ©2k19 -
Hexid
|
Tex7ure