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

2 lines
30 KiB
JavaScript
Raw Normal View History

2026-09-19 11:51:19 +03:30
import{_ as Ge}from"./BasicModal.vue_vue_type_style_index_0_lang-73f8a39e.js";import{_ as Xe,u as Qe}from"./useBaseTable-fed341a8.js";import{_ as Ye}from"./button.vue_vue_type_style_index_0_lang-76fea031.js";import{I as re}from"./Icon-66010218.js";import{t as Ze}from"./useDataTime-ba62eb36.js";import{g as O,e as H}from"./convert-2ad76038.js";import{_ as pe}from"./TextPreview.vue_vue_type_script_setup_true_lang-f36f6b08.js";import{u as et}from"./usePrice-bc935b83.js";import{e as n,d as tt,i as $,h as at,j as R,x as lt,p as it,o as _,c as U,b as p,w as r,f as L,l as X,K as nt,n as V,F as K,k as A,q as Q,G as f,V as st,T as ot,U as rt,L as ue,t as de}from"./index-e064ffac.js";import{g as ut,u as dt,a as ct,b as pt,d as _t}from"./products-5962646b.js";import{g as Y}from"./index-1d8e1887.js";import{g as mt}from"./category-f0d420db.js";import{g as ft}from"./brand-7865a37a.js";import{l as W}from"./lodash-77052907.js";import{M as vt,_ as gt}from"./index-418d2c16.js";import{I as bt,b as ht}from"./index-3d02255e.js";import{a as yt,b as wt}from"./index-1320e6a3.js";import{B as xt}from"./index-c6cc46d7.js";import{_ as kt,F as Ut}from"./index-d6ed4c52.js";import{a as Ct,_ as It}from"./index-7dcbad31.js";import{_ as Vt}from"./index-020f9f38.js";import{I as Pt}from"./index-08ec980c.js";import{U as $t}from"./index-227d8909.js";import{T as ce}from"./isSymbol-dc94e500.js";import{_ as At}from"./_plugin-vue_export-helper-c2b02d20.js";import"./index-5791312b.js";import"./vnode-43e0532a.js";import"./updateLocale-53d85368.js";import"./shallowequal-9a59fe48.js";import"./useState-1df7da74.js";import"./useMemo-118b7fdd.js";import"./FormItemContext-ea5e629b.js";import"./omit-98a5c881.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-094732f6.js";import"./index-a1f6487e.js";import"./Badge-31351815.js";import"./isNumeric-3f69e2aa.js";import"./index-6b63d7e6.js";import"./index-2f676c29.js";import"./index-4cde3ed4.js";import"./textUtils-c37780ad.js";import"./supabaseTableQuery-e8c06eb0.js";import"./DialogWrap-934116e0.js";import"./pickAttrs-20fc50b7.js";import"./styleChecker-a89d8927.js";import"./SearchOutlined-bce29925.js";import"./isPlainObject-118a5a84.js";import"./index-cf4a2322.js";import"./index-01bd72a1.js";import"./css-aae66f86.js";import"./toArray-03404447.js";import"./_flatRest-0e75a214.js";import"./Col-e0b57a55.js";import"./isMobile-e2e89480.js";import"./index-def436d1.js";import"./useRefs-320b3f3d.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 J=O(b.record.original_image);return n("img",{src:J,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-15937811"),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"},Tt=h(()=>p("span",null,"حذف",-1)),Bt=h(()=>p("span",null,"ویرایش",-1)),Dt={key:0,class:"text-gray-500 text-sm mt-1"},Rt=h(()=>p("div",{class:"text-gray-500 text-sm mt-1"}," حداکثر تعداد این محصول که کاربر در یک سفارش می‌تواند بخرد. ",-1)),Ot=h(()=>p("div",{class:"text-gray-500 text-sm mt-1"}," برای ارسال با پیک (داخل تهران) هزینه در زمان تحویل دریافت می‌شود. ",-1)),Nt=h(()=>p("div",{class:"text-gray-500 text-sm mt-1"},"