LAPTOP-FO2T5SIU\35838 hace 8 meses
padre
commit
edaf0de40c
Se han modificado 1 ficheros con 4 adiciones y 2 borrados
  1. 4 2
      src/views/invoice/receiptManage.vue

+ 4 - 2
src/views/invoice/receiptManage.vue

@@ -86,6 +86,7 @@
 <script>
 import Base from '@/views/base/base'
 import BaseData from '@/views/base/baseData'
+import constant from '@/static/utils/constant'
 
 export default {
     name: 'ReceiptManage',
@@ -163,8 +164,9 @@ export default {
         cancel: function() {
             this.dialogVisible = false
         },
-        downLoad() {
-
+        downLoad(row) {
+            const url = constant.BASE_URI + '/ReceiptManageController/downLoadReceipt?id=' + row.id
+            window.open(url, '_blank')
         },
         baseRequest(opUrl, postData) {
             return this.$channel.globeRequest('ReceiptManageController', opUrl, postData, 'project')