Browse Source

2024-09-14 附件信息

master
qiezi 1 year ago
parent
commit
e7f933a6c9
  1. 7
      src/assets/scss/rq.scss
  2. 8
      src/views/modules/oss/ossComponents.vue
  3. 2
      src/views/modules/project/projectInfo/projectInfo.vue
  4. 2
      src/views/modules/quotation/requestForQuote.vue
  5. 2
      src/views/modules/quotation/sellForQuotation.vue
  6. 2
      src/views/modules/tooling/searchToolApply.vue

7
src/assets/scss/rq.scss

@ -91,6 +91,13 @@
border-color: #08c2bc;
background-color: #96ea93;
}
.auto .el-upload{
width: 100%;
}
.auto .el-upload .el-upload-dragger{
width: 100%;
}

8
src/views/modules/oss/ossComponents.vue

@ -26,7 +26,7 @@ export default {
},
title:{
type:String,
default:'附件列表'
default:'附件信息'
},
label:{
type:String,
@ -219,7 +219,7 @@ export default {
<template>
<div>
<el-button type="primary" @click="handleUpload">上传附件</el-button>
<el-button type="primary" v-if="this.orderRef1 && this.orderRef2" @click="handleUpload">上传附件</el-button>
<el-button type="primary" @click="handleDownload">下载</el-button>
<el-table
:height="height"
@ -258,10 +258,10 @@ export default {
</el-table-column>
</el-table>
<el-dialog :title="title" :visible.sync="ossVisible" v-drag width="500px" append-to-body :close-on-click-modal="false">
<el-dialog :title="title" :visible.sync="ossVisible" v-drag width="400px" append-to-body :close-on-click-modal="false">
<el-form ref="form" :model="ossForm" label-width="80px" label-position="top">
<el-row :gutter="10">
<el-col :span="8">
<el-col :span="12">
<el-form-item :label="label">
<el-input v-model="ossForm.orderRef2" readonly></el-input>
</el-form-item>

2
src/views/modules/project/projectInfo/projectInfo.vue

@ -301,7 +301,7 @@
</el-table>
</el-tab-pane>
<el-tab-pane label="附件信息" name="down">
<oss-components :columns="ossColumns" :order-ref1="currentRow.site" :order-ref2="currentRow.projectId"></oss-components>
<oss-components height="25vh" label="项目编码" :columns="ossColumns" :order-ref1="currentRow.site" :order-ref2="currentRow.projectId"></oss-components>
<!--文件上传-->
<!-- <el-form label-position="top" style="margin-top: 1px; margin-left: 0px;">-->
<!-- <el-form :inline="true" label-position="top" style="margin-top: 0px">-->

2
src/views/modules/quotation/requestForQuote.vue

@ -990,7 +990,7 @@
<inquiry-quote-detail :quotation="quotationCurrentRow"></inquiry-quote-detail>
</el-tab-pane>
<el-tab-pane label="附件信息" name="oss_file" >
<oss-components style="margin-top: 5px" height="44vh" :columns="ossColumns" :order-ref1="quotationCurrentRow.site" :order-ref2="quotationCurrentRow.quotationNo"></oss-components>
<oss-components label="申请单号" style="margin-top: 5px" height="44vh" :columns="ossColumns" :order-ref1="quotationCurrentRow.site" :order-ref2="quotationCurrentRow.quotationNo"></oss-components>
</el-tab-pane>
</el-tabs>

2
src/views/modules/quotation/sellForQuotation.vue

@ -171,7 +171,7 @@
</el-tab-pane>
<el-tab-pane label="附件信息" name="oss">
<oss-components :columns="ossColumns" :order-ref1="quotationHeader.site" :order-ref2="`${quotationHeader.quotationNo}-${quotationHeader.versionCode}`"></oss-components>
<oss-components label="报价单号" :columns="ossColumns" :order-ref1="quotationHeader.site" :order-ref2="`${quotationHeader.quotationNo}-${quotationHeader.versionCode}`"></oss-components>
</el-tab-pane>
</el-tabs>

2
src/views/modules/tooling/searchToolApply.vue

@ -127,7 +127,7 @@
</el-table>
</el-tab-pane>
<el-tab-pane label="文档管理" name="down">
<el-tab-pane label="附件信息" name="down">
<!--文件上传-->
<el-form label-position="top" style="margin-top: 1px; margin-left: 0px;">
<el-form :inline="true" label-position="top" style="margin-top: 0px">

Loading…
Cancel
Save