|
|
|
@@ -908,71 +908,71 @@ defineExpose({ saveDraft, submitForReview, updateWeightEvidence, submissionBlock
|
|
|
|
|
.measurement-panel__heading > div:first-child { display: flex; min-width: 0; align-items: flex-start; gap: 11px; }
|
|
|
|
|
.measurement-panel__icon { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border-radius: 8px; background: #eef4ff; color: var(--cc-primary); }
|
|
|
|
|
.measurement-panel h2, .measurement-panel h3 { margin: 0; color: var(--cc-text); }
|
|
|
|
|
.measurement-panel h2 { font-size: 16px; }
|
|
|
|
|
.measurement-panel h3 { font-size: 14px; }
|
|
|
|
|
.measurement-panel__heading p, .measurement-section__heading p { margin: 4px 0 0; color: var(--cc-muted); font-size: 12px; line-height: 1.55; }
|
|
|
|
|
.measurement-panel__actions, .measurement-panel__footer > div { display: flex; flex: 0 0 auto; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
|
|
|
|
|
.measurement-declaration-table { margin-top: 12px; }
|
|
|
|
|
.measurement-panel h2 { font-size: var(--admin-font-title, 16px); }
|
|
|
|
|
.measurement-panel h3 { font-size: var(--admin-font-section, 14px); }
|
|
|
|
|
.measurement-panel__heading p, .measurement-section__heading p { margin: var(--admin-space-1, 4px) 0 0; color: var(--cc-muted); font-size: var(--admin-font-caption, 12px); line-height: 1.55; }
|
|
|
|
|
.measurement-panel__actions, .measurement-panel__footer > div { display: flex; flex: 0 0 auto; flex-wrap: wrap; justify-content: flex-end; gap: var(--admin-space-3, 8px); }
|
|
|
|
|
.measurement-declaration-table { margin-top: var(--admin-space-5, 12px); }
|
|
|
|
|
.measurement-panel__actions :deep(.el-button), .measurement-panel__footer :deep(.el-button) { margin-left: 0; }
|
|
|
|
|
.measurement-skeleton { padding: 24px; }
|
|
|
|
|
.measurement-panel > :deep(.el-alert), .measurement-alert { margin: 16px 20px 0; width: auto; }
|
|
|
|
|
.measurement-skeleton { padding: var(--admin-space-7, 24px); }
|
|
|
|
|
.measurement-panel > :deep(.el-alert), .measurement-alert { margin: var(--admin-space-6, 16px) 20px 0; width: auto; }
|
|
|
|
|
.measurement-alert p { margin: 5px 0 0; line-height: 1.55; }
|
|
|
|
|
.measurement-alert ul { margin: 7px 0 0; padding-left: 18px; font-size: 12px; line-height: 1.65; }
|
|
|
|
|
.measurement-alert ul { margin: 7px 0 0; padding-left: 18px; font-size: var(--admin-font-caption, 12px); line-height: 1.65; }
|
|
|
|
|
.measurement-alert .el-button { margin-top: 9px; }
|
|
|
|
|
.measurement-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
|
|
|
|
|
.measurement-section { padding: 16px 0px; border-top: 1px solid var(--cc-border); }
|
|
|
|
|
.measurement-summary-section { display: grid; gap: 12px; border-top: 0; }
|
|
|
|
|
.measurement-section { padding: var(--admin-space-6, 16px) 0px; border-top: 1px solid var(--cc-border); }
|
|
|
|
|
.measurement-summary-section { display: grid; gap: var(--admin-space-5, 12px); border-top: 0; }
|
|
|
|
|
.measurement-summary-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
|
|
|
|
|
.measurement-summary-context { display: flex; min-width: 0; flex-wrap: wrap; align-items: center; gap: 8px 20px; }
|
|
|
|
|
.measurement-summary-header span { color: var(--cc-muted); font-size: 11px; }
|
|
|
|
|
.measurement-summary-context { display: flex; min-width: 0; flex-wrap: wrap; align-items: center; gap: var(--admin-space-3, 8px) 20px; }
|
|
|
|
|
.measurement-summary-header span { color: var(--cc-muted); font-size: var(--admin-font-caption, 11px); }
|
|
|
|
|
.measurement-deviation-alert { margin: 0; width: auto; }
|
|
|
|
|
.measurement-deviation-alert p { margin: 3px 0 0; line-height: 1.55; }
|
|
|
|
|
.measurement-summary-context p { display: inline-flex; min-width: 0; align-items: baseline; gap: 6px; margin: 0; overflow-wrap: anywhere; color: var(--cc-text); font-size: 12px; font-weight: 600; }
|
|
|
|
|
.measurement-summary-context p { display: inline-flex; min-width: 0; align-items: baseline; gap: var(--admin-space-2, 6px); margin: 0; overflow-wrap: anywhere; color: var(--cc-text); font-size: var(--admin-font-caption, 12px); font-weight: 600; }
|
|
|
|
|
.measurement-summary-status { display: flex; flex: 0 0 auto; align-items: center; gap: 9px; }
|
|
|
|
|
.measurement-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 2px 0; }
|
|
|
|
|
.measurement-subheading { margin: 0; color: #344054; font-size: 12px; font-weight: 700; }
|
|
|
|
|
.measurement-metrics > div { display: grid; min-width: 0; min-height: 58px; align-content: center; gap: 4px; padding: 5px 18px; border-left: 1px solid var(--cc-border); }
|
|
|
|
|
.measurement-subheading { margin: 0; color: #344054; font-size: var(--admin-font-caption, 12px); font-weight: 700; }
|
|
|
|
|
.measurement-metrics > div { display: grid; min-width: 0; min-height: 58px; align-content: center; gap: var(--admin-space-1, 4px); padding: 5px 18px; border-left: 1px solid var(--cc-border); }
|
|
|
|
|
.measurement-metrics > div:first-child { padding-left: 0; border-left: 0; }
|
|
|
|
|
.measurement-metrics dt { color: var(--cc-muted); font-size: 12px; }
|
|
|
|
|
.measurement-metrics dt { color: var(--cc-muted); font-size: var(--admin-font-caption, 12px); }
|
|
|
|
|
.measurement-metrics dd { min-width: 0; margin: 0; color: var(--cc-text); font-size: 18px; font-weight: 700; overflow-wrap: anywhere; }
|
|
|
|
|
.measurement-metrics small { color: var(--cc-muted); font-size: 11px; font-weight: 500; }
|
|
|
|
|
.measurement-metrics small { color: var(--cc-muted); font-size: var(--admin-font-caption, 11px); font-weight: 500; }
|
|
|
|
|
.measurement-metric--primary dd { color: var(--cc-primary); font-size: 20px; }
|
|
|
|
|
.measurement-metric--warning dd { color: var(--el-color-warning-dark-2); }
|
|
|
|
|
.measurement-declaration { padding-top: 12px; border-top: 1px solid var(--cc-border); }
|
|
|
|
|
.measurement-declaration h4 { margin: 0 0 10px; color: #344054; font-size: 12px; font-weight: 700; }
|
|
|
|
|
.measurement-section__heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
|
|
|
|
|
.measurement-declaration { padding-top: var(--admin-space-5, 12px); border-top: 1px solid var(--cc-border); }
|
|
|
|
|
.measurement-declaration h4 { margin: 0 0 var(--admin-space-4, 10px); color: #344054; font-size: var(--admin-font-caption, 12px); font-weight: 700; }
|
|
|
|
|
.measurement-section__heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: var(--admin-space-6, 16px); }
|
|
|
|
|
.measurement-section__heading > div { min-width: 0; }
|
|
|
|
|
.measurement-section-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }.measurement-section-actions :deep(.el-button) { margin-left: 0; }
|
|
|
|
|
.warehouse-suggestion-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }.warehouse-suggestion-form :deep(.el-select),.warehouse-suggestion-form :deep(.el-input-number) { width: 100%; }.warehouse-suggestion-form :deep(.el-form-item:last-child) { grid-column: 1 / -1; }.suggestion-preview { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 4px 0 0; border: 1px solid var(--cc-border); border-radius: 6px; }.suggestion-preview div { padding: 12px; border-right: 1px solid var(--cc-border); }.suggestion-preview div:last-child { border-right: 0; }.suggestion-preview dt { color: var(--cc-muted); font-size: 11px; }.suggestion-preview dd { margin: 5px 0 0; color: var(--cc-text); font-size: 13px; font-weight: 650; }
|
|
|
|
|
.measurement-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
|
|
|
|
|
.measurement-data-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
|
|
|
|
|
.measurement-form label { display: flex; min-width: 0; flex-direction: column; gap: 7px; color: #344054; font-size: 12px; font-weight: 650; }
|
|
|
|
|
.measurement-section-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: var(--admin-space-3, 8px); }.measurement-section-actions :deep(.el-button) { margin-left: 0; }
|
|
|
|
|
.warehouse-suggestion-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--admin-space-6, 16px); }.warehouse-suggestion-form :deep(.el-select),.warehouse-suggestion-form :deep(.el-input-number) { width: 100%; }.warehouse-suggestion-form :deep(.el-form-item:last-child) { grid-column: 1 / -1; }.suggestion-preview { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: var(--admin-space-1, 4px) 0 0; border: 1px solid var(--cc-border); border-radius: 6px; }.suggestion-preview div { padding: var(--admin-space-5, 12px); border-right: 1px solid var(--cc-border); }.suggestion-preview div:last-child { border-right: 0; }.suggestion-preview dt { color: var(--cc-muted); font-size: var(--admin-font-caption, 11px); }.suggestion-preview dd { margin: 5px 0 0; color: var(--cc-text); font-size: var(--admin-font-body, 13px); font-weight: 650; }
|
|
|
|
|
.measurement-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--admin-space-6, 16px); }
|
|
|
|
|
.measurement-data-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--admin-space-5, 12px); }
|
|
|
|
|
.measurement-form label { display: flex; min-width: 0; flex-direction: column; gap: 7px; color: #344054; font-size: var(--admin-font-caption, 12px); font-weight: 650; }
|
|
|
|
|
.measurement-form :deep(.el-input-number), .measurement-form :deep(.el-input) { width: 100%; }
|
|
|
|
|
.measurement-data-grid label { display: flex; min-width: 0; flex-direction: column; gap: 5px; color: #344054; font-size: 12px; font-weight: 600; }
|
|
|
|
|
.measurement-data-grid label { display: flex; min-width: 0; flex-direction: column; gap: 5px; color: #344054; font-size: var(--admin-font-caption, 12px); font-weight: 600; }
|
|
|
|
|
.measurement-data-grid :deep(.el-input__wrapper) { border-radius: 3px; }
|
|
|
|
|
.measurement-readonly-field { display: grid; min-width: 0; align-content: start; gap: 7px; }
|
|
|
|
|
.measurement-readonly-field span { color: #344054; font-size: 12px; font-weight: 600; }
|
|
|
|
|
.measurement-readonly-field strong { min-height: 32px; padding: 7px 0; overflow-wrap: anywhere; color: var(--cc-text); font-size: 13px; line-height: 18px; }
|
|
|
|
|
.measurement-readonly-field span { color: #344054; font-size: var(--admin-font-caption, 12px); font-weight: 600; }
|
|
|
|
|
.measurement-readonly-field strong { min-height: var(--admin-control-height, 32px); padding: 7px 0; overflow-wrap: anywhere; color: var(--cc-text); font-size: var(--admin-font-body, 13px); line-height: 18px; }
|
|
|
|
|
.measurement-image-preview { display: grid; min-height: 240px; place-items: center; }
|
|
|
|
|
.measurement-image-preview img { display: block; width: auto; max-width: 100%; max-height: 68vh; object-fit: contain; }
|
|
|
|
|
.manual-entry-alert { margin-bottom: 16px; }
|
|
|
|
|
.manual-entry-alert ul { margin: 6px 0 0; padding-left: 18px; }
|
|
|
|
|
.manual-entry-alert { margin-bottom: var(--admin-space-6, 16px); }
|
|
|
|
|
.manual-entry-alert ul { margin: var(--admin-space-2, 6px) 0 0; padding-left: 18px; }
|
|
|
|
|
.manual-entry-form :deep(.el-input-number), .manual-entry-form :deep(.el-date-editor) { width: 100%; }
|
|
|
|
|
.manual-entry-upload { width: 100%; }
|
|
|
|
|
.measurement-items-section { background: #fff; }
|
|
|
|
|
.measurement-table { width: 100%; font-size: 12px; }
|
|
|
|
|
.measurement-table :deep(.el-table__header th) { padding: 8px 0; background: #f6f8fa; color: #475467; font-size: 11px; font-weight: 700; }
|
|
|
|
|
.measurement-items-section { background: var(--admin-surface, #fff); }
|
|
|
|
|
.measurement-table { width: 100%; font-size: var(--admin-font-caption, 12px); }
|
|
|
|
|
.measurement-table :deep(.el-table__header th) { padding: var(--admin-space-3, 8px) 0; background: #f6f8fa; color: #475467; font-size: var(--admin-font-caption, 11px); font-weight: 700; }
|
|
|
|
|
.measurement-table :deep(.el-table__cell) { padding: 7px 0; }
|
|
|
|
|
.measurement-table :deep(.cell) { line-height: 1.35; }
|
|
|
|
|
.measurement-table :deep(.measurement-table__row--error > td.el-table__cell) { background: var(--el-color-danger-light-9); }
|
|
|
|
|
.warehouse-suggestion-table { display: grid; gap: 10px; margin-top: 18px; }.warehouse-suggestion-table h3 { margin: 0; color: var(--cc-text); font-size: 14px; }
|
|
|
|
|
.warehouse-suggestion-table { display: grid; gap: var(--admin-space-4, 10px); margin-top: 18px; }.warehouse-suggestion-table h3 { margin: 0; color: var(--cc-text); font-size: var(--admin-font-section, 14px); }
|
|
|
|
|
.measurement-box-code { font-weight: 650; }
|
|
|
|
|
.measurement-count-editor { width: 104px !important; }
|
|
|
|
|
.measurement-row-details { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 20px; margin: 0; padding: 4px 18px 8px 62px; }
|
|
|
|
|
.measurement-row-details dt { color: var(--cc-muted); font-size: 11px; }
|
|
|
|
|
.measurement-row-details dd { margin: 3px 0 0; overflow-wrap: anywhere; color: var(--cc-text); font-size: 12px; font-weight: 600; }
|
|
|
|
|
.measurement-panel__footer { position: sticky; bottom: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 20px; border-top: 1px solid var(--cc-border); background: #fff; }
|
|
|
|
|
.measurement-panel__footer > span { display: inline-flex; align-items: center; gap: 6px; color: var(--cc-muted); font-size: 12px; }
|
|
|
|
|
.measurement-row-details { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--admin-space-3, 8px) 20px; margin: 0; padding: var(--admin-space-1, 4px) 18px var(--admin-space-3, 8px) 62px; }
|
|
|
|
|
.measurement-row-details dt { color: var(--cc-muted); font-size: var(--admin-font-caption, 11px); }
|
|
|
|
|
.measurement-row-details dd { margin: 3px 0 0; overflow-wrap: anywhere; color: var(--cc-text); font-size: var(--admin-font-caption, 12px); font-weight: 600; }
|
|
|
|
|
.measurement-panel__footer { position: sticky; bottom: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: var(--admin-space-6, 16px); padding: var(--admin-space-5, 12px) 20px; border-top: 1px solid var(--cc-border); background: var(--admin-surface, #fff); }
|
|
|
|
|
.measurement-panel__footer > span { display: inline-flex; align-items: center; gap: var(--admin-space-2, 6px); color: var(--cc-muted); font-size: var(--admin-font-caption, 12px); }
|
|
|
|
|
.measurement-panel__footer > span:has(svg) { color: #b54708; font-weight: 650; }
|
|
|
|
|
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
|
|
|
|
|
|
|
|
|
|