Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
高东东-金蝶建发
/
jf-yzj-supplier
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
8342d467
authored
Sep 09, 2024
by
golton_gao
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
fix: 针对billID可能存在+=等url特殊字符的情况,进行encode处理
parent
d6e60377
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
src/pages/inspect/approval/index.vue
src/vuex/modules/inspect.js
src/pages/inspect/approval/index.vue
View file @
8342d467
...
@@ -97,7 +97,7 @@ export default {
...
@@ -97,7 +97,7 @@ export default {
mixins
:
[
reviewSummaryMixin
],
mixins
:
[
reviewSummaryMixin
],
mounted
()
{
mounted
()
{
this
.
$store
.
commit
(
'showLoading'
,
true
)
this
.
$store
.
commit
(
'showLoading'
,
true
)
this
.
fetchReviewSummaryInfo
({
billId
:
Coder
.
replace
(
this
.
currentSupplierInfo
.
id
)})
this
.
fetchReviewSummaryInfo
({
billId
:
encodeURIComponent
(
Coder
.
replace
(
this
.
currentSupplierInfo
.
id
)
)})
.
then
(()
=>
{
.
then
(()
=>
{
this
.
conditionOption
=
this
.
reviewSummaryInfo
.
useCondition
this
.
conditionOption
=
this
.
reviewSummaryInfo
.
useCondition
this
.
productGradeId
=
this
.
reviewSummaryInfo
.
productGrade
this
.
productGradeId
=
this
.
reviewSummaryInfo
.
productGrade
...
...
src/vuex/modules/inspect.js
View file @
8342d467
...
@@ -151,7 +151,7 @@ export default {
...
@@ -151,7 +151,7 @@ export default {
if
(
response
.
data
.
rows
.
length
>
0
)
{
if
(
response
.
data
.
rows
.
length
>
0
)
{
let
arr
=
[]
let
arr
=
[]
response
.
data
.
rows
.
forEach
(
v
=>
{
response
.
data
.
rows
.
forEach
(
v
=>
{
arr
.
push
(
getReviewSummaryInfo
({
billId
:
Coder
.
replace
(
v
.
id
)}))
arr
.
push
(
getReviewSummaryInfo
({
billId
:
encodeURIComponent
(
Coder
.
replace
(
v
.
id
)
)}))
})
})
Promise
.
all
(
arr
)
Promise
.
all
(
arr
)
.
then
(
resultArr
=>
{
.
then
(
resultArr
=>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment