From ceacdcb1e517982c2dce40c4217a9de29e9dabcc Mon Sep 17 00:00:00 2001
From: lyh <925863403@qq.com>
Date: 星期二, 11 二月 2025 11:52:40 +0800
Subject: [PATCH] DNC修改所属部门为所属车间

---
 src/views/dnc/base/modules/ActivitiSingExamine/ActivitiSignExamineForm.vue |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/src/views/dnc/base/modules/ActivitiSingExamine/ActivitiSignExamineForm.vue b/src/views/dnc/base/modules/ActivitiSingExamine/ActivitiSignExamineForm.vue
index 00fbe31..46b6c81 100644
--- a/src/views/dnc/base/modules/ActivitiSingExamine/ActivitiSignExamineForm.vue
+++ b/src/views/dnc/base/modules/ActivitiSingExamine/ActivitiSignExamineForm.vue
@@ -14,8 +14,8 @@
             </a-form-item>
           </a-col>
           <a-col :span="24">
-            <a-form-item label="鎵�灞為儴闂�" :labelCol="labelCol" :wrapperCol="wrapperCol">
-              <j-dict-select-tag :disabled="formDisabled" type="list" v-decorator="['departId']" :trigger-change="true" dictCode="sys_department,depart_name,depart_id" placeholder="璇烽�夋嫨鎵�灞為儴闂�"/>
+            <a-form-item label="鎵�灞炶溅闂�" :labelCol="labelCol" :wrapperCol="wrapperCol">
+              <j-select-equipment-production  v-model="model.departId" :multi="false" @back="backProductionInfo" :backProduction="true" :treeProductOpera="true"></j-select-equipment-production>
             </a-form-item>
           </a-col>
           <a-col :span="24">
@@ -57,10 +57,12 @@
   import pick from 'lodash.pick'
   import JFormContainer from '@/components/jeecg/JFormContainer'
   import JDictSelectTag from "@/components/dict/JDictSelectTag"
+  import JSelectEquipmentProduction from '@comp/jeecgbiz/JSelectEquipmentProduction.vue'
 
   export default {
     name: 'ActivitiSignExamineForm',
     components: {
+      JSelectEquipmentProduction,
       JFormContainer,
       JDictSelectTag,
     },
@@ -155,6 +157,14 @@
       add () {
         this.edit({});
       },
+      backProductionInfo(info) {
+        // console.log(info)
+        this.model.productionIds = this.model.selectedProduction;
+        this.nextProductionOptions = info.map((item,index,arr)=>{
+          let c = {label:item.text, value: item.value+""}
+          return c;
+        })
+      },
       edit (record) {
         this.form.resetFields();
         this.model = Object.assign({}, record);

--
Gitblit v1.9.3