feat: improve member payment and order flows

This commit is contained in:
richjohnrambo
2026-10-15 15:03:39 +08:00
parent 06eaf748ed
commit acf50b9b7c
11 changed files with 172 additions and 22 deletions
+10
View File
@@ -59,6 +59,14 @@
<label
><span>开户行</span><input v-model.trim="bank.bank_name" placeholder="请输入开户行"
/></label>
<label
><span>数字人民币</span
><input
v-model.trim="bank.digital_rmb_code"
inputmode="numeric"
maxlength="32"
placeholder="请输入数字编码"
/></label>
<section class="m-qr-field">
<h3>微信二维码</h3>
<label class="m-qr-upload">
@@ -244,6 +252,7 @@
holder_name: '',
identity_no: '',
account_no: '',
digital_rmb_code: '',
wechat_qr_attachment_id: 0,
alipay_qr_attachment_id: 0,
});
@@ -272,6 +281,7 @@
!/^[1-9]\d{14}(?:\d{2}[\dXx])?$/.test(bank.identity_no.replace(/[ -]/g, '')) ||
!/^[0-9 -]{8,36}$/.test(bank.account_no) ||
!bank.bank_name ||
!/^\d{6,32}$/.test(bank.digital_rmb_code.replace(/[ -]/g, '')) ||
!bank.wechat_qr_attachment_id ||
!bank.alipay_qr_attachment_id
) {