diff --git a/src/views/public/order-submit/index.vue b/src/views/public/order-submit/index.vue index 9118c67..34f3d1b 100644 --- a/src/views/public/order-submit/index.vue +++ b/src/views/public/order-submit/index.vue @@ -7,12 +7,16 @@ - + + @@ -51,7 +55,7 @@

请严格按照以下格式填写订单信息:

单:
-2025-01-01 001
+{{ getTodayDate() }} 001
 备注:测试订单
 分销标记:H-TF
 型号:ZQD180F-EB200
@@ -62,17 +66,18 @@
 物流链接:https://...
 订单号:1234567890
 下单人:张三
-

提示:每个字段都不能省略,否则会提交失败

+

重要提示:订单日期必须是今天({{ getTodayDate() }}),每个字段都不能省略

    +
  • 只能提交今天的订单,历史订单不允许提交
  • 请确保订单信息准确无误
  • 每次只能提交一个订单
  • 提交成功后会显示确认信息
  • -
  • 如遇错误,请检查格式是否正确
  • -
  • 请勿频繁提交,系统有限流保护
  • +
  • 如遇错误,请检查格式和日期是否正确
  • +
  • 限流策略:每半小时最多提交120个订单
@@ -95,6 +100,22 @@ export default { } }, methods: { + getPlaceholder() { + const today = new Date().toISOString().split('T')[0] + return `请按照以下格式输入订单信息(注意:订单日期必须是今天 ${today}): +单: +${today} 001 +备注:测试订单 +分销标记:H-TF +型号:ZQD180F-EB200 +链接:https://... +下单付款:1650 +后返金额:50 +地址:张三13800138000上海市浦东新区... +物流链接:https://... +订单号:1234567890 +下单人:张三` + }, copyOne(text) { if (!text) return this.doCopy(text) @@ -207,6 +228,9 @@ export default { hasWarning(resultList) { if (!resultList || resultList.length === 0) return false return resultList.some(msg => msg && typeof msg === 'string' && msg.trim().includes('[炸弹]')) + }, + getTodayDate() { + return new Date().toISOString().split('T')[0] } } }