소스 검색

质检统计二维码

2213980799@qq.com 1 년 전
부모
커밋
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)
         )