|
@@ -223,7 +223,7 @@ const palletNum = computed(() => {
|
|
|
|
|
|
const checkOrder = async () => {
|
|
const checkOrder = async () => {
|
|
loading.value = true
|
|
loading.value = true
|
|
- // uni.setStorageSync('waybills', [])
|
|
|
|
|
|
+ uni.setStorageSync('waybills', [])
|
|
|
|
|
|
const res = await getWaybills({
|
|
const res = await getWaybills({
|
|
order_no: valiFormData.value.orderNum,
|
|
order_no: valiFormData.value.orderNum,
|
|
@@ -238,13 +238,13 @@ const checkOrder = async () => {
|
|
messageType.value = 'success'
|
|
messageType.value = 'success'
|
|
messageText.value = res.msg
|
|
messageText.value = res.msg
|
|
messageRef.value.open()
|
|
messageRef.value.open()
|
|
- // uni.setStorageSync('waybills', res.data.data.waybills)
|
|
|
|
|
|
+ uni.setStorageSync('waybills', res.data.waybills)
|
|
uni.navigateTo({
|
|
uni.navigateTo({
|
|
url: '/pages/scanLotno/waybillsList',
|
|
url: '/pages/scanLotno/waybillsList',
|
|
})
|
|
})
|
|
} else {
|
|
} else {
|
|
messageType.value = 'error'
|
|
messageType.value = 'error'
|
|
- messageText.value = res.data.msg
|
|
|
|
|
|
+ messageText.value = res.msg
|
|
messageRef.value.open()
|
|
messageRef.value.open()
|
|
}
|
|
}
|
|
}
|
|
}
|