feat: implement unified schema mapper, enhance UI/UX with responsive design, and optimize asset log logic
This commit is contained in:
@@ -370,7 +370,7 @@ app.get('/api/generate-asset-code', async (req, res) => {
|
||||
});
|
||||
}
|
||||
|
||||
const nextNum = (maxNum + 1).toString().padStart(3, '0');
|
||||
const nextNum = (maxNum + 1).toString().padStart(4, '0');
|
||||
res.json({ nextCode: `${prefix}${nextNum}` });
|
||||
} catch (err) {
|
||||
res.status(500).json({ error: err.message });
|
||||
|
||||
Reference in New Issue
Block a user