Browse Source

前端sdy

zhongtianhaoyuan 4 years ago
parent
commit
a4f2f5b111

+ 2 - 1
src/views/taskManagement/component/routers/route.js

@@ -85,7 +85,8 @@ const tranManagementRouter = {
         title: 'moveWarehouseTask',
         title: 'moveWarehouseTask',
         shortcutEntrance: 'tranManagement',
         shortcutEntrance: 'tranManagement',
         module: 'tranManagement.tranManagementDriver.moveWarehouseTask',
         module: 'tranManagement.tranManagementDriver.moveWarehouseTask',
-      }
+      },
+      hidden: true,
     },
     },
     //移库查看
     //移库查看
     {
     {

+ 1 - 29
src/views/taskManagement/tranManagementTransport.vue

@@ -438,39 +438,11 @@ export default {
     handleCloe() {
     handleCloe() {
       this.dialogViewSpareMoney = false
       this.dialogViewSpareMoney = false
     },
     },
-    history(row) {
-      billoperatehis({ id: row.id })
-        .toPromise()
-        .then(response => {
-          this.historyList = response
-        })
-    },
+
     find() {
     find() {
       this.currentPage = 1
       this.currentPage = 1
       this.getList()
       this.getList()
     },
     },
-    async exportlist() {
-      const { data } = await export1(
-        {
-          compId: sessionStorage.getItem('ws-pf_compId'),
-          contractType: this.contractType,
-          currentPage: this.currentPage,
-          pageSize: this.pageSize,
-          searchType: this.searchType,
-          searchKeyWord: this.searchKeyWord,
-          startDate: this.startDate,
-          endDate: this.endDate
-        },
-        {},
-        { responseType: 'blob' }
-      ).toPromise()
-      downloadFile({
-        res: data,
-        fileName: `${this.date.year +
-          (this.date.month ? `-${this.date.month}` : '')}_采购合同`,
-        type: 'xls'
-      })
-    }
   }
   }
 }
 }
 </script>
 </script>