From 8a266df75e912cc4ff49bc504db5b6b26f152892 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期五, 07 六月 2024 17:34:31 +0800
Subject: [PATCH] 提交一把
---
company/src/components/enterprise/additionSubtractionApplication.vue | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/company/src/components/enterprise/additionSubtractionApplication.vue b/company/src/components/enterprise/additionSubtractionApplication.vue
index 4e49a6e..2a266d5 100644
--- a/company/src/components/enterprise/additionSubtractionApplication.vue
+++ b/company/src/components/enterprise/additionSubtractionApplication.vue
@@ -73,7 +73,7 @@
<el-table-column
prop="serviceDays"
align="center"
- label="鍦ㄤ繚鏃堕暱锛堝ぉ锛�">
+ label="淇濆崟鏃堕暱锛堝ぉ锛�">
</el-table-column>
<el-table-column
prop="currentFee"
@@ -148,7 +148,7 @@
label="璐圭敤">
<template slot-scope="{row}">
<span v-if="activeName === '0'">{{row.fee}}</span>
- <span v-else>{{row.fee ? '-' + row.fee : ''}}</span>
+ <span v-else>{{row.reducePrice ? row.reducePrice : '0'}}</span>
</template>
</el-table-column>
<el-table-column
@@ -167,9 +167,9 @@
</el-table-column>
</el-table>
<div class="info" v-if="item">
- <span v-if="item.specialAgreement">{{item.specialAgreement}}</span>
- <span v-if="item.specialInfo">{{item.specialInfo}}</span>
- <span v-if="item.ortherInfo">{{item.ortherInfo}}</span>
+ <span v-if="item.specialAgreement" v-html="item.specialAgreement"></span>
+ <span v-if="item.specialInfo" v-html="item.specialInfo"> </span>
+ <span v-if="item.ortherInfo" v-html="item.ortherInfo"> </span>
</div>
<!-- 閫夋嫨鍛樺伐 -->
<selectEmployees ref="selectEmployees" @result="getValue" />
@@ -279,12 +279,12 @@
validTime: e
}).then(res => {
this.price = res.cyclePrice
- this.reducePrice=res.reducePrice
+ this.reducePrice= 0
this.form.addDetailList.forEach(item => {
item.fee = res.cyclePrice
})
this.form.delDetailList.forEach(item => {
- item.fee = res.reducePrice
+ // item.fee = item.reducePrice
})
}).catch(e => {
this.$tip.apiFailed(e)
@@ -350,9 +350,9 @@
sums[index] = total.toFixed(2)
} else {
this.form.delDetailList.forEach(item => {
- total += item.fee
+ total += item.reducePrice
})
- sums[index] = '-' + total.toFixed(2)
+ sums[index] = total.toFixed(2)
}
}
})
@@ -402,7 +402,7 @@
}).then(res => {
this.visible = false
this.$tip.apiSuccess('鎿嶄綔鎴愬姛')
- // this.$refs.OperaApplyChangeDetailWindow.open('鍔犲噺淇濊鎯�', { applyId: this.form.id, id: res })
+ this.$refs.OperaApplyChangeDetailWindow.open('鍔犲噺淇濊鎯�', { applyId: this.form.id, id: res })
this.$emit('success')
}).catch(e => {
this.$tip.apiFailed(e)
--
Gitblit v1.9.3