Browse Source

前端代码合并提交

Administrator 1 year ago
parent
commit
5cec6c9d8f
1 changed files with 4 additions and 3 deletions
  1. 4 3
      src/views/platform/waybill/waybillFile.vue

+ 4 - 3
src/views/platform/waybill/waybillFile.vue

@@ -60,7 +60,7 @@
             label="文件名称"
             show-overflow-tooltip>
              <template slot-scope="scope">
-               <el-link style="cursor:pointer;color: blue;" @click="downloadFile(scope.row.wayBillNum)">{{scope.row.fileName}}</el-link>
+               <el-link style="cursor:pointer;color: blue;" @click="downloadFile(scope.row.batchNum,scope.row.wayBillNum)">{{scope.row.fileName}}</el-link>
             </template>
           </el-table-column>
           <el-table-column
@@ -188,8 +188,9 @@ export default{
     handleEditDialogClose() {
       this.addList = false
     },
-    downloadFile(num){
-      window.location.href = window.hostUrl+'noCar/downloadWayBillFile?wayBillNum='+num
+    downloadFile(batchNum, num){
+      debugger
+      window.location.href = window.hostUrl+'noCar/downloadWayBillFile?wayBillNum='+num+'&batchNum='+batchNum
     },
     twoLoadData() {
       this.currenttwo = 1