feat(B06/B05): 사토장을 면적표에 갈라 보임 + 등록부 칸 셋
사토장 - 카드 면적표에 「사토장」 줄을 따로 세움 — 성토와 **합치지 않음**(확정 ㉠). 사토장이 없는 측점에는 줄을 세우지 않음(어느 측점에 있는지 표에서 보이게) - 성토와 다른 색으로 둠 — 같은 색이면 한 덩어리로 읽힘 등록부(다른 창 요청, 기본값 없음 — 현장 치수라 지어내지 않음) - `erosion_check.top_length_m`·`bottom_length_m` — 골막이 정면적이 사다리꼴이라 두 변이 있어야 셈. 실무 정본 산출식이 상장ⓐ·하장ⓑ를 씀 - `soil_guard.form` 에 「떼」 추가 — 실무 정본에 떼흙막이 산출식이 있는데 붙일 칸이 없었음 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1010,7 +1010,16 @@
|
||||
"key": "form",
|
||||
"label": "형식",
|
||||
"input": "select",
|
||||
"choices": ["콘크리트", "돌(찰)", "돌(메)", "블록쌓기", "돌망태", "흙포대", "통나무쌓기"],
|
||||
"choices": [
|
||||
"콘크리트",
|
||||
"돌(찰)",
|
||||
"돌(메)",
|
||||
"블록쌓기",
|
||||
"돌망태",
|
||||
"흙포대",
|
||||
"통나무쌓기",
|
||||
"떼"
|
||||
],
|
||||
"default": null,
|
||||
"required": true,
|
||||
"phase": "detail"
|
||||
@@ -1273,6 +1282,24 @@
|
||||
"required": true,
|
||||
"phase": "detail"
|
||||
},
|
||||
{
|
||||
"key": "top_length_m",
|
||||
"label": "상장 ⓐ (윗변)",
|
||||
"input": "number",
|
||||
"unit": "m",
|
||||
"default": null,
|
||||
"required": true,
|
||||
"phase": "detail"
|
||||
},
|
||||
{
|
||||
"key": "bottom_length_m",
|
||||
"label": "하장 ⓑ (아랫변)",
|
||||
"input": "number",
|
||||
"unit": "m",
|
||||
"default": null,
|
||||
"required": true,
|
||||
"phase": "detail"
|
||||
},
|
||||
{
|
||||
"key": "length_m",
|
||||
"label": "길이",
|
||||
|
||||
@@ -375,6 +375,21 @@ export function buildAreaReadout(
|
||||
],
|
||||
},
|
||||
];
|
||||
// 사토장이 선 측점만 한 줄 더 — **성토와 합치지 않는다**(확정 ㉠). 없는 측점에 빈 줄을
|
||||
// 세우면 어느 측점에 사토장이 있는지 표에서 안 보인다.
|
||||
const spoilArea = Number(design.spoil_fill_area_m2 ?? 0);
|
||||
if (spoilArea > 0) {
|
||||
rows.push({
|
||||
label: L("B06_Design_SpoilFill_Area"),
|
||||
variant: "spoil-fill",
|
||||
cells: [
|
||||
{ key: null, value: null, variant: "spoil-fill" },
|
||||
{ key: null, value: null, variant: "spoil-fill" },
|
||||
{ key: null, value: null, variant: "spoil-fill" },
|
||||
{ key: null, value: spoilArea, variant: "spoil-fill" },
|
||||
],
|
||||
});
|
||||
}
|
||||
for (const row of rows) {
|
||||
const tr = document.createElement("tr");
|
||||
const th = document.createElement("th");
|
||||
|
||||
@@ -71,6 +71,11 @@
|
||||
color: var(--color-chart-0);
|
||||
}
|
||||
|
||||
/* 사토장 — 성토와 **다른 색**으로 둔다. 같은 색이면 표에서 한 덩어리로 읽힌다. */
|
||||
.b06-design__area--spoil-fill {
|
||||
color: #6d7a20;
|
||||
}
|
||||
|
||||
.b06-design__area--unset {
|
||||
color: var(--color-text-muted);
|
||||
}
|
||||
|
||||
@@ -446,6 +446,9 @@ export const ui_locales_b2 = {
|
||||
B06_Design_Area_Unit: ["㎡", "㎡"],
|
||||
B06_Design_Area_Highlight: ["누르면 해당 면적을 강조합니다", "Click to highlight this area"],
|
||||
B06_Design_Fill_Area: ["성토", "Fill"],
|
||||
// 사토장(유용토운반작업장) — **성토와 갈라 보인다**. 합치면 「쌓기」가 갑자기 커 보여
|
||||
// 사람이 오해한다(2026-09-09 네 창 확정 ㉠).
|
||||
B06_Design_SpoilFill_Area: ["사토장", "Spoil site"],
|
||||
B06_Design_Unset: ["미지정", "Not set"],
|
||||
B06_Design_DitchType_Legend: ["측구형식", "Ditch type"],
|
||||
B06_Design_DitchType_Standard: ["일반", "Standard"],
|
||||
|
||||
Reference in New Issue
Block a user