Commit bc6b0a2e authored by youjie's avatar youjie

no message

parent 0bbb39c8
...@@ -563,7 +563,7 @@ ...@@ -563,7 +563,7 @@
</div> </div>
<div class="shangchuanfujian" style="display: flex; align-items: flex-end;"> <div class="shangchuanfujian" style="display: flex; align-items: flex-end;">
<el-button <el-button
v-loading="loading" class="hollowFixedBtn" @click="upLoadFuJian(2)" style="margin-bottom: 10px;">上传附件</el-button> v-loading="loading2" class="hollowFixedBtn" @click="upLoadFuJian(2)" style="margin-bottom: 10px;">上传附件</el-button>
</div> </div>
</div> </div>
</div> </div>
...@@ -911,8 +911,10 @@ export default { ...@@ -911,8 +911,10 @@ export default {
if (this.attachmentsList.length === 0) return this.$message.error('请上传文件!'); if (this.attachmentsList.length === 0) return this.$message.error('请上传文件!');
let TradeWayId let TradeWayId
if(type==1){ if(type==1){
this.loading = true
TradeWayId = this.dataList.SBankList[0].AccountId TradeWayId = this.dataList.SBankList[0].AccountId
}else{ }else{
this.loading2 = true
TradeWayId = this.dataList.FBankList[0].AccountId TradeWayId = this.dataList.FBankList[0].AccountId
} }
let msg = { let msg = {
...@@ -920,10 +922,13 @@ export default { ...@@ -920,10 +922,13 @@ export default {
vorcherInos: type==1?this.attachmentsList:this.attachmentsList2, vorcherInos: type==1?this.attachmentsList:this.attachmentsList2,
TradeWayId: TradeWayId TradeWayId: TradeWayId
}; };
this.loading = true
this.apipost('Financial_post_SetVoucher', msg, res => { this.apipost('Financial_post_SetVoucher', msg, res => {
this.loading = false if(type==1) this.loading = false
else this.loading2 = false
if (res.data.resultCode === 1) { if (res.data.resultCode === 1) {
this.attachmentsList = []
this.attachmentsList2 = []
this.getList() this.getList()
} else { } else {
this.$message.error(res.data.message); this.$message.error(res.data.message);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment