|
@@ -46,13 +46,14 @@
|
|
</el-input>
|
|
</el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
<el-form-item label-width='100px' label="附件">
|
|
<el-form-item label-width='100px' label="附件">
|
|
- <div>
|
|
|
|
|
|
+ <div v-if='srcList.length>0'>
|
|
<span v-for='item in srcList'><el-image
|
|
<span v-for='item in srcList'><el-image
|
|
style="width: 100px; height: 100px;border:1px solid #000;display:inline-block;margin:10px;"
|
|
style="width: 100px; height: 100px;border:1px solid #000;display:inline-block;margin:10px;"
|
|
:src="item"
|
|
:src="item"
|
|
:preview-src-list="srcList"></el-image></span>
|
|
:preview-src-list="srcList"></el-image></span>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
+ <div v-else>暂无附件</div>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</el-form>
|
|
</el-form>
|
|
<div style='margin:0 50px 10px;font-weight:bold'>费用分配</div>
|
|
<div style='margin:0 50px 10px;font-weight:bold'>费用分配</div>
|
|
@@ -394,7 +395,7 @@
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
- this.deptBudgetList.addressUrl=this.paymentScreenshot.toString()
|
|
|
|
|
|
+ // this.deptBudgetList.addressUrl=this.paymentScreenshot.toString()
|
|
this.deptBudgetList.flag=3
|
|
this.deptBudgetList.flag=3
|
|
this.$confirm('确定提交分配信息', '提示', {
|
|
this.$confirm('确定提交分配信息', '提示', {
|
|
confirmButtonText: '确定',
|
|
confirmButtonText: '确定',
|
|
@@ -453,8 +454,12 @@
|
|
if(response.addressUrl){
|
|
if(response.addressUrl){
|
|
var arr=[]
|
|
var arr=[]
|
|
var srcs=response.addressUrl.split(',')
|
|
var srcs=response.addressUrl.split(',')
|
|
- this.paymentScreenshot=srcs
|
|
|
|
- this.srcList=srcs
|
|
|
|
|
|
+ // this.paymentScreenshot=srcs
|
|
|
|
+ for (let i = 0; i < srcs.length; i++) {
|
|
|
|
+ arr.push(srcs[i])
|
|
|
|
+
|
|
|
|
+ }
|
|
|
|
+ this.srcList=arr
|
|
}
|
|
}
|
|
// if(response.expenseAllocationInfoList){
|
|
// if(response.expenseAllocationInfoList){
|
|
// this.feeDetailsDistributions=response.expenseAllocationInfoList
|
|
// this.feeDetailsDistributions=response.expenseAllocationInfoList
|