diff --git a/src/pages/asset/AssetAllocation.vue b/src/pages/asset/AssetAllocation.vue index 322bea9..77d3857 100644 --- a/src/pages/asset/AssetAllocation.vue +++ b/src/pages/asset/AssetAllocation.vue @@ -49,7 +49,7 @@ {{scope.row.availableFunds || 0}} - + - + @@ -158,11 +158,14 @@ 转账记录 + end-placeholder="结束日期" + value-format="timestamp" + @change="getPageList" + > { + if(item.name=='BANK_ACCOUNT'){ + value=item.applicationId + } + }) + } let param = { studentId:this.identityInfo.studentId, - toAccountsApplicationId:"",//(转入账户) - outAccountsApplicationId:"",//(转出账户) - money:"",//(金额) + toAccountsApplicationId:value,//(转入账户) + outAccountsApplicationId:val.applicationId,//(转出账户) + money:val.input,//(金额) } this.$post("/api/studentAccountAssetAllocation/allOpenAccount.do",param).then((ret) =>{ if(ret.code == 0){ this.tableData = ret.data; + this.getInfo() + }else{ this.$message({message: ret.msg,type: 'error'}); } @@ -324,8 +338,8 @@ export default { getPageList(){ //转账记录List let param = { studentId:this.identityInfo.studentId, - startTime:"", - endTime:"", + startTime:this.value1[0], + endTime:this.value1[1], } this.$post("/api/studentAccountTradingRecordSheet/getPageList.do",param).then((ret) =>{ if(ret.code == 0){ @@ -347,7 +361,8 @@ export default { this.$addSystemUseLog(param); },timeNum); // 结束 - } + }, + }, beforeDestroy() { clearInterval(this.timeIn); //关闭定时 @@ -388,5 +403,14 @@ export default { line-height: 23px; } } +.AmountValue{ + padding: 0; + .cell{ + padding: 0 !important; + .el-input__inner{ + border-radius: 0; + } + } + }