Browse Source

台账导出文件命令update

bianww 2 years ago
parent
commit
9b5f60c5cf
1 changed files with 4 additions and 1 deletions
  1. 4 1
      src/pages/main/demandDevelop/ywStanding.vue

+ 4 - 1
src/pages/main/demandDevelop/ywStanding.vue

@@ -181,7 +181,10 @@ export default {
         var month = date.getMonth() + 1 < 10 ?
             '0' + (date.getMonth() + 1) : date.getMonth()+ 1
         var day = date.getDate() < 10 ? '0' + date.getDate() : date.getDate()
-        var nowDate=year+month+day
+        let hh = new Date().getHours();
+        let mf = new Date().getMinutes()<10 ? '0'+new Date().getMinutes() : new Date().getMinutes();
+        let ss = new Date().getSeconds()<10 ? '0'+new Date().getSeconds() : new Date().getSeconds();
+        var nowDate=year+month+day+hh+mf+ss
 
       this.$http({
         url: "/market/mkOnlineChannel/exportLedger",