From 89a99ef65a681a1020e5572e80f1cbef7d87d00d Mon Sep 17 00:00:00 2001 From: "0.0" <1092404103.qq.com> Date: Tue, 25 Oct 2022 11:39:25 +0800 Subject: [PATCH] =?UTF-8?q?=E9=83=A8=E9=97=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/jeecgbiz/JSelectDepart.vue | 1 + src/components/jeecgbiz/JSelectUserByDep.vue | 20 ++++++++++++++++++- .../form/ProcessMaterialBorrowingForm.vue | 10 +++++----- .../form/ProcessMaterialWarehousingForm.vue | 13 ++++++------ .../form/ProcessMaterialsAllotForm.vue | 10 +++++----- .../form/ProcessMaterialsDeliveryForm.vue | 10 +++++----- .../form/ProcessMaterialsReturnForm.vue | 10 +++++----- .../form/ProcessSmaterialsScrapForm.vue | 10 +++++----- .../form/ProcessSpecialMaterialsForm.vue | 10 +++++----- .../activiti/form/ProcessUdgetPlanForm.vue | 15 ++++++++------ 10 files changed, 66 insertions(+), 43 deletions(-) diff --git a/src/components/jeecgbiz/JSelectDepart.vue b/src/components/jeecgbiz/JSelectDepart.vue index 267e277..3920af8 100644 --- a/src/components/jeecgbiz/JSelectDepart.vue +++ b/src/components/jeecgbiz/JSelectDepart.vue @@ -95,6 +95,7 @@ this.$refs.innerDepartSelectModal.show() }, handleOK(rows, idstr) { + console.log("当前选中部门ID", idstr) let value = '' if (!rows && rows.length <= 0) { this.departNames = '' diff --git a/src/components/jeecgbiz/JSelectUserByDep.vue b/src/components/jeecgbiz/JSelectUserByDep.vue index ab79700..efeed98 100644 --- a/src/components/jeecgbiz/JSelectUserByDep.vue +++ b/src/components/jeecgbiz/JSelectUserByDep.vue @@ -43,7 +43,11 @@ data() { return { userIds: "", - userNames: "" + userNames: "", + //部门 + orgCodeTxt:"", + //部门id + id:"" } }, mounted() { @@ -76,9 +80,23 @@ for (let item of rows) { temp += ',' + item.realname } + + let demp = '' + for (let item of rows) { + demp += ',' + item.orgCodeTxt + } + let idmp = '' + for (let item of rows) { + idmp += ',' + item.id + } this.userNames = temp.substring(1) this.userIds = idstr + this.orgCodeTxt = demp.substring(1) + this.id = idmp.substring(1) + // console.log("当前选中用户部门", this.orgCodeTxt) + // console.log("当前选中用户部门Id", this.id) } + this.$emit('orgCodeTxt',this.orgCodeTxt) this.$emit("change", this.userIds) } } diff --git a/src/views/activiti/form/ProcessMaterialBorrowingForm.vue b/src/views/activiti/form/ProcessMaterialBorrowingForm.vue index 24edf82..bbf66e7 100644 --- a/src/views/activiti/form/ProcessMaterialBorrowingForm.vue +++ b/src/views/activiti/form/ProcessMaterialBorrowingForm.vue @@ -4,6 +4,11 @@ + + + + + @@ -14,11 +19,6 @@ - - - - - diff --git a/src/views/activiti/form/ProcessMaterialWarehousingForm.vue b/src/views/activiti/form/ProcessMaterialWarehousingForm.vue index 1769d3e..bba235d 100644 --- a/src/views/activiti/form/ProcessMaterialWarehousingForm.vue +++ b/src/views/activiti/form/ProcessMaterialWarehousingForm.vue @@ -4,19 +4,20 @@ + - - + + - - + + - - + + diff --git a/src/views/activiti/form/ProcessMaterialsAllotForm.vue b/src/views/activiti/form/ProcessMaterialsAllotForm.vue index fd59656..09957cc 100644 --- a/src/views/activiti/form/ProcessMaterialsAllotForm.vue +++ b/src/views/activiti/form/ProcessMaterialsAllotForm.vue @@ -4,6 +4,11 @@ + + + + + @@ -14,11 +19,6 @@ - - - - - diff --git a/src/views/activiti/form/ProcessMaterialsDeliveryForm.vue b/src/views/activiti/form/ProcessMaterialsDeliveryForm.vue index 016dcb4..f9bb169 100644 --- a/src/views/activiti/form/ProcessMaterialsDeliveryForm.vue +++ b/src/views/activiti/form/ProcessMaterialsDeliveryForm.vue @@ -4,6 +4,11 @@ + + + + + @@ -14,11 +19,6 @@ - - - - - diff --git a/src/views/activiti/form/ProcessMaterialsReturnForm.vue b/src/views/activiti/form/ProcessMaterialsReturnForm.vue index f83efaa..8316f3f 100644 --- a/src/views/activiti/form/ProcessMaterialsReturnForm.vue +++ b/src/views/activiti/form/ProcessMaterialsReturnForm.vue @@ -4,6 +4,11 @@ + + + + + @@ -14,11 +19,6 @@ - - - - - diff --git a/src/views/activiti/form/ProcessSmaterialsScrapForm.vue b/src/views/activiti/form/ProcessSmaterialsScrapForm.vue index d799324..0a6f704 100644 --- a/src/views/activiti/form/ProcessSmaterialsScrapForm.vue +++ b/src/views/activiti/form/ProcessSmaterialsScrapForm.vue @@ -4,6 +4,11 @@ + + + + + @@ -14,11 +19,6 @@ - - - - - diff --git a/src/views/activiti/form/ProcessSpecialMaterialsForm.vue b/src/views/activiti/form/ProcessSpecialMaterialsForm.vue index 7ecb00e..4c5cba4 100644 --- a/src/views/activiti/form/ProcessSpecialMaterialsForm.vue +++ b/src/views/activiti/form/ProcessSpecialMaterialsForm.vue @@ -4,6 +4,11 @@ + + + + + @@ -14,11 +19,6 @@ - - - - - diff --git a/src/views/activiti/form/ProcessUdgetPlanForm.vue b/src/views/activiti/form/ProcessUdgetPlanForm.vue index 520b477..5adb18a 100644 --- a/src/views/activiti/form/ProcessUdgetPlanForm.vue +++ b/src/views/activiti/form/ProcessUdgetPlanForm.vue @@ -11,18 +11,18 @@ - - + + - - + + - - + + @@ -440,6 +440,9 @@ processUdgetPlanMaterialList: allValues.tablesValue[0].values } }, + orgCodeTxt(a){ + console.log("当前选中用户部门",a) + }, //渲染流程表单数据 showFlowData() { if (this.formBpm === true) {