diff --git a/pages/NursingNew/component/index.vue b/pages/NursingNew/component/index.vue index 967af23..b29cb20 100644 --- a/pages/NursingNew/component/index.vue +++ b/pages/NursingNew/component/index.vue @@ -391,7 +391,7 @@ instructionTagId: e } queryAll(data).then(res => { - console.log(res) + // console.log(res) fwzlarr.value = res.result.jsList; }) } diff --git a/pages/NursingNew/component/leftcontent/leftcontent.vue b/pages/NursingNew/component/leftcontent/leftcontent.vue index dd5d2e0..a390cce 100644 --- a/pages/NursingNew/component/leftcontent/leftcontent.vue +++ b/pages/NursingNew/component/leftcontent/leftcontent.vue @@ -11,7 +11,7 @@ - + {{v.name}} @@ -68,6 +68,7 @@ }else{ codesc.value = -1; } + // naurl(dexleft.value,props.list[dexleft.value]) }) const scroll = (e)=>{ // console.log(e.detail.scrollTop) @@ -110,9 +111,10 @@ // 底 codesc.value = 2; } - const naurl = (e)=>{ + const naurl = (e,v)=>{ dexleft.value = e; scrolltop.value = (e - 2) * 52; + emit('navurl',e,v) } diff --git a/pages/NursingNew/component/leftcontent/serveswipe.vue b/pages/NursingNew/component/leftcontent/serveswipe.vue index 4f917ff..a21f4b7 100644 --- a/pages/NursingNew/component/leftcontent/serveswipe.vue +++ b/pages/NursingNew/component/leftcontent/serveswipe.vue @@ -21,7 +21,8 @@ - + + @@ -35,27 +36,28 @@ - + + + 服务倒计时 + + + + + + MIN + + + : + + + + SEC + + + + {{ indexmessage?.servStartTime?indexmessage?.servStartTime.slice(11, 16) :'' }} - @@ -161,6 +163,26 @@ + + 服务倒计时 + + + + + + MIN + + + : + + + + SEC + + + + {{ indexmessage?.directiveList[swipdcurrent]?indexmessage?.directiveList[swipdcurrent].servStartTime.slice(11, 16) :'' }} - @@ -393,7 +415,6 @@ - @@ -418,12 +439,8 @@ const current = ref(-1) const current2 = ref(0) const autoplay = ref(false) - const severcards = ref>() const init = (e) => { firstgetqueryCgdList(e); - setTimeout(() => { - severcards.value.firstgetqueryCgdList() - }, 120) } defineExpose({ init @@ -439,26 +456,42 @@ current2.value = a } botleft.value = (a-4)*20; - plsbuy.value.forEach((v, i) => { - if (i != a && v.izPackage == 'Y') { - v.flag = false - } - }) if (plsbuy.value[a]?.izStart == 'Y' && plsbuy.value[a]?.izFinish == 'N') { + } + if + ( plsbuy.value[a]?.izMulti=='Y' + &&plsbuy.value[a]?.directiveList[swipdcurrent.value].izStart == 'Y' + && plsbuy.value[a]?.directiveList[swipdcurrent.value].izFinish == 'N') + { timeacde() } } const djstinme = ref(0) const timeacde = () => { let obj = plsbuy.value[current.value]; - let timestampMs = new Date(obj.servEndTime).getTime(); - let times = new Date().getTime(); - let djs = timestampMs - times; - - djstinme.value = Math.round(djs / 1000); - if (djstinme.value < 0) { - plsbuy.value[current.value].chaoshitime = true + console.log(obj.izMulti,11111111111111) + if(obj.izMulti == "Y"){ + let timestampMs = new Date(obj.directiveList[swipdcurrent.value].servEndTime).getTime(); + let times = new Date().getTime(); + let djs = timestampMs - times; + djstinme.value = Math.round(djs / 1000); + if (djstinme.value < 0) { + djstinme.value = 0; + plsbuy.value[current.value].directiveList[swipdcurrent.value].chaoshitime = true + } + console.log(plsbuy.value) + }else{ + let timestampMs = new Date(obj.servEndTime).getTime(); + let times = new Date().getTime(); + let djs = timestampMs - times; + djstinme.value = Math.round(djs / 1000); + if (djstinme.value < 0) { + djstinme.value = 0; + plsbuy.value[current.value].chaoshitime = true + } } + console.log(plsbuy.value) + } // const timeend = () => { // // 结束超时 @@ -661,7 +694,7 @@ form.nuId = nuId; // console.log(nuId) queryOrderList(form).then(res => { - console.log(`这啥啊啊啊啊啊`,res.result.length, res) + // console.log(`这啥啊啊啊啊啊`,res.result.length, res) if (res.result.length > 0) { res.result.forEach((item, l) => { item.flag = false; @@ -872,7 +905,6 @@ console.log(res) if (res.success) { v.izStart = "Y"; - severcards.value.firstgetqueryCgdList() timeacde() } else { @@ -906,7 +938,6 @@ if (res.success) { open.value = 0; endobj.value = {}; - severcards.value.firstgetqueryCgdList() firstgetqueryCgdList(uni.getStorageSync('nuId')) } else { @@ -1244,7 +1275,7 @@ .timedjs { position: absolute; width: 7vw; - right: 5.2vw; + right: 2.8vw; top: 0vw; display: flex; flex-direction: column; diff --git a/pages/NursingNew/component/leftcontent/swipecard.vue b/pages/NursingNew/component/leftcontent/swipecard.vue index ce5d66a..41d1963 100644 --- a/pages/NursingNew/component/leftcontent/swipecard.vue +++ b/pages/NursingNew/component/leftcontent/swipecard.vue @@ -26,7 +26,7 @@ }; }, created() { - console.log(this.indexmessage) + // console.log(this.indexmessage) }, methods:{ cardSwiper(e) { diff --git a/pages/NursingNew/component/leftcontent/sxy-Timeing.vue b/pages/NursingNew/component/leftcontent/sxy-Timeing.vue index fb13819..86df894 100644 --- a/pages/NursingNew/component/leftcontent/sxy-Timeing.vue +++ b/pages/NursingNew/component/leftcontent/sxy-Timeing.vue @@ -134,6 +134,11 @@ this.isDown = this.initTime > 0 ? true : false let time = Math.abs(this.initTime); // console.log(minutes,time) + if(time==0){ + this.topTime = 0; + // this.OneCycle(0); + return + } this.timerTwo = setInterval(() => { const flag = this.isDown ? time - 1 : time + 1; if (flag === this.threshold) { @@ -144,7 +149,7 @@ if (flag >= this.timeoutDuration + 2 && this.isDown == false) { clearInterval(this.timerTwo); clearInterval(this.timer); - this.$emit('timeend') + // this.$emit('timeend') } this.OneCycle(time); this.isDown ? time-- : time++; diff --git a/pages/NursingNew/index.vue b/pages/NursingNew/index.vue index 7450a6c..c853e76 100644 --- a/pages/NursingNew/index.vue +++ b/pages/NursingNew/index.vue @@ -48,36 +48,50 @@ - + - + - - - --> + - - + - + - + + + + + + + + + + + + + + @@ -92,16 +106,26 @@ import requestform from "./component/pleasetake/takehome.vue" import doctorask from "./component/doctorask/doctorask.vue" - // import nurse from "./component/nurse/index.vue" import bignurse from "./component/nurse/bigindex.vue" import { onBackPress, onShow } from '@dcloudio/uni-app'; import { getNcPackagelist } from './component/nurse/api.js' import leftcontent from "./component/leftcontent/leftcontent.vue" import defaultr from '@/pages/procurement/components/default.vue'; + + + import material from "@/pages/procurement/material.vue"; + import materialcar from "@/pages/procurement/materialcar.vue"; + import purchaseorder from "@/pages/procurement/purchaseorder.vue"; + import picking from "@/pages/Warehouse/picking.vue"; + import finish from "@/pages/Warehouse/finish.vue" + import outbound from "@/pages/procurement/outbound.vue"; + import inventory from "@/pages/procurement/inventory.vue"; + import addtory from "@/pages/procurement/addtory.vue"; + import retstock from "@/pages/procurement/retstock.vue"; onBackPress(() => { if (specialPage.value) { - specialPage.value-- + specialPage.value = '' return true; // 禁止返回手势返回 } else { return false; // 禁止返回手势返回 @@ -111,8 +135,8 @@ const listarr = ref([]); onMounted(() => { - menuIndex.value = 0; - swipedex.value = 0; + menuIndex.value = ''; + swipedex.value = ''; getNcPackagelist(`1`).then((res : any) => { //缓存指令包 @@ -124,13 +148,20 @@ // console.log("缓存指令包", res) uni.setStorageSync("Packagelist2", res.result) }) - getPermissionList({ employeesId: uni.getStorageSync('userInfo').employeesId }).then(res => { - listarr.value = res.result; - // console.log("这个是啥", res) - }) + swip() }) - const gospecial = (index : number) => { - specialPage.value = index + const changeNumber = (item : any) => { + specialPage.value = item + // specialitem.value = item + } + const specialitem = ref({}) + const changepages = (item : any) => { + specialPagedex.value = 1 + specialitem.value = item + } + const specialPagedex = ref(0) + const gospecial = (index) => { + specialPagedex.value = index } // 通用的生成函数 @@ -143,147 +174,73 @@ }) } const tabbrarr = ref([ - { name: '服务', url: '/static/shouye/sy/n0.png', urls: '/static/shouye/sy/n1.png', type: 'kzgn_hljz' }, - { name: '医疗', url: '/static/shouye/sy/y0.png', urls: '/static/shouye/sy/y1.png', type: 'kzgn_yljz' }, - { name: '后勤', url: '/static/shouye/sy/q0.png', urls: '/static/shouye/sy/q1.png', type: 'kzgn_hqjz' }, - { name: '库房', url: '/static/shouye/sy/l0.png', urls: '/static/shouye/sy/l1.png', type: 'kzgn_kfjz' }, + { name: '首页', url: '/static/shouye/sy/home0.png', urls: '/static/shouye/sy/home1.png', menuCode: 'jcgn_sy' }, + { name: '服务', url: '/static/shouye/sy/n0.png', urls: '/static/shouye/sy/n1.png', menuCode: 'jcgn_fw' }, + { name: '请领', url: '/static/shouye/sy/l0.png', urls: '/static/shouye/sy/l1.png', menuCode: 'jcgn_ql' }, + { name: '退货', url: '/static/shouye/sy/g0.png', urls: '/static/shouye/sy/g1.png', menuCode: 'jcgn_th' }, + { name: '物料', url: '/static/shouye/sy/g0.png', urls: '/static/shouye/sy/g1.png', menuCode: 'jcgn_wl' }, + { name: '采购', url: '/static/shouye/ck/c0.png', urls: '/static/shouye/ck/c1.png', menuCode: 'jcgn_cg' }, + { name: '拣货', url: '/static/shouye/ck/j0.png', urls: '/static/shouye/ck/j1.png', menuCode: 'jcgn_jh' }, + { name: '完结', url: '/static/shouye/ck/w0.png', urls: '/static/shouye/ck/w1.png', menuCode: 'jcgn_wj' }, + { name: '库存盘点', url: '/static/shouye/ck/p0.png', urls: '/static/shouye/ck/p1.png', menuCode: 'jcgn_kcpd' }, + { name: '请领出库', url: '/static/shouye/ck/q0.png', urls: '/static/shouye/ck/q1.png', menuCode: 'jcgn_qlck' }, + { name: '退货入库', url: '/static/shouye/ck/t0.png', urls: '/static/shouye/ck/t1.png', menuCode: 'jcgn_qlrk' }, + { name: '物联', url: '/static/shouye/sy/g0.png', urls: '/static/shouye/sy/g1.png', menuCode: 'jcgn_wisb' } ]) - const specialPage = ref(0) + const specialPage = ref('') const navurl = (e, v) => { - swipedex.value = -1; - specialPage.value = 0 - switch (v.type) { - case 'hldy': - swipedex.value = 0; - setTimeout(() => { - menuIndex.value = 0; - }, 100) - // console.log('护理单元') - break; - case 'kzgn_hljz': - swipedex.value = 1; - setTimeout(() => { - menuIndex.value = 1; - }, 100) - // console.log('护理矩阵') - break; - case 'kzgn_yljz': - swipedex.value = 2; - setTimeout(() => { - menuIndex.value = 2; - }, 100) - // console.log('医疗矩阵') - break; - case 'kzgn_hqjz': - swipedex.value = 3; - setTimeout(() => { - menuIndex.value = 3; - }, 100) - // console.log('后勤矩阵') - break; - case 'kzgn_kfjz': - swipedex.value = 6; - setTimeout(() => { - menuIndex.value = 6; - }, 100) - //console.log('库房') - break; - case 'kf_cg': - //console.log('采购') - break; - case 'kf_jh': - //console.log('拣货') - break; - case 'kf_wj': - //console.log('完结') - break; - case 'hldy_ql': - swipedex.value = 4; - setTimeout(() => { - menuIndex.value = 4; - }, 100) - //console.log('请领') - break; - case 'kf_th': - //console.log('退货') - break; - case 'kf_pd': - //console.log('盘点') - break; - case 'wl': - swipedex.value = 5; - setTimeout(() => { - menuIndex.value = 5; - }, 100) - //console.log('物联') - break; - case 'back': - // 不这样写的话的话返回和uni.navigateBack()会冲突 - uni.navigateBack() - uni.navigateBack() - break; - - default: - break; + swipedex.value = ''; + specialPage.value = '' + + if(v.menuCode == "back"){ + uni.navigateBack() + }else{ + swipedex.value = v.menuCode; + setTimeout(() => { + menuIndex.value = v.menuCode; + }, 100) } - // } - const arrlist = ref([ - { name: '首页', url: '/static/shouye/sy/h0.png', urls: '/static/shouye/sy/h1.png', type: 'hldy' } + const arrlist = ref([ + { name: '首页', url: '/static/shouye/sy/h0.png', urls: '/static/shouye/sy/h1.png', menuCode: 'jcgn_sy' }, ]) const swip = () => { + getPermissionList({ employeesId: uni.getStorageSync('userInfo').employeesId }).then(res => { + listarr.value = res.result; + }) let nuId = uni.getStorageSync('nuId'); let arrs = []; - // console.log("/???",listarr.value) listarr.value.forEach(item => { if (item.nuId == nuId) { arrs = item.dataList } }) let nuName = uni.getStorageSync('nuName') - + let arr = [] queryPadPageList({ 'pageNo': -1, 'nuName': nuName }).then((res => { - - let arr = res.result.records[0].permissionList; - // console.log("???????????????",res.result.records[0].permissionList) - arrlist.value = [{ name: '首页', url: '/static/shouye/sy/h0.png', urls: '/static/shouye/sy/h1.png', type: 'hldy' }]; - let tbr = []; - // console.log("xxxx",res) - if (arr) { - arr.forEach((v, i) => { - let obj = arrs.find(item => - item.menuCode == v.menuCode - ); - if (obj) { - tbr.push(v); - } - }) - - // console.log("是不是没了啊", tbr) - tbr.forEach(item => { - let obj = tabbrarr.value.find(r => - r.type == item.menuCode - ); - if (obj) { - arrlist.value.push(obj); - } - - }) - } - arrlist.value.push(...tabbrarr.value); + arr = res.result.records[0].permissionList; + arrlist.value = [ + { name: '首页', url: '/static/shouye/sy/h0.png', urls: '/static/shouye/sy/h1.png', menuCode: 'jcgn_sy' }, + ]; + + let result = getIntersection(arrs, arr); + let results = getIntersection( tabbrarr.value,result); + arrlist.value.push(...results); let back = [ - { name: '请领', url: '/static/shouye/sy/l0.png', urls: '/static/shouye/sy/l1.png', type: 'hldy_ql' }, - { name: '物联', url: '/static/shouye/sy/g0.png', urls: '/static/shouye/sy/g1.png', type: 'wl' }, - { name: '返回', url: '/static/shouye/sy/f0.png', urls: '/static/shouye/sy/f1.png', type: 'back' } + { name: '返回', url: '/static/shouye/sy/f0.png', urls: '/static/shouye/sy/f1.png', menuCode: 'back' } ] arrlist.value.push(...back); - // navurl(0,arrlist.value[0]) + navurl(0,arrlist.value[0]) })) } + function getIntersection(arrA, arrB) { + const codeSet = new Set(arrB.map(item => item.menuCode)); + return arrA.filter(item => codeSet.has(item.menuCode)); + } // 当前选中的菜单索引 - const menuIndex = ref(-1); - const swipedex = ref(-1); + const menuIndex = ref('jcgn_sy'); + const swipedex = ref('jcgn_sy'); const menuIndexshow = ref(false); const menuIndexshowsecond = ref(false); const menuIndexshowfourth = ref(false); @@ -291,54 +248,21 @@ const messageopit = ref(false); // 变更菜单 - const changeMenu = (index : number) => { + const changeMenu = (index) => { if (index === menuIndex.value) { return } menuIndex.value = index; - menuIndexshow.value = false - menuIndexshowsecond.value = false - menuIndexshowfourth.value = false; - menuIndexshowfifth.value = false - if (index === arrlist.value.length - 1) { - uni.navigateBack() - return - } - setTimeout(() => { - switch (index) { - case 0: - menuIndexshow.value = true - break; - case 1: - menuIndexshowsecond.value = true - nomesssageshow() - break; - case 2: - - nomesssageshow() - break; - case 3: - menuIndexshowfourth.value = true - break; - case 4: - menuIndexshowfifth.value = true; - break; - case 5: - menuIndexshowfourth.value = true - break; - - default: - } - }, 50) + setTimeout(()=>{ + swipedex.value = index; + },50) }; const clientX = ref(0); const clientY = ref(0); const savename = ref("") - // 生命周期钩子 onMounted(() => { - //首次加载和跳转回来需要重新做个动画 setTimeout(() => { changeMenu(menuIndex.value) @@ -386,7 +310,7 @@ const movelook = ref({ url: "", title: "", - type: 0 + menuCode: 0 }) const startmoveit = ref(true) const whoisit = ref(0); @@ -409,13 +333,13 @@ } // console.log("咋没了",movelook.value.url) movelook.value.title = look.title; - movelook.value.type = 0; + movelook.value.menuCode = 0; startmoveit.value = false } else if (look.packageName) { whoisit.value = 0; movelook.value.url = `/static/index/packtarget.png` movelook.value.title = look.packageName; - movelook.value.type = 1; + movelook.value.menuCode = 1; startmoveit.value = false } diff --git a/pages/Warehouse/index/component/index.vue b/pages/Warehouse/index/component/index.vue index 07c4d7d..2908df9 100644 --- a/pages/Warehouse/index/component/index.vue +++ b/pages/Warehouse/index/component/index.vue @@ -76,7 +76,7 @@ {{v}} - + 取消 确定 diff --git a/pages/Warehouse/index/index.vue b/pages/Warehouse/index/index.vue index 585c46e..ed0f41b 100644 --- a/pages/Warehouse/index/index.vue +++ b/pages/Warehouse/index/index.vue @@ -63,13 +63,14 @@ @changepages="changepages"> + - + @rulepush="rulepush" @cleanall="cleanall" /> --> @@ -84,11 +85,8 @@ import materialcar from "@/pages/procurement/materialcar.vue"; import purchaseorder from "@/pages/procurement/purchaseorder.vue"; import { getNcPackagelist } from '@/pages/NursingNew/component/nurse/api.js' - import index from "./component/index.vue" - 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"; @@ -96,15 +94,15 @@ import retstock from "@/pages/procurement/retstock.vue"; // import logistics from "@/pages/NursingNew/component/logistics/index.vue" - import warehousematrix from "@/pages/NursingNew/component/warehousematrix/newindex.vue" + // import warehousematrix from "@/pages/NursingNew/component/warehousematrix/newindex.vue" // import logistics from "@/pages/NursingNew/component/logistics/index.vue" // import nurse from "@/pages/NursingNew/component/nurse/index.vue" const tabbrarr = ref([ - { name: '护理', url: '/static/shouye/sy/n0.png', urls: '/static/shouye/sy/n1.png', type: 'kzgn_hljz' }, - { name: '医疗', url: '/static/shouye/sy/y0.png', urls: '/static/shouye/sy/y1.png', type: 'kzgn_yljz' }, - { name: '后勤', url: '/static/shouye/sy/l0.png', urls: '/static/shouye/sy/l1.png', type: 'kzgn_hqjz' }, - { name: '库房', url: '/static/shouye/sy/l0.png', urls: '/static/shouye/sy/l1.png', type: 'kzgn_kfjz' }, + // { name: '护理', url: '/static/shouye/sy/n0.png', urls: '/static/shouye/sy/n1.png', type: 'kzgn_hljz' }, + // { name: '医疗', url: '/static/shouye/sy/y0.png', urls: '/static/shouye/sy/y1.png', type: 'kzgn_yljz' }, + // { name: '后勤', url: '/static/shouye/sy/l0.png', urls: '/static/shouye/sy/l1.png', type: 'kzgn_hqjz' }, + // { name: '库房', url: '/static/shouye/sy/l0.png', urls: '/static/shouye/sy/l1.png', type: 'kzgn_kfjz' }, ]) const menuop = ref(0) const swipdex = ref(0) @@ -161,62 +159,62 @@ specialPage.value = 0; setTimeout(() => { switch (v.type) { - case 'sy': + case 'jcgn_sy': swipdex.value = 0; setTimeout(() => { menuop.value = 0 }, 100) break; - case 'kf_cg': + case 'jcgn_cg': swipdex.value = 1; setTimeout(() => { menuop.value = 1 }, 100) break; - case 'kf_jh': + case 'jcgn_ih': swipdex.value = 2; setTimeout(() => { menuop.value = 3 }, 100) break; - case 'kf_wj': + case 'jcgn_wj': swipdex.value = 3; setTimeout(() => { menuop.value = 3 }, 100) break; - case 'kf_ql': + case 'jcgn_ql': swipdex.value = 4; setTimeout(() => { menuop.value = 4 }, 100) break; - case 'kf_th': + case 'jcgn_qlrk': swipdex.value = 5; setTimeout(() => { menuop.value = 5 }, 100) break; - case 'kf_pd': + case 'jcgn_kcpd': swipdex.value = 6; setTimeout(() => { menuop.value = 6 }, 100) break; - case 'kzgn_hljz': - swipdex.value = 7; - setTimeout(() => { - menuop.value = 7; - }, 100) - console.log('护理矩阵') - break; - case 'kzgn_yljz': - swipdex.value = 7; - setTimeout(() => { - menuop.value = 7; - }, 100) - console.log('医疗矩阵') - break; + // case 'kzgn_hljz': + // swipdex.value = 7; + // setTimeout(() => { + // menuop.value = 7; + // }, 100) + // console.log('护理矩阵') + // break; + // case 'kzgn_yljz': + // swipdex.value = 7; + // setTimeout(() => { + // menuop.value = 7; + // }, 100) + // console.log('医疗矩阵') + // break; // case 'kzgn_hqjz': // swipdex.value = 9; // setTimeout(() => { @@ -256,13 +254,13 @@ queryPadPageList({ 'pageNo': -1, 'nuName': nuName }).then((res => { let arr = res.result.records[0].permissionList; arrlist.value = [ - { name: '首页', url: '/static/shouye/ck/h0.png', urls: '/static/shouye/ck/h1.png', type: 'sy' }, - { name: '采购', url: '/static/shouye/ck/c0.png', urls: '/static/shouye/ck/c1.png', type: 'kf_cg' }, - { name: '拣货', url: '/static/shouye/ck/j0.png', urls: '/static/shouye/ck/j1.png', type: 'kf_jh' }, - { name: '完结', url: '/static/shouye/ck/w0.png', urls: '/static/shouye/ck/w1.png', type: 'kf_wj' }, - { name: '请领出库', url: '/static/shouye/ck/q0.png', urls: '/static/shouye/ck/q1.png', type: 'kf_ql' }, - { name: '退货入库', url: '/static/shouye/ck/t0.png', urls: '/static/shouye/ck/t1.png', type: 'kf_th' }, - { name: '库存盘点', url: '/static/shouye/ck/p0.png', urls: '/static/shouye/ck/p1.png', type: 'kf_pd' }, + { name: '首页', url: '/static/shouye/ck/h0.png', urls: '/static/shouye/ck/h1.png', type: 'jcgn_sy' }, + { name: '采购', url: '/static/shouye/ck/c0.png', urls: '/static/shouye/ck/c1.png', type: 'jcgn_cg' }, + { name: '拣货', url: '/static/shouye/ck/j0.png', urls: '/static/shouye/ck/j1.png', type: 'jcgn_ih' }, + { name: '完结', url: '/static/shouye/ck/w0.png', urls: '/static/shouye/ck/w1.png', type: 'jcgn_wj' }, + { name: '请领出库', url: '/static/shouye/ck/q0.png', urls: '/static/shouye/ck/q1.png', type: 'jcgn_qlck' }, + { name: '退货入库', url: '/static/shouye/ck/t0.png', urls: '/static/shouye/ck/t1.png', type: 'jcgn_qlrk' }, + { name: '库存盘点', url: '/static/shouye/ck/p0.png', urls: '/static/shouye/ck/p1.png', type: 'jcgn_kcpd' }, ]; let tbr = []; if (arr) { @@ -293,15 +291,15 @@ const materials = ref>(); const inventorys = ref>() const userInfo = ref({}) - onShow(() => { - userInfo.value = uni.getStorageSync('userInfo'); - if (menuop.value == 1) { - materials.value.gwcsx(); - } - if (menuop.value == 6) { - inventorys.value.firstgetqueryCgdList() - } - }) + // onShow(() => { + // userInfo.value = uni.getStorageSync('userInfo'); + // if (menuop.value == 1) { + // materials.value.gwcsx(); + // } + // if (menuop.value == 6) { + // inventorys.value.firstgetqueryCgdList() + // } + // }) const clientX = ref(0); const clientY = ref(0); const savename = ref("")