This commit is contained in:
parent
71113297d3
commit
980062710f
|
|
@ -60,8 +60,8 @@ const isUsingList = ref([
|
||||||
{ path: 'toolsOut', name: '出库', src: 'outStore', isShow: true },
|
{ path: 'toolsOut', name: '出库', src: 'outStore', isShow: true },
|
||||||
{ path: 'toolsBack', name: '退料', src: 'back', isShow: true },
|
{ path: 'toolsBack', name: '退料', src: 'back', isShow: true },
|
||||||
{ path: 'toolsLedger', name: '台账', src: 'ledger', isShow: true },
|
{ path: 'toolsLedger', name: '台账', src: 'ledger', isShow: true },
|
||||||
{ path: 'teamLeaseRecord', name: '班组领料', src: 'teamLease', isShow: true },
|
{ path: 'teamLeaseRecord', name: '领料记录', src: 'teamLease', isShow: true },
|
||||||
{ path: 'teamBackRecord', name: '班组退料', src: 'teamBack', isShow: true },
|
{ path: 'teamBackRecord', name: '退料记录', src: 'teamBack', isShow: true },
|
||||||
{ path: 'teamStore', name: '班组库存', src: 'teamStore', isShow: true },
|
{ path: 'teamStore', name: '班组库存', src: 'teamStore', isShow: true },
|
||||||
{ path: 'teamWarning', name: '班组预警', src: 'teamWarning', isShow: true },
|
{ path: 'teamWarning', name: '班组预警', src: 'teamWarning', isShow: true },
|
||||||
{ path: 'authorizeSignature', name: '项目部授权', src: 'authorizeSignature', isShow: true },
|
{ path: 'authorizeSignature', name: '项目部授权', src: 'authorizeSignature', isShow: true },
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<template>
|
||||||
<uni-nav-bar dark :fixed="true" shadow background-color="#4AA4EA" status-bar title="设备库存">
|
<uni-nav-bar dark :fixed="true" shadow background-color="#4AA4EA" status-bar :title="title">
|
||||||
<template v-slot:left>
|
<template v-slot:left>
|
||||||
<view style="font-size: 18px; display: flex; align-items: center" @click="back">
|
<view style="font-size: 18px; display: flex; align-items: center" @click="back">
|
||||||
<uni-icons type="left" size="20" color="#fff"></uni-icons>
|
<uni-icons type="left" size="20" color="#fff"></uni-icons>
|
||||||
|
|
@ -96,6 +96,7 @@ import { useMemberStore } from '@/stores'
|
||||||
const memberStore = useMemberStore()
|
const memberStore = useMemberStore()
|
||||||
const userInfo = ref(memberStore.userInfo || {})
|
const userInfo = ref(memberStore.userInfo || {})
|
||||||
|
|
||||||
|
const title = ref('设备库存')
|
||||||
const searchText = ref('')
|
const searchText = ref('')
|
||||||
const isTeam = ref(false)
|
const isTeam = ref(false)
|
||||||
const teamList = ref([])
|
const teamList = ref([])
|
||||||
|
|
@ -117,6 +118,7 @@ onLoad((opt) => {
|
||||||
isTeam.value = opt.params ? JSON.parse(opt.params).isTeam : false
|
isTeam.value = opt.params ? JSON.parse(opt.params).isTeam : false
|
||||||
if (isTeam.value) {
|
if (isTeam.value) {
|
||||||
getTeamList()
|
getTeamList()
|
||||||
|
title.value = '班组库存'
|
||||||
} else {
|
} else {
|
||||||
getList()
|
getList()
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue