详情修改

main
mo 1 year ago
parent a4d1e6a53f
commit 29aeb96abb

@ -289,7 +289,7 @@
> >
<el-tab-pane label="附件" name="first"> <el-tab-pane label="附件" name="first">
<div v-if="showNull" class="null1"></div> <div v-if="showNull" class="null1"></div>
<div v-for="(item, index) in fjList1" @click="handleClickPdf(item)"> <div v-for="(item, index) in fjList" @click="handleClickPdf(item)">
<el-image <el-image
:src="item.fileUrl" :src="item.fileUrl"
style=" style="
@ -303,26 +303,35 @@
</div> </div>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="审批流程" name="second"> <el-tab-pane label="审批流程" name="second">
<!-- <el-upload
class="upload-demo"
drag
action="https://jsonplaceholder.typicode.com/posts/"
multiple
>
<i class="el-icon-upload"></i>
<div class="el-upload__text">
将文件拖到此处<em>点击上传</em>
</div>
</el-upload>
<el-divider>已上传审批流程</el-divider> -->
<div v-if="showNul2" class="null1"></div> <div v-if="showNul2" class="null1"></div>
<div v-for="(item, index) in splcList" @click="handleClickPdf(item)">
<el-image
:src="item.fileUrl"
style="
object-fit: cover;
width: 240px;
height: 220px;
cursor: pointer;
"
>
</el-image>
</div>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="电子发票" name="third"> <el-tab-pane label="电子发票" name="third">
<div v-if="showNul3" class="null1"></div> <div v-if="showNul3" class="null1"></div>
<div v-for="(item, index) in dzfpList1"> <div v-for="(item, index) in dzfpList" @click="handleClickPdf(item)">
<el-image :src="item.fileUrl"> </el-image> <el-image
:src="item.fileUrl"
style="
object-fit: cover;
width: 240px;
height: 220px;
cursor: pointer;
"
>
</el-image>
</div> </div>
<div v-for="(item, index) in dzfpList2" @click="handleClickPdf(item)"> <!-- <div v-for="(item, index) in dzfpList2" @click="handleClickPdf(item)">
<img <img
src="~@/assets/images/pdf.png" src="~@/assets/images/pdf.png"
style=" style="
@ -343,26 +352,22 @@
cursor: pointer; cursor: pointer;
" "
/> />
</div> </div> -->
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="银行回单" name="fourth"> <el-tab-pane label="银行回单" name="fourth">
<!-- <el-upload
class="upload-demo"
drag
action="https://jsonplaceholder.typicode.com/posts/"
multiple
:accept="imgType2"
>
<i class="el-icon-upload"></i>
<div class="el-upload__text">
将文件拖到此处<em>点击上传</em>
</div>
<div class="el-upload__tip" slot="tip">
支持pdfjpgpng格式上传
</div>
</el-upload>
<el-divider>已上传银行回单</el-divider> -->
<div v-if="showNul4" class="null1"></div> <div v-if="showNul4" class="null1"></div>
<div v-for="(item, index) in yhhdList" @click="handleClickPdf(item)">
<el-image
:src="item.fileUrl"
style="
object-fit: cover;
width: 240px;
height: 220px;
cursor: pointer;
"
>
</el-image>
</div>
</el-tab-pane> </el-tab-pane>
</el-tabs> </el-tabs>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
@ -456,11 +461,10 @@ export default {
depotId: null, depotId: null,
cabinetId: null, cabinetId: null,
}, },
fjList1: [], fjList: [],
fjList2: [], splcList: [],
dzfpList1: [], dzfpList: [],
dzfpList2: [], yhhdList: [],
dzfpList3: [],
// //
form: {}, form: {},
// //
@ -509,10 +513,7 @@ export default {
} else { } else {
this.showNull = false; this.showNull = false;
} }
this.fjList1 = response.data.list; this.fjList = response.data.list;
this.fjList2 = response.data.list.filter(function (item) {
return item.suffix == "pdf";
});
}); });
}, },
handleClickPdf(val) { handleClickPdf(val) {
@ -527,6 +528,7 @@ export default {
} else { } else {
this.showNul2 = false; this.showNul2 = false;
} }
this.splcList = response.data.list;
}); });
}, },
/** 查询电子发票 */ /** 查询电子发票 */
@ -538,12 +540,7 @@ export default {
} else { } else {
this.showNul3 = false; this.showNul3 = false;
} }
this.dzfpList2 = response.data.list.filter(function (item) { this.dzfpList = response.data.list;
return item.suffix == "pdf";
});
this.dzfpList3 = response.data.list.filter(function (item) {
return item.suffix == "ofd";
});
}); });
}, },
/** 查询银行回单 */ /** 查询银行回单 */
@ -555,6 +552,7 @@ export default {
} else { } else {
this.showNul4 = false; this.showNul4 = false;
} }
this.yhhdList = response.data.list;
}); });
}, },
handleClickOfd() {}, handleClickOfd() {},

Loading…
Cancel
Save