Commit 11d210f2 by 韩达

三种合同

parent 7bcabbd9
Showing with 11 additions and 1 deletions
......@@ -201,7 +201,17 @@ export default {
// var that = this;
console.log(this.selectedLang);
this.$http('get', "/api/purContract/pdfHk", {
if( selectedLang == 1 ){
let pdf_url = "/api/purContract/pdf";
}
if( selectedLang == 2 ){
let pdf_url = "/api/purContract/pdfHk";
}
if( selectedLang == 2 ){
let pdf_url = "/api/purContract/pdfUs";
}
this.$http('get', pdf_url, {
id: this.$route.query.purchase_id
}, true, 'blob').then(res => {
// 包装成 Blob 对象
......
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