分切上轴修改
This commit is contained in:
@@ -96,6 +96,9 @@
|
||||
async _queryDeviceByarea (e) {
|
||||
let res = await queryDeviceByarea(e)
|
||||
this.options3 = [...res.data]
|
||||
this.options3.map(el => {
|
||||
this.$set(el, 'value', el.text)
|
||||
})
|
||||
},
|
||||
selectChange3(e) {
|
||||
this.index3 = e
|
||||
@@ -132,7 +135,7 @@
|
||||
return
|
||||
}
|
||||
try {
|
||||
let res = await cutUpShaft(this.index1, this.index2, this.index3, this.upL, this.upR)
|
||||
let res = await cutUpShaft(this.index2, this.index3, this.index1, this.upL, this.upR)
|
||||
this.disabled = false
|
||||
uni.showToast({
|
||||
title: res.message,
|
||||
|
||||
@@ -159,7 +159,7 @@ export const getCutCacheAgvPoints = () => {
|
||||
}
|
||||
export const queryProductArea = () => {
|
||||
let res = {
|
||||
data: [{text: '物料一', value: '001'}, {text: '物料a', value: '002'}, {text: '物料b', value: '003'}]
|
||||
data: [{text: '物料a', value: 'area001'}, {text: '物料b', value: 'area002'}, {text: '物料c', value: 'area003'}]
|
||||
}
|
||||
return res
|
||||
}
|
||||
@@ -219,13 +219,13 @@ export const queryBoxSpec = () => {
|
||||
}
|
||||
export const queryDeviceByarea = () => {
|
||||
let res = {
|
||||
data: [{value: '0aa', text: 'aa'}, {value: '0bb', text: 'bb'}]
|
||||
data: [{text: '设备一', value: 'device001'}, {text: '设备二', value: 'device002'}]
|
||||
}
|
||||
return res
|
||||
}
|
||||
export const devicePointQuery = () => {
|
||||
let res = {
|
||||
data: [{value: '0aa', text: 'aa'}, {value: '0bb', text: 'bb'}]
|
||||
data: [{text: '点位一', value: 'point001'}, {text: '点位二', value: 'point002'}]
|
||||
}
|
||||
return res
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user