|
|
@ -52,7 +52,7 @@ |
|
|
|
<el-row> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item label="电气调度号" label-width="150px"> |
|
|
|
<el-input v-model="form.address"/> |
|
|
|
<el-input v-model="form.address" /> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
@ -85,17 +85,17 @@ |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label="当前排:" label-width="90px" prop="currentX"> |
|
|
|
<el-input v-model.number="form.currentX"/> |
|
|
|
<el-input v-model.number="form.currentX" /> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label="当前列:" label-width="90px" prop="currentY"> |
|
|
|
<el-input v-model.number="form.currentY"/> |
|
|
|
<el-input v-model.number="form.currentY" /> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label="当前层:" label-width="90px" prop="currentZ"> |
|
|
|
<el-input v-model.number="form.currentZ"/> |
|
|
|
<el-input v-model.number="form.currentZ" /> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
@ -167,12 +167,12 @@ |
|
|
|
<el-row> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item label="取货"> |
|
|
|
<el-switch v-model="form.is_pickup"/> |
|
|
|
<el-switch v-model="form.is_pickup" /> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<el-form-item label="放货"> |
|
|
|
<el-switch v-model="form.is_release"/> |
|
|
|
<el-switch v-model="form.is_release" /> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
@ -192,8 +192,8 @@ |
|
|
|
style="width: 100%;margin-bottom: 15px" |
|
|
|
> |
|
|
|
|
|
|
|
<el-table-column prop="name" label="用途"/> |
|
|
|
<el-table-column prop="code" label="别名要求"/> |
|
|
|
<el-table-column prop="name" label="用途" /> |
|
|
|
<el-table-column prop="code" label="别名要求" /> |
|
|
|
<el-table-column prop="db" label="DB块"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-input |
|
|
@ -209,7 +209,7 @@ |
|
|
|
<el-link type="primary" :underline="false" @click.native="test_read1()">测试读</el-link> |
|
|
|
</template> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-input v-model="data1[scope.$index].dbr_value" size="mini" class="edit-input"/> |
|
|
|
<el-input v-model="data1[scope.$index].dbr_value" size="mini" class="edit-input" /> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
@ -229,8 +229,8 @@ |
|
|
|
style="width: 100%;margin-bottom: 15px" |
|
|
|
> |
|
|
|
|
|
|
|
<el-table-column prop="name" label="用途"/> |
|
|
|
<el-table-column prop="code" label="别名要求"/> |
|
|
|
<el-table-column prop="name" label="用途" /> |
|
|
|
<el-table-column prop="code" label="别名要求" /> |
|
|
|
<el-table-column prop="db" label="DB块"> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-input |
|
|
@ -246,7 +246,7 @@ |
|
|
|
<el-link type="primary" :underline="false" @click.native="test_read2()">测试读</el-link> |
|
|
|
</template> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-input v-model="data2[scope.$index].dbr_value" size="mini" class="edit-input"/> |
|
|
|
<el-input v-model="data2[scope.$index].dbr_value" size="mini" class="edit-input" /> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="dbw_value"> |
|
|
@ -254,7 +254,7 @@ |
|
|
|
<el-link type="primary" :underline="false" @click.native="test_write1()">测试写</el-link> |
|
|
|
</template> |
|
|
|
<template slot-scope="scope"> |
|
|
|
<el-input v-model="data2[scope.$index].dbw_value" size="mini" class="edit-input"/> |
|
|
|
<el-input v-model="data2[scope.$index].dbw_value" size="mini" class="edit-input" /> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
</el-table> |
|
|
@ -263,7 +263,7 @@ |
|
|
|
|
|
|
|
<el-card class="box-card" shadow="never"> |
|
|
|
<div slot="header" class="clearfix"> |
|
|
|
<span class="role-span"/> |
|
|
|
<span class="role-span" /> |
|
|
|
<el-button |
|
|
|
:loading="false" |
|
|
|
icon="el-icon-check" |
|
|
@ -286,9 +286,9 @@ import { |
|
|
|
testRead, |
|
|
|
testwrite |
|
|
|
} from '@/api/acs/device/driverConfig' |
|
|
|
import {selectOpcList} from '@/api/acs/device/opc' |
|
|
|
import {selectPlcList} from '@/api/acs/device/opcPlc' |
|
|
|
import {selectListByOpcID} from '@/api/acs/device/opcPlc' |
|
|
|
import { selectOpcList } from '@/api/acs/device/opc' |
|
|
|
import { selectPlcList } from '@/api/acs/device/opcPlc' |
|
|
|
import { selectListByOpcID } from '@/api/acs/device/opcPlc' |
|
|
|
|
|
|
|
import crud from '@/mixins/crud' |
|
|
|
import deviceCrud from '@/api/acs/device/device' |
|
|
|