BAOLH
2026-09-09 5af4ff43e2f3e18e3559d4d4ead971f27c9f4d1c
报销页增加模版下载(修正)
1 files modified
9 ■■■■■ changed files
eladmin-web-master/src/views/project/projectReimburse/index.vue 9 ●●●●● patch | view | raw | blame | history
eladmin-web-master/src/views/project/projectReimburse/index.vue
@@ -147,8 +147,10 @@
            <el-input v-model="form.expenseComment" placeholder="请输入" type="textarea" rows="3" style="width: 370px;" :disabled="form.approvalStatus == dictReimburseApproveStatusAgree || form.approvalStatus == dictReimburseApproveStatusRefuse || form.wecomSpNo !== null" />
          </el-form-item>
          <el-form-item label="附件">
            <div style="line-height: 16px; margin: 8px 0;">
            <span class="upload-tips">*最多支持上传6个文件,每个文件大小限制10M以内。</span>
            <el-link type="primary" :href="window.location.origin + '/file/Template/projectReimburse.xlsx'" target="_blank">下载模版</el-link>
              <el-link type="primary" :href="locationOrigin + '/file/Template/projectReimburse.xlsx'" target="_blank">下载模版</el-link>
            </div>
            <file-upload key="file_key" ref="fileUpload" :file-url="form.filePath == null || form.filePath === '' ? null : form.filePath" :limit="6" :disabled="form.approvalStatus == dictReimburseApproveStatusAgree || form.approvalStatus == dictReimburseApproveStatusRefuse || form.wecomSpNo !== null" @fileInfo="getFileInfo" />
          </el-form-item>
          <el-form-item label="审批说明" prop="approvalDescription">
@@ -420,7 +422,10 @@
  computed: {
    ...mapGetters([
      'user'
    ])
    ]),
    locationOrigin() {
      return window.location.origin
    }
  },
  created() {
    const that = this