Commit bc6b0a2e authored by youjie's avatar youjie

no message

parent 0bbb39c8
......@@ -563,7 +563,7 @@
</div>
<div class="shangchuanfujian" style="display: flex; align-items: flex-end;">
<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>
......@@ -911,8 +911,10 @@ export default {
if (this.attachmentsList.length === 0) return this.$message.error('请上传文件!');
let TradeWayId
if(type==1){
this.loading = true
TradeWayId = this.dataList.SBankList[0].AccountId
}else{
this.loading2 = true
TradeWayId = this.dataList.FBankList[0].AccountId
}
let msg = {
......@@ -920,10 +922,13 @@ export default {
vorcherInos: type==1?this.attachmentsList:this.attachmentsList2,
TradeWayId: TradeWayId
};
this.loading = true
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) {
this.attachmentsList = []
this.attachmentsList2 = []
this.getList()
} else {
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