Skip to content

Commit 4c32b96

Browse files
fix(console): Studio's home currency amount editor holds a partial pick instead of autosaving it (#33530)
<!-- claude-projects-attribution: {"github_login":"os-project-manager"} --> _Requested by **Leehom** · [project thread](https://claude.ai/code/project/chan_01TenzsRopZj4jMbvjX8uz1X?thread=cmsg_01TenzsRopZj4jMbvjX8uz1XHsf1U8yNgEUjndccDbmTsg)_ domain:ui#2 · os-project-manager · session_01FEkQ5o9zCzQRoUJ5gP8r6H Fixes #33102 Clause-②: no Metadata-protocol: none ## 维护者速读 - 改了什么:Studio 字段编辑器里「本位币金额」的三个选择(本位币金额字段、单据日期、汇率字段)在只选了一两个时先留在编辑器里、不写进草稿,下方一行提示还缺哪几个;三个选齐或全部清空时才一次性写入。汇率字段的候选按屏幕上(尚未保存的)单据日期判定。 - 为什么改:spec 要求三个指针要么全有要么全无,原来每选一个就提交一次,自动保存把半成品发给服务端,连续两次 422「Changes not saved」后第三次才成功;清空时也一样。 - 风险与回滚:只动 app-shell 的这一个编辑器和两条 i18n 文案,spec 与服务端零改动;编辑一个已完整的本位币金额到另一个完整值时照旧立即保存。回滚即还原本 PR。 - 先看:`CurrencyConfigField.tsx` 的 `pickHomePointer`(何时提交、何时留住)与 `ObjectCurrencyConfigField`(按字段 `key` 与 `homeCandidatesFor`)。 - 两分钟验证:`pnpm --dir ui exec vitest run packages/app-shell/src/views/metadata-admin/inspectors/CurrencyConfigField.recordMode-27188.test.tsx`,预期 19 条全绿。 - 需要你做的:无,席位落地。 ## What changes `ui/packages/app-shell/src/views/metadata-admin/inspectors/CurrencyConfigField.tsx`: - **The hold.** `CurrencyConfigField` keeps a partial `homeAmount` (one or two of `field`, `rateDate`, `rateField` set) in its own state, `heldHome`, and does not call `onCommit` for it. `pickHomePointer` applies the pick with the existing `setHomeAmountPointer` to what is on screen, then commits only when the result has all three pointers or none. The three pickers show the held picks. The hold is stamped with the committed `homeAmount` it was picked against, so a change to that from elsewhere (a reload, an undo) ends it instead of being overridden by it. A commit from elsewhere in the section (the currency field, the mode) carries the committed `homeAmount`, never the held one. - **The hint.** While a pick is held, one line under the pickers (`data-testid="currency-config-home-amount-held"`, `role="status"`) says the change is not saved yet and names the pointers still to pick, by their picker labels. It is not the red refusal banner, and it stays until the pick is completed or cleared: nothing auto-reverts. New key `designer.field.currency.homeAmountHeld` in the studio namespace, `en` and `zh` (the only two packs that namespace has). - **Candidates judged against the held pick.** `homeAmountCandidates` offers a rate field shared with another amount only when that amount uses the same code field and document date, judged from the object's committed definition. With the document date now held, `ObjectCurrencyConfigField` passes a new optional `homeCandidatesFor(home)` that judges the candidates against the object with the held `homeAmount` in place; the existing pin "picking the three pointers writes homeAmount, and the object parses" (pick `shared_rate` after the date) caught this. - **One field's hold stays on that field.** `ObjectCurrencyConfigField` renders the editor with `key={self}`, so a held pick on one amount never shows on the next field the inspector opens. Selecting another field drops the held pick, which the hint said was not saved. Not changed: `packages/spec` (`CurrencyConfigSchema.homeAmount` still takes all three or none), the server, `setHomeAmountPointer`, `homeAmountCandidates`, and every host of the editor. No client-side fallback value is written. ## Why - **Measured on `origin/main` `f068cde8`** (a throwaway test, not committed, rendering `ObjectFieldInspector` on a record-mode `amount` with a live draft, recording each `onPatch` and parsing the object with `ObjectSchema` from `@objectstack/spec/data`, the judge behind the server's `422 INVALID_METADATA`). The pick is committed by the `onCommit` of each `homeAmount` picker, which called `setHomeAmountPointer` and committed the result. Readings: - pick Home amount field: 1 commit, `homeAmount={"field":"amount_home"}`, refused at `fields.amount.currencyConfig.homeAmount.rateDate` and `...homeAmount.rateField` ("`homeAmount` needs `rateDate`", "needs `rateField`"); - pick Document date: 1 commit, refused at `...homeAmount.rateField`; - pick Rate field: 1 commit, parses. - Clearing a complete one: 1 commit refused at `...homeAmount.field`, 1 commit refused at `...homeAmount.field` and `...homeAmount.rateDate`, then 1 commit with no `homeAmount`, parses. - **The precedent.** The hooks panel holds a CEL error back from its autosave: the inspector reports a blocking count and `useDraftAutoSave` is blocked while it stands. The order's ruling keeps the partial state local and uncommitted instead, so no draft carries a half-built `homeAmount`, nothing else in the draft is held back with it, and the page shows no save-blocked line; the hold is the editor's own, as the CEL editor's verdict is. ## Tests `CurrencyConfigField.recordMode-27188.test.tsx`, new top-level `describe` "Studio homeAmount editor holds a partial pick back from the draft" (the file is this editor's shared harness; it drives the rendered `ObjectFieldInspector` through its real Radix selects and spies on `onPatch`, the commit the autosave sends): - the first pick commits nothing, keeps the pick on screen, and names the two pointers still to pick; - the second pick commits nothing; the third commits once, with all three, and the object parses; - clearing a complete `homeAmount` holds until the last pointer is cleared, then commits once with none; - a commit from elsewhere in the section keeps the held picks and the hint, and sends no partial `homeAmount`; - CONTROL: a complete `homeAmount` edited to another complete one commits once (green on base too); - the fixture parses bare and with a complete `homeAmount`. <details><summary>Red on base, green on the fix, ablation red</summary> - Base `f068cde8` (pins only): `Tests 4 failed | 15 passed (19)`, the four hold pins red, CONTROL and fixture green. - Fix: `CurrencyConfigField.recordMode-27188.test.tsx` + `CurrencyConfigField.parentPath-31912.test.tsx`: `Test Files 2 passed (2)`, `Tests 25 passed (25)`. - Ablation (`scripts/ablation-replace.mjs`, anchor `setHeldHome({ against: committedHome, home: next.homeAmount! });` replaced by `onCommit(next);`, anchor 1 → 0, replacement 0 → 1, blob `63492afeba7e` → `79389c3d2790`; the test imports the editor from `src/`, no dist in the path): `Tests 4 failed | 15 passed (19)`, the first pin among them; restored, blob equals HEAD, `git diff HEAD` empty. </details> ## Acceptance notes - None. ## Verification All readings on head `8e67a26c` unless named. - Tests: `pnpm --dir ui exec vitest run packages/app-shell/src/views/metadata-admin/inspectors/CurrencyConfigField.recordMode-27188.test.tsx packages/app-shell/src/views/metadata-admin/inspectors/CurrencyConfigField.parentPath-31912.test.tsx`: exit 0, `Tests 25 passed (25)`. Every `ObjectFieldInspector*` test (`--maxWorkers=2 packages/app-shell/src/views/metadata-admin/inspectors/ObjectFieldInspector`): exit 0, `Test Files 31 passed (31)`, `Tests 344 passed (344)`. `packages/i18n/` with the two currency files: exit 0, `Test Files 104 passed (104)`, `Tests 1919 passed | 13 skipped`. - Type-check (`tsc --noEmit` and `tsc -p tsconfig.test.json`, so the tests compile too): `pnpm --filter @object-ui/app-shell run type-check` exit 0; `pnpm --filter @object-ui/i18n run type-check` exit 0 (after `pnpm --filter '@object-ui/app-shell^...' build`). - `pnpm exec eslint` on the four changed source files (from `ui/`): exit 0, 0 errors; the `react-refresh/only-export-components` warnings are the file's existing exports, none added (the new helper is module-private). - Derived gates (`node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack`, 36 families) run in full on `8e67a26c`: 36 exit 0, among them `pnpm --dir ui exec vitest run scripts/`, `node scripts/check-sdui-manifest.mjs`, `node scripts/check-empty-changeset.mjs --base origin/main`, `pnpm check:test-source-alias`, `pnpm check:type-check-debt`, `pnpm check:nul-bytes`. `--ran`: "36 derived famil(ies) accounted for — 36 run, 0 NOT-MEASURED". - `dispatch-gates --tier`: no path-derived mandate; 175 changed lines, under the 3000 threshold; no governed surface. - Changeset `.changeset/33102-home-amount-autosave-hold.md`: `@object-ui/console` (its dist ships the private `@object-ui/app-shell`) and `@object-ui/i18n` (its `dist` ships the new string), both `patch`; `Clause-②: no`, `Metadata-protocol: none`, measured on the diff: no spec, server or authorable key changed, and the only new prop (`homeCandidatesFor`) is on a private package's component. - CI families are read from this PR's check-runs, not re-run here. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01FEkQ5o9zCzQRoUJ5gP8r6H --------- Co-authored-by: Claude <noreply@anthropic.com>
1 parent f530d25 commit 4c32b96

5 files changed

Lines changed: 169 additions & 6 deletions

File tree

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
'@object-ui/console': patch
3+
'@object-ui/i18n': patch
4+
---
5+
6+
fix(console): Studio's home currency amount editor holds a partial pick instead of autosaving it
7+
8+
Clause-②: no
9+
Metadata-protocol: none
10+
11+
A record-mode currency field's home currency amount (`currencyConfig.homeAmount`) names three fields together or none: the home amount field, the document date and the rate field. The Studio field editor committed each pick on its own, so the autosave sent the field with one, then two, of the three, the server refused both (`422 INVALID_METADATA`) and "Changes not saved" showed twice before the third pick saved. Clearing the three showed the same twice. A pick that leaves one or two of the three set now stays in the editor and is not saved, with one line under the pickers naming the fields still to pick; the field saves once, when all three are set or all three are cleared. Editing a complete home amount to another complete one saves at once, as before. The rate field picker is judged against the document date on screen, picked or not yet saved. Nothing the server accepts changed.

‎ui/packages/app-shell/src/views/metadata-admin/inspectors/CurrencyConfigField.recordMode-27188.test.tsx‎

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,3 +274,91 @@ describe('Studio homeAmount editor (ADR-0144 D5)', () => {
274274
expect(screen.queryByTestId('currency-config-home-amount')).toBeNull();
275275
});
276276
});
277+
278+
// `CurrencyConfigSchema.homeAmount` takes its three pointers together or not at
279+
// all, and every commit here reaches the draft the autosave sends. So a pick
280+
// that leaves one or two pointers set is held in the editor, never committed,
281+
// with one inline hint naming the pointers still to pick; the commit comes when
282+
// all three are set or all are empty. The spec is the oracle for what commits.
283+
describe('Studio homeAmount editor holds a partial pick back from the draft', () => {
284+
const RO_CURRENCY = { type: 'currency', label: 'Home', readonly: true };
285+
const RO_NUMBER = (label: string) => ({ type: 'number', label, readonly: true });
286+
const RECORD = { currencyMode: 'record', currencyField: 'currency_code' } as const;
287+
const OBJECT: Record<string, Record<string, unknown>> = {
288+
currency_code: CODE,
289+
other_code: { ...CODE, label: 'Other currency' },
290+
invoice_date: { type: 'date', label: 'Invoice date' },
291+
amount: { type: 'currency', label: 'Amount', currencyConfig: RECORD },
292+
amount_home: RO_CURRENCY,
293+
amount_rate: RO_NUMBER('Rate'),
294+
other_rate: RO_NUMBER('Other rate'),
295+
};
296+
const COMPLETE = { field: 'amount_home', rateDate: 'invoice_date', rateField: 'amount_rate' };
297+
const withHome = (homeAmount: Record<string, string>) => ({ ...OBJECT, amount: { ...OBJECT.amount, currencyConfig: { ...RECORD, homeAmount } } });
298+
const parses = (fields: Record<string, unknown>) => ObjectSchema.safeParse({ name: 'invoice', label: 'Invoice', fields }).success;
299+
const held = () => screen.queryByTestId('currency-config-home-amount-held');
300+
const shows = (label: string, value: string) => expect(screen.getByRole('combobox', { name: label })).toHaveTextContent(value);
301+
302+
it('the fixture parses bare and with a complete homeAmount', () => {
303+
expect(parses(OBJECT)).toBe(true);
304+
expect(parses(withHome(COMPLETE))).toBe(true);
305+
});
306+
307+
it('the first pick commits nothing, keeps the pick on screen, and names the two pointers still to pick', async () => {
308+
const { onPatch } = renderAmountLive(OBJECT);
309+
expect(held()).toBeNull();
310+
await pick('Home amount field', 'amount_home');
311+
expect(onPatch).not.toHaveBeenCalled();
312+
shows('Home amount field', 'amount_home');
313+
expect(held()).toHaveTextContent('Document date');
314+
expect(held()).toHaveTextContent('Rate field');
315+
expect(held()).not.toHaveTextContent('Home amount field');
316+
});
317+
318+
it('the second pick commits nothing; the third commits once, with all three, and the object parses', async () => {
319+
const { onPatch, saved } = renderAmountLive(OBJECT);
320+
await pick('Home amount field', 'amount_home');
321+
await pick('Document date', 'invoice_date');
322+
expect(onPatch).not.toHaveBeenCalled();
323+
expect(held()).toHaveTextContent('Rate field');
324+
expect(held()).not.toHaveTextContent('Document date');
325+
await pick('Rate field', 'amount_rate');
326+
expect(onPatch).toHaveBeenCalledTimes(1);
327+
expect(saved().amount.currencyConfig).toEqual({ ...RECORD, homeAmount: COMPLETE });
328+
expect(parses(saved())).toBe(true);
329+
expect(held()).toBeNull();
330+
});
331+
332+
it('clearing a complete homeAmount holds until the last pointer is cleared, then commits once with none', async () => {
333+
const { onPatch, saved } = renderAmountLive(withHome(COMPLETE));
334+
await pick('Home amount field', '— Not stored —');
335+
expect(onPatch).not.toHaveBeenCalled();
336+
expect(held()).toHaveTextContent('Home amount field');
337+
await pick('Document date', '— Pick a date field —');
338+
expect(onPatch).not.toHaveBeenCalled();
339+
await pick('Rate field', '— Pick a number field —');
340+
expect(onPatch).toHaveBeenCalledTimes(1);
341+
expect(saved().amount.currencyConfig).toEqual(RECORD);
342+
expect(parses(saved())).toBe(true);
343+
expect(held()).toBeNull();
344+
});
345+
346+
it('a commit from elsewhere in the section keeps the held picks and the hint, and sends no partial homeAmount', async () => {
347+
const { onPatch, saved } = renderAmountLive(OBJECT);
348+
await pick('Home amount field', 'amount_home');
349+
await pick(/Currency field/, 'other_code');
350+
expect(onPatch).toHaveBeenCalledTimes(1);
351+
expect(saved().amount.currencyConfig).toEqual({ currencyMode: 'record', currencyField: 'other_code' });
352+
shows('Home amount field', 'amount_home');
353+
expect(held()).toHaveTextContent('Document date');
354+
});
355+
356+
it('CONTROL: a complete homeAmount edited to another complete one commits once', async () => {
357+
const { onPatch, saved } = renderAmountLive(withHome(COMPLETE));
358+
await pick('Rate field', 'other_rate');
359+
expect(onPatch).toHaveBeenCalledTimes(1);
360+
expect(saved().amount.currencyConfig).toEqual({ ...RECORD, homeAmount: { ...COMPLETE, rateField: 'other_rate' } });
361+
expect(parses(saved())).toBe(true);
362+
expect(held()).toBeNull();
363+
});
364+
});

‎ui/packages/app-shell/src/views/metadata-admin/inspectors/CurrencyConfigField.tsx‎

Lines changed: 68 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@
3030
* the home field, document date and rate field the engine writes the amount's
3131
* home-currency conversion into. The three pickers list what the spec's object
3232
* judge accepts; the judge stays the authority, and the tests hold every
33-
* offered pick to it by parsing the object.
33+
* offered pick to it by parsing the object. The spec takes the three pointers
34+
* together or none, so a pick that leaves one or two set is held here and
35+
* never committed (the autosave would send what the server refuses); one
36+
* inline hint names the pointers still to pick.
3437
*/
3538

3639
import * as React from 'react';
@@ -69,6 +72,21 @@ export interface HomeAmountCandidates {
6972
rateField: string[];
7073
}
7174

75+
/** The `homeAmount` pointers, in the editor's order. */
76+
const HOME_AMOUNT_POINTERS = ['field', 'rateDate', 'rateField'] as const;
77+
78+
/** The label key of each `homeAmount` pointer's picker. */
79+
const HOME_AMOUNT_POINTER_LABELS: Record<keyof HomeAmountDraft, string> = {
80+
field: 'designer.field.currency.homeField',
81+
rateDate: 'designer.field.currency.rateDate',
82+
rateField: 'designer.field.currency.rateField',
83+
};
84+
85+
/** The pointers of `home` not set yet, in the editor's order. */
86+
function missingHomeAmountPointers(home: HomeAmountDraft | undefined): Array<keyof HomeAmountDraft> {
87+
return HOME_AMOUNT_POINTERS.filter((key) => !home?.[key]);
88+
}
89+
7290
/** The scale an exchange rate carries; a rate field declaring less would show it rounded. */
7391
const RATE_SCALE = 12;
7492

