[{"data":1,"prerenderedAt":257},["ShallowReactive",2],{"note:/notes/markdown-article-urls":3,"notes-summary":185},[4],{"_path":5,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":9,"description":10,"updated":11,"category":12,"body":13,"_type":178,"_id":179,"_source":180,"_file":181,"_stem":182,"_extension":183,"sitemap":184},"/notes/markdown-article-urls","notes",false,"","用 Markdown 发文章，怎样保留原来的网址？","官网文章用 Markdown 文件管理。标题改了为什么网址可以不变？从文件名、标题和更新日期说起，分享让文章方便维护的做法。","2026-11-19","开发心得",{"type":14,"children":15,"toc":174},"root",[16,24,30,51,122,127,154,168],{"type":17,"tag":18,"props":19,"children":20},"element","p",{},[21],{"type":22,"value":23},"text","一篇文章发出去以后，读者可能顺手收藏，也可能转到微信群里。过阵子我们发现标题不够准确，或者想在正文里补一段新排查出来的结论，改完重新发布时，以前发出去的那个链接还得能正常打开。",{"type":17,"tag":25,"props":26,"children":28},"h2",{"id":27},"文件名决定网址",[29],{"type":22,"value":27},{"type":17,"tag":18,"props":31,"children":32},{},[33,35,42,44,49],{"type":22,"value":34},"在翼程官网里，文章网址只认文件名，不跟着标题走。比如这篇笔记的文件名是 ",{"type":17,"tag":36,"props":37,"children":39},"code",{"className":38},[],[40],{"type":22,"value":41},"markdown-article-urls.md",{"type":22,"value":43},"，生成的网址就是 ",{"type":17,"tag":36,"props":45,"children":47},{"className":46},[],[48],{"type":22,"value":5},{"type":22,"value":50},"。至于页面上显示什么大标题、列表里展示什么摘要，都写在文件开头的 YAML 信息区里：",{"type":17,"tag":52,"props":53,"children":57},"pre",{"className":54,"code":55,"language":56,"meta":8,"style":8},"language-yaml shiki shiki-themes github-dark","# 标题可以根据正文随时调整，文件名保持不动。\ntitle: 用 Markdown 发文章，怎样保留原来的网址？\n# 正文有实质修改时，再更新这里的日期。\nupdated: '2026-11-19'\n","yaml",[58],{"type":17,"tag":36,"props":59,"children":60},{"__ignoreMap":8},[61,73,95,104],{"type":17,"tag":62,"props":63,"children":66},"span",{"class":64,"line":65},"line",1,[67],{"type":17,"tag":62,"props":68,"children":70},{"style":69},"--shiki-default:#6A737D",[71],{"type":22,"value":72},"# 标题可以根据正文随时调整，文件名保持不动。\n",{"type":17,"tag":62,"props":74,"children":76},{"class":64,"line":75},2,[77,83,89],{"type":17,"tag":62,"props":78,"children":80},{"style":79},"--shiki-default:#85E89D",[81],{"type":22,"value":82},"title",{"type":17,"tag":62,"props":84,"children":86},{"style":85},"--shiki-default:#E1E4E8",[87],{"type":22,"value":88},": ",{"type":17,"tag":62,"props":90,"children":92},{"style":91},"--shiki-default:#9ECBFF",[93],{"type":22,"value":94},"用 Markdown 发文章，怎样保留原来的网址？\n",{"type":17,"tag":62,"props":96,"children":98},{"class":64,"line":97},3,[99],{"type":17,"tag":62,"props":100,"children":101},{"style":69},[102],{"type":22,"value":103},"# 正文有实质修改时，再更新这里的日期。\n",{"type":17,"tag":62,"props":105,"children":107},{"class":64,"line":106},4,[108,113,117],{"type":17,"tag":62,"props":109,"children":110},{"style":79},[111],{"type":22,"value":112},"updated",{"type":17,"tag":62,"props":114,"children":115},{"style":85},[116],{"type":22,"value":88},{"type":17,"tag":62,"props":118,"children":119},{"style":91},[120],{"type":22,"value":121},"'2026-11-19'\n",{"type":17,"tag":25,"props":123,"children":125},{"id":124},"修改正文时保留文件名",[126],{"type":22,"value":124},{"type":17,"tag":18,"props":128,"children":129},{},[130,132,138,140,145,147,152],{"type":22,"value":131},"这样做最大的好处是改稿没有心理负担。比如前几天写了一篇故障排查笔记，当时只记了临时绕过的办法；这周找到了病根，直接打开原来的 ",{"type":17,"tag":36,"props":133,"children":135},{"className":134},[],[136],{"type":22,"value":137},".md",{"type":22,"value":139}," 文件，把复现条件和最终修复补进去，再把 ",{"type":17,"tag":36,"props":141,"children":143},{"className":142},[],[144],{"type":22,"value":82},{"type":22,"value":146}," 改得更贴切、把 ",{"type":17,"tag":36,"props":148,"children":150},{"className":149},[],[151],{"type":22,"value":112},{"type":22,"value":153}," 改成当天。因为文件名没动，之前转出去的旧链接点进来直接就是新内容，不会变成 404。",{"type":17,"tag":18,"props":155,"children":156},{},[157,159,166],{"type":22,"value":158},"想了解软件选型、需求和验收，可以继续看",{"type":17,"tag":160,"props":161,"children":163},"a",{"href":162},"/guides",[164],{"type":22,"value":165},"开发指南",{"type":22,"value":167},"。",{"type":17,"tag":169,"props":170,"children":171},"style",{},[172],{"type":22,"value":173},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}",{"title":8,"searchDepth":75,"depth":75,"links":175},[176,177],{"id":27,"depth":75,"text":27},{"id":124,"depth":75,"text":124},"markdown","content:notes:markdown-article-urls.md","content","notes/markdown-article-urls.md","notes/markdown-article-urls","md",{"loc":5,"lastmod":11},[186,191,197,203,208,212,217,221,225,226,230,235,240,244,248,252],{"_path":187,"title":188,"description":189,"updated":11,"category":190},"/notes/ai-chat-stale-replies","买家连发两条消息，AI 客服怎样避免答过时？","用一段电商客服对话解释模型结果过期的原因，给出按会话校验发送、处理人工接管和核对超时回执的办法，并附可复现的验收场景。","AI 客服",{"_path":192,"title":193,"description":194,"updated":11,"category":195,"product":196},"/notes/ai-studio-changed-part-number","给画册加了个「一键白底」，AI 顺手把滤芯上的型号改了","翼程画册上线 AI 产品摄影棚时的真实插曲：手机拍的滤芯背景太乱，一键抠图换白底效果惊艳，放大一看，产品身上的印字怎么变成外星文了？","开发趣事","/e-album",{"_path":198,"title":199,"description":200,"updated":201,"category":202},"/notes/auto-parts-oe-number-alias","同一个滤芯三四个 OE 号和原厂编码，仓库怎么查才不拿错货？","针对汽配和滤芯厂同一零件对应多个 OE 号、同行对照号和车型俗称的情况，拆解一码一档建重账的坑，给出唯一主编码加别名检索和带图拣货的做法。","2026-11-20","ERP 实务",{"_path":204,"title":205,"description":206,"updated":207,"category":202},"/notes/auto-parts-returns-and-warranty","汽配退换货和三包索赔，为什么总把库存和应收账搞花？","针对汽配和滤芯批发中常见的买错退回、等价换货与质量三包索赔，拆解直接删原单和良品坏件混入库导致账实不符的原因，给出分流记账、坏件隔离和冲减应收的实操做法。","2026-11-23",{"_path":209,"title":210,"description":211,"updated":11,"category":195},"/notes/barcode-scanner-auto-enter-story","扫码枪「滴」一声之后，自己替仓管敲了个回车","记一次仓库现场调试扫码枪的乌龙：商品刚扫上去，发货单怎么自己就提交过账了？聊聊几十块钱的 USB 扫码枪在浏览器里到底干了什么。",{"_path":213,"title":214,"description":215,"updated":216,"category":202},"/notes/customer-tiered-pricing-chaos","老客户、散客、批发商价格不一样，开单时总报串价怎么办？","针对汽配、滤芯批发中老客户协议价、等级阶梯价与散客零售价并存的接单场景，拆解靠人脑记价和翻聊天记录导致报串价的原因，说明进销存记忆客户上次售价、三级取价优先级与异常低价提醒的实操做法。","2026-11-21",{"_path":218,"title":219,"description":220,"updated":11,"category":202},"/notes/erp-opening-balance-order","进销存建账顺序搞反，为什么后面的库存和欠款全对不上？","以汽配、滤芯厂首次建账为例，算清先开单后录期初、分箱和散件混录、既是客户又是供应商拆成两条时账面怎么算错，给出建账当天就能核对的检查步。",{"_path":222,"title":223,"description":224,"updated":201,"category":202},"/notes/filter-box-to-piece-inventory","滤芯厂按箱入库、按个出货，库存账怎么算才不乱？","结合滤芯与汽配仓库常见的整箱入库、拆箱散卖场景，拆解建两个商品档案导致串账的原因，说明基本单位、辅助单位换算与装箱数变动时的库存记账办法。",{"_path":5,"title":9,"description":10,"updated":11,"category":12},{"_path":227,"title":228,"description":229,"updated":11,"category":12},"/notes/nuxt-content-static-notes","用 Nuxt Content 给翼程官网做一个静态 Markdown 栏目","拆解翼程笔记的实际实现，说明 Nuxt Content 查询与渲染、动态路由预渲染、站点地图日期同步，以及排查草稿进入静态缓存的过程。",{"_path":231,"title":232,"description":233,"updated":11,"category":195,"product":234},"/notes/one-billion-order-in-demo-erp","当业务员在示例账套里开了张「一个亿」的发货单","翼程云ERP 加上「示例数据」功能后，我们在试用后台见过各种放飞自我的测试单。讲讲怎么让用户随便折腾，又能随时一键回到干净的起跑线。","/cloud-erp",{"_path":236,"title":237,"description":238,"updated":11,"category":239},"/notes/pdf-catalog-vs-e-album-search","给客户发了 30 页 PDF 报价册，为什么对方还是直接问「有没有这款」？","对比微信里发 PDF 画册与在线翻页电子画册的实际打开体验，说明图片转曲导致搜不到型号、手机端来回缩放、改价后旧文件失控三个问题及解决办法。","翼程画册",{"_path":241,"title":242,"description":243,"updated":11,"category":195,"product":234},"/notes/receipt-printer-half-meter-blank-paper","「我就改一个字」，然后小票打印机吐了半卷白纸","记一次帮客户微调 80mm 热敏小票打印模板的踩坑：只加了行收款账号，为什么每次打单后面都跟着半米空白纸？聊聊网页打印和热敏机的纸张脾气。",{"_path":245,"title":246,"description":247,"updated":11,"category":12},"/notes/static-site-release-checks","静态官网构建成功了，为什么还要检查生成的 HTML？","以翼程官网的 Markdown 发文流程为例，说明如何检查静态正文、导航、规范链接与站点地图，以及哪些错误要到部署后才能发现。",{"_path":249,"title":250,"description":251,"updated":11,"category":202},"/notes/stocktake-while-shipping","仓库不停工，盘点差异应该怎么算？","用一笔先移货、后补单的算例，算清不停工盘点时的账面数量、实盘数量与真实差异，并给出仓库现场可以执行的复核步骤。",{"_path":253,"title":254,"description":255,"updated":11,"category":256},"/notes/wechat-message-to-erp-order","把微信里的报价明细粘进 ERP，自动匹配商品时要防哪些错？","拆解汽配业务员用微信接单时的常见写法，说明商品名称模糊、单位未换算、价格带错三类风险，以及 AI 识别草稿在入单前必须保留的核对环节。","AI 与开单",1795421278958]