no message

This commit is contained in:
2024-08-15 14:00:55 +08:00
parent 86a9495e5a
commit 18ea39ee0e

View File

@@ -114,23 +114,34 @@
this.disabled = false this.disabled = false
return return
} }
if (type === 1) {
uni.showModal({ uni.showModal({
title: '提示', title: '提示',
content: '确认是否创建送到内包间AGV任务', content: '确认是否创建送到内包间AGV任务',
confirmColor: '#ff6a00', confirmColor: '#ff6a00',
success: (res) => { success: (res) => {
if (res.confirm) { if (res.confirm) {
if (type === 1) {
this._sendSubVolumeToNBJ() this._sendSubVolumeToNBJ()
}
if (type === 2) {
this._markingFoilSlittingToCache()
}
} else if (res.cancel) { } else if (res.cancel) {
this.disabled = false 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 {