Files
machartaa_admin_dist/dist/assets/index-8f610231.js
T

2 lines
30 KiB
JavaScript
Raw Normal View History

2026-08-25 15:58:39 +03:30
import{_ as Ge}from"./BasicModal.vue_vue_type_style_index_0_lang-5e13aafb.js";import{_ as Xe,u as Qe}from"./useBaseTable-fbe43a97.js";import{_ as Ye}from"./button.vue_vue_type_style_index_0_lang-56e9b09f.js";import{I as re}from"./Icon-7c626614.js";import{t as Ze}from"./useDataTime-75033b2a.js";import{g as O,e as H}from"./convert-2ad76038.js";import{_ as pe}from"./TextPreview.vue_vue_type_script_setup_true_lang-bf05f802.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,T as st,R as ot,S as rt,L as ue,t as de}from"./index-864e73c5.js";import{g as ut,u as dt,a as ct,b as pt,d as _t}from"./products-33dcc2c5.js";import{g as Y}from"./index-ee82d0b5.js";import{g as mt}from"./category-7a97c869.js";import{g as ft}from"./brand-ad51b40a.js";import{l as W}from"./lodash-ba10e651.js";import{M as vt,_ as gt}from"./index-e0e66192.js";import{I as bt,b as ht}from"./index-7c172d43.js";import{a as yt,b as wt}from"./index-01d39c58.js";import{B as xt}from"./index-69195e76.js";import{_ as kt,F as Ut}from"./index-391eda35.js";import{a as Ct,_ as It}from"./index-faaf1291.js";import{_ as Vt}from"./index-72f07d1b.js";import{I as Pt}from"./index-6355e345.js";import{U as $t}from"./index-00a79bb5.js";import{T as ce}from"./isSymbol-cbbd997a.js";import{_ as At}from"./_plugin-vue_export-helper-a65526b0.js";import"./index-bd9719ff.js";import"./vnode-81e10d7c.js";import"./updateLocale-71589e17.js";import"./shallowequal-c06f2dba.js";import"./useState-85b22590.js";import"./useMemo-652a8e82.js";import"./FormItemContext-37273d98.js";import"./omit-ab9263d6.js";import"./BaseSwitch.vue_vue_type_script_setup_true_lang-781130e9.js";import"./index-974d8184.js";import"./Badge-7246b1a5.js";import"./isNumeric-3f69e2aa.js";import"./index-3799ba3b.js";import"./index-e764b6ae.js";import"./index-07df2e8f.js";import"./textUtils-c37780ad.js";import"./supabaseTableQuery-21eb0a11.js";import"./DialogWrap-8cebf5f4.js";import"./pickAttrs-bb0043f0.js";import"./styleChecker-4198f097.js";import"./SearchOutlined-8ea30c34.js";import"./isPlainObject-13142948.js";import"./index-b21b8492.js";import"./index-e8adaad2.js";import"./css-aae66f86.js";import"./toArray-21522b5d.js";import"./_flatRest-2445814a.js";import"./Col-55712802.js";import"./isMobile-e2e89480.js";import"./index-041723b0.js";import"./useRefs-d7f22ed1.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"},"