From 663dbe4ddca1fa409e6acbc1f77d924c161b0c39 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期一, 09 六月 2025 17:04:50 +0800
Subject: [PATCH] 提交一把订单
---
company/src/components/enterprise/importEmployees.vue | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/company/src/components/enterprise/importEmployees.vue b/company/src/components/enterprise/importEmployees.vue
index 45550ff..8e3f2df 100644
--- a/company/src/components/enterprise/importEmployees.vue
+++ b/company/src/components/enterprise/importEmployees.vue
@@ -48,7 +48,8 @@
applyId: null,
addList: [],
delList: [],
- fileName: ''
+ fileName: '',
+ hasDispatchUnit: null
}
},
methods: {
@@ -63,6 +64,7 @@
this.applyId = obj.insuranceApplyId
this.list = obj.arr
this.price = obj.price
+ this.hasDispatchUnit = obj.hasDispatchUnit
this.importing= false
this.confirming= false
},
@@ -70,7 +72,11 @@
exportTemplate () {
// 鎶曚繚鐢宠
if (this.type === 1) {
- window.open('/template/personnel_add.xlsx')
+ if (this.hasDispatchUnit === 1) {
+ window.open('/template/personnel_no.xlsx')
+ } else {
+ window.open('/template/personnel_add.xlsx')
+ }
} else {
window.open('/template/personnel_reduce.xlsx')
}
@@ -123,6 +129,7 @@
.then(res => {
res.forEach(item => {
item.memberName = item.name
+ item.reducePrice = item.fee
})
this.delList = res
this.fileName = e.target.files[0].name
--
Gitblit v1.9.3