| | |
| | | <a-row :gutter="24"> |
| | | <a-col :span="6"> |
| | | <a-form-model-item label="刀具材料" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="toolMaterial"> |
| | | <a-input v-model="model.toolMaterial" :placeholder="disableSubmit?'':'请输入刀具材料'" :disabled="disableSubmit"></a-input> |
| | | <j-dict-select-tag |
| | | type="list" |
| | | v-model="model.toolMaterial" |
| | | :triggerChange="true" |
| | | dictCode="tool_material" |
| | | placeholder="请选择刀具材料" |
| | | :disabled="disableSubmit" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="6"> |
| | |
| | | </a-col> |
| | | <a-col :span="6"> |
| | | <a-form-model-item label="刀具型式" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="toolPattern"> |
| | | <a-input v-model="model.toolPattern" :placeholder="disableSubmit?'':'请输入刀具型式'" :disabled="disableSubmit" ></a-input> |
| | | <j-dict-select-tag |
| | | type="list" |
| | | v-model="model.toolPattern" |
| | | :triggerChange="true" |
| | | dictCode="tool_pattern" |
| | | placeholder="请选择刀具型式" |
| | | :disabled="disableSubmit" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | |
| | | </a-col> |
| | | <a-col :span="6"> |
| | | <a-form-model-item label="柄部形式" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="handleForm"> |
| | | <a-input v-model="model.handleForm" :placeholder="disableSubmit?'':'请输入柄部形式'" :disabled="disableSubmit" ></a-input> |
| | | <j-dict-select-tag |
| | | type="list" |
| | | v-model="model.handleForm" |
| | | :triggerChange="true" |
| | | dictCode="mill_handle_form" |
| | | placeholder="请选择柄部形式" |
| | | :disabled="disableSubmit" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="6"> |
| | | <a-form-model-item label="冷却方式" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="coolingMethod"> |
| | | <a-input v-model="model.coolingMethod" :placeholder="disableSubmit?'':'请输入冷却方式'" :disabled="disableSubmit" ></a-input> |
| | | <j-dict-select-tag |
| | | type="list" |
| | | v-model="model.coolingMethod" |
| | | :triggerChange="true" |
| | | dictCode="cooling_method" |
| | | placeholder="请选择冷却方式" |
| | | :disabled="disableSubmit" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="6"> |
| | |
| | | </a-col> |
| | | <a-col :span="6"> |
| | | <a-form-model-item label="柄颈形式" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="handleNeckForm"> |
| | | <a-input v-model="model.handleNeckForm" :placeholder="disableSubmit?'':'请输入柄颈形式'" :disabled="disableSubmit" ></a-input> |
| | | <j-dict-select-tag |
| | | type="list" |
| | | v-model="model.handleNeckForm" |
| | | :triggerChange="true" |
| | | dictCode="handle_neck_form" |
| | | placeholder="请选择柄颈形式" |
| | | :disabled="disableSubmit" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="6"> |
| | |
| | | </a-col> |
| | | <a-col :span="6"> |
| | | <a-form-model-item label="铣刀头形式" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="millingHeadForm"> |
| | | <a-input v-model="model.millingHeadForm" :placeholder="disableSubmit?'':'请输入铣刀头形式'" :disabled="disableSubmit" ></a-input> |
| | | <j-dict-select-tag |
| | | type="list" |
| | | v-model="model.millingHeadForm" |
| | | :triggerChange="true" |
| | | dictCode="milling_head_form" |
| | | placeholder="请选择铣刀头形式" |
| | | :disabled="disableSubmit" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="6"> |
| | |
| | | </a-col> |
| | | <a-col :span="6"> |
| | | <a-form-model-item label="切削刃形式" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="cuttingEdgeForm"> |
| | | <a-input v-model="model.cuttingEdgeForm" :placeholder="disableSubmit?'':'请输入切削刃形式'" :disabled="disableSubmit" ></a-input> |
| | | <j-dict-select-tag |
| | | type="list" |
| | | v-model="model.cuttingEdgeForm" |
| | | :triggerChange="true" |
| | | dictCode="cutting_edge_form" |
| | | placeholder="请选择切削刃形式" |
| | | :disabled="disableSubmit" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="6"> |
| | | <a-form-model-item label="内外纹数" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="numberPatterns"> |
| | | <a-input v-model="model.numberPatterns" :placeholder="disableSubmit?'':'请输入内外纹数'" :disabled="disableSubmit" ></a-input> |
| | | <a-form-model-item label="内外螺纹" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="numberPatterns"> |
| | | <j-dict-select-tag |
| | | type="list" |
| | | v-model="model.numberPatterns" |
| | | :triggerChange="true" |
| | | dictCode="number_patterns" |
| | | placeholder="请选择内外螺纹" |
| | | :disabled="disableSubmit" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="6"> |
| | |
| | | url: { |
| | | add: '/tms/baseTools/add', |
| | | edit: '/tms/baseTools/edit', |
| | | queryParaByToolCode: '/tms/baseTools/queryByToolCode', |
| | | }, |
| | | locationCodeOptions:[], |
| | | chineseNameChange1:'', |
| | |
| | | edit(record) { |
| | | this.editable = true; |
| | | this.model = Object.assign({}, record) |
| | | this.chineseNameChange1 = record.chineseName |
| | | this.toolModelChange1 = '-'+record.toolModel |
| | | this.diameterChange1 = '-'+record.diameter |
| | | this.totalLengthChange1 = '-'+record.totalLength |
| | | this.noseAngleRChange1 = '-' + record.noseAngleR |
| | | //通过id查询管理参数和参数数据 |
| | | // getAction(this.url.queryParaByToolCode, { |
| | | // toolCode: record.toolCodeId, |
| | | // paraTypeFlag: record.paraTypeFlag, |
| | | // }).then((res) => { |
| | | // if (res.success) { |
| | | // this.model = Object.assign({}, res.result) |
| | | // } |
| | | // }) |
| | | this.visible = true |
| | | }, |
| | | close() { |