/
home
/
henzagold
/
adminold
/
export
/
js
/
File Upload :
llllll
Current File: //home/henzagold/adminold/export/js/chunk-2d0b8e86.4a1605e9.js
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0b8e86"],{"314f":function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t._self._c;return e("div",{attrs:{id:"page-user-list"}},[e("vx-card",{ref:"filterCard",staticClass:"vx-card",attrs:{removeCardAction:!1,title:"لیست فاکتورها"}},[e("XTable",{ref:"ListInvoice",attrs:{model:t.model},scopedSlots:t._u([{key:"number",fn:function(e,n){return[t._v("\n "+t._s(t.count++)+"\n ")]}},{key:"actions",fn:function(n,r){return e("span",{},[e("div",{staticClass:"flex gap-2"},[e("ATooltip",[e("span",{attrs:{slot:"title"},slot:"title"},[t._v("ویرایش")]),e("feather-icon",{staticClass:"cursor-pointer mx-1",attrs:{icon:"EditIcon",svgClasses:"h-6 w-6 text-primary"},on:{click:function(e){return t.toEdit(n.record.id)}}})],1),e("ATooltip",[e("span",{attrs:{slot:"title"},slot:"title"},[t._v("حذف")]),e("feather-icon",{staticClass:"cursor-pointer mx-1",attrs:{icon:"TrashIcon",svgClasses:"h-6 w-6 text-danger"},on:{click:function(e){return t.toDelete(n.record.id)}}})],1)],1)])}}])})],1)],1)},a=[],o=(n("96cf"),n("1da1")),i=n("bb36"),s=n("e0d2"),c=(n("07a4"),new s["b"]("https://henzagold.com/oapi/admin/branch/product/table","لیست فاکتورها"));c.add(new s["a"]("id","ردیف").filterNumber()),c.add(new s["a"]("name","نام مشتری").filterText()),c.add(new s["a"]("sum_weight","جمع کل سفارش").filterNumber().noSort()),c.add(new s["a"]("count_item","تعداد آیتم ها").filterNumber().noSort()),c.add(new s["a"]("caj","تاریخ ثبت").filterDate().noSort()),c.add(new s["a"]("allocator_user.name","ثبت کننده").renderSlot("user").noSort()),c.add(new s["a"]("note","توضیحات").filterText().noSort()),c.add(new s["a"]("op","عملیات").noSort().renderSlot("actions"));var d=c,l=n("ff6e"),u={name:"ListInvoice",components:{XTable:l["a"]},data:function(){return{count:1,model:null}},methods:{toEdit:function(t){window.open("/admin/invoice/edit/".concat(t),"_blank").focus()},toDelete:function(){var t=Object(o["a"])(regeneratorRuntime.mark((function t(e){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,i["b"].delete("branch/product/".concat(e));case 3:n=t.sent,n.data,this.$refs.ListInvoice.fetch(),this.$message.success("ردیف مورد نظر حذف شد"),t.next=11;break;case 9:t.prev=9,t.t0=t["catch"](0);case 11:case"end":return t.stop()}}),t,this,[[0,9]])})));function e(e){return t.apply(this,arguments)}return e}()},created:function(){this.model=d}},f=u,p=n("2877"),m=Object(p["a"])(f,r,a,!1,null,"0d07472a",null);e["default"]=m.exports}}]); //# sourceMappingURL=chunk-2d0b8e86.4a1605e9.js.map
Copyright ©2k19 -
Hexid
|
Tex7ure