Browse Source

托书-单据日期-默认时间

jbb 1 year ago
parent
commit
91680dbdcd
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/views/book/book-list.vue

+ 2 - 0
src/views/book/book-list.vue

@@ -378,7 +378,9 @@ export default {
     var lastM = [y, m, '01'].join("-")
     console.log([y, m, '01'].join("-"))
     this.shippingOrderDate[0]= lastM
+    this.shippingOrderDate[1]= moment(new Date()).format('YYYY-MM-DD')
     this.queryParam.shippingOrderDateB =  (lastM!==''&&lastM)?(moment( lastM).format('YYYY-MM-DD')):''
+    this.queryParam.shippingOrderDateE =  moment(new Date()).format('YYYY-MM-DD')
     // return [y, m, '01'].join("-");
     },
     // 查询按钮