|
|
@@ -52,9 +52,9 @@ const userStore = useUserStore()
|
|
|
const certificate_photo_url = ref('')
|
|
|
const { getSystemParamValue } = useUserStore()
|
|
|
const msg = getSystemParamValue('302')
|
|
|
-const start = getSystemParamValue('012')
|
|
|
+const start = getSystemParamValue('012') ?? ''
|
|
|
const limitMsg = getSystemParamValue('1002')
|
|
|
-const end = getSystemParamValue('1003')
|
|
|
+const end = getSystemParamValue('1003') ?? ''
|
|
|
|
|
|
const formRules: FormRules = {
|
|
|
Amount: [{ required: true, message: '请输入充值金额' }],
|
|
|
@@ -77,8 +77,8 @@ const doDepositWarning = () => {
|
|
|
'提示',
|
|
|
{ confirmButtonText: '确认', cancelButtonText: '取消', })
|
|
|
.then(() => {
|
|
|
- const now = moment(new Date().toDateString())
|
|
|
- if (now > moment(start) && now < moment(end)) {
|
|
|
+ const now = moment(new Date().toISOString()).format('HH:mm')
|
|
|
+ if (now > start && now < end) {
|
|
|
/// 提交
|
|
|
formSubmit()
|
|
|
} else {
|