|
|
@@ -12,15 +12,27 @@ |
|
|
|
<l-textarea v-model="formData.FundsApply.Remark" title="备注" readonly/> |
|
|
|
<l-input v-model="formData.FundsApply.SumAmount" title="总金额" disabled></l-input> |
|
|
|
<l-input v-model="formData.FundsApply.UpperAmount" title="人民币大写" disabled></l-input> |
|
|
|
<!-- <l-select v-model="formData.F_IsSendFX" :range="[{value:true,text:'是'},{value:false,text:'否'}]" title="下发飞星" disabled></l-select> --> |
|
|
|
<!-- <l-upload-file |
|
|
|
:value="fileList" |
|
|
|
:readonly="true" |
|
|
|
title="标题图片" |
|
|
|
/> --> |
|
|
|
<!-- :number="9" --> |
|
|
|
<!-- @input="setValue('MeetingManagement.Files', $event)" --> |
|
|
|
<!-- <l-input title="公告内容" disabled style="border-bottom: none;"></l-input> --> |
|
|
|
|
|
|
|
|
|
|
|
<view class="welT" style="padding-top: 10px;"> |
|
|
|
明细 |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class="welBox" id="StuInfoFreshEmergePeople" v-show="FundsApplyDetail.length != 0"> |
|
|
|
<view class="welCon" v-for="(item, i) in FundsApplyDetail" :key='i'> |
|
|
|
<l-input v-model="item.ProjectContent" title="项目内容" placeholder="请填写" disabled right /> |
|
|
|
<l-input v-model="item.Number" type="number" @change="SumAmountChange(item)" title="数量" disabled placeholder="请填写" right /> |
|
|
|
<l-input v-model="item.Price" type="number" @change="SumAmountChange(item)" title="单价(元)" disabled placeholder="请填写" right /> |
|
|
|
<l-input v-model="item.Amount" title="金额(元)" disabled placeholder="请填写" right /> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<l-workflow-action |
|
|
|
@audit="audit" |
|
|
|
@action="action" |
|
|
@@ -67,6 +79,16 @@ export default { |
|
|
|
ApplyUser: [], |
|
|
|
IsFixedAssets: [] |
|
|
|
}, |
|
|
|
|
|
|
|
FundsApplyDetail: [], |
|
|
|
FundsApplyDetails: { |
|
|
|
ProjectContent: '', |
|
|
|
Number: '', |
|
|
|
Price: '', |
|
|
|
Amount: '' |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
@@ -122,11 +144,12 @@ export default { |
|
|
|
// this.HIDE_LOADING() |
|
|
|
}, |
|
|
|
// 获取表单数据 |
|
|
|
getFormData(ProgressId){ |
|
|
|
return this.HTTP_GET("learun/adms/FundsApply/shList",{ProgressId},"加载数据时出错").then(async res=>{ |
|
|
|
getFormData(ProcessId){ |
|
|
|
return this.HTTP_GET("learun/adms/FundsApply/shList",{ProcessId},"加载数据时出错").then(async res=>{ |
|
|
|
if(res){ |
|
|
|
// res.F_SourceName = res.F_SourceName&&this.GET_GLOBAL('department')[res.F_SourceName]? this.GET_GLOBAL('department')[res.F_SourceName].name : res.F_SourceName |
|
|
|
this.formData = res |
|
|
|
this.FundsApplyDetail = res.FundsApplyDetail |
|
|
|
let fileList = await this.getFileListById(res.F_NewsImage) |
|
|
|
if(fileList&&fileList.length){ |
|
|
|
this.fileList = [fileList[0]] |
|
|
@@ -255,3 +278,68 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
</script> |
|
|
|
|
|
|
|
<style lang="less" scoped> |
|
|
|
.welT { |
|
|
|
font-size: 16px; |
|
|
|
line-height: 26px; |
|
|
|
padding: 0 12px; |
|
|
|
background-color: #ffffff; |
|
|
|
padding-bottom: 12px; |
|
|
|
} |
|
|
|
|
|
|
|
.welT text { |
|
|
|
width: 26px; |
|
|
|
height: 26px; |
|
|
|
line-height: 24px; |
|
|
|
border: 1px solid #efefef; |
|
|
|
border-radius: 4px; |
|
|
|
float: right; |
|
|
|
text-align: center; |
|
|
|
color: #999; |
|
|
|
} |
|
|
|
|
|
|
|
.welBox { |
|
|
|
// margin-top: 10px; |
|
|
|
} |
|
|
|
|
|
|
|
.welCon { |
|
|
|
padding: 10px; |
|
|
|
border: 1px solid #efefef; |
|
|
|
padding-top: 18px; |
|
|
|
border-radius: 4px; |
|
|
|
position: relative; |
|
|
|
// background-color: #ffffff; |
|
|
|
margin-top: 15px; |
|
|
|
} |
|
|
|
|
|
|
|
.welDel { |
|
|
|
border-radius: 50%; |
|
|
|
position: absolute; |
|
|
|
top: 4px; |
|
|
|
left: 0px; |
|
|
|
background: #fff; |
|
|
|
} |
|
|
|
|
|
|
|
.welDel text { |
|
|
|
text-align: center; |
|
|
|
width: 26px; |
|
|
|
height: 26px; |
|
|
|
display: block; |
|
|
|
line-height: 24px; |
|
|
|
border: 1px solid #efefef; |
|
|
|
border-radius: 50%; |
|
|
|
} |
|
|
|
|
|
|
|
.welImgAdd { |
|
|
|
text-align: center; |
|
|
|
line-height: 0; |
|
|
|
} |
|
|
|
|
|
|
|
.passwordDes { |
|
|
|
color: #606266; |
|
|
|
font-size: 14px; |
|
|
|
padding: 8px; |
|
|
|
text-indent: 2em; |
|
|
|
} |
|
|
|
</style> |