Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-boutique-work-wechat
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit c779cbcf
authored
Aug 08, 2023
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
门店收款交易流水号 输入限制修改
1 parent
ea811ba6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
packageCrowdFunding/pages/activityPay/activityPay.js
packageCrowdFunding/pages/newOrder/components/paymentVoucherPopup.js
packageCrowdFunding/pages/activityPay/activityPay.js
View file @
c779cbc
...
@@ -180,10 +180,10 @@ Page({
...
@@ -180,10 +180,10 @@ Page({
if
(
customOutTradeNoArr
?.
length
>
5
)
return
wx
.
$util
.
showToast
(
'最多5笔交易流水号'
)
if
(
customOutTradeNoArr
?.
length
>
5
)
return
wx
.
$util
.
showToast
(
'最多5笔交易流水号'
)
try
{
try
{
customOutTradeNoArr
?.
forEach
(
v
=>
{
customOutTradeNoArr
?.
forEach
(
v
=>
{
if
(
v
?.
length
>
16
)
throw
v
if
(
v
?.
length
>
32
)
throw
v
})
})
}
catch
(
error
)
{
}
catch
(
error
)
{
return
wx
.
$util
.
showToast
(
'每个交易流水号最大支持
16
位字符'
)
return
wx
.
$util
.
showToast
(
'每个交易流水号最大支持
32
位字符'
)
}
}
if
(
!
customPayVoucher
?.
length
)
{
if
(
!
customPayVoucher
?.
length
)
{
return
wx
.
$util
.
showToast
(
'请上传付款凭证'
)
return
wx
.
$util
.
showToast
(
'请上传付款凭证'
)
...
...
packageCrowdFunding/pages/newOrder/components/paymentVoucherPopup.js
View file @
c779cbc
...
@@ -93,10 +93,10 @@ Component({
...
@@ -93,10 +93,10 @@ Component({
if
(
customOutTradeNoArr
?.
length
>
5
)
return
wx
.
$util
.
showToast
(
'最多5笔交易流水号'
)
if
(
customOutTradeNoArr
?.
length
>
5
)
return
wx
.
$util
.
showToast
(
'最多5笔交易流水号'
)
try
{
try
{
customOutTradeNoArr
?.
forEach
(
v
=>
{
customOutTradeNoArr
?.
forEach
(
v
=>
{
if
(
v
?.
length
>
16
)
throw
v
if
(
v
?.
length
>
32
)
throw
v
})
})
}
catch
(
error
)
{
}
catch
(
error
)
{
return
wx
.
$util
.
showToast
(
'每个交易流水号最大支持
16
位字符'
)
return
wx
.
$util
.
showToast
(
'每个交易流水号最大支持
32
位字符'
)
}
}
if
(
!
payVoucher
?.
length
)
{
if
(
!
payVoucher
?.
length
)
{
return
wx
.
$util
.
showToast
(
'请上传付款凭证'
)
return
wx
.
$util
.
showToast
(
'请上传付款凭证'
)
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment