| | |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="8"> |
| | | <a-form-model-item prop="equipmentType" |
| | | label="设备种类"> |
| | | <j-tree-dict placeholder="请选择设备种类" v-model="model.equipmentType" parent-code="equipment_category" field="code" :async="true" :disabled="disableSubmit"></j-tree-dict> |
| | | <a-form-model-item prop="overallDimensions" label="外形尺寸"> |
| | | <a-input :placeholder="disableSubmit?'':'请输入外形尺寸'" v-model="model.overallDimensions" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <!-- <a-col :span="8">--> |
| | | <!-- <a-form-model-item prop="equipmentType"--> |
| | | <!-- label="设备种类">--> |
| | | <!-- <j-tree-dict placeholder="请选择设备种类" v-model="model.equipmentType" parent-code="equipment_category" field="code" :async="true" :disabled="disableSubmit"></j-tree-dict>--> |
| | | <!-- </a-form-model-item>--> |
| | | <!-- </a-col>--> |
| | | </a-row> |
| | | <a-row> |
| | | <a-col :span="8"> |
| | |
| | | <a-input :placeholder="disableSubmit?'':'请输入重量'" v-model="model.equipmentWeight" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="6"> |
| | | <a-form-model-item prop="overallDimensions" label="外形尺寸"> |
| | | <a-input :placeholder="disableSubmit?'':'请输入外形尺寸'" v-model="model.overallDimensions" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | |
| | | </a-row> |
| | | |
| | | <a-row :gutter="24"> |
| | |
| | | |
| | | <a-row :gutter="24"> |
| | | <a-col :span="6"> |
| | | <a-form-model-item prop="orgId" label="使用车间"> |
| | | <a-form-model-item prop="orgId" label="所属产线"> |
| | | <a-tree-select v-model="model.orgId" |
| | | style="width: 100%" |
| | | :tree-data="treeData" |
| | | :dropdown-style="{ maxHeight: '400px', overflow: 'auto' }" |
| | | placeholder="请选择使用车间" |
| | | placeholder="请选择所属产线" |
| | | allow-clear |
| | | tree-default-expand-all |
| | | :disabled="editable || disableSubmit" |
| | |
| | | </a-col> |
| | | <a-col :span="6"> |
| | | <a-form-model-item prop="equipmentManager" label="设备管理员"> |
| | | <j-search-select-tag placeholder="请选择设备管理员" v-model="model.equipmentManager" dict="sys_user,realname, username, del_flag=0 and post='PCR0004' and status=1" :disabled="disableSubmit"/> |
| | | <j-search-select-tag placeholder="请选择设备管理员" v-model="model.equipmentManager" dict="sys_user,realname, username, del_flag=0 and status=1" :disabled="disableSubmit"/> |
| | | </a-form-model-item> |
| | | </a-col> |
| | | <a-col :span="6"> |