Commit 964c36e7 authored by liuzeheng's avatar liuzeheng

提单下载

parent 918dc24d
......@@ -197,7 +197,7 @@ export default {
console.log(this.shipmentObj)
getBoxLadingBillPdf({shipmentId: this.shipmentObj.id,type:2}).then(res=>{
let blob = new Blob([res], {type: "application/vnd.ms-excel"})
FileSaver.saveAs(blob, this.$t(this.shipmentObj.selfNo+"-"+this.subMaterialObj.blMblNo+"-"+'提单补料.xlsx'));
FileSaver.saveAs(blob, this.$t(this.shipmentObj.selfNo+"-"+this.subMaterialObj.blMblNo!=null?this.subMaterialObj.blMblNo:""+"-"+'提单补料.xlsx'));
})
}
},
......
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