This commit is contained in:
728
2023-05-23 13:34:54 +08:00
parent e01c1ae276
commit 96008c2db8

View File

@ -386,8 +386,9 @@ export async function ordl(
for (const d of orda.ord.filter(d => d.ord).slice(0, lim_ord_a)) {
const nbr = `${d._id.nbr.substring(0, 3)}****${d._id.nbr.substring(7)}`
const msg = d.msg.length > 0 ? `\n\n留言${d.msg}` : ""
const msgs = d.msg.length > 0 ? `${d.msg.substring(0, 5)}` : ""
const b = t.orda.appendChild(document.createElement("button"))
btn(b, d._id.nbr.substring(7), {
btn(b, `${d._id.nbr.substring(7)}${msgs}`, {
confirm: `完成订单? \n\n${nbr}\n验证码${d.code}${msg}`,
pos: () => pos<DocU>("put", { ordid: d._id, ord: false }),
alert: `${nbr}\n验证码${d.code}${msg}`,