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 4c09d713
authored
Jul 04, 2023
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
门店收款多凭证联调
1 parent
76c8df72
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
3 deletions
components/OrderPopup/OrderPopup.js
tabOperating/pages/index/index_mixins.js
tabWorkOrder/pages/confirmOrder/confirmOrder.js
components/OrderPopup/OrderPopup.js
View file @
4c09d71
...
...
@@ -140,7 +140,7 @@ Component({
},
input
(
e
)
{
let
{
value
}
=
e
.
detail
let
val
=
value
.
replace
(
/
[^\a
-
\z\A
-
\Z
0-9
\.\,\?\<\>\。\,\-\—
—
\=\;\;\/\'\"\’\‘\?\“\”\@\!\!\+\$]
/g
,
''
)
let
val
=
value
.
replace
(
/
[^\a
-
\z\A
-
\Z
0-9
\.\,\?\<\>\。\,\-\—
—
\=\;\;\/\'\"\’\‘\?\“\”\@\!\!\+
(
\s
?)
\$]
/g
,
''
)
this
.
setData
({
outTradeNo
:
val
})
...
...
tabOperating/pages/index/index_mixins.js
View file @
4c09d71
import
{
env
}
from
'~/config'
export
default
{
data
:
{
menu
:
[
...
...
@@ -57,7 +58,22 @@ export default {
})
}
else
{
if
(
item
.
isH5
)
{
wx
.
$router
.
jumpH5
(
item
.
url
)
let
jumpLocation
=
''
switch
(
env
)
{
case
'develop'
:
jumpLocation
=
''
break
case
'trial'
:
jumpLocation
=
''
break
case
'release'
:
jumpLocation
=
''
break
default
:
jumpLocation
=
''
break
}
wx
.
$router
.
jumpH5
(
jumpLocation
)
}
else
{
wx
.
$router
.
go
(
item
.
url
)
}
...
...
tabWorkOrder/pages/confirmOrder/confirmOrder.js
View file @
4c09d71
...
...
@@ -144,7 +144,7 @@ Page({
orderCode
,
payType
:
selectPayType
}
if
(
payVoucherList
&&
outTradeNo
)
{
if
(
payVoucherList
?.
length
&&
outTradeNo
)
{
obj
.
payVoucherList
=
payVoucherList
.
map
(
v
=>
{
return
v
?.
url
})
obj
.
outTradeNo
=
outTradeNo
}
...
...
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