商户后台

This commit is contained in:
liu
2026-06-17 12:41:49 +08:00
parent 845bea4b81
commit f63a7db58f
46 changed files with 2215 additions and 43 deletions
+13
View File
@@ -40,6 +40,13 @@ import merchantPrintTask from "./merchant/print-task";
import merchantOrder from "./merchant/order";
import merchantRefund from "./merchant/refund";
import merchantPortalProduct from "./merchant-portal/product";
import merchantPortalProductCategory from "./merchant-portal/product-category";
import merchantPortalOrder from "./merchant-portal/order";
import merchantPortalPayment from "./merchant-portal/payment";
import merchantPortalPrinter from "./merchant-portal/printer";
import merchantPortalStore from "./merchant-portal/store";
import taskCategory from "./task/category";
import taskOrderErrand from "./task/order-errand";
import taskOrderPickup from "./task/order-pickup";
@@ -104,6 +111,12 @@ export default {
...merchantPrintTask,
...merchantOrder,
...merchantRefund,
...merchantPortalProduct,
...merchantPortalProductCategory,
...merchantPortalOrder,
...merchantPortalPayment,
...merchantPortalPrinter,
...merchantPortalStore,
...taskCategory,
...taskOrderErrand,
...taskOrderPickup,
+7
View File
@@ -85,4 +85,11 @@ export default {
"menu.finance.order_payment": "Order Payments",
"menu.finance.merchant_withdrawal": "Merchant Withdrawals",
"menu.xin-admin": "XinAdmin",
"menu.merchant_portal": "Merchant Portal",
"menu.merchant_portal.product": "Products",
"menu.merchant_portal.product-category": "Categories",
"menu.merchant_portal.order": "Orders",
"menu.merchant_portal.payment": "Transactions",
"menu.merchant_portal.printer": "Printers",
"menu.merchant_portal.store": "Store Info",
}
@@ -0,0 +1,29 @@
export default {
"merchant.portal.order.page.title": "Orders",
"merchant.portal.order.page.description": "View your order records, status and payment details",
"merchant.portal.order.id": "ID",
"merchant.portal.order.order_no": "Order No.",
"merchant.portal.order.user_id": "User ID",
"merchant.portal.order.total_amount": "Total Amount",
"merchant.portal.order.discount_amount": "Discount",
"merchant.portal.order.delivery_fee": "Delivery Fee",
"merchant.portal.order.payment_amount": "Paid Amount",
"merchant.portal.order.pay_type": "Payment Method",
"merchant.portal.order.pay_type.0": "Balance",
"merchant.portal.order.pay_type.1": "WeChat Pay",
"merchant.portal.order.pay_status": "Payment Status",
"merchant.portal.order.pay_status.0": "Pending",
"merchant.portal.order.pay_status.1": "Paid",
"merchant.portal.order.pay_status.2": "Refunding",
"merchant.portal.order.pay_status.3": "Refunded",
"merchant.portal.order.status": "Order Status",
"merchant.portal.order.status.0": "Pending",
"merchant.portal.order.status.1": "Delivering",
"merchant.portal.order.status.2": "Delivered",
"merchant.portal.order.status.3": "Completed",
"merchant.portal.order.status.4": "Cancelled",
"merchant.portal.order.paid_at": "Paid At",
"merchant.portal.order.completed_at": "Completed At",
"merchant.portal.order.remark": "Remark",
"merchant.portal.order.created_at": "Created At",
};
@@ -0,0 +1,17 @@
export default {
"merchant.portal.payment.page.title": "Transactions",
"merchant.portal.payment.page.description": "View payment records and transaction history for your orders",
"merchant.portal.payment.id": "ID",
"merchant.portal.payment.payment_no": "Payment No.",
"merchant.portal.payment.order_id": "Order ID",
"merchant.portal.payment.amount": "Amount",
"merchant.portal.payment.pay_type": "Payment Method",
"merchant.portal.payment.pay_type.0": "Balance",
"merchant.portal.payment.pay_type.1": "WeChat Pay",
"merchant.portal.payment.status": "Status",
"merchant.portal.payment.status.0": "Pending",
"merchant.portal.payment.status.1": "Success",
"merchant.portal.payment.status.2": "Refunded",
"merchant.portal.payment.paid_at": "Paid At",
"merchant.portal.payment.created_at": "Created At",
};
@@ -0,0 +1,16 @@
export default {
"merchant.portal.printer.page.title": "Printers",
"merchant.portal.printer.page.description": "Manage your printer devices for printing order receipts",
"merchant.portal.printer.id": "ID",
"merchant.portal.printer.name": "Printer Name",
"merchant.portal.printer.name.required": "Printer name is required",
"merchant.portal.printer.brand": "Brand",
"merchant.portal.printer.model": "Model",
"merchant.portal.printer.device_no": "Device No.",
"merchant.portal.printer.secret_key": "Secret Key",
"merchant.portal.printer.status": "Status",
"merchant.portal.printer.status.0": "Disabled",
"merchant.portal.printer.status.1": "Enabled",
"merchant.portal.printer.created_at": "Created At",
"merchant.portal.printer.updated_at": "Updated At",
};
@@ -0,0 +1,17 @@
export default {
"merchant.portal.product-category.page.title": "Categories",
"merchant.portal.product-category.page.description": "Manage your product categories for grouping products",
"merchant.portal.product-category.id": "ID",
"merchant.portal.product-category.parent_id": "Parent Category",
"merchant.portal.product-category.name": "Category Name",
"merchant.portal.product-category.name.required": "Category name is required",
"merchant.portal.product-category.slug": "Slug",
"merchant.portal.product-category.icon": "Icon",
"merchant.portal.product-category.description": "Description",
"merchant.portal.product-category.sort": "Sort",
"merchant.portal.product-category.status": "Status",
"merchant.portal.product-category.status.0": "Disabled",
"merchant.portal.product-category.status.1": "Enabled",
"merchant.portal.product-category.created_at": "Created At",
"merchant.portal.product-category.updated_at": "Updated At",
};
@@ -0,0 +1,25 @@
export default {
"merchant.portal.product.page.title": "Products",
"merchant.portal.product.page.description": "Manage your products, including listing, delisting, and recommendations",
"merchant.portal.product.id": "ID",
"merchant.portal.product.category_id": "Category",
"merchant.portal.product.name": "Product Name",
"merchant.portal.product.name.required": "Product name is required",
"merchant.portal.product.description": "Description",
"merchant.portal.product.images": "Images",
"merchant.portal.product.price": "Price",
"merchant.portal.product.price.required": "Price is required",
"merchant.portal.product.original_price": "Original Price",
"merchant.portal.product.stock": "Stock",
"merchant.portal.product.unit": "Unit",
"merchant.portal.product.sales": "Sales",
"merchant.portal.product.status": "Status",
"merchant.portal.product.status.0": "Offline",
"merchant.portal.product.status.1": "Online",
"merchant.portal.product.is_recommend": "Recommended",
"merchant.portal.product.is_recommend.0": "No",
"merchant.portal.product.is_recommend.1": "Yes",
"merchant.portal.product.sort": "Sort",
"merchant.portal.product.created_at": "Created At",
"merchant.portal.product.updated_at": "Updated At",
};
@@ -0,0 +1,17 @@
export default {
"merchant.portal.store.page.title": "Store Info",
"merchant.portal.store.page.description": "View and edit your store information",
"merchant.portal.store.name": "Store Name",
"merchant.portal.store.name.required": "Store name is required",
"merchant.portal.store.logo": "Logo",
"merchant.portal.store.banner": "Banner",
"merchant.portal.store.description": "Description",
"merchant.portal.store.contact_name": "Contact Name",
"merchant.portal.store.contact_mobile": "Contact Phone",
"merchant.portal.store.province": "Province",
"merchant.portal.store.city": "City",
"merchant.portal.store.district": "District",
"merchant.portal.store.address": "Address",
"merchant.portal.store.business_hours": "Business Hours",
"merchant.portal.store.min_price": "Min. Order Price",
};
+4
View File
@@ -4,6 +4,10 @@ export default {
"merchant.store.id": "ID",
"merchant.store.user_id": "Owner",
"merchant.store.user_id.required": "Owner is required",
"merchant.store.username": "Username",
"merchant.store.username.required": "Username is required",
"merchant.store.password": "Password",
"merchant.store.password.required": "Password must be at least 6 characters",
"merchant.store.category_id": "Category",
"merchant.store.name": "Store Name",
"merchant.store.name.required": "Store name is required",