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AAUC,MAAK,WAC7B,IAAIvD,EAAI,IAAIwD,MAAM,uBAAyBN,EAAM,KAEjD,MADAlD,EAAEyD,KAAO,mBACHzD,KAIR,IAAI0D,EAAMV,EAAIE,GAAMjK,EAAKyK,EAAI,GAC7B,OAAOP,EAAoBnD,EAAE0D,EAAI,IAAIH,MAAK,WACzC,OAAOJ,EAAoBlK,MAG7BgK,EAAoBU,KAAO,WAAa,OAAOtK,OAAOsK,KAAKX,IAC3DC,EAAoBhK,GAAK,MACzB2K,EAAOC,QAAUZ,G","sources":["webpack://liman/./src/components/document-factor/generalForm.vue?8694","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(row,index){return [(row.label)?_c('a-descriptions-item',{key:index,attrs:{\"label\":row.label}},[_vm._v(\" \"+_vm._s(row.custom && row.custom.options ? _vm.showItem(item[index], row.custom.options) : item[index])+\" \")]):_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=\"(row, index) in documentRowItems\">\r\n <a-descriptions-item :key=\"index\" v-if=\"row.label\" :label=\"row.label\">\r\n {{ row.custom && row.custom.options ? showItem(item[index], row.custom.options) : item[index] }}\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: {mode: 'number', min: 0}, itemCls: 'w-full'},\r\n c_no: {label: 'شماره سند مشتری', custom: {mode: 'number', min: 0}, itemCls: 'w-full'},\r\n creator: {\r\n label: 'ثبت کننده',\r\n decorator: [{defaultKey: 'required'}],\r\n custom: {\r\n mode: '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 mode: '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: {mode: 'switch'}},\r\n accepted: {label: 'تایید شده', custom: {mode: 'switch'}},\r\n description: {\r\n label: 'توضیحات',\r\n custom: {mode: '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 mode: '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 mode: '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: {mode: 'number', min: 0}, itemCls: 'w-full'},\r\n count: {label: 'تعداد', custom: {mode: 'number', min: 0}, itemCls: 'w-full'},\r\n currency_type: {\r\n label: 'نوع ارز',\r\n custom: {\r\n mode: '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: {mode: 'number', min: 0}, itemCls: 'w-full'},\r\n unit_price: {label: 'قیمت واحد', custom: {mode: 'number', min: 0}, itemCls: 'w-full'},\r\n name: {label: 'نام'},\r\n cutie: {label: 'عیار', custom: {mode: 'number', min: 0}, itemCls: 'w-full'},\r\n account: {\r\n label: 'حساب بانکی',\r\n custom: {\r\n mode: '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: {mode: 'date'}},\r\n wage: {label: 'عیار', custom: {mode: 'number', min: 0}, itemCls: 'w-full'},\r\n document: {cls: 'hidden'},\r\n /*explanation: {\r\n label: 'توضیحات',\r\n custom: {mode: 'textarea', autoSize: {minRows: 2, maxRows: 3},},\r\n cls: 'md:col-span-3'\r\n },*/\r\n description: {\r\n label: 'توضیحات',\r\n custom: {mode: '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 // 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 this.getUser()\r\n await this.getNegotiableByType('negotiable')\r\n await this.getProduct()\r\n await this.getNegotiableByType('currency')\r\n await this.getBankAccount()\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=ce60c76a&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 \"ce60c76a\",\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) {\r\n await this.getProvince()\r\n if (this.initialValue.province) await this.getCities(this.initialValue.province)\r\n }\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\t4660\n\t],\n\t\"./categoryTbl\": [\n\t\t22881,\n\t\t2881\n\t],\n\t\"./constantTbl\": [\n\t\t77041,\n\t\t7041\n\t],\n\t\"./customerTbl\": [\n\t\t61003,\n\t\t1003\n\t],\n\t\"./documentTbl\": [\n\t\t1370,\n\t\t1370\n\t],\n\t\"./factorTbl\": [\n\t\t13159,\n\t\t3159\n\t],\n\t\"./negotiable-typeTbl\": [\n\t\t47429,\n\t\t7429\n\t],\n\t\"./negotiableTbl\": [\n\t\t2941,\n\t\t2941\n\t],\n\t\"./orderTbl\": [\n\t\t56730,\n\t\t6730\n\t],\n\t\"./porsantTbl\": [\n\t\t45693,\n\t\t5693\n\t],\n\t\"./porterTbl\": [\n\t\t63685,\n\t\t3685\n\t],\n\t\"./productTbl\": [\n\t\t44740,\n\t\t4740\n\t],\n\t\"./sasheTbl\": [\n\t\t45868,\n\t\t5868\n\t],\n\t\"./userTbl\": [\n\t\t66896,\n\t\t6896\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","row","label","custom","options","showItem","_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","mode","min","itemCls","c_no","creator","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","rows","console","limit","filters","field","values","documentItemForm","e","handleSubmit","object","result","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","getProvince","province","getCities","get","parent","patch","$ntSuccess","$router","push","toEdit","window","open","focus","setInitialValue","toView","deleteItem","delete","fetch","map","webpackAsyncContext","req","__webpack_require__","o","Promise","resolve","then","Error","code","ids","keys","module","exports"],"sourceRoot":""}
Copyright ©2k19 -
Hexid
|
Tex7ure