Commit 469d3c58 by liaoxing

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

parent 0e08d382
...@@ -22,7 +22,8 @@ export default { ...@@ -22,7 +22,8 @@ export default {
...doctre, ...doctre,
async init () { async init () {
const params = { 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', { const res = await Api.post('/service/cctdcr/init', {
...params, ...params,
......
...@@ -22,7 +22,8 @@ export default { ...@@ -22,7 +22,8 @@ export default {
...doctre, ...doctre,
async init () { async init () {
const params = { 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', { const res = await Api.post('/service/cctset/init', {
...params, ...params,
......
...@@ -22,7 +22,8 @@ export default { ...@@ -22,7 +22,8 @@ export default {
...doctre, ...doctre,
async init () { async init () {
const params = { 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', { const res = await Api.post('/service/ccttra/init', {
...params, ...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