Commit b41c3338 authored by zhengke's avatar zhengke

修改认款信息

parent b7a40205
......@@ -114,10 +114,10 @@
<tr v-for="(item, index) in rList" :key="index">
<td class="blue bold">{{item.AccountName}}</td>
<td class="bold">{{item.OpeningBank}}</td>
<td>{{item.BackNo}}</td>
<td>{{item.BackNo | PNumber}}</td>
<td class="bold">{{item.TradeDate}}</td>
<td class="bold org">{{item.Income}}</td>
<td class="bold red">{{item.Refund}}</td>
<td class="bold org">{{item.Income | MoneyMu}}</td>
<td class="bold red">{{item.Refund | MoneyMu}}</td>
<td class="bold red">{{item.Remitter}}</td>
<!-- <td class="op" @click="openOrders(item.orderId)">
<i title="查看" class="el-icon-view"></i>
......@@ -237,6 +237,32 @@ export default {
newpersonal,
tousu
},
filters:{
PNumber(val){
if(val){
return val.substr(0, 4) + "****" + val.substr(-4,4)
}
},
MoneyMu(val){
if(val){
val=val.toFixed(2);
let arr = val.split(".");
let length = arr[0].length;
if(length<3){
return val;
}
else{
let str="*************************";
return val.substr(0, 2)+str.substr(0, length-2)+".**";
}
}else{
return val;
}
}
},
mounted() {
this.zoomW = (document.documentElement.clientWidth / 1920).toFixed(2);
this.init();
......@@ -245,7 +271,7 @@ export default {
},
methods: {
openAllMan(id) {
const { href } = this.$router.resolve({ path: "/Manfunds" });
const { href } = this.$router.resolve({ path: "/Maninfo" });
window.open(href, "_blank");
},
getList(){
......
......@@ -107,6 +107,11 @@
.hoverFriD:hover{
color:red;
}
.Rform span{
display:inline-block;
width:80px;
text-align: right;
}
</style>
<template>
<div class="flexOne currentManage">
......@@ -209,11 +214,14 @@
<span class="hoverFriD" style="cursor: pointer;text-decoration: underline;margin-left:5px" @click="Gourl(i)" v-for="(i,index) in item.FinanceIdList" :key="index+500">{{i}}</span>&nbsp;
</td>
<td>{{item.ClaimMoney}}</td>
<td>{{item.UpdateBy}}</td>
<td>
<span style="cursor: pointer;" @click="AddR(item)" v-if="item.Type==2">认领</span>
<div>{{item.UpdateBy}}</div>
<div style="font-size:12px;">{{item.UpdateDate}}</div>
</td>
<td>
<span style="cursor: pointer;color:blue;text-decoration:underline" @click="AddR(item)" v-if="item.Type==2">认领</span>
<!-- <span> | </span> -->
<span style="cursor: pointer;" @click="Delete(item)" v-if="item.IsDelete==1">删除</span>
<span style="cursor: pointer;color:red;text-decoration:underline" @click="Delete(item)" v-if="item.IsDelete==1">删除</span>
</td>
</tr>
</table>
......@@ -241,12 +249,12 @@
</el-dialog>
<el-dialog custom-class='w400' title="认领未认款" :visible.sync="moneyR" center>
<el-form class="Rform" ref="form" :model="form" label-width="100px">
<p>户名:{{form.AccountName}}</p>
<p>账号:{{form.BackNo}}</p>
<p>收:{{form.Income}}</p>
<p>支:{{form.Refund}}</p>
<p><span>户名:</span>{{form.AccountName}}</p>
<p><span>账号:</span>{{form.BackNo}}</p>
<p><span>收:</span>{{form.Income}}</p>
<p><span>支:</span>{{form.Refund}}</p>
<el-form-item label="绑定财务单据">
<el-input v-model="form.FrId"></el-input>
<el-input v-model="form.FrId" class="w180"></el-input>
</el-form-item>
</el-form>
<span slot="footer" class="dialog-footer">
......@@ -389,6 +397,7 @@
if (res.resultCode == 1) {
this.Success(res.message);
this.outerVisible = false;
this.getList();
}else{
this.Error(res.message);
......@@ -409,6 +418,7 @@
if(res.data.resultCode == 1) {
this.DataList = res.data.data.pageData;
this.total=res.data.data.count;
console.log(res,'res');
} else {
this.Error(res.data.message);
}
......
......@@ -156,7 +156,7 @@
</span>
</li>
<li>
<!-- <li>
<span>
<em>状态</em>
<el-select filterable v-model='msg.Type' >
......@@ -165,7 +165,7 @@
<el-option :value="2" label="未认领"></el-option>
</el-select>
</span>
</li>
</li> -->
<li>
<button class="hollowFixedBtn" @click="getList">{{$t('pub.searchBtn')}}</button>
<!-- <button class="hollowFixedBtn" @click="outerVisible=true">导入</button> -->
......@@ -242,7 +242,7 @@
SRefund:"",
ERefund:"",
AccountName:"",
Type:-1,
Type:2,
},
productionDate:[],
DataList:[],
......
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