fix(miniprogram): rename ETC/加油充值申请 to 油卡.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
wuzilongandCursor committed 2026-10-16 11:41:43 +08:00
1 parent 4edccef14c
commit c43f901c36
5 files changed
+10 -10

No files matched your search

+2 -2
View File
@@ -82,7 +82,7 @@ export const WORKBENCH_MODULES = [
{
key: 'pl',
title: '运输管理',
desc: '加油登记 · ETC充值申请 · 现场运输计划单 · 运输计划 · 司机运输计划单',
desc: '加油登记 · ETC/油卡充值申请 · 现场运输计划单 · 运输计划 · 司机运输计划单',
iconText: '运输',
visible: true,
menus: [
@@ -94,7 +94,7 @@ export const WORKBENCH_MODULES = [
perms: 'mini:pl:fuelRegister:list'
},
{
name: 'ETC/加油充值申请',
name: 'ETC/油卡充值申请',
enabled: true,
code: 'pl-vehicle-recharge-apply',
icon: '💳',
+2 -2
View File
@@ -205,11 +205,11 @@
},
{
"path": "vehicle-recharge-apply/list",
"style": { "navigationStyle": "custom", "navigationBarTitleText": "ETC/加油充值申请" }
"style": { "navigationStyle": "custom", "navigationBarTitleText": "ETC/油卡充值申请" }
},
{
"path": "vehicle-recharge-apply/form",
"style": { "navigationStyle": "custom", "navigationBarTitleText": "ETC/加油充值申请" }
"style": { "navigationStyle": "custom", "navigationBarTitleText": "ETC/油卡充值申请" }
},
{
"path": "transport-plan/list",
@@ -290,7 +290,7 @@ const userStore = useUserStore()
const MAX_ATTACHMENTS = 5
const typeOptions = [
{ label: 'ETC', value: 'etc' },
{ label: '加油', value: 'fuel' }
{ label: '油卡', value: 'fuel' }
]
const editId = ref('')
@@ -3,7 +3,7 @@
<view class="topbar" :style="safeAreaStyle">
<view class="topbar-left">
<text class="topbar-back" @click="goBack">←</text>
<text class="topbar-title">ETC/加油充值申请</text>
<text class="topbar-title">ETC/油卡充值申请</text>
</view>
<view class="topbar-right" />
</view>
@@ -169,7 +169,7 @@ function canWithdraw(item) {
function typeLabel(v) {
if (v === 'etc') return 'ETC'
if (v === 'fuel') return '加油'
if (v === 'fuel') return '油卡'
return v || '—'
}
+3 -3
View File
@@ -1,12 +1,12 @@
/**
* ETC/加油充值申请发微信群纯文本(无序号)
* ETC/油卡充值申请发微信群纯文本(无序号)
*/
import { countPlAttachmentUrls } from '@/utils/plFuelRegisterCopy'
const TYPE_LABELS = {
etc: 'ETC',
fuel: '加油'
fuel: '油卡'
}
export function getPlRechargeTypeLabel(type) {
@@ -21,7 +21,7 @@ export function buildVehicleRechargeApplyCopyText(row = {}) {
? `${Number(row.odometerKm).toFixed(1)} KM`
: dash
return [
`【${plate} - ETC/加油充值申请】`,
`【${plate} - ETC/油卡充值申请】`,
`申请单号:${row.applyNo || dash}`,
`充值类型:${getPlRechargeTypeLabel(row.rechargeType)}`,
`申请日期:${row.applyDate || dash}`,