This commit is contained in:
2026-04-14 17:50:47 +08:00
parent 08ff521545
commit 7ec51620a3
5 changed files with 25 additions and 7 deletions
+1 -1
View File
@@ -13,5 +13,5 @@
} }
] ]
}, },
"lastUpdated": 1776159168693 "lastUpdated": 1776160119257
} }
+1
View File
@@ -133,6 +133,7 @@
"fee_type": "Fee type", "fee_type": "Fee type",
"input_quantity": "Quantity", "input_quantity": "Quantity",
"input_fee": "Fee", "input_fee": "Fee",
"fee_hint": "Decimal point must be \".\", input method may prevent typing",
"select_currency": "Select currency", "select_currency": "Select currency",
"add": "Add", "add": "Add",
"add_cost": "Add Cost", "add_cost": "Add Cost",
+1
View File
@@ -133,6 +133,7 @@
"fee_type": "费用类型", "fee_type": "费用类型",
"input_quantity": "数量", "input_quantity": "数量",
"input_fee": "费用", "input_fee": "费用",
"fee_hint": "小数点必须是 \".\",开启输入法状态可能无法输入",
"select_currency": "选择货币类型", "select_currency": "选择货币类型",
"add": "添加", "add": "添加",
"add_cost": "添加费用", "add_cost": "添加费用",
@@ -472,9 +472,17 @@ async function handleSubmit() {
<!-- 单价输入 --> <!-- 单价输入 -->
<div> <div>
<label class="mb-1 block text-xs font-medium text-gray-500">{{ <label class="mb-1 flex items-center gap-1 block text-xs font-medium text-gray-500">
t("purchase_addorder.input_fee") {{ t("purchase_addorder.input_fee") }}
}}</label> <span class="relative group">
<svg class="h-3.5 w-3.5 text-gray-400 cursor-help" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8.228 9c.549-1.165 2.03-2 3.772-2 2.21 0 4 1.343 4 3 0 1.4-1.278 2.575-3.006 2.907-.542.104-.994.54-.994 1.093m0 3h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" />
</svg>
<span class="absolute bottom-full left-1/2 -translate-x-1/2 mb-1 hidden group-hover:block w-48 p-2 text-xs text-white bg-gray-800 rounded-lg shadow-lg z-10 whitespace-normal">
{{ t("purchase_addorder.fee_hint") }}
</span>
</span>
</label>
<input <input
v-model="newCost.cost" v-model="newCost.cost"
type="number" type="number"
@@ -478,9 +478,17 @@ async function handleSubmit() {
/> />
</div> </div>
<div> <div>
<label class="mb-1 block text-xs font-medium text-gray-500">{{ <label class="mb-1 flex items-center gap-1 block text-xs font-medium text-gray-500">
t("purchase_addorder.input_fee") {{ t("purchase_addorder.input_fee") }}
}}</label> <span class="relative group">
<svg class="h-3.5 w-3.5 text-gray-400 cursor-help" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8.228 9c.549-1.165 2.03-2 3.772-2 2.21 0 4 1.343 4 3 0 1.4-1.278 2.575-3.006 2.907-.542.104-.994.54-.994 1.093m0 3h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" />
</svg>
<span class="absolute bottom-full left-1/2 -translate-x-1/2 mb-1 hidden group-hover:block w-48 p-2 text-xs text-white bg-gray-800 rounded-lg shadow-lg z-10 whitespace-normal">
{{ t("purchase_addorder.fee_hint") }}
</span>
</span>
</label>
<input <input
v-model="newCost.cost" v-model="newCost.cost"
type="number" type="number"