diff --git a/front/src/renderer/src/views/shujufenxi.vue b/front/src/renderer/src/views/shujufenxi.vue index 214c262..01ca268 100644 --- a/front/src/renderer/src/views/shujufenxi.vue +++ b/front/src/renderer/src/views/shujufenxi.vue @@ -67,7 +67,7 @@
- + - {{ _.sum(_.values(this.dataObj)) * (checkDailishangRaw.dailifei || 1) }} + {{ _.sum(_.values(this.dataObj)) }} + + + + {{ ((_.sum(_.values(this.dataObj)) * ((checkDailishangRaw.dailifei || 0))) / 100).toFixed(2) }} + + + + {{ ((_.sum(_.values(this.dataObj)) * (100 - (checkDailishangRaw.dailifei || 0))) / 100).toFixed(2) }}
@@ -122,23 +138,7 @@ export default { return { _: _, dayjs: dayjs, - leftText: `陈文哲 -9-12 15:23:42 -54:20 -64:20 -21:20 -54:20 -陈文哲 -15:23:48 -9-12 -64:20 -21:20 -54:20 -陈文哲 -9-12 -15:23:52 -64:20 -21:20`, + leftText: "", rightText: "", resultTitle: "", changciList: [], @@ -222,7 +222,7 @@ export default { leftTongji() { // 提取leftText的最后一个数字 let lastNum = (this.leftText.match(/\d+/g) || []).pop() - this.rightText = (Number(this.rightText || 0) + Number(lastNum || 0))||0 + this.rightText = (Number(this.rightText || 0) + Number(lastNum || 0)) || 0 }, // 左侧清空数据 leftClear() {