diff --git a/src/components/workstationSelect/simpletableSingle.vue b/src/components/workstationSelect/simpletableSingle.vue index 2e11c06..13fd66e 100644 --- a/src/components/workstationSelect/simpletableSingle.vue +++ b/src/components/workstationSelect/simpletableSingle.vue @@ -30,7 +30,7 @@ - + 搜索 @@ -178,7 +178,7 @@ export default { workstationCode: null, workstationName: null, workstationAddress: null, - workshopId: null, + workshopId: "214", workshopCode: null, workshopName: null, processId: null, diff --git a/src/views/mes/dv/machinery/index.vue b/src/views/mes/dv/machinery/index.vue index 6c4e89e..def4376 100644 --- a/src/views/mes/dv/machinery/index.vue +++ b/src/views/mes/dv/machinery/index.vue @@ -315,15 +315,8 @@ v-model="form.machineryTypeId" :options="machineryTypeOptions" :normalizer="normalizer" - disabled - v-if="optType == 'view'" - /> - @@ -382,7 +375,7 @@ - + @@ -587,7 +580,7 @@ export default { idList: "", workshopCode: "", workshopName: "", - workshopId: "", + workshopId: "214", }, defaultPropss: { children: "children", @@ -656,15 +649,15 @@ export default { machineryName: [ { required: true, message: "设备名称不能为空", trigger: "blur" }, ], - workshopId: [ - { required: true, message: "车间不能为空", trigger: "blur" }, - ], + // workshopId: [ + // { required: true, message: "车间不能为空", trigger: "blur" }, + // ], machineryTypeId: [ { required: true, message: "设备分类不能为空", trigger: "blur" }, ], - workshopName: [ - { required: true, message: "所属车间不能为空", trigger: "blur" }, - ], + // workshopName: [ + // { required: true, message: "所属车间不能为空", trigger: "blur" }, + // ], }, }; }, @@ -727,6 +720,12 @@ export default { this.queryParamsdata = data; this.handleQuery(); }, + // 节点单击事件 + handleNodeClick(data) { + console.log(data); + this.form.machineryTypeName = data.machineryTypeName; + this.form.machineryTypeCode = data.code; + }, // 取消按钮 cancel() { this.open = false; @@ -743,7 +742,7 @@ export default { machineryTypeId: null, machineryTypeCode: null, machineryTypeName: null, - workshopId: null, + workshopId: "214", workshopCode: null, workshopName: null, status: "STOP", @@ -809,7 +808,7 @@ export default { // this.$emit("getSelectList", this.selectList); }, - //选择关联的设备 + //选择车间 handleAccompanyId(val) { this.form.workshopCode = val.workshopCode; this.form.workshopName = val.workshopName; diff --git a/src/views/mes/dv/route/index.vue b/src/views/mes/dv/route/index.vue index d824938..1dc48c6 100644 --- a/src/views/mes/dv/route/index.vue +++ b/src/views/mes/dv/route/index.vue @@ -201,7 +201,7 @@ - + @@ -346,7 +346,7 @@ export default { proAgvlineId: null, lineCode: null, lineName: null, - workshopId: null, + workshopId: "214", enableFlag: "Y", remark: null, }; diff --git a/src/views/mes/md/workstation/index.vue b/src/views/mes/md/workstation/index.vue index 2526722..5203464 100644 --- a/src/views/mes/md/workstation/index.vue +++ b/src/views/mes/md/workstation/index.vue @@ -245,7 +245,7 @@ /> - + @@ -564,7 +564,7 @@ export default { workstationCode: null, workstationName: null, workstationAddress: null, - workshopId: null, + workshopId: "214", workshopCode: null, workshopName: null, processId: null, @@ -670,6 +670,7 @@ export default { this.$refs["form"].validate((valid) => { if (valid) { if (this.form.workstationId != null) { + this.form.processId = this.form.processId.join(","); updateWorkstation(this.form).then((response) => { this.$modal.msgSuccess("修改成功"); this.open = false; diff --git a/src/views/mes/pro/production/components/video.vue b/src/views/mes/pro/production/components/video.vue index f1910ca..11afdf5 100644 --- a/src/views/mes/pro/production/components/video.vue +++ b/src/views/mes/pro/production/components/video.vue @@ -1,343 +1,351 @@ - - diff --git a/src/views/mes/pro/production/index.vue b/src/views/mes/pro/production/index.vue index cc8d1b6..8e62356 100644 --- a/src/views/mes/pro/production/index.vue +++ b/src/views/mes/pro/production/index.vue @@ -146,11 +146,7 @@
- +
@@ -251,6 +247,7 @@