瀏覽代碼

修改货运日期精准到小时

caojunjie 3 年之前
父節點
當前提交
fc547c1262
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/landTransportation/placeAnOrder/detailPage.vue

+ 1 - 1
src/views/landTransportation/placeAnOrder/detailPage.vue

@@ -156,7 +156,7 @@
         <template slot="headerSerial" slot-scope="{column}">
           <el-tooltip class="item" effect="dark" content="录入明细" placement="top">
             <el-button type="primary" icon="el-icon-circle-plus-outline" circle size="mini"
-                       @click="$refs.crudBox.rowCellAdd({arrivalTime:new Date((new Date).getTime() + 8 * 60 * 60 * 1000).toJSON().split('T').join(' ').substr(0, 19)})"></el-button>
+                       @click="$refs.crudBox.rowCellAdd({arrivalTime:new Date((new Date).getTime() + 8 * 60 * 60 * 1000).toJSON().split('T').join(' ').substr(0, 14)+'00:00'})"></el-button>
           </el-tooltip>
         </template>
         <template slot="ctnTypeHeader" slot-scope="{column}">