hldy_app_mini/pages/Warehouse/index/index.vue

64 lines
2.0 KiB
Vue
Raw Normal View History

2025-12-25 14:40:18 +08:00
<template>
<view>
<view class="flex">
2025-12-26 10:07:35 +08:00
<view class="left">
<leftcontent :list="tabbrarr" @navurl="navurl"></leftcontent>
</view>
<view class="boxrt">
<material :isShow="ckindex == 1"></material>
<picking :isShow="ckindex == 2"></picking>
2025-12-26 15:35:54 +08:00
<finish :isShow="ckindex == 3"></finish>
2025-12-26 10:07:35 +08:00
<outbound v-if="ckindex == 4"></outbound>
<retstock v-if="ckindex == 5"></retstock>
<inventory :isShow="ckindex == 6"></inventory>
</view>
2025-12-25 14:40:18 +08:00
</view>
</view>
</template>
<script setup lang="ts">
import { ref, onMounted, onBeforeUnmount, nextTick } from 'vue';
import leftcontent from "@/pages/NursingNew/component/leftcontent/leftcontent.vue"
import material from "@/pages/procurement/material.vue";
2025-12-26 10:07:35 +08:00
import picking from "../picking.vue";
import finish from "@/pages/Warehouse/finish.vue"
import outbound from "@/pages/procurement/outbound.vue";
import inventory from "@/pages/procurement/inventory.vue";
import retstock from "@/pages/procurement/retstock.vue";
2025-12-25 14:40:18 +08:00
const tabbrarr = ref([
{name:'首页',url:'/static/shouye/ck/h0.png',urls:'/static/shouye/ck/h1.png'},
{name:'采购',url:'/static/shouye/ck/c0.png',urls:'/static/shouye/ck/c1.png'},
{name:'拣货',url:'/static/shouye/ck/j0.png',urls:'/static/shouye/ck/j1.png'},
{name:'完结',url:'/static/shouye/ck/w0.png',urls:'/static/shouye/ck/w1.png'},
{name:'请领',url:'/static/shouye/ck/q0.png',urls:'/static/shouye/ck/q1.png'},
{name:'退货',url:'/static/shouye/ck/t0.png',urls:'/static/shouye/ck/t1.png'},
{name:'盘点',url:'/static/shouye/ck/p0.png',urls:'/static/shouye/ck/p1.png'},
{name:'返回',url:'/static/shouye/sy/f0.png',urls:'/static/shouye/sy/f1.png'},
])
2025-12-26 10:07:35 +08:00
const ckindex = ref(0)
2025-12-25 14:40:18 +08:00
const navurl =(e)=>{
2025-12-26 10:07:35 +08:00
if(e==7){
uni.navigateBack()
}else{
ckindex.value = e;
}
2025-12-25 14:40:18 +08:00
// changeMenu(e)
}
</script>
<style scoped lang="less">
.flex{
display: flex;
}
2025-12-26 10:07:35 +08:00
.left{
width: 8.2vw;
height: 100vh;
}
.boxrt{
width: calc(100vw - 8.2vw);
background: RGBA(239, 240, 244, 1);
padding: 2vw 1vw 0 1vw;
}
</style>