From 135b5b2e497514dc4456e33b0db0fe5e7fa4e62f Mon Sep 17 00:00:00 2001 From: cuijian <cuijian@xalxzn.com> Date: 星期一, 11 八月 2025 09:11:19 +0800 Subject: [PATCH] 现场问题处理 --- src/views/tms/modules/baseTools/ParaBladeModal.vue | 122 ++++++++++++++++++++++++++++++---------- 1 files changed, 90 insertions(+), 32 deletions(-) diff --git a/src/views/tms/modules/baseTools/ParaBladeModal.vue b/src/views/tms/modules/baseTools/ParaBladeModal.vue index aa2a9f8..0b5dd2b 100644 --- a/src/views/tms/modules/baseTools/ParaBladeModal.vue +++ b/src/views/tms/modules/baseTools/ParaBladeModal.vue @@ -68,6 +68,7 @@ :placeholder="disableSubmit ? '' : '璇疯緭鍏ヤ腑鏂囧悕绉�'" v-model="model.chineseName" :disabled="disableSubmit" + @change="e => chineseNameChange(e.target.value)" /> </a-form-model-item> </a-col> @@ -90,6 +91,7 @@ :placeholder="disableSubmit ? '' : '璇疯緭鍏ュ瀷鍙�/鍥惧彿'" v-model="model.toolModel" :disabled="disableSubmit" + @change="e => toolModelChange(e.target.value)" /> </a-form-model-item> </a-col> @@ -131,17 +133,6 @@ </a-col> </a-row> </a-col> - <a-col :span="8"> - <a-form-model-item prop="accuracyClass" label="绮惧害绛夌骇"> - <j-dict-select-tag - type="list" - v-model="model.accuracyClass" - :triggerChange="true" - dictCode="accuracy_class" - :placeholder="disableSubmit ? '' : '璇烽�夋嫨绮惧害绛夌骇'" - /> - </a-form-model-item> - </a-col> <a-col :span="6"> <a-row> @@ -162,7 +153,7 @@ <a-col :span="8"> <a-form-model-item prop="applicationType" label="宸ュ叿绫诲瀷"> <j-dict-select-tag - dict-code="equipment_category" + dict-code="application_type" :placeholder="disableSubmit ? '' : '璇烽�夋嫨宸ュ叿绫诲瀷'" v-model="model.applicationType" :disabled="disableSubmit" @@ -204,15 +195,6 @@ <a-row :gutter="24"> <a-col :span="8"> - <a-form-model-item prop="storageLocation" label="瀛樺偍浣嶇疆"> - <a-input - :placeholder="disableSubmit ? '' : '璇疯緭鍏ュ瓨鍌ㄤ綅缃�'" - v-model="model.storageLocation" - :disabled="disableSubmit" - /> - </a-form-model-item> - </a-col> - <a-col :span="8"> <a-form-model-item prop="lowerInventory" label="鏈�浣庡簱瀛�"> <a-input :placeholder="disableSubmit ? '' : '璇疯緭鍏ユ渶浣庡簱瀛�'" @@ -230,9 +212,6 @@ /> </a-form-model-item> </a-col> - </a-row> - - <a-row :gutter="24"> <a-col :span="8"> <a-form-model-item prop="auxiliaryUnitFlag" label="鏄惁鏈夎閲忚緟鍗曚綅"> <a-radio-group @@ -245,6 +224,9 @@ </a-radio-group> </a-form-model-item> </a-col> + </a-row> + + <a-row :gutter="24"> <a-col :span="8"> <a-form-model-item prop="mainUnit" label="璁¢噺涓诲崟浣�"> <a-input @@ -263,9 +245,6 @@ /> </a-form-model-item> </a-col> - </a-row> - - <a-row :gutter="24"> <a-col :span="8"> <a-form-model-item prop="supplierId" label="鍘傚"> <a-input @@ -275,6 +254,9 @@ /> </a-form-model-item> </a-col> + </a-row> + + <a-row :gutter="24"> <a-col :span="8"> <a-form-model-item prop="price" label="鍗曚环"> <a-input @@ -297,11 +279,41 @@ <a-row :gutter="24"> <a-col :span="6"> + <a-form-model-item label="宸ュ叿绠�绉�" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="shortCalled"> + <a-input + v-model="model.shortCalled" + :placeholder="disableSubmit ? '' : '璇疯緭鍏ュ伐鍏风畝绉�'" + :disabled="disableSubmit" + ></a-input> + </a-form-model-item> + </a-col> + <a-col :span="6"> + <a-form-model-item label="闆嗗洟鍏徃缂栫爜" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="groupCompanyCode"> + <a-input + v-model="model.groupCompanyCode" + :placeholder="disableSubmit ? '' : '璇疯緭鍏ラ泦鍥㈠叕鍙哥紪鐮�'" + :disabled="disableSubmit" + ></a-input> + </a-form-model-item> + </a-col> + <a-col :span="12"> + <a-form-model-item label="闆嗗洟鍏徃鏍囪" :labelCol="{span:4}" :wrapperCol="{span:20}" prop="groupCompanySign"> + <a-input + v-model="model.groupCompanySign" + :disabled="true" + ></a-input> + </a-form-model-item> + </a-col> + </a-row> + + <a-row :gutter="24"> + <a-col :span="6"> <a-form-model-item label="鍒�鐗囧舰鐘�" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="bladeShape"> <a-input v-model="model.bladeShape" :placeholder="disableSubmit ? '' : '璇疯緭鍏ュ垁鐗囧舰鐘�'" :disabled="disableSubmit" + @change="e => bladeShapeChange(e.target.value)" ></a-input> </a-form-model-item> </a-col> @@ -311,6 +323,7 @@ v-model="model.bladeLength" :placeholder="disableSubmit ? '' : '璇疯緭鍏ュ垁鐗囬暱搴�'" :disabled="disableSubmit" + @change="e => bladeLengthChange(e.target.value)" ></a-input> </a-form-model-item> </a-col> @@ -320,6 +333,7 @@ v-model="model.cuttingEdgeCount" :placeholder="disableSubmit ? '' : '璇疯緭鍏ュ垏鍓婂垉鏁�'" :disabled="disableSubmit" + @change="e => cuttingEdgeCountChange(e.target.value)" ></a-input> </a-form-model-item> </a-col> @@ -350,6 +364,7 @@ v-model="model.noseAngleR" :placeholder="disableSubmit ? '' : '璇疯緭鍏ュ垁灏朢'" :disabled="disableSubmit" + @change="e => noseAngleRChange(e.target.value)" ></a-input> </a-form-model-item> </a-col> @@ -402,8 +417,8 @@ <a-col :span="6"> <a-form-model-item label="闄勫姞鎶�鏈潯浠惰鏄�" - :labelCol="labelCol" - :wrapperCol="wrapperCol" + :labelCol="{span:12}" + :wrapperCol="{span:12}" prop="conditionsInfo" > <a-input @@ -530,8 +545,8 @@ <a-col :span="6"> <a-form-model-item label="鏈�灏忓姞宸ュ唴铻虹汗鍏О鐩村緞" - :labelCol="labelCol" - :wrapperCol="wrapperCol" + :labelCol="{span:15}" + :wrapperCol="{span:9}" prop="minInternalThread" > <a-input @@ -612,12 +627,19 @@ toolMaterial: [{ required: true, message: '璇疯緭鍏ュ垁鐗囨潗鏂�' }], paintcoatFlag: [{ required: true, message: '璇烽�夋嫨鏄惁娑傚眰' }], technicalConditions: [{ required: true, message: '璇疯緭鍏ラ檮鍔犳妧鏈潯浠�' }], + shortCalled: [{ required: true, message: '璇疯緭鍏ュ伐鍏风畝绉�' }], }, url: { add: '/tms/baseTools/add', edit: '/tms/baseTools/edit', }, locationCodeOptions: [], + chineseNameChange1:'', + toolModelChange1:'', + bladeShapeChange1:'', + bladeLengthChange1:'', + cuttingEdgeCountChange1:'', + noseAngleRChange1:'' } }, created() { @@ -637,7 +659,7 @@ this.editable = false //鍒濆鍖栭粯璁ゅ�� this.model = { - positionCode: '' + positionCode: '' }; this.model.classifyId = nodeSelected.key this.model.classifyNum = nodeSelected.entity.classifyId @@ -654,6 +676,12 @@ this.$emit('close') this.visible = false this.$refs.form.clearValidate() + this.chineseNameChange1 = '', + this.toolModelChange1 = '', + this.bladeShapeChange1 = '', + this.bladeLengthChange1 = '', + this.cuttingEdgeCountChange1 = '', + this.noseAngleRChange1 = '' }, positionCodeSearch() { let positionCode = [] @@ -727,6 +755,36 @@ } }) }, + chineseNameChange(chineseNameChange){ + this.chineseNameChange1 = chineseNameChange + this.model.groupCompanySign = this.chineseNameChange1+this.toolModelChange1+this.bladeShapeChange1+this.bladeLengthChange1 + +this.cuttingEdgeCountChange1+this.noseAngleRChange1 + }, + toolModelChange(toolModelChange){ + this.toolModelChange1 = toolModelChange == '' ? '' : '-'+toolModelChange + this.model.groupCompanySign = this.chineseNameChange1+this.toolModelChange1+this.bladeShapeChange1+this.bladeLengthChange1 + +this.cuttingEdgeCountChange1+this.noseAngleRChange1 + }, + bladeShapeChange(bladeShapeChange){ + this.bladeShapeChange1 = bladeShapeChange == '' ? '' : '-'+bladeShapeChange + this.model.groupCompanySign = this.chineseNameChange1+this.toolModelChange1+this.bladeShapeChange1+this.bladeLengthChange1 + +this.cuttingEdgeCountChange1+this.noseAngleRChange1 + }, + bladeLengthChange(bladeLengthChange){ + this.bladeLengthChange1 = bladeLengthChange == '' ? '' : '-'+bladeLengthChange + this.model.groupCompanySign = this.chineseNameChange1+this.toolModelChange1+this.bladeShapeChange1+this.bladeLengthChange1 + +this.cuttingEdgeCountChange1+this.noseAngleRChange1 + }, + cuttingEdgeCountChange(cuttingEdgeCountChange){ + this.cuttingEdgeCountChange1 = cuttingEdgeCountChange == '' ? '' : '-'+cuttingEdgeCountChange + this.model.groupCompanySign = this.chineseNameChange1+this.toolModelChange1+this.bladeShapeChange1+this.bladeLengthChange1 + +this.cuttingEdgeCountChange1+this.noseAngleRChange1 + }, + noseAngleRChange(noseAngleRChange){ + this.noseAngleRChange1 = noseAngleRChange == '' ? '' : '-'+noseAngleRChange + this.model.groupCompanySign = this.chineseNameChange1+this.toolModelChange1+this.bladeShapeChange1+this.bladeLengthChange1 + +this.cuttingEdgeCountChange1+this.noseAngleRChange1 + } }, } </script> -- Gitblit v1.9.3