Browse Source

修改bug

chenrui 2 years ago
parent
commit
05440a1cef

+ 4 - 2
src/views/purchasingManagement/purchaseReturn/list.vue

@@ -136,7 +136,7 @@
     <!-- 导出提示框 -->
     <reportModal :visible="showExport" @close="showExport=false"></reportModal>
     <!-- 审核进度弹窗 -->
-    <reviewProgressModal v-drag :itemSn="itemSn" :openModal="openReviewModal" @close="openReviewModal=false"></reviewProgressModal>
+    <reviewProgressModal v-drag :itemSn="itemSn" :auditTime="auditTime" :openModal="openReviewModal" @close="openReviewModal=false"></reviewProgressModal>
   </a-card>
 </template>
 
@@ -206,7 +206,8 @@ export default {
           return data
         })
       },
-      itemSn: null // 采购退货SN
+      itemSn: null, // 采购退货SN
+      auditTime: null// 审核时间
     }
   },
   methods: {
@@ -241,6 +242,7 @@ export default {
     // 审核进度
     handleSH (row) {
       this.itemSn = row.sparePartsReturnSn
+      this.auditTime = row.submitDate
       this.openReviewModal = true
     },
     // 再次提交

+ 5 - 1
src/views/purchasingManagement/purchaseReturn/reviewProgressModal.vue

@@ -8,7 +8,7 @@
     @cancel="isShow=false"
     width="50%">
     <p>说明:以下信息来自钉钉</p>
-    <p style="font-weight:bold;">提审时间:2023-01-06 17:56:56</p>
+    <p style="font-weight:bold;">提审时间:{{ auditTime }}</p>
     <a-spin :spinning="spinning" tip="Loading...">
       <s-table
         class="sTable fixPagination"
@@ -40,6 +40,10 @@ export default {
     itemSn: {
       type: [Number, String],
       default: ''
+    },
+    auditTime: {
+      type: String,
+      default: ''
     }
   },
   data () {