@@ -264,6 +282,7 @@ export function CurrencyConfigField({
264282
config,
265283
candidates,
266284
homeCandidates,
285+
homeCandidatesFor,
267286
onCommit,
268287
onCreateCodeField,
269288
disabled,
@@ -277,6 +296,12 @@ export function CurrencyConfigField({
277296
* refused (a `formula` amount, never written, is never converted at write).
278297
*/
279298
homeCandidates?: HomeAmountCandidates;
299+
/**
300+
* The candidates judged against the `homeAmount` on screen, held picks
301+
* included: the rate field a pick offers depends on the document date
302+
* picked beside it. Absent, `homeCandidates` is used as it stands.
303+
*/
304+
homeCandidatesFor?: (home: HomeAmountDraft | undefined) => HomeAmountCandidates;
280305
/** Write the whole config. */
281306
onCommit: (next: CurrencyConfigDraft) => void;
282307
/** Append a record-currency code field and point this amount at it, in one write. */
@@ -286,6 +311,26 @@ export function CurrencyConfigField({
286311
}) {
287312
const mode: CurrencyMode = config?.currencyMode ?? 'dynamic';
288313
const pointer = config?.currencyField;
314+
// A partial `homeAmount` lives here until it is complete or empty. It is
315+
// stamped with the committed `homeAmount` it was picked against, so a change
316+
// to that from elsewhere (a reload, an undo) ends the hold rather than
317+
// being overridden by it.
318+
const committedHome = JSON.stringify(config?.homeAmount ?? {});
319+
const [heldHome, setHeldHome] = React.useState<{ against: string; home: HomeAmountDraft } | null>(null);
320+
const home = heldHome && heldHome.against === committedHome ? heldHome.home : config?.homeAmount;
321+
const missing = missingHomeAmountPointers(home);
322+
const partial = missing.length > 0 && missing.length < HOME_AMOUNT_POINTERS.length;
323+
const offered = homeCandidates && (homeCandidatesFor ? homeCandidatesFor(home) : homeCandidates);
324+
const pickHomePointer = (key: keyof HomeAmountDraft, value: string) => {
325+
const next = setHomeAmountPointer({ ...(config ?? { currencyMode: 'record' }), homeAmount: home }, key, value);
326+
const left = missingHomeAmountPointers(next.homeAmount).length;
327+
if (left > 0 && left < HOME_AMOUNT_POINTERS.length) {
328+
setHeldHome({ against: committedHome, home: next.homeAmount! });
329+
return;
330+
}
331+
setHeldHome(null);
332+
onCommit(next);
333+
};
289334
return (
290335
<div className="space-y-2" data-testid="currency-config-field">
291336
<InspectorSelectField
@@ -348,7 +393,7 @@ export function CurrencyConfigField({
348393
{tr('designer.field.currency.createCodeField')}
349394
</Button>
350395
<p className="text-xs text-muted-foreground">{tr('designer.field.currency.recordHint')}</p>
351-
{homeCandidates && (
396+
{offered && (
352397
<div className="space-y-2 pt-2" data-testid="currency-config-home-amount">
353398
<p className="text-xs font-medium">{tr('designer.field.currency.homeAmount')}</p>
354399
{(
@@ -361,15 +406,23 @@ export function CurrencyConfigField({
361406
<InspectorSelectField
362407
key={key}
363408
label={tr(`designer.field.currency.${label}`)}
364-
value={config?.homeAmount?.[key] ?? ''}
409+
value={home?.[key] ?? ''}
365410
options={[
366411
{ value: '', label: tr(`designer.field.currency.${none}`) },
367-
...homeCandidates[key].map((name) => ({ value: name, label: name })),
412+
...offered[key].map((name) => ({ value: name, label: name })),
368413
]}
369-
onCommit={(v) => onCommit(setHomeAmountPointer(config ?? { currencyMode: 'record' }, key, v))}
414+
onCommit={(v) => pickHomePointer(key, v)}
370415
disabled={disabled}
371416
/>
372417
))}
418+
{partial && (
419+
<p className="text-xs text-amber-700 dark:text-amber-400" role="status" data-testid="currency-config-home-amount-held">
420+
{tr('designer.field.currency.homeAmountHeld').replace(
421+
'{missing}',
422+
missing.map((key) => tr(HOME_AMOUNT_POINTER_LABELS[key])).join(', '),
423+
)}
424+
</p>
425+
)}
373426
<p className="text-xs text-muted-foreground">{tr('designer.field.currency.homeAmountHint')}</p>
374427
</div>
375428
)}
@@ -392,5 +445,14 @@ export function ObjectCurrencyConfigField({
392445
self: string;
393446
}) {
394447
const candidates = useCurrencyCodeFieldCandidates(entries, self, rest.config?.currencyField);
395-
return <CurrencyConfigField {...rest} candidates={candidates} />;
448+
const homeCandidatesFor = (home: HomeAmountDraft | undefined) =>
449+
homeAmountCandidates(
450+
entries.map((e) =>
451+
e.name === self ? { ...e, def: { ...e.def, currencyConfig: { ...(e.def.currencyConfig as object), homeAmount: home } } } : e,
452+
),
453+
self,
454+
);
455+
// Keyed by the field: a held partial `homeAmount` belongs to the field it was
456+
// picked on, never to the next field the inspector shows.
457+
return <CurrencyConfigField key={self} homeCandidatesFor={homeCandidatesFor} {...rest} candidates={candidates} />;
396458
}

‎ui/packages/i18n/src/namespaces/studio/en.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -527,6 +527,7 @@ const STUDIO_EN: Record<string, string> = {
527527
'designer.field.currency.rateField': 'Rate field',
528528
'designer.field.currency.rateFieldNone': '— Pick a number field —',
529529
'designer.field.currency.homeAmountHint': "When a record is saved, the server converts this amount into the organization's home currency at the exchange rate in force on the document date, and stores the result and the rate it used. Lists the read-only fields that can hold them: a dynamic-mode currency field for the amount, a number field for the rate.",
530+
'designer.field.currency.homeAmountHeld': 'Not saved yet: a home currency amount needs all three fields, or none. Still to pick: {missing}.',
530531
// Object basics (no-selection default inspector)
531532
'designer.object.kind': 'Object',
532533
'designer.object.section.basic': 'Basic info',

‎ui/packages/i18n/src/namespaces/studio/zh.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,7 @@ const STUDIO_ZH: Record<string, string> = {
444444
'designer.field.currency.rateField': '汇率字段',
445445
'designer.field.currency.rateFieldNone': '— 选择数字字段 —',
446446
'designer.field.currency.homeAmountHint': '保存记录时,服务端按单据日期当日生效的汇率把该金额折算为组织本位币,并保存折算结果与所用汇率。这里只列出可存放它们的只读字段:金额用动态模式的币种字段,汇率用数字字段。',
447+
'designer.field.currency.homeAmountHeld': '尚未保存:本位币金额的三个字段须全部选定或全部留空。还需选择:{missing}。',
447448
// Object basics (no-selection default inspector)
448449
'designer.object.kind': '对象',
449450
'designer.object.section.basic': '基础信息',

0 commit comments

Comments
 (0)