Kaynağa Gözat

导出加日期

chris 3 yıl önce
ebeveyn
işleme
c62c7ba120
1 değiştirilmiş dosya ile 4 ekleme ve 2 silme
  1. 4 2
      src/views/modules/check/ibc-export.vue

+ 4 - 2
src/views/modules/check/ibc-export.vue

@@ -80,9 +80,9 @@
           </tr>
           <tr>
             <th style="width: 100px">检验员:</th>
-            <td style="width: 400px">{{dataForm.creatorName}}</td>
+            <td style="width: 350px"><span>{{dataForm.creatorName}}</span>&emsp;<span>{{dataForm.approveDate}}</span></td>
             <th style="width: 80px">审核:</th>
-            <td colspan="0">梁瑞伟</td>
+            <td colspan="0">梁瑞伟&emsp;<span>{{dataForm.approveDate}}</span></td>
           </tr>
           </tbody>
         </table>
@@ -98,6 +98,7 @@
 
 <script>
   import {getIncomingInspection} from '@/api/check'
+  import { strToDate } from '@/api/util'
   export default {
     name: 'ibc-export',
     data () {
@@ -143,6 +144,7 @@
             if (data.data.qualityInspectionItemsList) {
               this.checkList = data.data.qualityInspectionItemsList
             }
+            this.dataForm.approveDate = strToDate(data.data.updateTime)
           }
         })
       }