diff --git a/.next/dev/logs/next-development.log b/.next/dev/logs/next-development.log index e7f4e0f..0ffb7eb 100644 --- a/.next/dev/logs/next-development.log +++ b/.next/dev/logs/next-development.log @@ -45,3 +45,88 @@ {"timestamp":"01:03:11.671","source":"Server","level":"LOG","message":"✓ Compiled in 35ms"} {"timestamp":"01:03:41.505","source":"Server","level":"LOG","message":"✓ Compiled in 50ms"} {"timestamp":"01:03:51.542","source":"Server","level":"LOG","message":"✓ Compiled in 66ms"} +{"timestamp":"19:20:28.294","source":"Server","level":"LOG","message":"✓ Compiled in 44ms"} +{"timestamp":"19:20:47.357","source":"Server","level":"LOG","message":"✓ Compiled in 39ms"} +{"timestamp":"19:20:57.178","source":"Server","level":"LOG","message":"✓ Compiled in 33ms"} +{"timestamp":"20:05:25.241","source":"Server","level":"LOG","message":"✓ Compiled in 29ms"} +{"timestamp":"20:06:03.061","source":"Server","level":"LOG","message":"✓ Compiled in 28ms"} +{"timestamp":"20:06:40.080","source":"Server","level":"LOG","message":"✓ Compiled in 34ms"} +{"timestamp":"23:00:54.762","source":"Server","level":"LOG","message":"✓ Compiled in 92ms"} +{"timestamp":"23:01:33.547","source":"Browser","level":"ERROR","message":"uncaughtError: ReferenceError: BomContent is not defined"} +{"timestamp":"23:01:33.551","source":"Server","level":"ERROR","message":"[browser] \"\\u001b[31mUncaught ReferenceError: BomContent is not defined\\u001b[39m\\n\\u001b[31m at BomPage (src/app/models/bom/page.tsx:42:8)\\u001b[39m\\n \\u001b[90m40 |\\u001b[0m \\u001b[36mreturn\\u001b[0m (\\n \\u001b[90m41 |\\u001b[0m <\\u001b[33mSuspense\\u001b[0m fallback={
| {h} | ))}||||||||
|---|---|---|---|---|---|---|---|---|
| {row.model} | -
- {row.modules}
- |
- {row.expiry} | -{row.date} | -- {row.status} - | -
-
-
-
+ {row.model} |
+
+ |
+
+ {row.modules.split(', ').map(m => (
+ {m}
+ ))}
+
+ |
|
| 选择 | +分类 | 名称 | 说明 | |||||
|
-
- {selectedItems.includes(item.id) &&
- |
- {item.name} | -{item.description} | -||||||
|
+
+ {selectedItems.includes(item.id) &&
+ |
+ {idx === 0 ? cat : ''} | +{item.name} | +{item.description} | +
管理 {modelName} 型号的物料清单,定义装配所需板卡及版本
+| {h} | + ))} +|||||||
|---|---|---|---|---|---|---|---|
| {item.name} | +{item.model} | +
+
+ {item.versions.map(v => (
+ {v}
+ ))}
+
+ |
+ {item.qty} | ++ {item.required ? 必需 : 可选} + | ++ {item.qty >= 2 && item.enforceVersionMatch ? ( + 版本须一致 + ) : ( + - + )} + | ++ {item.needCalibration ? 需校准 : -} + | ++ + | +
| {h} | ))}||||||
|---|---|---|---|---|---|---|
| {item.code} | {item.name} | -{item.sn} | +
+ {item.sn === '-' ? (
+ -
+ ) : (
+
+ updateBomItem(item.id, 'sn', e.target.value)} placeholder="扫码或手动输入SN" style={{ width: 160, padding: '4px 8px', border: '1px solid #D9D9D9', borderRadius: 4, fontSize: 13, boxSizing: 'border-box' }} />
+
+
+ )}
+ |
{item.model} | +
+ {(boardVersionOptions[item.model] || []).length > 1 ? (
+ |
{item.calibration} | @@ -177,6 +257,28 @@ export default function RegistrationPage() { ))}