| | |
| | | </a-col> |
| | | <a-col :span="6"> |
| | | <a-form-model-item label="切削方向" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="cuttingDirection"> |
| | | <a-input v-model="model.cuttingDirection" :placeholder="disableSubmit?'':'请输入切削方向'" :disabled="disableSubmit"></a-input> |
| | | <j-dict-select-tag |
| | | type="list" |
| | | v-model="model.cuttingDirection" |
| | | :triggerChange="true" |
| | | dictCode="cutting_direction" |
| | | placeholder="请选择切削方向" |
| | | :disabled="disableSubmit" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <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-col :span="6"> |
| | |
| | | </a-col> |
| | | <a-col :span="6"> |
| | | <a-form-model-item label="制式" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="types"> |
| | | <a-input v-model="model.types" :placeholder="disableSubmit?'':'请输入制式'" :disabled="disableSubmit" ></a-input> |
| | | <j-dict-select-tag |
| | | type="list" |
| | | v-model="model.types" |
| | | :triggerChange="true" |
| | | dictCode="types" |
| | | 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="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-row> |
| | | <a-row> |
| | | <a-col :span="6"> |
| | | <a-form-model-item label="刀杆类别" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="holderCategory"> |
| | | <a-input v-model="model.holderCategory" :placeholder="disableSubmit?'':'请输入刀杆类别'" :disabled="disableSubmit" ></a-input> |
| | | <j-dict-select-tag |
| | | type="list" |
| | | v-model="model.holderCategory" |
| | | :triggerChange="true" |
| | | dictCode="holder_category" |
| | | 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="fasteningForm"> |
| | | <a-input v-model="model.fasteningForm" :placeholder="disableSubmit?'':'请输入接口紧固形式'" :disabled="disableSubmit" ></a-input> |
| | | <j-dict-select-tag |
| | | type="list" |
| | | v-model="model.fasteningForm" |
| | | :triggerChange="true" |
| | | dictCode="fastening_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="bladeShape"> |
| | | <a-input v-model="model.bladeShape" :placeholder="disableSubmit?'':'请输入刀片形状'" :disabled="disableSubmit" ></a-input> |
| | | <j-dict-select-tag |
| | | type="list" |
| | | v-model="model.bladeShape" |
| | | :triggerChange="true" |
| | | dictCode="blade_shape" |
| | | 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="barDirection"> |
| | | <a-input v-model="model.barDirection" :placeholder="disableSubmit?'':'请输入刀杆方向'" :disabled="disableSubmit" ></a-input> |
| | | <j-dict-select-tag |
| | | type="list" |
| | | v-model="model.barDirection" |
| | | :triggerChange="true" |
| | | dictCode="bar_direction" |
| | | placeholder="请选择刀杆方向" |
| | | :disabled="disableSubmit" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | </a-row> |
| | |
| | | <a-row> |
| | | <a-col :span="6"> |
| | | <a-form-model-item label="刀片装夹方式" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="clampingMethod"> |
| | | <a-input v-model="model.clampingMethod" :placeholder="disableSubmit?'':'请输入刀片装夹方式'" :disabled="disableSubmit" ></a-input> |
| | | <j-dict-select-tag |
| | | type="list" |
| | | v-model="model.clampingMethod" |
| | | :triggerChange="true" |
| | | dictCode="clamping_method" |
| | | placeholder="请选择刀片装夹方式" |
| | | :disabled="disableSubmit" |
| | | /> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="6"> |
| | |
| | | edit(record) { |
| | | this.editable = true; |
| | | this.model = Object.assign({}, record) |
| | | this.chineseNameChange1 = record.chineseName |
| | | this.toolModelChange1 = '-'+record.toolModel |
| | | this.headSpecificationsChange1 = '-'+record.headSpecifications |
| | | this.leadAngleChange1 = '-'+record.leadAngle |
| | | //通过id查询管理参数和参数数据 |
| | | getAction(this.url.queryParaByToolCode, { |
| | | toolCode: record.toolCodeId, |
| | | paraTypeFlag: record.paraTypeFlag, |
| | | }).then((res) => { |
| | | if (res.success) { |
| | | this.model = Object.assign({}, res.result) |
| | | } |
| | | }) |
| | | // 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() { |