商户后台

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": "订单支付日志",
"menu.finance.merchant_withdrawal": "商户提现",
"menu.xin-admin": "XinAdmin",
"menu.merchant_portal": "商户管理",
"menu.merchant_portal.product": "商品列表",
"menu.merchant_portal.product-category": "商品分类",
"menu.merchant_portal.order": "订单列表",
"menu.merchant_portal.payment": "交易流水",
"menu.merchant_portal.printer": "打印机管理",
"menu.merchant_portal.store": "商户信息",
};
@@ -0,0 +1,29 @@
export default {
"merchant.portal.order.page.title": "订单列表",
"merchant.portal.order.page.description": "查看您的订单记录,了解订单状态和支付情况",
"merchant.portal.order.id": "ID",
"merchant.portal.order.order_no": "订单号",
"merchant.portal.order.user_id": "用户ID",
"merchant.portal.order.total_amount": "订单总额",
"merchant.portal.order.discount_amount": "优惠金额",
"merchant.portal.order.delivery_fee": "配送费",
"merchant.portal.order.payment_amount": "实付金额",
"merchant.portal.order.pay_type": "支付方式",
"merchant.portal.order.pay_type.0": "余额支付",
"merchant.portal.order.pay_type.1": "微信支付",
"merchant.portal.order.pay_status": "支付状态",
"merchant.portal.order.pay_status.0": "待支付",
"merchant.portal.order.pay_status.1": "已支付",
"merchant.portal.order.pay_status.2": "退款中",
"merchant.portal.order.pay_status.3": "已退款",
"merchant.portal.order.status": "订单状态",
"merchant.portal.order.status.0": "待接单",
"merchant.portal.order.status.1": "配送中",
"merchant.portal.order.status.2": "已送达",
"merchant.portal.order.status.3": "已完成",
"merchant.portal.order.status.4": "已取消",
"merchant.portal.order.paid_at": "支付时间",
"merchant.portal.order.completed_at": "完成时间",
"merchant.portal.order.remark": "备注",
"merchant.portal.order.created_at": "创建时间",
};
@@ -0,0 +1,17 @@
export default {
"merchant.portal.payment.page.title": "交易流水",
"merchant.portal.payment.page.description": "查看您订单的支付记录和交易流水",
"merchant.portal.payment.id": "ID",
"merchant.portal.payment.payment_no": "支付单号",
"merchant.portal.payment.order_id": "订单ID",
"merchant.portal.payment.amount": "支付金额",
"merchant.portal.payment.pay_type": "支付方式",
"merchant.portal.payment.pay_type.0": "余额支付",
"merchant.portal.payment.pay_type.1": "微信支付",
"merchant.portal.payment.status": "支付状态",
"merchant.portal.payment.status.0": "待支付",
"merchant.portal.payment.status.1": "支付成功",
"merchant.portal.payment.status.2": "已退款",
"merchant.portal.payment.paid_at": "支付时间",
"merchant.portal.payment.created_at": "创建时间",
};
@@ -0,0 +1,16 @@
export default {
"merchant.portal.printer.page.title": "打印机管理",
"merchant.portal.printer.page.description": "管理您的打印机设备,用于打印订单小票",
"merchant.portal.printer.id": "ID",
"merchant.portal.printer.name": "打印机名称",
"merchant.portal.printer.name.required": "打印机名称不能为空",
"merchant.portal.printer.brand": "品牌",
"merchant.portal.printer.model": "型号",
"merchant.portal.printer.device_no": "设备编号",
"merchant.portal.printer.secret_key": "密钥",
"merchant.portal.printer.status": "状态",
"merchant.portal.printer.status.0": "禁用",
"merchant.portal.printer.status.1": "启用",
"merchant.portal.printer.created_at": "创建时间",
"merchant.portal.printer.updated_at": "更新时间",
};
@@ -0,0 +1,17 @@
export default {
"merchant.portal.product-category.page.title": "商品分类",
"merchant.portal.product-category.page.description": "管理您的商品分类,用于对商品进行分组",
"merchant.portal.product-category.id": "ID",
"merchant.portal.product-category.parent_id": "上级分类",
"merchant.portal.product-category.name": "分类名称",
"merchant.portal.product-category.name.required": "分类名称不能为空",
"merchant.portal.product-category.slug": "别名",
"merchant.portal.product-category.icon": "图标",
"merchant.portal.product-category.description": "描述",
"merchant.portal.product-category.sort": "排序",
"merchant.portal.product-category.status": "状态",
"merchant.portal.product-category.status.0": "禁用",
"merchant.portal.product-category.status.1": "启用",
"merchant.portal.product-category.created_at": "创建时间",
"merchant.portal.product-category.updated_at": "更新时间",
};
@@ -0,0 +1,25 @@
export default {
"merchant.portal.product.page.title": "商品列表",
"merchant.portal.product.page.description": "管理您的商品,支持上架、下架、推荐等操作",
"merchant.portal.product.id": "ID",
"merchant.portal.product.category_id": "商品分类",
"merchant.portal.product.name": "商品名称",
"merchant.portal.product.name.required": "商品名称不能为空",
"merchant.portal.product.description": "商品描述",
"merchant.portal.product.images": "商品图片",
"merchant.portal.product.price": "售价",
"merchant.portal.product.price.required": "售价不能为空",
"merchant.portal.product.original_price": "原价",
"merchant.portal.product.stock": "库存",
"merchant.portal.product.unit": "单位",
"merchant.portal.product.sales": "销量",
"merchant.portal.product.status": "状态",
"merchant.portal.product.status.0": "下架",
"merchant.portal.product.status.1": "上架",
"merchant.portal.product.is_recommend": "推荐",
"merchant.portal.product.is_recommend.0": "否",
"merchant.portal.product.is_recommend.1": "是",
"merchant.portal.product.sort": "排序",
"merchant.portal.product.created_at": "创建时间",
"merchant.portal.product.updated_at": "更新时间",
};
@@ -0,0 +1,17 @@
export default {
"merchant.portal.store.page.title": "商户信息",
"merchant.portal.store.page.description": "查看和编辑您的商户基本信息",
"merchant.portal.store.name": "店铺名称",
"merchant.portal.store.name.required": "店铺名称不能为空",
"merchant.portal.store.logo": "店铺Logo",
"merchant.portal.store.banner": "店铺Banner",
"merchant.portal.store.description": "店铺描述",
"merchant.portal.store.contact_name": "联系人",
"merchant.portal.store.contact_mobile": "联系电话",
"merchant.portal.store.province": "省",
"merchant.portal.store.city": "市",
"merchant.portal.store.district": "区",
"merchant.portal.store.address": "详细地址",
"merchant.portal.store.business_hours": "营业时间",
"merchant.portal.store.min_price": "起送价",
};
+4
View File
@@ -4,6 +4,10 @@ export default {
"merchant.store.id": "ID",
"merchant.store.user_id": "所属用户",
"merchant.store.user_id.required": "所属用户不能为空",
"merchant.store.username": "登录用户名",
"merchant.store.username.required": "登录用户名不能为空",
"merchant.store.password": "登录密码",
"merchant.store.password.required": "登录密码不能少于6位",
"merchant.store.category_id": "商户分类",
"merchant.store.name": "店铺名称",
"merchant.store.name.required": "店铺名称不能为空",