Commit a2319300 by cocomilk2012

update

parent 96fb3144
Showing with 13 additions and 3 deletions
...@@ -63,7 +63,13 @@ ...@@ -63,7 +63,13 @@
</div> </div>
<div class="fe-list-child-right"> <div class="fe-list-child-right">
<div class="fe-list-child-right-desc"> <div class="fe-list-child-right-desc">
<h3>{{ Number(item.paidSalary).toFixed(2) }}</h3> <h3>
{{
Number(item.paidSalary)
? Number(item.paidSalary).toFixed(2)
: 0.0
}}
</h3>
<p :style="matchColor(item.billStatus)"> <p :style="matchColor(item.billStatus)">
{{ item.billStatus }} {{ item.billStatus }}
</p> </p>
...@@ -149,8 +155,12 @@ export default class FlexEmployee extends Vue { ...@@ -149,8 +155,12 @@ export default class FlexEmployee extends Vue {
console.log("res=", res); console.log("res=", res);
this.accept_work = res.alCount; // 已接任务 this.accept_work = res.alCount; // 已接任务
this.perform_work = res.comCount; // 完成任务 this.perform_work = res.comCount; // 完成任务
this.Payment_receivable = res.receivableSalary.toFixed(2); // 应收报酬 this.Payment_receivable = res.receivableSalary
this.receive_receivable = res.receivedSalary.toFixed(2); // 已收报酬 ? res.receivableSalary.toFixed(2)
: 0.0; // 应收报酬
this.receive_receivable = res.receivedSalary
? res.receivedSalary.toFixed(2)
: 0.0; // 已收报酬
this.taskRecordList = res.taskList; // 任务记录 this.taskRecordList = res.taskList; // 任务记录
this.taskRecordList.length > 0 this.taskRecordList.length > 0
? (this.showList = 1) ? (this.showList = 1)
......
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 sign in to comment