|
@@ -21,7 +21,7 @@
|
|
|
</a-table>
|
|
|
<br>
|
|
|
<a-form :form="form">
|
|
|
- <row-list :col="2">
|
|
|
+ <row-list :col="1">
|
|
|
<row-item>
|
|
|
<a-form-item
|
|
|
label="设备位置"
|
|
@@ -29,12 +29,12 @@
|
|
|
:wrapperCol="BaseTool.Constant.wrapperCol2"
|
|
|
>
|
|
|
<a-tree-select
|
|
|
- style="width: 100%"
|
|
|
+ style="width: 200px"
|
|
|
:dropdownStyle="{ maxHeight: '400px', overflow: 'auto' }"
|
|
|
:treeData="treeData"
|
|
|
:treeNodeFilterProp="'title'"
|
|
|
:showSearch="true"
|
|
|
- v-decorator="['positionId', {rules: [{required: true, message: '设备位置不能为空'}]}]"
|
|
|
+ v-decorator="['positionId', {initialValue:'658d2817a6cf000dacd41698', rules: [{required: true, message: '设备位置不能为空'}]}]"
|
|
|
placeholder="请选择">
|
|
|
</a-tree-select>
|
|
|
</a-form-item>
|
|
@@ -88,9 +88,15 @@ export default {
|
|
|
scopedSlots: { customRender: 'status' }
|
|
|
},
|
|
|
{
|
|
|
- title: '父位号',
|
|
|
- dataIndex: 'no',
|
|
|
- width: 100,
|
|
|
+ title: '车间',
|
|
|
+ checked: true,
|
|
|
+ width: 150,
|
|
|
+ dataIndex: 'positionName'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '设备位号',
|
|
|
+ dataIndex: 'positionNo',
|
|
|
+ width: 120,
|
|
|
checked: true
|
|
|
},
|
|
|
{
|
|
@@ -104,18 +110,6 @@ export default {
|
|
|
dataIndex: 'model',
|
|
|
width: 150,
|
|
|
checked: true
|
|
|
- },
|
|
|
- {
|
|
|
- title: '出厂编号',
|
|
|
- dataIndex: 'zzh',
|
|
|
- width: 100,
|
|
|
- checked: true
|
|
|
- },
|
|
|
- {
|
|
|
- title: '管理编号',
|
|
|
- dataIndex: 'positionNo',
|
|
|
- width: 120,
|
|
|
- checked: true
|
|
|
}
|
|
|
],
|
|
|
status: 0,
|