Commit 4ef4f43f by lixiaomin

修改退款金额显示

parent 220182fb
...@@ -187,7 +187,11 @@ export default { ...@@ -187,7 +187,11 @@ export default {
}, },
methods: { methods: {
checkSelectable(row,index){ checkSelectable(row,index){
return row.refundId==null if(row.refundId==null){
return true;
}else{
return false;
}
}, },
getProvince(province){ getProvince(province){
let list=this.piovince; let list=this.piovince;
...@@ -340,9 +344,11 @@ export default { ...@@ -340,9 +344,11 @@ export default {
amount.push(selectList[i].realAmount); amount.push(selectList[i].realAmount);
this.ids.push(selectList[i].id); this.ids.push(selectList[i].id);
} }
} let sum=this.add(amount);
let sum=this.add(amount); this.refundForm.refundAmount=sum;
this.refundForm.refundAmount=sum; }else{
this.refundForm.refundAmount="";
}
}, },
add(arr){ add(arr){
let fieldArr=[] let fieldArr=[]
......
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