入库流程对接完毕

This commit is contained in:
zx
2026-04-03 08:38:34 +08:00
parent dde27ed688
commit ce6d5e5d6e
42 changed files with 3028 additions and 936 deletions

View File

@@ -1,3 +1,4 @@
<!-- 底部导航栏仓库 -->
<template>
<view class="content">
<uni-card v-for="(item, index) in menuList" :key="item.id" :title="item.title" :isFull="true"
@@ -12,7 +13,7 @@
<script setup>
import { onShow } from '@dcloudio/uni-app';
import {removeStorage} from '../until';
const menuList = [
{
id: 'inventory',
@@ -125,7 +126,11 @@ const menuList = [
icon: '../../static/stockInOrOut/stockInCreateOrder.png',
title: '入库单开单',
click: () => {
removeStorage()
console.log('入库单开单')
uni.navigateTo({
url: '/pages/warehousing/stockIn/create'
});
}
},
{
@@ -134,6 +139,10 @@ const menuList = [
title: '我的入库单',
click: () => {
console.log('我的入库单')
removeStorage()
uni.navigateTo({
url: '/pages/warehousing/stockIn/my'
});
}
},
{
@@ -142,6 +151,9 @@ const menuList = [
title: '入库单入库',
click: () => {
console.log('入库单入库')
uni.navigateTo({
url: '/pages/warehousing/stockIn/putaway'
});
}
},
@@ -188,9 +200,9 @@ const menuList = [
title: '唯一码发放',
click: () => {
console.log('唯一码发放')
uni.setStorageSync('app_material', []);
uni.removeStorage('app_material')
uni.navigateTo({
url: '/pages/uniqueCode/issueUniqueCode/index'
url: '/pages/warehousing/uniqueCode/issueUniqueCode/index'
});
}
},
@@ -201,7 +213,7 @@ const menuList = [
click: () => {
console.log('唯一码')
uni.navigateTo({
url: '/pages/uniqueCode/myUniqueCode/index'
url: '/pages/warehousing/uniqueCode/myUniqueCode/index'
});
}
},
@@ -216,40 +228,39 @@ const menuList = [
},
]
},
{
id: 'transportCheckIn',
title: '运输打卡',
menuItem: [
{
id: "transportCheckIn_transportCheckIn",
icon: '../../static/transportCheckIn/transportCheckIn.png',
title: '运输打卡',
click: () => {
console.log('运输打卡')
}
},
{
id: "transportCheckIn_myTransportCheckIn",
icon: '../../static/transportCheckIn/myTransportCheckIn.png',
title: '我的运输打卡',
click: () => {
console.log('我的运输打卡')
}
},
]
},
// {
// id: 'transportCheckIn',
// title: '运输打卡',
// menuItem: [
// {
// id: "transportCheckIn_transportCheckIn",
// icon: '../../static/transportCheckIn/transportCheckIn.png',
// title: '运输打卡',
// click: () => {
// console.log('运输打卡')
// }
// },
// {
// id: "transportCheckIn_myTransportCheckIn",
// icon: '../../static/transportCheckIn/myTransportCheckIn.png',
// title: '我的运输打卡',
// click: () => {
// console.log('我的运输打卡')
// }
// },
// ]
// },
]
onShow(() => {
uni.removeStorage({
key: 'app_material',
success: (result) => {},
fail: (error) => {}
success: (result) => { },
fail: (error) => { }
})
})
</script>
<style scoped lang="scss">
/* 覆盖 uni-card 根容器样式 */
::v-deep .custom-card.uni-card {
margin-bottom: 6rpx !important;
border-color: #F8F8FF !important;