From fe3af72b806d42d60b099fe5795e40c390b1cd29 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期三, 08 五月 2024 10:37:44 +0800
Subject: [PATCH] 提交一把
---
company/src/components/enterprise/additionSubtractionApplication.vue | 26 +++++++++++++++++++-------
1 files changed, 19 insertions(+), 7 deletions(-)
diff --git a/company/src/components/enterprise/additionSubtractionApplication.vue b/company/src/components/enterprise/additionSubtractionApplication.vue
index fe4a742..135a6fc 100644
--- a/company/src/components/enterprise/additionSubtractionApplication.vue
+++ b/company/src/components/enterprise/additionSubtractionApplication.vue
@@ -2,7 +2,7 @@
<GlobalWindow
:title="title"
width="100%"
- text="鎶曚繚鐢宠"
+ text="鎵规敼鐢宠"
:visible.sync="visible"
:confirm-working="isWorking"
@confirm="confirm"
@@ -12,7 +12,7 @@
<el-form-item label="淇濋櫓鏂规">
<span>{{form.solutionsName}}</span>
</el-form-item>
- <el-form-item label="鎵瑰崟鐢熸晥璧锋湡" prop="applyStartTime">
+ <el-form-item label="鐢宠鏃ユ湡" prop="applyStartTime">
<div style="display: flex; flex-direction: column;">
<el-date-picker
@change="changeApplyStartTime"
@@ -151,6 +151,14 @@
<span v-else>{{row.fee ? '-' + row.fee : ''}}</span>
</template>
</el-table-column>
+ <el-table-column
+ prop="remark"
+ align="center"
+ label="澶囨敞">
+ <template slot-scope="{row}">
+ <el-input v-model="row.remark" placeholder="璇疯緭鍏�"></el-input>
+ </template>
+ </el-table-column>
<el-table-column
label="鎿嶄綔">
<template slot-scope="scope">
@@ -173,6 +181,8 @@
<confirmJobType ref="confirmJobType" @result="getUser" />
<!-- 璇︽儏 -->
<ApplyChangeDetails1 ref="ApplyChangeDetails1" @success="success" />
+ <!-- 鍔犲噺淇濊鎯� -->
+ <OperaApplyChangeDetailWindow ref="OperaApplyChangeDetailWindow" />
</GlobalWindow>
</template>
@@ -184,6 +194,7 @@
import importEmployees from '@/components/enterprise/importEmployees'
import confirmJobType from '@/components/enterprise/confirmJobType'
import ApplyChangeDetails1 from '@/components/business/ApplyChangeDetails1'
+import OperaApplyChangeDetailWindow from '@/components/business/OperaApplyChangeDetailWindow'
import { all } from '@/api/business/solutions'
import { getDetail } from '@/api/business/insuranceApply'
import { create, getChangeCountCyclePriceVO } from '@/api/business/applyChange'
@@ -192,7 +203,7 @@
export default {
name: 'additionSubtractionApplication',
extends: BaseOpera,
- components: { GlobalWindow, selectEmployees, addEmployee, importEmployees, confirmJobType, ApplyChangeDetails1 },
+ components: { GlobalWindow, selectEmployees, OperaApplyChangeDetailWindow, addEmployee, importEmployees, confirmJobType, ApplyChangeDetails1 },
data () {
return {
form: {
@@ -328,12 +339,12 @@
this.form.addDetailList.forEach(item => {
total += item.fee
})
- sums[index] = total
+ sums[index] = total.toFixed(2)
} else {
this.form.delDetailList.forEach(item => {
total += item.fee
})
- sums[index] = '-' + total
+ sums[index] = '-' + total.toFixed(2)
}
}
})
@@ -380,10 +391,11 @@
delDetailList: this.form.delDetailList,
validTime: this.form.applyStartTime,
type: 0
- }).then(() => {
+ }).then(res => {
this.visible = false
this.$tip.apiSuccess('鎿嶄綔鎴愬姛')
- this.$emit('success')
+ this.$refs.OperaApplyChangeDetailWindow.open('鍔犲噺淇濊鎯�', { applyId: this.form.id, id: res })
+ // this.$emit('success')
}).catch(e => {
this.$tip.apiFailed(e)
}).finally(() => {
--
Gitblit v1.9.3