From ba15d76ff0ec80ee759913511158d4333f6e6c59 Mon Sep 17 00:00:00 2001 From: cuijian <cuijian@xalxzn.com> Date: 星期五, 29 八月 2025 18:21:22 +0800 Subject: [PATCH] 日常业务问题修改、工具参数查询增加 --- src/views/tms/modules/baseTools/BaseToolsListRight.vue | 361 +++++++++++++++++++++++++++++++++++++-------------- 1 files changed, 260 insertions(+), 101 deletions(-) diff --git a/src/views/tms/modules/baseTools/BaseToolsListRight.vue b/src/views/tms/modules/baseTools/BaseToolsListRight.vue index cf81456..b98df66 100644 --- a/src/views/tms/modules/baseTools/BaseToolsListRight.vue +++ b/src/views/tms/modules/baseTools/BaseToolsListRight.vue @@ -458,7 +458,7 @@ //鏄剧ず褰撳墠閫変腑绫诲瀷鍙傛暟 this.$refs.paraCommonToolList.getPara(res.result) //闅愯棌鍏朵粬绫诲瀷鍙傛暟 - this.$refs.paraHoleToolsList.visable =false + this.$refs.paraHoleToolsList.visable = false this.$refs.paraThreadingToolList.visable = false this.$refs.paraMillToolList.visable = false this.$refs.paraTurningToolsList.visable = false @@ -473,28 +473,28 @@ } else if (this.selectionRows[0].paraTypeFlag === '3') { this.$refs.paraThreadingToolList.getPara(res.result) this.$refs.paraCommonToolList.visable = false - this.$refs.paraHoleToolsList.visable =false + this.$refs.paraHoleToolsList.visable = false this.$refs.paraMillToolList.visable = false this.$refs.paraTurningToolsList.visable = false this.$refs.paraBladeList.visable = false } else if (this.selectionRows[0].paraTypeFlag === '4') { this.$refs.paraMillToolList.getPara(res.result) this.$refs.paraCommonToolList.visable = false - this.$refs.paraHoleToolsList.visable =false + this.$refs.paraHoleToolsList.visable = false this.$refs.paraThreadingToolList.visable = false this.$refs.paraTurningToolsList.visable = false this.$refs.paraBladeList.visable = false } else if (this.selectionRows[0].paraTypeFlag === '5') { this.$refs.paraTurningToolsList.getPara(res.result) this.$refs.paraCommonToolList.visable = false - this.$refs.paraHoleToolsList.visable =false + this.$refs.paraHoleToolsList.visable = false this.$refs.paraThreadingToolList.visable = false this.$refs.paraMillToolList.visable = false this.$refs.paraBladeList.visable = false } else if (this.selectionRows[0].paraTypeFlag === '6') { this.$refs.paraBladeList.getPara(res.result) this.$refs.paraCommonToolList.visable = false - this.$refs.paraHoleToolsList.visable =false + this.$refs.paraHoleToolsList.visable = false this.$refs.paraThreadingToolList.visable = false this.$refs.paraMillToolList.visable = false this.$refs.paraTurningToolsList.visable = false @@ -709,114 +709,273 @@ } }, paraHoleToolsOk(data) { - this.queryParam.chineseName = data.chineseName - this.queryParam.foreignLanguageName = data.foreignLanguageName - this.queryParam.standardLevel = data.standardLevel - this.queryParam.standardCode = data.standardCode - this.queryParam.diameter = data.diameter - this.queryParam.coneAngle = data.coneAngle - this.queryParam.edgeLength = data.edgeLength - this.queryParam.totalLength = data.totalLength - this.queryParam.toolMaterial = data.toolMaterial - this.queryParam.partMaterial = data.partMaterial - this.queryParam.paintcoatFlag = data.paintcoatFlag - this.queryParam.toolPattern = data.toolPattern - this.queryParam.handleSpecifications = data.handleSpecifications - this.queryParam.coolingMethod = data.coolingMethod - this.queryParam.bladeCount = data.bladeCount - this.queryParam.technicalConditions = data.technicalConditions - this.queryParam.conditionsInfo = data.conditionsInfo - this.queryParam.toolModel = data.toolModel - this.queryParam.shortCalled = data.shortCalled - this.queryParam.groupCompanyCode = data.groupCompanyCode + const fields = [ + 'chineseName', + 'foreignLanguageName', + 'standardLevel', + 'standardCode', + 'coneAngle', + 'edgeLength', + 'totalLength', + 'toolMaterial', + 'partMaterial', + 'paintcoatFlag', + 'toolPattern', + 'handleSpecifications', + 'coolingMethod', + 'bladeCount', + 'technicalConditions', + 'conditionsInfo', + 'toolModel', + 'shortCalled', + 'groupCompanyCode', + 'groupCompanySign', + 'brand', + 'toleranceClass', + 'fitterPart', + 'connectorType', + 'smallDiameter', + 'chamferAngle', + 'effectiveLength', + 'drillDiameterRange', + 'knifeDiameter', + 'boreDiameter', + 'slotSpecification', + 'headsNumber', + 'adaptHolder', + 'guidanceLength', + 'guidanceDiameter', + 'accuracyClass', + 'types', + 'fluteForm', + 'handleForm', + 'scopeOfApplication', + 'processingmethod', + 'littleDiameter', + 'bigDiameter', + 'smallEdgeLength', + 'bigEdgeLength', + 'smallTotalLength', + 'bigTotalLength', + 'smallLatestBoringDiameter', + 'bigLatestBoringDiameter', + 'smallMaxBoringDiameter', + 'bigMaxBoringDiameter', + ] + + fields.forEach((field) => { + this.queryParam[field] = data[field] + }) this.loadData() }, paraBladeOk(data) { - this.queryParam.chineseName = data.chineseName - this.queryParam.foreignLanguageName = data.foreignLanguageName - this.queryParam.standardLevel = data.standardLevel - this.queryParam.standardCode = data.standardCode - this.queryParam.bladeShape = data.bladeShape - this.queryParam.bladeLength = data.bladeLength - this.queryParam.cuttingEdgeCount = data.cuttingEdgeCount - this.queryParam.bladeThickness = data.bladeThickness - this.queryParam.toolMaterial = data.toolMaterial - this.queryParam.partMaterial = data.partMaterial - this.queryParam.paintcoatFlag = data.paintcoatFlag - this.queryParam.clampingType = data.clampingType - this.queryParam.noseAngleR = data.noseAngleR - this.queryParam.technicalConditions = data.technicalConditions - this.queryParam.conditionsInfo = data.conditionsInfo - this.queryParam.toolModel = data.toolModel - this.queryParam.shortCalled = data.shortCalled - this.queryParam.groupCompanyCode = data.groupCompanyCode + const fields = [ + 'chineseName', + 'foreignLanguageName', + 'shortCalled', + 'groupCompanyCode', + 'groupCompanySign', + 'standardLevel', + 'standardCode', + 'toolModel', + 'partMaterial', + 'technicalConditions', + 'conditionsInfo', + 'brand', + 'coatingMaterial', + 'processingClassify', + 'bladePosterior', + 'bladeSize', + 'cuttingEdgeCount', + 'noseAngleR', + 'dentalAngle', + 'pitch', + 'accuracyClass', + 'bladeShape', + 'clampingType', + 'toolMaterial', + 'paintcoatFlag', + 'types', + 'cuttingDirection', + 'inOutThread', + 'threadStandard', + 'smallBladeLength', + 'bigBladeLength', + 'smallBladeThickness', + 'bigBladeThickness', + 'smallBladeWide', + 'bigBladeWide', + 'smallMinInternalThread', + 'bigMinInternalThread' + ] + fields.forEach((field) => { + this.queryParam[field] = data[field] + }) this.loadData() }, paraThreadingToolOk(data) { - this.queryParam.chineseName = data.chineseName - this.queryParam.foreignLanguageName = data.foreignLanguageName - this.queryParam.threadCode = data.threadCode - this.queryParam.pitch = data.pitch - this.queryParam.rotationDirection = data.rotationDirection - this.queryParam.tolerancezoneLevel = data.tolerancezoneLevel - this.queryParam.edgeLength = data.edgeLength - this.queryParam.totalLength = data.totalLength - this.queryParam.toolMaterial = data.toolMaterial - this.queryParam.partMaterial = data.partMaterial - this.queryParam.paintcoatFlag = data.paintcoatFlag - this.queryParam.externalDimensions = data.externalDimensions - this.queryParam.handleSpecifications = data.handleSpecifications - this.queryParam.technicalConditions = data.technicalConditions - this.queryParam.conditionsInfo = data.conditionsInfo - this.queryParam.toolModel = data.toolModel - this.queryParam.shortCalled = data.shortCalled - this.queryParam.groupCompanyCode = data.groupCompanyCode + const fields = [ + 'chineseName', + 'foreignLanguageName', + 'shortCalled', + 'groupCompanyCode', + 'groupCompanySign', + 'standardLevel', + 'standardCode', + 'toolModel', + 'partMaterial', + 'technicalConditions', + 'conditionsInfo', + 'brand', + 'threadCode', + 'tolerancezoneLevel', + 'pitch', + 'handleSpecifications', + 'guidingSize', + 'connectionAperture', + 'connectingKeyway', + 'accuracyClass', + 'rotationDirection', + 'paintcoatFlag', + 'toolMaterial', + 'coolingMethod', + 'types', + 'screwHoleType', + 'threadStandard', + 'fluteSoltType', + 'smallExternalDimensions', + 'bigExternalDimensions', + 'smallEdgeLength', + 'bigEdgeLength', + 'smallTotalLength', + 'bigTotalLength' + ] + fields.forEach((field) => { + this.queryParam[field] = data[field] + }) + this.loadData() }, paraMillToolOk(data) { - this.queryParam.chineseName = data.chineseName - this.queryParam.foreignLanguageName = data.foreignLanguageName - this.queryParam.standardLevel = data.standardLevel - this.queryParam.standardCode = data.standardCode - this.queryParam.diameter = data.diameter - this.queryParam.noseAngleR = data.noseAngleR - this.queryParam.edgeLength = data.edgeLength - this.queryParam.totalLength = data.totalLength - this.queryParam.toolMaterial = data.toolMaterial - this.queryParam.partMaterial = data.partMaterial - this.queryParam.paintcoatFlag = data.paintcoatFlag - this.queryParam.toolPattern = data.toolPattern - this.queryParam.clampingSpecifications = data.clampingSpecifications - this.queryParam.coolingMethod = data.coolingMethod - this.queryParam.numberOfTeeth = data.numberOfTeeth - this.queryParam.technicalConditions = data.technicalConditions - this.queryParam.conditionsInfo = data.conditionsInfo - this.queryParam.toolModel = data.toolModel - this.queryParam.shortCalled = data.shortCalled - this.queryParam.groupCompanyCode = data.groupCompanyCode + const fields = [ + 'chineseName', + 'foreignLanguageName', + 'shortCalled', + 'groupCompanyCode', + 'groupCompanySign', + 'standardLevel', + 'standardCode', + 'toolModel', + 'partMaterial', + 'technicalConditions', + 'conditionsInfo', + 'brand', + 'clampingSpecifications', + 'sizeSpecifications', + 'adaptBlade', + 'noseAngleR', + 'noseAngleC', + 'angleInsideR', + 'numberOfTeeth', + 'smallDiameter', + 'toolAngle', + 'mainAngleK', + 'deepestDepth', + 'pitch', + 'recentlyDiameter', + 'accuracyClass', + 'toolMaterial', + 'coolingMethod', + 'paintcoatFlag', + 'toolPattern', + 'handleForm', + 'handleNeckForm', + 'numberPatterns', + 'millingHeadForm', + 'cuttingEdgeForm', + 'littleDiameter', + 'bigDiameter', + 'smallEdgeLength', + 'bigEdgeLength', + 'smallTotalLength', + 'bigTotalLength', + 'smallNeckDiameter', + 'bigNeckDiameter', + 'smallHandleLength', + 'bigHandleLength', + 'smallHandleNeckLength', + 'bigHandleNeckLength', + 'smallOverhangingLength', + 'bigOverhangingLength' + ] + fields.forEach((field) => { + this.queryParam[field] = data[field] + }) this.loadData() }, paraTurningToolsOk(data) { - this.queryParam.chineseName = data.chineseName - this.queryParam.foreignLanguageName = data.foreignLanguageName - this.queryParam.standardLevel = data.standardLevel - this.queryParam.standardCode = data.standardCode - this.queryParam.headSpecifications = data.headSpecifications - this.queryParam.matchingNumber = data.matchingNumber - this.queryParam.leadAngle = data.leadAngle - this.queryParam.totalLength = data.totalLength - this.queryParam.toolMaterial = data.toolMaterial - this.queryParam.partMaterial = data.partMaterial - this.queryParam.paintcoatFlag = data.paintcoatFlag - this.queryParam.toolPattern = data.toolPattern - this.queryParam.crossSectionalSize = data.crossSectionalSize - this.queryParam.coolingMethod = data.coolingMethod - this.queryParam.cuttingDirection = data.cuttingDirection - this.queryParam.technicalConditions = data.technicalConditions - this.queryParam.conditionsInfo = data.conditionsInfo - this.queryParam.toolModel = data.toolModel - this.queryParam.shortCalled = data.shortCalled - this.queryParam.groupCompanyCode = data.groupCompanyCode + const fields = [ + 'chineseName', + 'foreignLanguageName', + 'shortCalled', + 'groupCompanyCode', + 'groupCompanySign', + 'standardLevel', + 'standardCode', + 'toolModel', + 'partMaterial', + 'technicalConditions', + 'conditionsInfo', + 'brand', + 'paintcoatFlag', + 'headSpecifications', + 'matchingNumber', + 'knifeClipModel', + 'leadAngle', + 'crossSectionalSize', + 'knifeSize', + 'bladePosterior', + 'accuracyClass', + 'cuttingDirection', + 'toolMaterial', + 'toolPattern', + 'types', + 'coolingMethod', + 'fasteningForm', + 'holderCategory', + 'bladeShape', + 'clampingMethod', + 'barDirection', + 'smallTotalLength', + 'bigTotalLength', + 'smallBoringBarDiameter', + 'bigBoringBarDiameter', + 'smallBladeLength', + 'bigBladeLength', + 'smallToolDiameter', + 'bigToolDiameter', + 'smallBladeHeight', + 'bigBladeHeight', + 'smallBladeWide', + 'bigBladeWide', + 'smallBladeSize', + 'bigBladeSize', + 'smallSlotWidth', + 'bigSlotWidth', + 'smallSmallDiameter', + 'bigSmallDiameter', + 'smallMaxDiameter', + 'bigMaxDiameter', + 'smallMaxDepth', + 'bigMaxDepth', + 'smallMinDiameter', + 'bigMinDiameter', + 'smallBladeThickness', + 'bigBladeThickness' + ] + fields.forEach((field) => { + this.queryParam[field] = data[field] + }) this.loadData() }, }, -- Gitblit v1.9.3