出库优化
This commit is contained in:
parent
ebe80c0417
commit
5605d5a703
|
|
@ -423,6 +423,13 @@ const onHandleOutbound = async () => {
|
|||
})
|
||||
return
|
||||
}
|
||||
if (maxNum.value == 0) {
|
||||
uni.showToast({
|
||||
title: '待出库数量已为0!',
|
||||
icon: 'none',
|
||||
})
|
||||
return
|
||||
}
|
||||
uni.showLoading()
|
||||
loading.value = true
|
||||
// 解构所需要的数据
|
||||
|
|
@ -576,6 +583,13 @@ const boxOut = async () => {
|
|||
}
|
||||
// 标准箱出库确认
|
||||
const boxOutBound = async () => {
|
||||
if (maxNum.value == 0) {
|
||||
uni.showToast({
|
||||
title: '待出库数量已为0!',
|
||||
icon: 'none',
|
||||
})
|
||||
return
|
||||
}
|
||||
// 解构所需要的数据
|
||||
const { typeId, parentId, publishTask } = queryParams.value
|
||||
// 组装出库参数
|
||||
|
|
@ -617,6 +631,7 @@ const onCodeIdentify = () => {
|
|||
title: '待出库数量已为0!',
|
||||
icon: 'none',
|
||||
})
|
||||
return
|
||||
} else {
|
||||
uni.navigateTo({
|
||||
url: `/pages/picking/outbound/codeOutScan?params=${JSON.stringify(queryParams.value)}`,
|
||||
|
|
@ -633,6 +648,7 @@ const scanStart = () => {
|
|||
title: '待出库数量已为0!',
|
||||
icon: 'none',
|
||||
})
|
||||
return
|
||||
} else {
|
||||
// var mpaasScanModule = uni.requireNativePlugin("Mpaas-Scan-Module")
|
||||
// mpaasScanModule.mpaasScan({
|
||||
|
|
@ -729,6 +745,13 @@ const getMaInfoScan = async () => {
|
|||
}
|
||||
// 二维码出库确认
|
||||
const confirmCodeOutBound = async () => {
|
||||
if (maxNum.value == 0) {
|
||||
uni.showToast({
|
||||
title: '待出库数量已为0!',
|
||||
icon: 'none',
|
||||
})
|
||||
return
|
||||
}
|
||||
// 解构所需要的数据
|
||||
const { typeId, parentId, publishTask } = queryParams.value
|
||||
// 组装出库参数
|
||||
|
|
|
|||
Loading…
Reference in New Issue