Commit 469d3c58 by liaoxing

光票托收 初始化时 spt、trn 传值 修改

parent 0e08d382
......@@ -22,7 +22,8 @@ export default {
...doctre,
async init () {
const params = {
spt: JSON.parse(localStorage.getItem('row_' + this.trnName))
spt: JSON.parse(localStorage.getItem('row_' + this.trnName)),
trninr: this.$route.query.trninr,
}
const res = await Api.post('/service/cctdcr/init', {
...params,
......
......@@ -22,7 +22,8 @@ export default {
...doctre,
async init () {
const params = {
spt: JSON.parse(localStorage.getItem('row_' + this.trnName))
spt: JSON.parse(localStorage.getItem('row_' + this.trnName)),
trninr: this.$route.query.trninr,
}
const res = await Api.post('/service/cctset/init', {
...params,
......
......@@ -22,7 +22,8 @@ export default {
...doctre,
async init () {
const params = {
spt: JSON.parse(localStorage.getItem('row_' + this.trnName))
spt: JSON.parse(localStorage.getItem('row_' + this.trnName)),
trninr: this.$route.query.trninr,
}
const res = await Api.post('/service/ccttra/init', {
...params,
......
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 to comment