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/addEmployeeWithDu.vue | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/company/src/components/enterprise/addEmployeeWithDu.vue b/company/src/components/enterprise/addEmployeeWithDu.vue
index 1988fb2..80b00ca 100644
--- a/company/src/components/enterprise/addEmployeeWithDu.vue
+++ b/company/src/components/enterprise/addEmployeeWithDu.vue
@@ -14,7 +14,7 @@
<el-form-item label="韬唤璇佸彿" required>
<el-input v-model="item.idCard" maxlength="18" placeholder="璇疯緭鍏�"></el-input>
</el-form-item>
- <el-form-item label="娲鹃仯鍗曚綅" v-if="!companyId">
+ <el-form-item label="娲鹃仯鍗曚綅" v-if="hasDispatchUnit !== 1">
<el-select v-model="item.duId" @change="selectChange(index)" placeholder="璇烽�夋嫨" clearable>
<el-option
v-for="item in dispatching"
@@ -58,6 +58,7 @@
dispatching: [],
solutionId: null,
companyId: null,
+ hasDispatchUnit: null,
list: [
{
memberName: '',
@@ -81,6 +82,7 @@
this.tempIndex = tempIndex
this.solutionId = obj.solutionId
this.companyId = obj.companyId
+ this.hasDispatchUnit = obj.hasDispatchUnit
this.dispatching = []
this.list = [
{
@@ -96,7 +98,7 @@
]
this.arr = obj.arr
this.price = obj.price
- if (!obj.companyId) {
+ if (obj.hasDispatchUnit === 1) {
this.getFindListByDTO()
} else {
worktype({ id: obj.solutionId, queryType: 0 })
--
Gitblit v1.9.3