Sfoglia il codice sorgente

feat(web-admin): pass remark into reimburse apply attachment UI

Wire addForm.remark into apply upload and viewData.remark into apply attachment readonly on reimburse apply and approve pages.

Co-authored-by: Cursor <cursoragent@cursor.com>
wuzilong 1 mese fa
parent
commit
76e5d27a79

+ 2 - 1
web-admin/src/views/bx/reimburse/apply/index.vue

@@ -521,6 +521,7 @@
           v-model="applyAttachments"
           v-model="applyAttachments"
           biz-type="reimburse_apply"
           biz-type="reimburse_apply"
           :biz-id="editingId || 0"
           :biz-id="editingId || 0"
+          :remark="addForm.remark"
           hint="补充行程单、说明截图、合同等;与发票夹无关。支持图片、视频、PDF、Office、压缩包等。"
           hint="补充行程单、说明截图、合同等;与发票夹无关。支持图片、视频、PDF、Office、压缩包等。"
         />
         />
       </div>
       </div>
@@ -734,7 +735,7 @@
 
 
         <div v-if="viewAttachments.length" class="dlg-view-section">
         <div v-if="viewAttachments.length" class="dlg-view-section">
           <h4 class="dlg-view-section-title">申请附件</h4>
           <h4 class="dlg-view-section-title">申请附件</h4>
-          <BxAttachmentReadonly :files="viewAttachments" />
+          <BxAttachmentReadonly :files="viewAttachments" :remark="viewData.remark" />
         </div>
         </div>
 
 
         <div class="dlg-view-section">
         <div class="dlg-view-section">

+ 1 - 1
web-admin/src/views/bx/reimburse/approve/index.vue

@@ -645,7 +645,7 @@
 
 
         <div v-if="viewAttachments.length" class="dlg-view-section">
         <div v-if="viewAttachments.length" class="dlg-view-section">
           <h4 class="dlg-view-section-title">申请附件</h4>
           <h4 class="dlg-view-section-title">申请附件</h4>
-          <BxAttachmentReadonly :files="viewAttachments" />
+          <BxAttachmentReadonly :files="viewAttachments" :remark="viewData.remark" />
         </div>
         </div>
 
 
         <BxApprovalFlowTabs
         <BxApprovalFlowTabs