| | |
| | | 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 |
| | |
| | | </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" /> |
| | |
| | | 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) |
| | |
| | | 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) |
| | | } |
| | | } |
| | | }) |
| | |
| | | }).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) |