Browse Source

完善欠款提车--打印接口传参

zhanglei
yunuo970428 2 years ago
parent
commit
a549513ba0
  1. 2
      anrui-buscenter/anrui-buscenter-ui/src/views/teshushenpi/qiankuanticheguanli/qiankuanticheshenqingInfo.vue
  2. 2
      anrui-buscenter/anrui-buscenter-ui/src/views/workflow/teshushenpiFlow/qiankuanticheguanli/qiankuanticheYiBanInfo.vue

2
anrui-buscenter/anrui-buscenter-ui/src/views/teshushenpi/qiankuanticheguanli/qiankuanticheshenqingInfo.vue

@ -287,7 +287,7 @@ export default {
})
},
handlePrint() {
createPdf({ sid: this.formobj.sid }).then((resp) => {
createPdf({ sid: this.formobj.sid, name: window.sessionStorage.getItem('name') }).then((resp) => {
if (resp.success) {
var xhr = new XMLHttpRequest()
xhr.open('GET', process.env.VUE_APP_BASE_API + '/base/file/download?filePath=' + resp.data + '&outFileName=' + '财务', true)

2
anrui-buscenter/anrui-buscenter-ui/src/views/workflow/teshushenpiFlow/qiankuanticheguanli/qiankuanticheYiBanInfo.vue

@ -376,7 +376,7 @@ export default {
})
},
handlePrint() {
createPdf({ sid: this.formobj.sid }).then((resp) => {
createPdf({ sid: this.formobj.sid, name: window.sessionStorage.getItem('name') }).then((resp) => {
if (resp.success) {
var xhr = new XMLHttpRequest()
xhr.open('GET', process.env.VUE_APP_BASE_API + '/base/file/download?filePath=' + resp.data + '&outFileName=' + '财务', true)

Loading…
Cancel
Save