zhangherong
2025-03-21 94b224c514f2a3d0773e9e053a0f9df87b61a26b
art: 系统管理-产线表 增加mdc_flag标识,并可进行维护
已重命名1个文件
已修改2个文件
22 ■■■■ 文件已修改
src/views/eam/spare/modules/EamSparePartRequisitionDetailModal.vue 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/ProductionManager.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/modules/ProductionManager/ProductionModal.vue 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/eam/spare/modules/EamSparePartRequisitionDetailModal.vue
src/views/system/ProductionManager.vue
@@ -109,6 +109,9 @@
                  placeholder="无">
                </a-tree-select>
              </a-form-model-item>
              <a-form-model-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="是否MDC使用">
                <lx-switch checked-children='是' un-checked-children='否' v-model="model.mdcFlag"/>
              </a-form-model-item>
              <a-form-model-item :labelCol="labelCol" :wrapperCol="wrapperCol" label="排序">
                <a-input-number v-model="model.productionOrder"/>
              </a-form-model-item>
@@ -478,10 +481,7 @@
            })
            return false
          }
          this.$refs.departModal.add(this.selectedKeys)
          this.$refs.departModal.title = '新增'
        } else {
          this.$refs.departModal.add(this.rightClickSelectedKey)
          this.$refs.departModal.add(this.currSelected)
          this.$refs.departModal.title = '新增'
        }
      },
src/views/system/modules/ProductionManager/ProductionModal.vue
@@ -43,6 +43,12 @@
        <a-form-model-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="是否MDC使用">
          <lx-switch checked-children='是' un-checked-children='否' v-model="model.mdcFlag"/>
        </a-form-model-item>
        <a-form-model-item
          :labelCol="labelCol"
          :wrapperCol="wrapperCol"
          label="排序">
          <a-input-number v-model="model.productionOrder"/>
        </a-form-model-item>
@@ -115,14 +121,20 @@
        })
      },
      add (depart) {
        debugger
        this.visible = true;
        this.model = {}
        if(depart){
          this.seen = false;
          this.dictDisabled = false;
          this.model.parentId = depart.id;
          this.model.mdcFlag = depart.mdcFlag;
        }else{
          this.seen = true;
          this.dictDisabled = true;
        }
        this.edit(depart);
        // this.edit(depart);
        this.loadTreeData();
      },
      edit (record) {
        this.visible = true;