/
home
/
henzagold
/
adminold
/
export
/
js
/
File Upload :
llllll
Current File: /home/henzagold/adminold/export/js/chunk-2d0b8e86.61962b2d.js
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d0b8e86"],{"314f":function(t,e,n){"use strict";n.r(e);n("7f7f");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:"InfoIcon",svgClasses:"h-6 w-6 text-primary"},on:{click:function(e){return t.toShow(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)])}}])}),e("AModal",{attrs:{title:"مشاهده سفارش",width:"80%"},model:{value:t.visible,callback:function(e){t.visible=e},expression:"visible"}},[e("div",[e("div",[e("ADescriptions",[e("ADescriptionsItem",{attrs:{label:"مشتری"}},[t._v("\n "+t._s(t.listShow.name)+"\n ")]),e("ADescriptionsItem",{attrs:{label:"تلفن همراه"}}),e("ADescriptionsItem",{attrs:{label:"تاریخ ثبت"}},[t._v("\n "+t._s(t.listShow.created_at)+"\n ")])],1)],1),e("div",[e("ACard",[e("div",{attrs:{slot:"title"},slot:"title"},[e("div",{staticClass:"flex"},[e("div",{staticClass:"flex-1"},[t._v("آیتم های سفارش")])])]),e("ADescriptions",[e("ADescriptionsItem",{attrs:{label:"نام محصول"}},[t._v("\n fdghfg\n ")]),e("ADescriptionsItem",{attrs:{label:"عنوان تنوع"}},[t._v("\n rtyrhh\n ")]),e("ADescriptionsItem",{attrs:{label:"توضیحات"}},[t._v("\n erthert\n ")])],1),e("ADivider")],1)],1)]),e("div",{staticClass:"flex justify-between",attrs:{slot:"footer"},slot:"footer"},[e("AButton",{on:{click:function(e){t.visible=!1}}},[t._v("باشه")])],1)])],1)],1)},s=[],i=(n("96cf"),n("1da1")),a=n("bb36"),o=n("e0d2"),c=(n("07a4"),new o["b"]("https://henzagold.com/oapi/admin/branch/product/table","لیست فاکتورها"));c.add(new o["a"]("id","ردیف").filterNumber()),c.add(new o["a"]("name","نام مشتری").filterText()),c.add(new o["a"]("sum_weight","جمع کل سفارش").filterNumber().noSort()),c.add(new o["a"]("count_item","تعداد آیتم ها").filterNumber().noSort()),c.add(new o["a"]("caj","تاریخ ثبت").filterDate().noSort()),c.add(new o["a"]("allocator_user.name","ثبت کننده").renderSlot("user").noSort()),c.add(new o["a"]("note","توضیحات").filterText().noSort()),c.add(new o["a"]("op","عملیات").noSort().renderSlot("actions"));var l=c,d=n("ff6e"),u={name:"ListInvoice",components:{XTable:d["a"]},data:function(){return{count:1,model:null,visible:!1,tempRow:void 0,listShow:[]}},methods:{toShow:function(){var t=Object(i["a"])(regeneratorRuntime.mark((function t(e){var n,r;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return this.visible=!0,t.next=3,a["b"].get("branch/product/".concat(e));case 3:n=t.sent,r=n.data,this.listShow=r,console.log(this.listShow);case 7:case"end":return t.stop()}}),t,this)})));function e(e){return t.apply(this,arguments)}return e}(),handleOk:function(t){console.log(t),this.visible=!1},toDelete:function(){var t=Object(i["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,a["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=l}},f=u,v=n("2877"),p=Object(v["a"])(f,r,s,!1,null,"584c4cd2",null);e["default"]=p.exports}}]); //# sourceMappingURL=chunk-2d0b8e86.61962b2d.js.map
Copyright ©2k19 -
Hexid
|
Tex7ure