no message
This commit is contained in:
@@ -114,23 +114,34 @@
|
|||||||
this.disabled = false
|
this.disabled = false
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
uni.showModal({
|
if (type === 1) {
|
||||||
title: '提示',
|
uni.showModal({
|
||||||
content: '确认是否创建送到内包间AGV任务?',
|
title: '提示',
|
||||||
confirmColor: '#ff6a00',
|
content: '确认是否创建送到内包间AGV任务?',
|
||||||
success: (res) => {
|
confirmColor: '#ff6a00',
|
||||||
if (res.confirm) {
|
success: (res) => {
|
||||||
if (type === 1) {
|
if (res.confirm) {
|
||||||
this._sendSubVolumeToNBJ()
|
this._sendSubVolumeToNBJ()
|
||||||
|
} else if (res.cancel) {
|
||||||
|
this.disabled = false
|
||||||
}
|
}
|
||||||
if (type === 2) {
|
|
||||||
this._markingFoilSlittingToCache()
|
|
||||||
}
|
|
||||||
} else if (res.cancel) {
|
|
||||||
this.disabled = false
|
|
||||||
}
|
}
|
||||||
}
|
})
|
||||||
})
|
}
|
||||||
|
if (type === 2) {
|
||||||
|
uni.showModal({
|
||||||
|
title: '提示',
|
||||||
|
content: '确认是否创建送到暂存区AGV任务?',
|
||||||
|
confirmColor: '#ff6a00',
|
||||||
|
success: (res) => {
|
||||||
|
if (res.confirm) {
|
||||||
|
this._markingFoilSlittingToCache()
|
||||||
|
} else if (res.cancel) {
|
||||||
|
this.disabled = false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
},
|
},
|
||||||
async _sendSubVolumeToNBJ () {
|
async _sendSubVolumeToNBJ () {
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user