Files
machartaa_admin_dist/dist/assets/index-d4a6c4d5.js
T

2 lines
30 KiB
JavaScript
Raw Normal View History

import{_ as Xe}from"./BasicModal.vue_vue_type_style_index_0_lang-6969d1dc.js";import{_ as Ge,u as Qe}from"./useBaseTable-2f44456a.js";import{_ as Ye}from"./button.vue_vue_type_style_index_0_lang-c84b0596.js";import{I as re}from"./Icon-e9d21126.js";import{t as Ze}from"./useDataTime-c5fd0475.js";import{g as R,e as H}from"./convert-2ad76038.js";import{_ as pe}from"./TextPreview.vue_vue_type_script_setup_true_lang-cf9861d3.js";import{u as et}from"./usePrice-bc935b83.js";import{e as n,d as tt,i as $,h as at,j as O,x as lt,p as it,o as _,c as U,b as p,w as r,f as L,l as G,L as nt,n as V,F as W,k as A,q as Q,H as f,O as st,U as ot,V as rt,M as ue,t as de}from"./index-88b436a3.js";import{g as ut,u as dt,a as ct,b as pt,d as _t}from"./products-de5deaf7.js";import{g as Y}from"./index-eb78e5b4.js";import{g as mt}from"./category-c73c6f44.js";import{g as ft}from"./brand-12acb5ce.js";import{l as J}from"./lodash-ff1cad4c.js";import{M as vt,_ as gt}from"./index-801e70c1.js";import{I as bt,b as ht}from"./index-5b1d7174.js";import{a as yt,b as wt}from"./index-6971af25.js";import{B as xt}from"./index-371b21ab.js";import{_ as kt,F as Ut}from"./index-ad76e424.js";import{a as Ct,_ as It}from"./index-ab792bfc.js";import{_ as Vt}from"./index-7fdb0173.js";import{I as Pt}from"./index-83c2b49c.js";import{U as $t}from"./index-58f8102d.js";import{T as ce}from"./isSymbol-5adcf314.js";import{_ as At}from"./_plugin-vue_export-helper-0965689e.js";import"./index-77cb2497.js";import"./vnode-4c3cf924.js";import"./updateLocale-50b6b1dc.js";import"./shallowequal-a265b4c4.js";import"./useState-89585daf.js";import"./useMemo-9783b0bd.js";import"./FormItemContext-0dc63d45.js";import"./omit-c69ba12d.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-8738a2db.js";import"./index-59dbbd66.js";import"./Badge-b5f795c2.js";import"./isNumeric-3f69e2aa.js";import"./index-e3b71aec.js";import"./index-608635af.js";import"./index-4c23d157.js";import"./textUtils-c37780ad.js";import"./supabaseTableQuery-81d2dd21.js";import"./DialogWrap-540d386d.js";import"./pickAttrs-fd92707c.js";import"./styleChecker-e121d19f.js";import"./SearchOutlined-a51da12b.js";import"./isPlainObject-6af67cf0.js";import"./index-4ad375f9.js";import"./index-70730f49.js";import"./css-aae66f86.js";import"./toArray-20aa7010.js";import"./_flatRest-bfa472d2.js";import"./Col-dbdf0e50.js";import"./isMobile-e2e89480.js";import"./index-f6397275.js";import"./useRefs-b589f2c4.js";const Lt=[{title:"ردیف",dataIndex:"id",key:"id",filterable:!1,width:70,align:"center",customRender:b=>b.index+1},{title:"تصویر ",dataIndex:"original_image",key:"original_image",customRender:b=>{const K=R(b.record.original_image);return n("img",{src:K,width:60},null)}},{title:"عنوان",dataIndex:"title_fa",key:"title_fa"},{title:"کد",dataIndex:"code",key:"code"},{title:"توضیحات",dataIndex:"description",key:"description",customRender:b=>n(pe,{text:b.record.description},null)},{title:"قیمت (ریال)",dataIndex:"price",key:"price",align:"center",width:120,customRender:b=>et(b.record.price??0,!0,"")},{title:"موجودی",dataIndex:"count",key:"count",align:"center",width:120,customRender:b=>b.record.count??0},{title:"زمان ایجاد",dataIndex:"created_at",key:"created_at",customRender:b=>Ze(b.record.created_at)},{title:"عملیات",dataIndex:"action",key:"action",slot:"action",filterable:!1,align:"center"}],h=b=>(ot("data-v-e0de308b"),b=b(),rt(),b),Mt={class:"flex justify-between items-center mb-4"},Ft=h(()=>p("h2",null,"محصولات",-1)),St={class:"gap-2 flex justify-center"},Bt=h(()=>p("span",null,"حذف",-1)),Tt=h(()=>p("span",null,"ویرایش",-1)),Dt={key:0,class:"text-gray-500 text-sm mt-1"},Ot=h(()=>p("div",{class:"text-gray-500 text-sm mt-1"}," حداکثر تعداد این محصول که کاربر در یک سفارش می‌تواند بخرد. ",-1)),Rt=h(()=>p("div",{class:"text-gray-500 text-sm mt-1"}," برای ارسال با پیک (داخل تهران) هزینه در زمان تحویل دریافت می‌شود. ",-1)),Nt=h(()=>p("div",{class:"text-gray-500 text-sm mt-1"},"