增加录入点位
This commit is contained in:
parent
cd791e54c4
commit
ad8896a743
@ -395,6 +395,16 @@
|
||||
<el-form-item label="实际点位Y">
|
||||
<el-input v-model="state.entryActualNodeForm.y" placeholder="请输入" />
|
||||
</el-form-item>
|
||||
<el-form-item label="弧度">
|
||||
<el-input-number
|
||||
v-model="state.entryActualNodeForm.locationYaw"
|
||||
:min="-state.MathPI"
|
||||
:max="state.MathPI"
|
||||
placeholder="请输入"
|
||||
:precision="2"
|
||||
controls-position="right"
|
||||
/>
|
||||
</el-form-item>
|
||||
<div style="text-align: right">
|
||||
<el-button
|
||||
size="small"
|
||||
@ -1593,7 +1603,8 @@ const state = reactive({
|
||||
entryNodePopoverVisible: false, //录入点位弹窗
|
||||
entryActualNodeForm: {
|
||||
x: '',
|
||||
y: ''
|
||||
y: '',
|
||||
locationYaw: 0
|
||||
}, //录入点位的表单
|
||||
noLocationNumberList: [], //没有排序的库位index
|
||||
isShowSortNum: false, //是否显示序号
|
||||
@ -1609,7 +1620,8 @@ const state = reactive({
|
||||
},
|
||||
isSearchSelectVisible: false, //是否显示选择框
|
||||
searchSelectedOption: '',
|
||||
haveSortNumMapPointInfo: []
|
||||
haveSortNumMapPointInfo: [],
|
||||
MathPI: Math.PI
|
||||
})
|
||||
//网格的样式
|
||||
const gradientBackground = computed(() => {
|
||||
@ -2010,6 +2022,7 @@ const entryActualNodeFormCancel = () => {
|
||||
state.entryNodePopoverVisible = false
|
||||
state.entryActualNodeForm.x = ''
|
||||
state.entryActualNodeForm.y = ''
|
||||
state.entryActualNodeForm.locationYaw = 0
|
||||
}
|
||||
|
||||
const entryActualNodeFormSubmit = () => {
|
||||
@ -2035,7 +2048,7 @@ const entryActualNodeFormSubmit = () => {
|
||||
rotatable: false,
|
||||
lockAspectRatio: false, //横纵比
|
||||
mapImageUrl: '',
|
||||
locationYaw: 0, //弧度
|
||||
locationYaw: state.entryActualNodeForm.locationYaw, //弧度
|
||||
type: 1, //默认类型1 路径节点
|
||||
dataList: [], //存库位的
|
||||
dataObj: {} //存 设备点 停车点 文字
|
||||
@ -2046,6 +2059,7 @@ const entryActualNodeFormSubmit = () => {
|
||||
setTimeout(() => {
|
||||
state.entryActualNodeForm.x = ''
|
||||
state.entryActualNodeForm.y = ''
|
||||
state.entryActualNodeForm.locationYaw = 0
|
||||
}, 200)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user