2213980799@qq.com 1 год назад
Родитель
Сommit
71ee040ffc
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/views/inspectionStatistics/qualityControlWorkOrder/index.vue

+ 1 - 1
src/views/inspectionStatistics/qualityControlWorkOrder/index.vue

@@ -546,7 +546,7 @@ export default {
         specification: encodeURIComponent(this.currentRow.specification),
         productCode: this.currentRow.productCode,
         batchNo: this.currentRow.batchNo,
-        createTime: this.currentRow.qualityTime.split(' ')[0],
+        createTime: this.currentRow.qualityTime&&this.currentRow.qualityTime.split(' ')[0],
         designDrawingImg: encodeURIComponent(
           getImageUrl(this.currentRow.picture.storePath)
         )