Commit 18f0135e authored by chenwei's avatar chenwei

Merge branch 'feature' of http://110.41.143.128:8081/lanbaoming/jiedao-web-master into feature

parents f6cbc123 b1fff316
...@@ -26,3 +26,22 @@ export function integralActivityList(data) { ...@@ -26,3 +26,22 @@ export function integralActivityList(data) {
data data
}) })
} }
// 获取会员信息
export function getMemberInfo(data) {
return request({
url: `/app-api/member/user-score/info?id=${data.id}`,
method: 'post',
data
})
}
// 获取活动详情
export function integralActivityDetail(data) {
return request({
url: '/app-api/member/score-rule/get',
method: 'post',
data
})
}
import request from '@/utils/request'
// 获取兑换日志列表
export function logList(data) {
return request({
url: '/app-api/member/user-score/log',
method: 'post',
data
})
}
export default { export default {
common: { common: {
success: "成功", success: '成功',
reload: "重置", reload: '重置',
search: "搜索", search: '搜索',
add: "新增", add: '新增',
update: "修改", update: '修改',
delete: "删除", delete: '删除',
save: "保存", save: '保存',
back: "返回", back: '返回',
action: "操作", action: '操作',
submit: "提交", submit: '提交',
cancel: "取消", cancel: '取消',
confirm: "确定", confirm: '确定',
newfile: "上传新附件", newfile: '上传新附件',
uploadnotice: "附件最多上传10个", uploadnotice: '附件最多上传10个',
uploadDeclaration: "上传报关资料", uploadDeclaration: '上传报关资料',
seeDeclaration: "查看报关资料", seeDeclaration: '查看报关资料',
deleteDeclaration: "是否确认删除附件?", deleteDeclaration: '是否确认删除附件?',
passwordNotSame: "两次输入密码不一致", passwordNotSame: '两次输入密码不一致',
submitSuccess: "提交成功", submitSuccess: '提交成功',
returnIndex: "返回首页", returnIndex: '返回首页',
close: "关闭", close: '关闭'
}, },
route: { route: {
dashboard: "首页", dashboard: '首页',
profile: "个人中心", profile: '个人中心',
setting: "个人设置", setting: '个人设置',
advice: "咨询建议", advice: '咨询建议',
help: "帮助", help: '帮助',
message: "消息列表", message: '消息列表',
messagedetail: "消息详情", messagedetail: '消息详情',
notice: "公告列表", notice: '公告列表',
noticedetail: "公告详情", noticedetail: '公告详情',
bannerdetail: "轮播图详情", bannerdetail: '轮播图详情',
coupons: "我的优惠卷", coupons: '我的优惠卷',
integral: "我的积分", integral: '我的积分',
customer: "我的客户", customer: '我的客户',
supplier: "我的供应商", supplier: '我的供应商',
ecash: "汇率查询", ecash: '汇率查询',
delivery: "我要发货", delivery: '我要发货',
controlorder: "控货订单", controlorder: '控货订单',
waitmoneyorder: "待结款订单", waitmoneyorder: '待结款订单',
receivedorder: "收到订单", receivedorder: '收到订单',
postorder: "发出订单", postorder: '发出订单',
orderdetail: "订单详情", orderdetail: '订单详情',
price: "价格查询", price: '价格查询',
logistics: "物流状态", logistics: '物流状态',
abnormal: "异常处理", abnormal: '异常处理',
idcard: "实名认证", idcard: '实名认证',
deliverysuccess: "下单成功", deliverysuccess: '下单成功'
}, },
login: { login: {
title: "登录", title: '登录',
logIn: "登录", logIn: '登录',
username: "账号", username: '账号',
password: "密码", password: '密码',
forget: "忘记密码", forget: '忘记密码',
mobile: "手机号", mobile: '手机号',
code: "验证码", code: '验证码',
type: "登录方式", type: '登录方式',
getCode: "获取验证码", getCode: '获取验证码',
userLogin: "密码登录", userLogin: '密码登录',
mobileLogin: "手机验证登录", mobileLogin: '手机验证登录',
registered: "没有账号?立即注册>>", registered: '没有账号?立即注册>>',
bgTitle1: "捷道货运", bgTitle1: '捷道货运',
bgTitle2: "会员权益介绍", bgTitle2: '会员权益介绍',
bgTitle3: "积分奖励,电子运单专享特权", bgTitle3: '积分奖励,电子运单专享特权',
bgTitle4: "物流信息管理,订单分明", bgTitle4: '物流信息管理,订单分明',
bgTitle5: "更多资讯,时刻掌握物流时效动态", bgTitle5: '更多资讯,时刻掌握物流时效动态',
bgTitle6: "运单电子化,随时随地管理查看", bgTitle6: '运单电子化,随时随地管理查看',
bgTitle7: "自动控货、放货、安全、及时", bgTitle7: '自动控货、放货、安全、及时',
bgTitle8: "数据统计,助你业务发展", bgTitle8: '数据统计,助你业务发展',
mobileRules: "手机号不能为空", mobileRules: '手机号不能为空',
codeRules: "验证码不能为空", codeRules: '验证码不能为空',
nameRules: "账号不能为空", nameRules: '账号不能为空',
passwordRules: "密码不能为空", passwordRules: '密码不能为空',
nameEnRules: "英文名称不能为空", nameEnRules: '英文名称不能为空',
confirmPwdRules: "确认密码不能为空", confirmPwdRules: '确认密码不能为空'
}, },
myInfo: { myInfo: {
info: "个人信息", info: '个人信息',
nameNotice: "请输入姓名", nameNotice: '请输入姓名',
name: "姓名", name: '姓名',
nameEn: "英文名", nameEn: '英文名',
nameEnNotice: "请输入英文姓名", nameEnNotice: '请输入英文姓名',
birth: "生日", birth: '生日',
sex: "性别", sex: '性别',
phone: "电话", phone: '电话',
adderss: "地址", adderss: '地址',
department: "部门", department: '部门',
job: "岗位", job: '岗位',
edit: "修改", edit: '修改',
girl: "", girl: '',
boy: "", boy: '',
secret: "保密", secret: '保密',
country: "国家", country: '国家',
city: "城市", city: '城市'
}, },
notices: { notices: {
name: "请输入姓名", name: '请输入姓名',
adderss: "请输入地址", adderss: '请输入地址',
nameEn: "请输入英文名", nameEn: '请输入英文名',
birthday: "请选择生日日期", birthday: '请选择生日日期',
noData: "暂无数据", noData: '暂无数据',
Idcode: "请输入证件号码", Idcode: '请输入证件号码',
gender: "请选择性别", gender: '请选择性别',
Idtype: "请选择证件类型", Idtype: '请选择证件类型',
Id1: "请上传证件正面照", Id1: '请上传证件正面照',
Id2: "请上传证件反面照", Id2: '请上传证件反面照',
success: "提交成功", success: '提交成功',
loading: "上传中..", loading: '上传中..',
newPhone: "请输入您的新手机号", newPhone: '请输入您的新手机号',
edited: "修改成功", edited: '修改成功',
company: "请输入公司名称", company: '请输入公司名称',
companyEn: "请输入公司英文名", companyEn: '请输入公司英文名',
addressCom: "请输入公司地址", addressCom: '请输入公司地址',
remark: "请输入公司简介", remark: '请输入公司简介',
web: "请输入公司官网", web: '请输入公司官网',
stall: "请输入档口", stall: '请输入档口',
brand: "请输入公司品牌", brand: '请输入公司品牌',
title: "请输入标题", title: '请输入标题',
orderNo: "请输入订单号", orderNo: '请输入订单号',
content: "请输入内容", content: '请输入内容',
type: "请选择类型", type: '请选择类型',
please: "请选择", please: '请选择',
lined: "请选择线路", lined: '请选择线路',
numbers: "请输入商品的快递单号,多个用(,)隔开", numbers: '请输入商品的快递单号,多个用(,)隔开',
clearRemark: "请输入清关证书备注", clearRemark: '请输入清关证书备注',
specialNote: "请输入特需备注", specialNote: '请输入特需备注',
marks: "请输入唛头,以字母开头", marks: '请输入唛头,以字母开头',
addressInfo: "请输入收货详细地址", addressInfo: '请输入收货详细地址',
link: "请输入商品链接", link: '请输入商品链接',
names: "请输入名称", names: '请输入名称',
transport: "请选择运输方式", transport: '请选择运输方式',
channel: "请选择出货渠道", channel: '请选择出货渠道',
startCity: "请选择始发地", startCity: '请选择始发地',
endCity: "请选择目的地", endCity: '请选择目的地',
marksIn: "请输入唛头", marksIn: '请输入唛头',
marksNum: "唛头不能以数字开头", marksNum: '唛头不能以数字开头',
customsType: "请选择单证报关", customsType: '请选择单证报关',
date: "请选择送货日期", date: '请选择送货日期',
consignorType: "请选择收货方式", consignorType: '请选择收货方式',
levite: "请选择入仓类型", levite: '请选择入仓类型',
consignee: "请输入收货人姓名", consignee: '请输入收货人姓名',
consigneePhone: "请输入收货人电话", consigneePhone: '请输入收货人电话',
foreignConsignee: "非控货只能选择国外收货人", foreignConsignee: '非控货只能选择国外收货人',
consigneeEmail: "请输入收货人邮箱", consigneeEmail: '请输入收货人邮箱',
noEmail: "邮箱格式不对", noEmail: '邮箱格式不对',
creat: "创建成功", creat: '创建成功',
shopname: "请选择商品名", shopname: '请选择商品名',
isBrand: "请选择有无品牌", isBrand: '请选择有无品牌',
num: "请输入件数", num: '请输入件数',
unit: "请选择单位", unit: '请选择单位',
number: "请输入数量", number: '请输入数量',
works: "请输入货值", works: '请输入货值',
add: "添加成功", add: '添加成功',
delete: "确定删除商品吗", delete: '确定删除商品吗',
notice: "提示", notice: '提示',
newEmail: "请输入新邮箱地址", newEmail: '请输入新邮箱地址',
email: "请输入邮箱", email: '请输入邮箱',
bind: "绑定成功", bind: '绑定成功',
phone: "请输入您的手机号", phone: '请输入您的手机号',
password: "请输入您的密码", password: '请输入您的密码',
code: "请输入验证码", code: '请输入验证码',
chooseService: "请勾选服务协议", chooseService: '请勾选服务协议',
oldPsd: "请输入旧密码", oldPsd: '请输入旧密码',
numPsd: "密码由6~32位英文字母和数字组成", numPsd: '密码由6~32位英文字母和数字组成',
newPsd: "请输入新密码", newPsd: '请输入新密码',
nextPsd: "请再次确认密码", nextPsd: '请再次确认密码',
read: "我已仔细阅读并同意", read: '我已仔细阅读并同意',
service: "用户服务协议", service: '用户服务协议',
contact: "遇到问题?您可以联系客服", contact: '遇到问题?您可以联系客服',
psd6: "密码不能少于6位", psd6: '密码不能少于6位',
different: "两次输入的密码不一致", different: '两次输入的密码不一致',
nickName: "请输入昵称", nickName: '请输入昵称',
contactPhone: "请输入联系电话", contactPhone: '请输入联系电话',
address: "请输入地址", address: '请输入地址',
department: "请输入部门", department: '请输入部门',
job: "请输入工作职位", job: '请输入工作职位',
moreKey: "订单号,提单号,唛头或收货人姓名电话", moreKey: '订单号,提单号,唛头或收货人姓名电话',
reason: "请告知我们您的退仓原因", reason: '请告知我们您的退仓原因',
sum: "请输入箱数", sum: '请输入箱数',
note: "请输入备注", note: '请输入备注',
oldControl: "请输入原控货人", oldControl: '请输入原控货人',
newControl: "请输入新控货人", newControl: '请输入新控货人',
deleteSuccess: "删除成功", deleteSuccess: '删除成功',
cancel: "取消成功", cancel: '取消成功',
delOrder: "确定删除订单吗", delOrder: '确定删除订单吗',
cancelOrder: "确定取消订单吗", cancelOrder: '确定取消订单吗',
weight: "请输入货物重量", weight: '请输入货物重量',
goodsSum: "请输入货物总数量", goodsSum: '请输入货物总数量',
operation: "操作成功", operation: '操作成功',
openError: "打开文件失败", openError: '打开文件失败',
noLined: "无可用线路", noLined: '无可用线路',
height: "请输入货物高度", height: '请输入货物高度',
wide: "请输入货物宽度", wide: '请输入货物宽度',
long: "请输入货物长度", long: '请输入货物长度',
nophone: "手机格式不对", nophone: '手机格式不对',
conNotice: "放货箱数不能大于可放货箱数", conNotice: '放货箱数不能大于可放货箱数',
newControlTel: "请输入新控货人电话", newControlTel: '请输入新控货人电话',
opening: "正在打开", opening: '正在打开',
volume: "请输入体积", volume: '请输入体积',
intNotice1: "件数必须大于0且必须是整数", intNotice1: '件数必须大于0且必须是整数',
intNotice2: "数量必须大于0且必须是整数", intNotice2: '数量必须大于0且必须是整数',
intNotice3: "体积必须大于0", intNotice3: '体积必须大于0',
intNotice4: "重量必须大于0", intNotice4: '重量必须大于0',
intNotice5: "货值必须大于0", intNotice5: '货值必须大于0',
easyPass: "您的密码过于简单,请前往修改密码", easyPass: '您的密码过于简单,请前往修改密码',
update: "立即更新", update: '立即更新',
close: "关闭弹窗", close: '关闭弹窗',
newVersion: "新版本更新", newVersion: '新版本更新',
nowVersion: "当前版本号", nowVersion: '当前版本号',
newVersions: "有新版本可更新", newVersions: '有新版本可更新',
nowNews: "当前已是最新版本", nowNews: '当前已是最新版本',
startDown: "下载中...", startDown: '下载中...',
failDown: "安装失败,请稍候重试", failDown: '安装失败,请稍候重试',
contactKf: "联系客户", contactKf: '联系客户',
isClude: "订单包含不接受货物,请检查!", isClude: '订单包含不接受货物,请检查!',
keyWord: "请输入关键词", keyWord: '请输入关键词',
copySuccess: "复制成功", copySuccess: '复制成功',
copy: "一键复制", copy: '一键复制',
newfile: "上传新附件", newfile: '上传新附件',
upload: "下载", upload: '下载',
back: "返回", back: '返回',
upCustome: "上传报关资料", upCustome: '上传报关资料',
know: "我知道了", know: '我知道了',
openFile: "打开文件", openFile: '打开文件',
saveed: "文件已保存", saveed: '文件已保存',
deleteFile: "是否删除附件?", deleteFile: '是否删除附件?',
customsRefund: "报关退税,请备齐资料。", customsRefund: '报关退税,请备齐资料。',
nofile: "上传文件格式不对", nofile: '上传文件格式不对',
loading: "加载中......", loading: '加载中......',
country: "请选择国家", country: '请选择国家',
city: "请选择城市", city: '请选择城市',
fullAddress: "请输入详细地址", fullAddress: '请输入详细地址',
fullAddressLength: "最多输入100字", fullAddressLength: '最多输入100字',
delAddress: "确定删除地址吗?", delAddress: '确定删除地址吗?'
}, },
registered: { registered: {
title: "注册", title: '注册',
registered: "注册", registered: '注册',
code: "验证码", code: '验证码',
getCode: "获取验证码", getCode: '获取验证码',
mobile: "手机号", mobile: '手机号',
nameEn: "英文名称", nameEn: '英文名称',
password: "密码", password: '密码',
passwordPlaceholder: "密码由6-32位英文字母和数字组成", passwordPlaceholder: '密码由6-32位英文字母和数字组成',
confirmPwd: "确认密码", confirmPwd: '确认密码',
confirmPwdPlaceholder: "请再次确认密码", confirmPwdPlaceholder: '请再次确认密码',
referralCodePlaceholder: "请输入推荐码(非必填)", referralCodePlaceholder: '请输入推荐码(非必填)',
referralCode: "推荐码", referralCode: '推荐码',
weak: "", weak: '',
medium: "", medium: '',
strong: "", strong: '',
login: "已有账号?直接登录>>", login: '已有账号?直接登录>>',
forget: "忘记密码", forget: '忘记密码',
backLogin: "返回登录", backLogin: '返回登录',
update: "修 改", update: '修 改',
problem: "遇到问题?", problem: '遇到问题?',
contact: "您可以联系客服", contact: '您可以联系客服'
}, },
sidebar: { sidebar: {
userInfo: "账户信息", userInfo: '账户信息',
reload: "刷新", reload: '刷新',
logout: "退出登录>>", logout: '退出登录>>',
home: "首页", home: '首页',
controlOrder: "控货中订单", controlOrder: '控货中订单',
moneyOrder: "待结款订单", moneyOrder: '待结款订单',
notReadMessage: "未读短消息", notReadMessage: '未读短消息',
coupons: "我的优惠券", coupons: '我的优惠券',
delivery: "我要发货>>", delivery: '我要发货>>',
price: "价格查询>>", price: '价格查询>>',
myPanel: "我的面板", myPanel: '我的面板',
myOrder: "我的订单", myOrder: '我的订单',
myPost: "我发出的", myPost: '我发出的',
myReceivedo: "我收到的", myReceivedo: '我收到的',
controlManage: "控货管理", controlManage: '控货管理',
ecash: "汇率", ecash: '汇率',
customerManage: "客户管理", customerManage: '客户管理',
myCustomer: "我的客户", myCustomer: '我的客户',
mySupplier: "我的供应商", mySupplier: '我的供应商',
setting: "个人设置", setting: '个人设置',
help: "帮助", help: '帮助',
logistics: "物流查询", logistics: '物流查询',
service: "客户服务热线", service: '客户服务热线',
artificial: "人工服务时间", artificial: '人工服务时间',
focus: "关注", focus: '关注',
complaints: "投诉", complaints: '投诉',
consult: "咨询", consult: '咨询',
advice: "建议", advice: '建议',
onlineConsult: "在线咨询", onlineConsult: '在线咨询',
notice: "提示", notice: '提示',
cancel: "取消", cancel: '取消',
determine: "确定", determine: '确定',
realNameNotice1: realNameNotice1:
"根据国家公安部、安监总局等部门所有入仓货物需要“实名制”登记,请在系统后台进行实名制认证", '根据国家公安部、安监总局等部门所有入仓货物需要“实名制”登记,请在系统后台进行实名制认证',
realNameNotice2: "您提交的实名认证正在审核中,信息如下", realNameNotice2: '您提交的实名认证正在审核中,信息如下',
realNameNotice3: realNameNotice3:
"您提交的实名认证审核不通过,信息如下,请到个人设置中重新提交认证", '您提交的实名认证审核不通过,信息如下,请到个人设置中重新提交认证',
logoutNotice: "确定注销并退出系统吗?", logoutNotice: '确定注销并退出系统吗?',
transport: "选择运输方式", transport: '选择运输方式',
sea: "海运拼柜", sea: '海运拼柜',
airCargo: "空运专线", airCargo: '空运专线',
seaAir: "海空联运", seaAir: '海空联运'
}, },
profile: { profile: {
myPost: "我发出的订单", myPost: '我发出的订单',
myReceivedo: "我收到的订单", myReceivedo: '我收到的订单',
orderNo: "订单编号", orderNo: '订单编号',
transport: "运输方式", transport: '运输方式',
marks: "唛头", marks: '唛头',
status: "订单状态", status: '订单状态',
createTime: "下单时间", createTime: '下单时间',
viewMorePost: "查看更多发出订单>>", viewMorePost: '查看更多发出订单>>',
viewMoreReceivedo: "查看更多收到订单>>", viewMoreReceivedo: '查看更多收到订单>>',
notOrder: "暂无订单~", notOrder: '暂无订单~',
know: "知道了", know: '知道了'
}, },
setting: { setting: {
userInfo: "个人信息", userInfo: '个人信息',
nickname: "登录会员", nickname: '登录会员',
loginDate: "上次登录", loginDate: '上次登录',
advice: "若您的登录信息与实际不符,建议您及时", advice: '若您的登录信息与实际不符,建议您及时',
editPassword: "修改密码", editPassword: '修改密码',
baseInfo: "基本信息", baseInfo: '基本信息',
update: "修改", update: '修改',
cancel: "取消", cancel: '取消',
save: "保存", save: '保存',
name: "姓名", name: '姓名',
mobile: "电话", mobile: '电话',
jobPosition: "职位", jobPosition: '职位',
birthday: "生日", birthday: '生日',
englishName: "英文名", englishName: '英文名',
address: "地址", address: '地址',
gender: "性别", gender: '性别',
girl: "", girl: '',
male: "", male: '',
secret: "保密", secret: '保密',
department: "部门", department: '部门',
companyInfo: "公司信息", companyInfo: '公司信息',
companyName: "公司名称", companyName: '公司名称',
companyDesc: "公司简介", companyDesc: '公司简介',
companyStall: "档口", companyStall: '档口',
companyEnName: "英文名称", companyEnName: '英文名称',
companyAddress: "公司地址", companyAddress: '公司地址',
companyBand: "品牌", companyBand: '品牌',
companyWebsite: "公司官网", companyWebsite: '公司官网',
safetyVerificat: "安全验证", safetyVerificat: '安全验证',
bindMobile: "绑定手机", bindMobile: '绑定手机',
changePhone: "更换手机号", changePhone: '更换手机号',
removePhone: "解除绑定", removePhone: '解除绑定',
bindEmail: "绑定邮箱", bindEmail: '绑定邮箱',
ImmediatelyBind: "立即绑定", ImmediatelyBind: '立即绑定',
realName: "实名认证", realName: '实名认证',
ImmediatelyrealName: "立即认证", ImmediatelyrealName: '立即认证',
passwork: "密码设置", passwork: '密码设置',
passworkNotice: "登陆后修改您的捷道密码", passworkNotice: '登陆后修改您的捷道密码',
passworkUpdate: "修改密码", passworkUpdate: '修改密码',
passworkInit: "初始化密码", passworkInit: '初始化密码',
passworkNew: "新密码", passworkNew: '新密码',
passworkNewRules: "新密码不能为空", passworkNewRules: '新密码不能为空',
passworkNewNotice: "请输入新密码", passworkNewNotice: '请输入新密码',
comfirmNewPasswork: "确认新密码", comfirmNewPasswork: '确认新密码',
comfirmNewPassworkRules: "确认新密码不能为空", comfirmNewPassworkRules: '确认新密码不能为空',
comfirmNewPassworkNotice: "请再次输入新密码", comfirmNewPassworkNotice: '请再次输入新密码',
reset: "重置", reset: '重置',
determine: "确定", determine: '确定',
passworkOld: "旧密码", passworkOld: '旧密码',
passworkOldRules: "旧密码不能为空", passworkOldRules: '旧密码不能为空',
passworkOldotice: "请输入旧密码", passworkOldotice: '请输入旧密码',
oldMobile: "原绑定手机号", oldMobile: '原绑定手机号',
oldMobileRules: "原绑定手机号不能为空", oldMobileRules: '原绑定手机号不能为空',
oldMobileNotice: "请输入原绑定手机号", oldMobileNotice: '请输入原绑定手机号',
passwork1: "密码", passwork1: '密码',
passworkRules1: "密码不能为空", passworkRules1: '密码不能为空',
passworkNotice1: "请输入密码", passworkNotice1: '请输入密码',
changeMobileRules: "电话必须为数字值", changeMobileRules: '电话必须为数字值',
newMobileNotice: "请输入更换手机号", newMobileNotice: '请输入更换手机号',
mobileCode: "手机验证码", mobileCode: '手机验证码',
mobileCodeRules: "验证码不能为空", mobileCodeRules: '验证码不能为空',
mobileCodeNotice: "请输入验证码", mobileCodeNotice: '请输入验证码',
getCode: "获取验证码", getCode: '获取验证码',
email: "邮箱地址", email: '邮箱地址',
emailRules: "邮箱地址不能为空", emailRules: '邮箱地址不能为空',
emailRules1: "请输入正确的邮箱格式", emailRules1: '请输入正确的邮箱格式',
emailNotice: "请输入邮箱地址", emailNotice: '请输入邮箱地址',
validate1: "请输入姓名", validate1: '请输入姓名',
validate2: "请输入手机", validate2: '请输入手机',
validate3: "请输入英文名", validate3: '请输入英文名',
validateCity: "请输入城市", validateCity: '请输入城市',
validateCountry: "请输入国家", validateCountry: '请输入国家',
saveButton: "请填写信息", saveButton: '请填写信息',
editPwdNotice: "请先初始化密码再进行此操作", editPwdNotice: '请先初始化密码再进行此操作',
initPwdNotice: "请确保两次密码输入一致", initPwdNotice: '请确保两次密码输入一致',
companyWebsiteNotice: "请填写公司官网地址", companyWebsiteNotice: '请填写公司官网地址',
imgType: "文件格式错误,请上传图片类型,如:JPG,PNG后缀的文件。", imgType: '文件格式错误,请上传图片类型,如:JPG,PNG后缀的文件。',
fileType: fileType:
"文件格式错误,请上传:JPG,PNG,DOC,xls,ppt,txt.pdf,jpen,docx,xlsx后缀的文件。", '文件格式错误,请上传:JPG,PNG,DOC,xls,ppt,txt.pdf,jpen,docx,xlsx后缀的文件。',
setControlPassword: "设置控货密码", setControlPassword: '设置控货密码',
controlPassword: "控货密码", controlPassword: '控货密码',
confirmPassword: "确认密码", confirmPassword: '确认密码',
country: "国家", country: '国家',
city: "城市", city: '城市',
deliveryAddress: "收货地址", deliveryAddress: '收货地址',
add: "新增", add: '新增',
addAddress: "新增地址", addAddress: '新增地址',
editAddress: "编辑地址", editAddress: '编辑地址',
deliveryAddressInput: "请输入地址信息", deliveryAddressInput: '请输入地址信息'
}, },
realName: { realName: {
title: "实名认证", title: '实名认证',
name: "姓名", name: '姓名',
nameRules: "姓名不能为空", nameRules: '姓名不能为空',
nameNotice: "请输入姓名", nameNotice: '请输入姓名',
cardType: "证件类型", cardType: '证件类型',
cardTypeRules: "证件类型不能为空", cardTypeRules: '证件类型不能为空',
cardTypeNotice: "请选择证件类型", cardTypeNotice: '请选择证件类型',
cardNumber: "证件号码", cardNumber: '证件号码',
cardNumberRules: "证件号码不能为空", cardNumberRules: '证件号码不能为空',
cardNumberNotice: "请输入证件号码", cardNumberNotice: '请输入证件号码',
img1: "证件正面照", img1: '证件正面照',
imgRules1: "证件正面照不能为空", imgRules1: '证件正面照不能为空',
upload: "上传图片", upload: '上传图片',
img2: "证件背面照", img2: '证件背面照',
imgRules2: "证件背面照不能为空", imgRules2: '证件背面照不能为空',
status: "未认证", status: '未认证',
status0: "待审核", status0: '待审核',
status1: "审核中", status1: '审核中',
status2: "已认证", status2: '已认证',
status3: "审核不通过", status3: '审核不通过',
uploadNotice: "只能上传图片,且不超过20张", uploadNotice: '只能上传图片,且不超过20张'
}, },
abnormal: { abnormal: {
none: "", none: '',
header: "查看", header: '查看',
marks: "唛头", marks: '唛头',
sumNum: "已到箱数/总箱数", sumNum: '已到箱数/总箱数',
orderStatus: "订单状态", orderStatus: '订单状态',
deliveryDate: "送货日期", deliveryDate: '送货日期',
transport: "运输方式", transport: '运输方式',
startTitle: "始发地", startTitle: '始发地',
destTitle: "目的地", destTitle: '目的地',
consignorName: "发货人", consignorName: '发货人',
consignorCompany: "发货公司", consignorCompany: '发货公司',
consignorPhone: "发货电话", consignorPhone: '发货电话',
consigneeName: "收货人", consigneeName: '收货人',
consigneeCompany: "收货公司", consigneeCompany: '收货公司',
consigneePhone: "收货电话", consigneePhone: '收货电话',
header1: "问题详情", header1: '问题详情',
index: "序号", index: '序号',
orderExceptionType: "异常类型", orderExceptionType: '异常类型',
orderExceptionDesc: "异常描述", orderExceptionDesc: '异常描述',
orderExceptionAmount: "金额", orderExceptionAmount: '金额',
status: "状态", status: '状态',
filelist: "附件", filelist: '附件',
userName: "处理人", userName: '处理人',
handlerTime: "处理时间", handlerTime: '处理时间',
finish: "已完成", finish: '已完成',
deal: "处理", deal: '处理',
dealAbnormal: "处理异常", dealAbnormal: '处理异常'
}, },
consult: { consult: {
consult: "咨询建议", consult: '咨询建议',
title: "标题", title: '标题',
titleRules: "标题不能为空", titleRules: '标题不能为空',
titleNotice: "请输入咨询建议标题", titleNotice: '请输入咨询建议标题',
name: "联系人", name: '联系人',
nameRules: "联系人不能为空", nameRules: '联系人不能为空',
nameNotice: "请输入联系人", nameNotice: '请输入联系人',
type: "类型", type: '类型',
type2: "建议", type2: '建议',
type1: "咨询", type1: '咨询',
phone: "联系电话", phone: '联系电话',
phoneRules: "联系电话不能为空", phoneRules: '联系电话不能为空',
phoneNotice: "请输入联系电话", phoneNotice: '请输入联系电话',
orderCode: "订单号", orderCode: '订单号',
orderCodeRules: "请输入订单号", orderCodeRules: '请输入订单号',
notice: "提示:若为固定电话需填写区号,且为纯数字", notice: '提示:若为固定电话需填写区号,且为纯数字',
content: "内容", content: '内容',
contentRules: "内容不能为空", contentRules: '内容不能为空',
contentNotice: "请输入咨询建议内容", contentNotice: '请输入咨询建议内容',
submit: "确认提交", submit: '确认提交',
record: "留言记录", record: '留言记录',
consultName: "留言人", consultName: '留言人',
createTime: "留言时间", createTime: '留言时间',
status: "状态", status: '状态',
status1: "待回复", status1: '待回复',
status2: "回复中", status2: '回复中',
status3: "已回复", status3: '已回复',
replyContent: "回复结果", replyContent: '回复结果',
replyTime: "回复时间", replyTime: '回复时间'
}, },
complaint: { complaint: {
complaint: "投诉", complaint: '投诉',
title: "标题", title: '标题',
titleRules: "标题不能为空", titleRules: '标题不能为空',
titleNotice: "请输入投诉标题", titleNotice: '请输入投诉标题',
name: "联系人", name: '联系人',
nameRules: "联系人不能为空", nameRules: '联系人不能为空',
nameNotice: "请输入联系人", nameNotice: '请输入联系人',
type: "类型", type: '类型',
typeRules: "类型不能为空", typeRules: '类型不能为空',
typeNotice: "请选择投诉类型", typeNotice: '请选择投诉类型',
phone: "联系电话", phone: '联系电话',
phoneRules: "联系电话不能为空", phoneRules: '联系电话不能为空',
phoneNotice: "请输入联系电话", phoneNotice: '请输入联系电话',
orderCode: "订单号", orderCode: '订单号',
orderCodeRules: "请输入订单号", orderCodeRules: '请输入订单号',
notice: "提示:若为固定电话需填写区号,且为纯数字", notice: '提示:若为固定电话需填写区号,且为纯数字',
content: "投诉内容", content: '投诉内容',
contentRules: "投诉内容不能为空", contentRules: '投诉内容不能为空',
contentNotice: "请输入投诉内容", contentNotice: '请输入投诉内容',
submit: "确认提交", submit: '确认提交',
record: "投诉记录", record: '投诉记录',
complaintName: "投诉人", complaintName: '投诉人',
createTime: "投诉时间", createTime: '投诉时间',
status: "投诉状态", status: '投诉状态',
status1: "待处理", status1: '待处理',
status2: "处理中", status2: '处理中',
status3: "已处理", status3: '已处理',
status4: "已取消", status4: '已取消',
replyContent: "处理结果", replyContent: '处理结果',
replyTime: "处理时间", replyTime: '处理时间'
}, },
bannerdetail: { bannerdetail: {
header: "轮播图详情", header: '轮播图详情',
title: "标题", title: '标题',
time: "创建时间", time: '创建时间'
}, },
controlorder: { controlorder: {
header: "控货管理", header: '控货管理',
transport: "运输方式", transport: '运输方式',
controlStatus: "控货状态", controlStatus: '控货状态',
orderNo: "订单编号", orderNo: '订单编号',
No: "编号", No: '编号',
NoRules: "请输入订单编号、提单号搜索", NoRules: '请输入订单编号、提单号搜索',
marks: "唛头", marks: '唛头',
marksRules: "请输入唛头", marksRules: '请输入唛头',
date: "日期筛选", date: '日期筛选',
start: "开始日期", start: '开始日期',
end: "结束日期", end: '结束日期',
status: "订单状态", status: '订单状态',
cargoControlStatus: "控货状态", cargoControlStatus: '控货状态',
createTime: "下单时间", createTime: '下单时间',
release: "放货", release: '放货',
transfer: "控货权转移", transfer: '控货权转移',
view: "查看", view: '查看'
}, },
orderdetail: { orderdetail: {
orderNo: "订单编号", orderNo: '订单编号',
deliveryDate: "送货时间", deliveryDate: '送货时间',
transport: "运输方式", transport: '运输方式',
channel: "出货渠道", channel: '出货渠道',
startTitle: "始发仓", startTitle: '始发仓',
destTitle: "目的仓", destTitle: '目的仓',
startAddress: "地址", startAddress: '地址',
consignorName: "发货人", consignorName: '发货人',
consignorCompany: "发货人公司名称", consignorCompany: '发货人公司名称',
consignorNameEn: "发货人英文名称", consignorNameEn: '发货人英文名称',
consignorCompanyEn: "发货人公司英文名称", consignorCompanyEn: '发货人公司英文名称',
consignorPhone: "发货人电话", consignorPhone: '发货人电话',
consignorEmail: "发货人邮箱", consignorEmail: '发货人邮箱',
consigneeName: "收货人", consigneeName: '收货人',
consigneeCompany: "收货人公司名称", consigneeCompany: '收货人公司名称',
consigneeNameEn: "收货人英文名称", consigneeNameEn: '收货人英文名称',
consigneeCompanyEn: "收货人公司英文名称", consigneeCompanyEn: '收货人公司英文名称',
consigneeEmail: "收货人邮箱", consigneeEmail: '收货人邮箱',
consigneePhone: "收货人电话", consigneePhone: '收货人电话',
marks: "唛头", marks: '唛头',
isCargoControl: "是否控货", isCargoControl: '是否控货',
baseInfo: "基础信息", baseInfo: '基础信息',
transportInfo: "物流信息", transportInfo: '物流信息',
costVO: "填单信息", costVO: '填单信息',
box: "", box: '',
is: "", is: '',
no: "", no: '',
warehouseNum: "仓库实测", warehouseNum: '仓库实测',
entry: "收款数据", entry: '收款数据',
warehouseType: "入仓类型", warehouseType: '入仓类型',
customsType: "单证报关", customsType: '单证报关',
isCollection: "代收货款", isCollection: '代收货款',
activeFirst: "货物详情", activeFirst: '货物详情',
activeSecond: "订单动态", activeSecond: '订单动态',
activeThree: "运单资料/提货单", activeThree: '运单资料/提货单',
prodTitleZh: "中文品名", prodTitleZh: '中文品名',
prodTitleEn: "英文品名", prodTitleEn: '英文品名',
brand: "品牌", brand: '品牌',
num: "填单件数", num: '填单件数',
sumNum: "入仓件数", sumNum: '入仓件数',
unit: "单位", unit: '单位',
worth: "货值", worth: '货值',
material: "材质", material: '材质',
volume: "体积(m3)", volume: '体积(m3)',
weight: "重量(kg)", weight: '重量(kg)',
noData: "暂无数据", noData: '暂无数据',
notOrderData: "暂无订单动态数据", notOrderData: '暂无订单动态数据',
showWarehouseReceipt: "查看入仓单", showWarehouseReceipt: '查看入仓单',
showLadingBill: "查看提货单", showLadingBill: '查看提货单',
hiddenText: "隐藏", hiddenText: '隐藏',
showText: "展示", showText: '展示',
transInfo: "运输信息", transInfo: '运输信息'
}, },
customer: { customer: {
none: "", none: '',
customer: "我的客户", customer: '我的客户',
group: "分组管理", group: '分组管理',
grouping: "分组", grouping: '分组',
name: "姓名", name: '姓名',
nameEn: "姓名(英文)", nameEn: '姓名(英文)',
nameRules: "姓名不能为空", nameRules: '姓名不能为空',
nameNotice: "请输入姓名", nameNotice: '请输入姓名',
company: "公司名称", company: '公司名称',
companyEn: "公司名称(英文)", companyEn: '公司名称(英文)',
companyRules: "公司名称不能为空", companyRules: '公司名称不能为空',
companyNotice: "请输入公司名称", companyNotice: '请输入公司名称',
phone: "联系电话", phone: '联系电话',
phoneRules1: "联系电话不能为空", phoneRules1: '联系电话不能为空',
phoneRules2: "电话必须为数字值", phoneRules2: '电话必须为数字值',
dialCode: "国家区号不能为空", dialCode: '国家区号不能为空',
phoneNotice: "请输入联系电话", phoneNotice: '请输入联系电话',
index: "序号", index: '序号',
createTime: "添加时间", createTime: '添加时间',
maitou: "唛头", maitou: '唛头',
maitouNotice: "请输入唛头", maitouNotice: '请输入唛头',
groupBy: "所属分组", groupBy: '所属分组',
email: "电子邮箱", email: '电子邮箱',
emailNotice: "请输入电子邮箱", emailNotice: '请输入电子邮箱',
address: "详细地址", address: '详细地址',
addressNotice: "请输入详细地址", addressNotice: '请输入详细地址',
addCustomer: "添加客户", addCustomer: '添加客户',
updateCustomer: "修改客户", updateCustomer: '修改客户',
deleteCustomer: "是否确认删除客户?", deleteCustomer: '是否确认删除客户?',
submit: "确 定", submit: '确 定',
cancel: "取 消", cancel: '取 消',
groupTitle: "分组名称", groupTitle: '分组名称',
groupTitleRules: "分组名称", groupTitleRules: '分组名称',
groupTitleNotice: "分组名称不能为空", groupTitleNotice: '分组名称不能为空',
groupBeizhu: "分组备注", groupBeizhu: '分组备注',
groupAorder: "分组排序", groupAorder: '分组排序',
groupAorderNotice: "请输入分组排序", groupAorderNotice: '请输入分组排序',
beizhu: "备注信息", beizhu: '备注信息',
beizhuNotice: "请输入备注信息", beizhuNotice: '请输入备注信息',
addGroup: "请输入备注信息", addGroup: '请输入备注信息',
updateGroup: "请输入备注信息", updateGroup: '请输入备注信息',
deleteGroup: "是否确认删除分组?", deleteGroup: '是否确认删除分组?',
default: "默认", default: '默认',
yes: "", yes: '',
no: "", no: ''
}, },
ecash: { ecash: {
time: "有效时间", time: '有效时间',
bj: "中国", bj: '中国',
nrly: "尼日利亚", nrly: '尼日利亚'
}, },
message: { message: {
title: "我的消息(站内信)", title: '我的消息(站内信)',
notTatal1: "站内信", notTatal1: '站内信',
notTatal2: "条未读", notTatal2: '条未读',
read: "已读", read: '已读',
unread: "未读", unread: '未读'
}, },
messagedetail: { messagedetail: {
header: "消息详情", header: '消息详情',
title: "标题", title: '标题',
type: "消息分类", type: '消息分类',
createTime: "创建时间", createTime: '创建时间',
type1: "订单消息", type1: '订单消息',
type2: "出货消息", type2: '出货消息',
type3: "提醒消息", type3: '提醒消息'
}, },
notice: { notice: {
header: "公告消息", header: '公告消息'
}, },
postorder: { postorder: {
header: "发出订单", header: '发出订单',
transport: "运输方式", transport: '运输方式',
orderNo: "订单编号", orderNo: '订单编号',
orderNoRules: "请输入订单编号", orderNoRules: '请输入订单编号',
marks: "唛头", marks: '唛头',
marksRules: "请输入唛头", marksRules: '请输入唛头',
date: "日期筛选", date: '日期筛选',
start: "开始日期", start: '开始日期',
end: "结束日期", end: '结束日期',
status: "订单状态", status: '订单状态',
cargoControlStatus: "控货状态", cargoControlStatus: '控货状态',
createTime: "下单时间", createTime: '下单时间',
refundWarehouse: "申请退仓", refundWarehouse: '申请退仓',
abnormal: "处理", abnormal: '处理',
edit: "编辑", edit: '编辑',
cancel: "取消订单", cancel: '取消订单',
refundOrderNo: "退仓订单号", refundOrderNo: '退仓订单号',
refundReason: "退仓原因", refundReason: '退仓原因',
refundReasonNotice: "请输入退仓原因", refundReasonNotice: '请输入退仓原因',
submitRefund: "确定退仓", submitRefund: '确定退仓',
noRefund: "不,再考虑考虑", noRefund: '不,再考虑考虑',
confirm: "确定要取消此订单么?", confirm: '确定要取消此订单么?',
refundImg: "退仓图片", refundImg: '退仓图片',
refundWarehouseSuccess: "申请退仓成功", refundWarehouseSuccess: '申请退仓成功'
}, },
prepayDeal: { prepayDeal: {
orderNo: "订单号:", orderNo: '订单号:',
box: "", box: '',
prodTitleZh: "产品名称:", prodTitleZh: '产品名称:',
prodTitleEn: "英文名称:", prodTitleEn: '英文名称:',
transport: "运输路线:", transport: '运输路线:',
costVO: "填单参数:", costVO: '填单参数:',
warehouseNum: "入仓参数:", warehouseNum: '入仓参数:',
abnormal: "异常描述:", abnormal: '异常描述:',
add: "新增收款单", add: '新增收款单',
brand: "品牌", brand: '品牌',
proName: "品名", proName: '品名',
boxNum: "箱数", boxNum: '箱数',
volumeWeight: "体积/重量", volumeWeight: '体积/重量',
payType: "收款类型", payType: '收款类型',
feeType: "收入类型", feeType: '收入类型',
consigneeName: "收货人", consigneeName: '收货人',
paystatus: "付款状态", paystatus: '付款状态',
costVOBox: "填单箱数", costVOBox: '填单箱数',
cartonsNum: "入仓箱数", cartonsNum: '入仓箱数',
volume: "方数", volume: '方数',
weight: "重量", weight: '重量',
quantity: "数量", quantity: '数量',
worth: "货值", worth: '货值',
result: "处理结果:", result: '处理结果:',
remark: "备注:", remark: '备注:',
customsData: "报关资料:", customsData: '报关资料:',
content: "详细内容:", content: '详细内容:',
status: "状态:", status: '状态:',
cause: "*查明原因:", cause: '*查明原因:',
none: "", none: '',
prepaid: "预付", prepaid: '预付',
shouldMoney: "应收金额", shouldMoney: '应收金额',
dollar: "总金额美元", dollar: '总金额美元',
rmb: "总金额RMB", rmb: '总金额RMB',
actualMoney: "实收金额", actualMoney: '实收金额',
drawee: "付款人", drawee: '付款人',
payable: "应付金额:", payable: '应付金额:',
verificationMoney: "核销金额:", verificationMoney: '核销金额:',
verificationRatio: "核销比例:", verificationRatio: '核销比例:',
submit: "转交", submit: '转交',
from: " 从【", from: ' 从【',
to: "】发往【", to: '】发往【'
}, },
weightDeal: { weightDeal: {
view: "查看", view: '查看',
marks: "唛头", marks: '唛头',
costVO: "已到箱数/总箱数", costVO: '已到箱数/总箱数',
status: "订单状态", status: '订单状态',
inTime: "送货日期", inTime: '送货日期',
transport: "运输方式", transport: '运输方式',
start: "始发地", start: '始发地',
dest: "目的地", dest: '目的地',
consignorName: "发货人", consignorName: '发货人',
consignorCompany: "发货公司", consignorCompany: '发货公司',
consignorPhone: "发货电话", consignorPhone: '发货电话',
consigneeName: "收货人", consigneeName: '收货人',
consigneeCompany: "收货公司", consigneeCompany: '收货公司',
consigneePhone: "收货电话", consigneePhone: '收货电话',
goods: "货物信息", goods: '货物信息',
index: "序号", index: '序号',
proName: "品名", proName: '品名',
orderGoods: "填单货物信息", orderGoods: '填单货物信息',
brand: "品牌", brand: '品牌',
num: "箱数", num: '箱数',
volume: "体积", volume: '体积',
weight: "重量", weight: '重量',
putGoods: "入库货物属性", putGoods: '入库货物属性',
unit: "规格", unit: '规格',
ss: "重货方数", ss: '重货方数',
vweight: "泡货重量", vweight: '泡货重量',
handlerTime: "最后操作时间", handlerTime: '最后操作时间',
general: "设为普货", general: '设为普货',
process: "同意重货", process: '同意重货',
pao: "同意泡货", pao: '同意泡货',
subtotal: "小计", subtotal: '小计',
sums2: "下单统计:", sums2: '下单统计:',
sums3: "入仓统计:", sums3: '入仓统计:',
box: "", box: '',
none: "", none: ''
}, },
price: { price: {
header: "价格查询", header: '价格查询',
departure: "始发地", departure: '始发地',
departureRules: "始发地必选", departureRules: '始发地必选',
departureNotice: "请选择始发地", departureNotice: '请选择始发地',
objective: "目的地", objective: '目的地',
objectiveRules: "目的城市必选", objectiveRules: '目的城市必选',
objectiveNotice: "请选择目的地", objectiveNotice: '请选择目的地',
prod: "商品名称", prod: '商品名称',
prodRules: "商品名称必选", prodRules: '商品名称必选',
transport: "运输方式", transport: '运输方式',
channel: "出货渠道", channel: '出货渠道',
num: "箱数", num: '箱数',
numRule1: "箱数不能为空", numRule1: '箱数不能为空',
numRule2: "箱数必须为正整数", numRule2: '箱数必须为正整数',
box: "", box: '',
quantity: "总数量", quantity: '总数量',
quantityRule1: "总数量不能为空", quantityRule1: '总数量不能为空',
quantityRule2: "总数量必须为正整数", quantityRule2: '总数量必须为正整数',
one: "", one: '',
weight: "货物重量", weight: '货物重量',
weightRule1: "重量不能为空", weightRule1: '重量不能为空',
weightRule2: "货物重量必须为正数,且最多保留两位小数", weightRule2: '货物重量必须为正数,且最多保留两位小数',
long: "", long: '',
longRule1: "长不能为空", longRule1: '长不能为空',
longRule2: "长必须为正数,且最多保留两位小数", longRule2: '长必须为正数,且最多保留两位小数',
wide: "", wide: '',
wideRule1: "宽不能为空", wideRule1: '宽不能为空',
wideRule2: "宽必须为正数,且最多保留两位小数", wideRule2: '宽必须为正数,且最多保留两位小数',
high: "", high: '',
highRule1: "高不能为空", highRule1: '高不能为空',
highRule2: "高必须为正数,且最多保留两位小数", highRule2: '高必须为正数,且最多保留两位小数',
seaFreight: "运费", seaFreight: '运费',
none: "未报价", none: '未报价',
clearanceFreight: "清关费", clearanceFreight: '清关费',
startTitle: "始发仓", startTitle: '始发仓',
destTitle: "目的仓", destTitle: '目的仓',
estimatedSales: "预估费用", estimatedSales: '预估费用',
notice: "温馨提醒", notice: '温馨提醒',
text: "<p>1、以上报价仅供参考,实际计费以装箱打包后的实重或轻泡体积重来计算。</p><p></p><p>2、请注意渠道的选择,不同的东西选择不同的渠道价格就不同。</p><p></p><p>3、报价不含目的地关税,不含偏远或超重超长费。</p><p></p><p>4、包裹赔偿方法:包裹在运输途中发生丢失,我司将会按照包裹购买价值原价赔偿,但最高赔偿为包裹USD100/票,若包裹价值比较昂贵的请自行购买保险。若出现外包装完好,但内件损坏,我司不予赔偿。若出现外包装破损,请在签收前立即开箱检查包裹,并向快递员取证,以便后期进行索赔。</p><p></p><p>5、本公司拒绝接收国家明令禁止的物品,如:易燃易爆品、毒品、刀具、枪支弹药及配件、淫秽、反动刊物等,若出现夹带被海关查获,由此产生的责任由客户自行承担!</p>", text: '<p>1、以上报价仅供参考,实际计费以装箱打包后的实重或轻泡体积重来计算。</p><p></p><p>2、请注意渠道的选择,不同的东西选择不同的渠道价格就不同。</p><p></p><p>3、报价不含目的地关税,不含偏远或超重超长费。</p><p></p><p>4、包裹赔偿方法:包裹在运输途中发生丢失,我司将会按照包裹购买价值原价赔偿,但最高赔偿为包裹USD100/票,若包裹价值比较昂贵的请自行购买保险。若出现外包装完好,但内件损坏,我司不予赔偿。若出现外包装破损,请在签收前立即开箱检查包裹,并向快递员取证,以便后期进行索赔。</p><p></p><p>5、本公司拒绝接收国家明令禁止的物品,如:易燃易爆品、毒品、刀具、枪支弹药及配件、淫秽、反动刊物等,若出现夹带被海关查获,由此产生的责任由客户自行承担!</p>'
}, },
receiveorder: { receiveorder: {
header: "收到订单", header: '收到订单',
transport: "运输方式", transport: '运输方式',
orderNo: "订单编号", orderNo: '订单编号',
orderNoRules: "请输入订单编号", orderNoRules: '请输入订单编号',
marks: "唛头", marks: '唛头',
marksRules: "请输入唛头", marksRules: '请输入唛头',
date: "日期筛选", date: '日期筛选',
start: "开始日期", start: '开始日期',
end: "结束日期", end: '结束日期',
status: "订单状态", status: '订单状态',
createTime: "下单时间", createTime: '下单时间'
}, },
supplier: { supplier: {
none: "", none: '',
supplier: "我的供应商", supplier: '我的供应商',
group: "分组管理", group: '分组管理',
grouping: "分组", grouping: '分组',
name: "姓名", name: '姓名',
nameRules: "姓名不能为空", nameRules: '姓名不能为空',
nameNotice: "请输入姓名", nameNotice: '请输入姓名',
company: "公司名称", company: '公司名称',
companyRules: "公司名称不能为空", companyRules: '公司名称不能为空',
companyNotice: "请输入公司名称", companyNotice: '请输入公司名称',
phone: "联系电话", phone: '联系电话',
phoneRules1: "联系电话不能为空", phoneRules1: '联系电话不能为空',
phoneRules2: "电话必须为数字值", phoneRules2: '电话必须为数字值',
dialCode: "国家区号不能为空", dialCode: '国家区号不能为空',
phoneNotice: "请输入联系电话", phoneNotice: '请输入联系电话',
index: "序号", index: '序号',
createTime: "添加时间", createTime: '添加时间',
maitou: "唛头", maitou: '唛头',
maitouNotice: "请输入唛头", maitouNotice: '请输入唛头',
groupBy: "所属分组", groupBy: '所属分组',
email: "电子邮箱", email: '电子邮箱',
emailNotice: "请输入电子邮箱", emailNotice: '请输入电子邮箱',
address: "详细地址", address: '详细地址',
addressNotice: "请输入详细地址", addressNotice: '请输入详细地址',
addSupplier: "添加供应商", addSupplier: '添加供应商',
updateSupplier: "修改供应商", updateSupplier: '修改供应商',
deleteSupplier: "是否确认删除供应商?", deleteSupplier: '是否确认删除供应商?',
submit: "确 定", submit: '确 定',
cancel: "取 消", cancel: '取 消',
groupTitle: "分组名称", groupTitle: '分组名称',
groupTitleRules: "分组名称", groupTitleRules: '分组名称',
groupTitleNotice: "分组名称不能为空", groupTitleNotice: '分组名称不能为空',
groupBeizhu: "分组备注", groupBeizhu: '分组备注',
groupAorder: "分组排序", groupAorder: '分组排序',
groupAorderNotice: "请输入分组排序", groupAorderNotice: '请输入分组排序',
beizhu: "备注信息", beizhu: '备注信息',
beizhuNotice: "请输入备注信息", beizhuNotice: '请输入备注信息',
addGroup: "请输入备注信息", addGroup: '请输入备注信息',
updateGroup: "请输入备注信息", updateGroup: '请输入备注信息',
deleteGroup: "是否确认删除分组?", deleteGroup: '是否确认删除分组?'
}, },
printLadingBill: { printLadingBill: {
loading: "加载中", loading: '加载中',
download: "下载", download: '下载',
print: "打印", print: '打印',
tidanNO: "提货单", tidanNO: '提货单',
lodop: "请检查LODOP打印控件是否安装并启动", lodop: '请检查LODOP打印控件是否安装并启动'
}, },
printWarehouseReceipt: { printWarehouseReceipt: {
orderNo: "订单号", orderNo: '订单号',
phone: "发货人电话", phone: '发货人电话',
address: "提货地点", address: '提货地点',
marks: "唛头", marks: '唛头',
prodTitle: "货物描述", prodTitle: '货物描述',
cartonsNum: "箱数", cartonsNum: '箱数',
boxGauge: "尺寸", boxGauge: '尺寸',
volume: "方数", volume: '方数',
weight: "重量", weight: '重量',
inTime: "入仓时间", inTime: '入仓时间',
text1: text1:
"1.控货成功标准:入仓3天内收到我司控货短信视为控货成功;否则视为不控货,如未收到请在2个工作日内与我司联系。", '1.控货成功标准:入仓3天内收到我司控货短信视为控货成功;否则视为不控货,如未收到请在2个工作日内与我司联系。',
text2: "2.如需保价赔付需在入仓3天内告知。", text2: '2.如需保价赔付需在入仓3天内告知。',
print: "去打印", print: '去打印',
comprint: "确定打印", comprint: '确定打印',
printNo: "打印入仓单", printNo: '打印入仓单',
lodop: "请检查LODOP打印控件是否安装并启动", lodop: '请检查LODOP打印控件是否安装并启动'
}, },
release: { release: {
orderNo: "订单号", orderNo: '订单号',
sumNum: "总箱数", sumNum: '总箱数',
sumVolume: "体积", sumVolume: '体积',
sumWeight: "重量", sumWeight: '重量',
sumConNum: "总控货箱数", sumConNum: '总控货箱数',
remainNum: "剩余放货箱数", remainNum: '剩余放货箱数',
releaseNotice: "请填写放货信息", releaseNotice: '请填写放货信息',
consigneeName: "收货人", consigneeName: '收货人',
consigneeNameRules: "请填写收货人", consigneeNameRules: '请填写收货人',
consigneeNameNotice: "请输入收货人", consigneeNameNotice: '请输入收货人',
consigneePhone: "收货人电话", consigneePhone: '收货人电话',
consigneePhoneNotice: "请输入收货人电话", consigneePhoneNotice: '请输入收货人电话',
consigneeEmail: "收货人邮箱", consigneeEmail: '收货人邮箱',
consigneeEmailNotice: "请输入收货人邮箱", consigneeEmailNotice: '请输入收货人邮箱',
conNum: "控货箱数", conNum: '控货箱数',
pickNum: "放货箱数", pickNum: '放货箱数',
pickVolume: "体积(m³)", pickVolume: '体积(m³)',
pickWeight: "重量(kg)", pickWeight: '重量(kg)',
remarks: "备注", remarks: '备注',
phone: "控货手机号", phone: '控货手机号',
phoneNotice: "请输入控货手机号", phoneNotice: '请输入控货手机号',
code: "手机验证码", code: '手机验证码',
deliverymode: "放货方式", deliverymode: '放货方式',
codeRules: "验证码不能为空", codeRules: '验证码不能为空',
codeNotice: "请输入手机验证码", codeNotice: '请输入手机验证码',
submit: "确认放货", submit: '确认放货',
close: "关闭", close: '关闭',
agree: "我同意", agree: '我同意',
release: "放货", release: '放货',
VerifyNotice: "*控货密码或手机验证码放货,二选一", VerifyNotice: '*控货密码或手机验证码放货,二选一',
releaseSuccess: "放货成功", releaseSuccess: '放货成功'
}, },
sendSmsCode: { sendSmsCode: {
send: "发送验证码", send: '发送验证码',
seconds: "", seconds: '',
again: "重新发送", again: '重新发送',
success: "发送成功", success: '发送成功'
}, },
transfer: { transfer: {
cargoControlName: "原控货人", cargoControlName: '原控货人',
cargoControlPhone: "原控货手机号", cargoControlPhone: '原控货手机号',
name: "新控货人", name: '新控货人',
nameRules: "控货人不能为空", nameRules: '控货人不能为空',
phone: "新控货手机号", phone: '新控货手机号',
phoneRules: "控货人手机不能为空", phoneRules: '控货人手机不能为空',
email: "新控货人邮箱", email: '新控货人邮箱',
code: "手机验证码", code: '手机验证码',
codeRules: "验证码不能为空", codeRules: '验证码不能为空',
submit: "确定转移", submit: '确定转移',
agree: "我同意", agree: '我同意',
close: "关闭", close: '关闭'
}, },
coupons: { coupons: {
status: "优惠状态", status: '优惠状态',
info: "暂无数据~", info: '暂无数据~'
}, },
delivery: { delivery: {
header: "我要发货", header: '我要发货',
orderType: "订单类型", orderType: '订单类型',
orderType1: "集运服务", orderType1: '集运服务',
orderType2: "海外仓", orderType2: '海外仓',
consigneeName: "收货人", consigneeName: '收货人',
consigneeNameNotice: "请输入收货人姓名", consigneeNameNotice: '请输入收货人姓名',
consigneeNameNoticeEn: "请输入收货人英文名称", consigneeNameNoticeEn: '请输入收货人英文名称',
openConsignee: "选择收货人", openConsignee: '选择收货人',
consigneePhone: "电话", consigneePhone: '电话',
consigneePhoneNotice: "请输入电话", consigneePhoneNotice: '请输入电话',
consigneeCompany: "收货人公司名称", consigneeCompany: '收货人公司名称',
consigneeCompanyNotice: "请输入公司名称", consigneeCompanyNotice: '请输入公司名称',
consigneeCompanyNoticeEn: "请输入公司英文名称", consigneeCompanyNoticeEn: '请输入公司英文名称',
emailNotice: "请输入邮箱", emailNotice: '请输入邮箱',
transport: "运输方式", transport: '运输方式',
transportNotice: "请选择运输方式", transportNotice: '请选择运输方式',
channel: "出货渠道", channel: '出货渠道',
channelNotice: "请选择出货渠道", channelNotice: '请选择出货渠道',
departure: "始发城市", departure: '始发城市',
departureRules: "始发城市必选", departureRules: '始发城市必选',
departureNotice: "请选择始发地", departureNotice: '请选择始发地',
objective: "目的城市", objective: '目的城市',
objectiveRules: "目的城市必选", objectiveRules: '目的城市必选',
objectiveNotice: "请选择目的地", objectiveNotice: '请选择目的地',
router: "请选择线路", router: '请选择线路',
routerNotice: "请在右侧选择线路", routerNotice: '请在右侧选择线路',
goods: "商品信息", goods: '商品信息',
addPro: "添加货物", addPro: '添加货物',
addPros: "批量添加货物", addPros: '批量添加货物',
index: "序号", index: '序号',
proZh: "中文品名", proZh: '中文品名',
proEn: "英文品名", proEn: '英文品名',
proRules: "请选择产品", proRules: '请选择产品',
brand: "品牌", brand: '品牌',
num: "件数", num: '件数',
unit: "包装单位", unit: '包装单位',
quantity: "数量", quantity: '数量',
volume: "体积", volume: '体积',
weight: "重量", weight: '重量',
worth: "货值", worth: '货值',
worthRules: "货值不能为空", worthRules: '货值不能为空',
prodAttrArr: "商品特性", prodAttrArr: '商品特性',
isPayAdvance: "是否预付", isPayAdvance: '是否预付',
link: "商品链接", link: '商品链接',
linkedit: "编辑商品链接", linkedit: '编辑商品链接',
linkadd: "添加商品链接", linkadd: '添加商品链接',
sum: "合计", sum: '合计',
totalNum: "总件数", totalNum: '总件数',
totalWorth: "总货值", totalWorth: '总货值',
insuranceFee: "保价费", insuranceFee: '保价费',
rmb: "", rmb: '',
dollar: "美元", dollar: '美元',
common: "通用", common: '通用',
marks: "唛头", marks: '唛头',
marksRules: "请输入唛头", marksRules: '请输入唛头',
marksRules1: "唛头首位必须为字母", marksRules1: '唛头首位必须为字母',
isCargoControl: "是否控货", isCargoControl: '是否控货',
isCollection: "是否代收货款", isCollection: '是否代收货款',
collectionProxy: "代收货款金额", collectionProxy: '代收货款金额',
customsType: "单证报关", customsType: '单证报关',
issuingMethod: "出单方式", issuingMethod: '出单方式',
deliveryDate: "送货日期", deliveryDate: '送货日期',
deliveryDateRules: "送货日期不能为空", deliveryDateRules: '送货日期不能为空',
warehouseType: "入仓类型", warehouseType: '入仓类型',
harvestMethod: "收货方式", harvestMethod: '收货方式',
deliveryaddress: "收货地区", deliveryaddress: '收货地区',
deliveryaddressRules: "收货地区不能为空", deliveryaddressRules: '收货地区不能为空',
addressdetail: "收货详细地址", addressdetail: '收货详细地址',
addressdetailRules: "收货详细地址不能为空", addressdetailRules: '收货详细地址不能为空',
drawee: "付款人", drawee: '付款人',
customDraweeList: "费用类型", customDraweeList: '费用类型',
number: "快递单号", number: '快递单号',
numberNotice: "请输入购买商品的快递单号", numberNotice: '请输入购买商品的快递单号',
getNumber: "生成单号", getNumber: '生成单号',
doubleClear: "是否双清", doubleClear: '是否双清',
airlineCompany: "航空公司", airlineCompany: '航空公司',
shippingCompany: "船公司", shippingCompany: '船公司',
customsClearCert: "清关证书", customsClearCert: '清关证书',
clearCertRemark: "清关证书备注", clearCertRemark: '清关证书备注',
isUnpack: "是否拆包", isUnpack: '是否拆包',
isSingleTicketTransport: "单票立刻转运", isSingleTicketTransport: '单票立刻转运',
notice: notice:
"注:若只有一件,货到仓库立即发,选“是”,多件需仓库集运待发,选“否”", '注:若只有一件,货到仓库立即发,选“是”,多件需仓库集运待发,选“否”',
packageType: "特殊要求", packageType: '特殊要求',
packageRemarks: "特殊要求备注", packageRemarks: '特殊要求备注',
select: "选择", select: '选择',
addCustomer: "新建收货人", addCustomer: '新建收货人',
batchImport: "批量导入", batchImport: '批量导入',
uoloadBox: "上传集装箱", uoloadBox: '上传集装箱',
startImport: "开始导入", startImport: '开始导入',
complete: "完成", complete: '完成',
upload: "点击上传", upload: '点击上传',
boxTpl: "装箱单模板", boxTpl: '装箱单模板',
material: "材质", material: '材质',
next: "下一步", next: '下一步',
none: "", none: '',
realName: "请先完成实名认证", realName: '请先完成实名认证',
linkRules: "请输入商品链接", linkRules: '请输入商品链接',
delPro: "确定删除此条内容么?", delPro: '确定删除此条内容么?',
isContainNotice: "订单包含不接受货物,请检查", isContainNotice: '订单包含不接受货物,请检查',
consignorConfirm: "请再次确认国际运费是否由您支付?", consignorConfirm: '请再次确认国际运费是否由您支付?',
isCargoControlNotice: isCargoControlNotice:
"是指由发货人与收货人约定在货物的国际运输过程中,我司作为第三方对该货物货权的控制;需由发货人授权我司放货的情况下收货人才能提取该票货物的一种交易方式", '是指由发货人与收货人约定在货物的国际运输过程中,我司作为第三方对该货物货权的控制;需由发货人授权我司放货的情况下收货人才能提取该票货物的一种交易方式',
customsTypeNotice: customsTypeNotice:
"我司全代 : 该货物的出口手续由我司代为办理 ; 自单代报: 该货物由发货人提供相关出口单证并委托我司代为办理 ;混单代报该货物有以上两种情况出现", '我司全代 : 该货物的出口手续由我司代为办理 ; 自单代报: 该货物由发货人提供相关出口单证并委托我司代为办理 ;混单代报该货物有以上两种情况出现',
packageTypeNotice: packageTypeNotice:
"如需我司打包,请勾选相应选项,费用付款人及打包要求可备注补充", '如需我司打包,请勾选相应选项,费用付款人及打包要求可备注补充'
}, },
deliverysuccess: { deliverysuccess: {
success: "新建订单成功", success: '新建订单成功',
orderNo: "您的订舱号", orderNo: '您的订舱号',
startAddress: "仓库地址", startAddress: '仓库地址',
startTell: "仓库电话", startTell: '仓库电话',
text: "您的订单已提交,谢谢您选择捷道物流!", text: '您的订单已提交,谢谢您选择捷道物流!',
delivery: "再来一单", delivery: '再来一单',
profile: "个人中心", profile: '个人中心',
detail: "查看订单", detail: '查看订单',
push: "入仓须知", push: '入仓须知',
notice: notice:
"为保证入仓数据准确性,入仓请带上一份装箱单(品名,件数,毛重,尺寸方数,是否有牌)", '为保证入仓数据准确性,入仓请带上一份装箱单(品名,件数,毛重,尺寸方数,是否有牌)',
products: "商品列表", products: '商品列表',
productCount: "总件数", productCount: '总件数',
copy: "复制订单信息", copy: '复制订单信息'
}, },
}; integral: {
headerTitle: '尊贵的',
spend: '已兑换积分为',
available: '可用积分为',
logPoints: '积分日志',
logExchange: '兑换日志',
redeemGifts: '兑换礼品',
pointsCampaign: '积分活动',
pointsTitle: '选择兑换网点',
pointsRemark: '不同网点兑换积分不同',
outlets: '请选择网点',
remainder: `剩余{value}份`,
orderMail: '确定订单',
code: '获取验证码',
codePlaceloader: '请输入验证码',
codeError: '验证码错误',
codeTimeText: '{value}秒后重新获取',
remark: '请输入备注',
submitOrder: '提交订单',
redeemType: '兑换方式',
activityTime: '活动时间',
textLength: '最多输入100字',
totalScore: '已选${value}件,合计积分:{total}积分',
totalScore1: '积分',
addAddress: '新增收货地址',
totalScoreError: '积分不足',
illustrate: '积分说明',
maxIntegral: '累计最高积分',
date: '有效期',
rulesIllustrate: '规则说明'
}
}
<template> <template>
<div class="integral-exchange"> <div class="integral-exchange">
<div class="header"> <div class="header">
<div class="text">选择兑换网点</div> <div class="text">{{ $t('integral.pointsTitle') }}</div>
<div class="red">不同网点兑换积分不同</div> <div class="red">{{ $t('integral.pointsRemark') }}</div>
</div> </div>
<div class="content"> <div class="content">
<!-- <div class="content-text">1、2、3</div> <!-- <div class="content-text">1、2、3</div>
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
class="cascader" class="cascader"
:options="nodeList" :options="nodeList"
clearable clearable
placeholder="请选择网点" :placeholder="$t('integral.outlets')"
/> />
</div> </div>
<div class="list"> <div class="list">
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
<div class="tag-text">{{ item.pointsRequire }}</div> <div class="tag-text">{{ item.pointsRequire }}</div>
</div> </div>
</div> </div>
<div class="foot-tag">{{ item.quantityRemain }}</div> <div class="foot-tag">{{ $t('integral.remainder',{value:item.quantityRemain}) }}</div>
</div> </div>
<div class="item-text">{{ language == 'zh_CN' ? item.titleZh : item.titleEn }}</div> <div class="item-text">{{ language == 'zh_CN' ? item.titleZh : item.titleEn }}</div>
<div class="item-menu"> <div class="item-menu">
......
<template> <template>
<div class="app-container">details activity</div> <div class="container">
<div class="activity-title">{{
locale === 'zh' ? detailInfo.titleZh : detailInfo.titleEn
}}</div>
<div class="img-box">
<img
class="img"
:src="locale === 'zh' ? detailInfo.coverImageZh : detailInfo.coverImageEn"
>
</div>
<div class="container-main">
<div v-if="detailInfo.extraRecommend" class="activity-remark">
{{
locale === 'zh'
? detailInfo.extraRecommend.shareContentZh
: detailInfo.extraRecommend.shareContentEn
}}
</div>
<div class="activity-cell">
<div class="cell-label">{{ $t('integral.illustrate') }}</div>
<div class="cell-content">
<img class="cell-image" src="@/assets/integral/score_b.png">
<div class="cell-text">{{ detailInfo.getScoreOnce }}</div>
</div>
</div>
<div class="activity-cell">
<div class="cell-label">{{ $t('integral.maxIntegral') }}</div>
<div class="cell-content">
<img class="cell-image" src="@/assets/integral/score_b.png">
<div class="cell-text">{{ detailInfo.maxScoreTotal }}</div>
</div>
</div>
<div class="activity-cell">
<div class="cell-label">{{ $t('integral.date') }}</div>
<div class="cell-content">
{{ getTimeRange(detailInfo.startTime, detailInfo.endTime) }}
</div>
</div>
<div class="activity-cell">
<div class="cell-label">{{ $t('integral.rulesIllustrate') }}</div>
<div class="cell-content">
{{ locale === 'zh' ? detailInfo.descZh : detailInfo.descEn }}
</div>
</div>
</div>
</div>
</template> </template>
<script>
import { integralActivityDetail } from '@/api/integral'
export default {
data() {
return {
detailInfo: {}
}
},
computed: {
locale() {
return this.$store.getters.language
}
},
created() {
this.getDetail()
},
methods: {
// 获取详情
async getDetail() {
try {
const { code, data } = await integralActivityDetail({
id: this.$route.query.id
})
if (code !== 0) return
this.detailInfo = data
} catch (err) {
console.log(err)
}
},
// 时间范围返回
getTimeRange(start, end) {
const formatDate = (timestamp) => {
const date = new Date(timestamp)
const year = date.getFullYear()
const month = String(date.getMonth() + 1).padStart(2, '0')
const day = String(date.getDate()).padStart(2, '0')
const hours = String(date.getHours()).padStart(2, '0')
const minutes = String(date.getMinutes()).padStart(2, '0')
const seconds = String(date.getSeconds()).padStart(2, '0')
return `${year}:${month}:${day} ${hours}:${minutes}:${seconds}`
}
return `${formatDate(start)}${formatDate(end)}`
}
}
}
</script>
<style lang="scss" scoped>
.container {
padding: 10px;
background-color: #fff;
border-radius: 10px;
}
.img-box {
margin: 10px 0;
width: 320px;
height: 180px;
display: flex;
justify-content: center;
align-items: center;
.img {
width: 100%;
height: 100%;
object-fit: cover;
}
}
.container-main {
padding: 6px;
}
.activity-title {
font-size: 28px;
height: 42px;
display: flex;
font-weight: 700;
align-items: center;
color: #333;
}
.activity-remark {
font-size: 16px;
color: #333;
}
.activity-cell {
margin-top: 10px;
width: 100%;
display: flex;
font-size: 16px;
color: #333;
}
.cell-content {
max-width: 60%;
display: flex;
align-items: center;
flex-wrap: wrap;
}
.cell-image {
width: 12px;
height: 12px;
}
.cell-text {
margin-left: 4px;
font-weight: 600;
font-size: 16px;
color: #000;
}
.cell-label {
font-weight: 700;
margin-right: 10px;
&::after {
content: ':';
}
}
</style>
...@@ -8,27 +8,28 @@ ...@@ -8,27 +8,28 @@
<img class="imgs" src="@/assets/integral/vip_avatar.png" alt=""> <img class="imgs" src="@/assets/integral/vip_avatar.png" alt="">
</div> </div>
<div class="content-text"> <div class="content-text">
<div class="text-vip">尊贵的白金会员</div> <div class="text-vip">{{ $t('integral.headerTitle') }}{{ integralInfo.levelName }}</div>
<div class="text-integral">已兑换积分为100&ensp;可用积分为80</div> <div class="text-integral">{{ $t('integral.spend') }}{{ integralInfo.holdScore }}&ensp;{{ $t('integral.available') }}{{ integralInfo.usedScore }}</div>
</div> </div>
<div class="content-image"> <div class="content-image">
<img class="imgs" src="@/assets/integral/vip_avatar.png" alt=""> <img v-if="levelIcon" class="imgs" :src="levelIcon" alt="">
<img v-else class="imgs" src="@/assets/integral/vip_avatar.png" alt="">
</div> </div>
</div> </div>
<div class="content-divider"> <div class="content-divider">
<div class="divider-vip">vip1</div> <div class="divider-vip">{{ integralInfo.levelName }}</div>
<div class="divider-num">233</div> <div class="divider-num">{{ integralInfo.totalScore }}</div>
<div class="divider-active" style="width: 50%;" /> <div class="divider-active" :style="{ width: `${score}%` }" />
</div> </div>
</div> </div>
<div class="header-menu"> <div class="header-menu">
<div class="menu-item" @click="toJump(1)">积分日志&emsp;<i class="el-icon-arrow-right" /></div> <div class="menu-item" @click="toJump(1)">{{ $t('integral.logPoints') }}&emsp;<i class="el-icon-arrow-right" /></div>
<div class="menu-item" @click="toJump(2)">兑换日志&emsp;<i class="el-icon-arrow-right" /></div> <div class="menu-item" @click="toJump(2)">{{ $t('integral.logExchange') }}&emsp;<i class="el-icon-arrow-right" /></div>
</div> </div>
</div> </div>
<div class="nav"> <div class="nav">
<div class="nav-item" :class="{'nav-item-active1':count ==1}" @click="count=1">兑换礼品</div> <div class="nav-item" :class="{'nav-item-active1':count ==1}" @click="count=1">{{ $t('integral.redeemGifts') }}</div>
<div class="nav-item" :class="{'nav-item-active2':count ==2}" @click="count=2">积分活动</div> <div class="nav-item" :class="{'nav-item-active2':count ==2}" @click="count=2">{{ $t('integral.pointsCampaign') }}</div>
</div> </div>
<IntegralExchange v-show="count == 1" /> <IntegralExchange v-show="count == 1" />
<IntegralActivity v-show="count == 2 " /> <IntegralActivity v-show="count == 2 " />
...@@ -37,6 +38,7 @@ ...@@ -37,6 +38,7 @@
<script> <script>
import IntegralExchange from './components/IntegralExchange.vue' import IntegralExchange from './components/IntegralExchange.vue'
import IntegralActivity from './components/IntegralActivity.vue' import IntegralActivity from './components/IntegralActivity.vue'
import { getMemberInfo } from '@/api/integral'
export default { export default {
name: 'JdIntegral', name: 'JdIntegral',
components: { components: {
...@@ -45,17 +47,49 @@ export default { ...@@ -45,17 +47,49 @@ export default {
}, },
data() { data() {
return { return {
count: 1 count: 1,
// 会员积分信息
integralInfo: {},
// 会员图标
levelIcon: ''
}
},
computed: {
score() {
if (this.integralInfo.totalScore) {
return Math.min(
Math.floor((this.integralInfo.totalScore / this.integralInfo.upperCount) * 100),
100
)
}
return 0
} }
}, },
created() { created() {
this.getIntegralInfo()
const { loginUser } = this.$store.state.user
if (loginUser) {
const userScoreLevelInfo = loginUser.userScoreLevelInfo
this.levelIcon = userScoreLevelInfo.levelIcon
console.log(this.levelIcon)
}
}, },
methods: { methods: {
// 跳转 日志 // 跳转 日志
toJump(val) { toJump(val) {
const path = val === 1 ? '/jiedao/jd-integral-log' : '/jiedao/jd-exchange-log' const path = val === 1 ? '/jiedao/jd-integral-log' : '/jiedao/jd-exchange-log'
this.$router.push({ path }) this.$router.push({ path })
},
// 获取个人积分信息
async getIntegralInfo() {
try {
const id = this.$store.getters.id
const { code, data } = await getMemberInfo({ id })
if (code !== 0) return
this.integralInfo = data
} catch (err) {
console.log(err)
}
} }
} }
} }
......
<template><div class="container">积分日志</div></template> <template>
<div class="container">
<div v-for="(item, index) in list" :key="index" class="item">
<div class="item-title">{{ locale == 'zh_CN' ? item.sourceTypeZh : item.sourceTypeEn }}</div>
<div class="item-box">
<div class="box-img">
<img
class="imgs"
:src="imgArr[item.sourceType]"
>
</div>
<div class="box-content">
<div class="content-text">
{{ locale == 'zh_CN' ? item.descZh : item.descEn }}
</div>
<div class="content-time">{{ formatDate(item.createTime) }}</div>
</div>
<div class="box-right">
<div v-if="item.rewardCount" class="box-right-num">X{{ item.rewardCount }}</div>
<div v-if="item.expired" class="box-right-img">
<img class="imgs" src="@/assets/log/overdue.png" alt>
</div>
<div class="box-right-text">{{ item.operateType }}&ensp;{{ item.scoreCount }}</div>
</div>
</div>
</div>
</div>
</template>
<script>
import { logList } from '@/api/log'
export default {
data() {
return {
list: []
}
},
computed: {
locale() {
return this.$store.getters.language
},
imgArr() {
return {
'1': require('@/assets/log/log_type1.png'),
'2': require('@/assets/log/log_type2.png'),
'4': require('@/assets/log/log_type4.png'),
'5': require('@/assets/log/log_type5.png'),
'6': require('@/assets/log/log_type6.png'),
'7': require('@/assets/log/log_type7.png'),
'8': require('@/assets/log/log_type8.png')
}
}
},
created() {
this.getList()
},
methods: {
async getList() {
try {
const id = this.$store.getters.id
const { code, data } = await logList({ id })
if (code === 0) {
this.list = data
}
} catch (err) {
console.log(err)
}
},
// 时间戳转换为YYYY-MM-DD HH:mm:ss
formatDate(time) {
const date = new Date(time)
const Y = date.getFullYear() + '-'
const M = (date.getMonth() + 1 < 10 ? '0' + (date.getMonth() + 1) : date.getMonth() + 1) + '-'
const D = date.getDate() + ' '
const h = date.getHours() + ':'
const m = date.getMinutes() + ':'
const s = date.getSeconds()
return Y + M + D + h + m + s
}
}
}
</script>
<style lang="scss" scoped>
.container {
padding: 10px;
box-sizing: border-box;
.item {
padding: 10px 15px 15px 15px;
margin-bottom: 10px;
width: 100%;
box-sizing: border-box;
border-radius: 8px;
box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.1);
}
}
.item-title {
font-size: 12px;
margin-bottom: 10px;
}
.item-box {
width: 100%;
display: flex;
box-sizing: border-box;
}
.box-img {
width: 50px;
height: 60px;
margin-right: 10px;
display: flex;
align-items: center;
justify-content: center;
.imgs {
width: 50px;
height: 50px;
object-fit: cover;
}
}
.box-content {
flex: 1;
display: flex;
flex-direction: column;
justify-content: space-between;
.content-text {
font-size: 12px;
color: #7f7f7f;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
line-clamp: 2;
overflow: hidden;
}
.content-time {
font-size: 10px;
color: #7f7f7f;
}
}
.box-right {
margin-left: 5px;
width: 60px;
height: 60px;
display: flex;
align-items: flex-end;
flex-direction: column;
justify-content: space-between;
border-radius: 50%;
font-size: 12px;
color: #333333;
.box-right-text {
margin-top: auto;
}
}
.box-right-img {
transform: translate(10px, -30px);
width: 60px;
height: 60px;
.imgs {
width: 100%;
height: 100%;
object-fit: cover;
}
}
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment