Commit 8342d467 by golton_gao

fix: 针对billID可能存在+=等url特殊字符的情况,进行encode处理

parent d6e60377
......@@ -97,7 +97,7 @@ export default {
mixins: [reviewSummaryMixin],
mounted () {
this.$store.commit('showLoading', true)
this.fetchReviewSummaryInfo({billId: Coder.replace(this.currentSupplierInfo.id)})
this.fetchReviewSummaryInfo({billId: encodeURIComponent(Coder.replace(this.currentSupplierInfo.id))})
.then(() => {
this.conditionOption = this.reviewSummaryInfo.useCondition
this.productGradeId = this.reviewSummaryInfo.productGrade
......
......@@ -151,7 +151,7 @@ export default {
if (response.data.rows.length > 0) {
let arr = []
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)
.then(resultArr => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment