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