Compare commits
3 Commits
3cbf6df237
...
2d93dc8751
| Author | SHA1 | Date |
|---|---|---|
|
|
2d93dc8751 | |
|
|
b1b30576c0 | |
|
|
5e0e61c08b |
14
pages.json
14
pages.json
|
|
@ -92,6 +92,14 @@
|
||||||
"navigationStyle": "custom"
|
"navigationStyle": "custom"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
},
|
||||||
|
// 大图
|
||||||
|
{
|
||||||
|
"path": "pages/Warehouse/Warehouse",
|
||||||
|
"style": {
|
||||||
|
"navigationStyle": "custom"
|
||||||
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "pages/NursingNew/index",
|
"path": "pages/NursingNew/index",
|
||||||
|
|
@ -155,13 +163,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"path": "pages/Warehouse/Warehouse",
|
|
||||||
"style": {
|
|
||||||
"navigationStyle": "custom"
|
|
||||||
}
|
|
||||||
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"path": "pages/Warehouse/procurement",
|
"path": "pages/Warehouse/procurement",
|
||||||
"style": {
|
"style": {
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,11 @@
|
||||||
<template>
|
<template>
|
||||||
<view :class="darkFans?`darkbackgroundContainer`:`backgroundContainer`" v-show="isShow">
|
<view class="all-content">
|
||||||
|
<view class="content-title">
|
||||||
|
<image class="title-imge" src="/static/index/indeximage.png" mode="aspectFill"></image>
|
||||||
|
<view class="title-font">
|
||||||
|
11111
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
<view class="wareaitem">
|
<view class="wareaitem">
|
||||||
<view class="wareaitem-item">
|
<view class="wareaitem-item">
|
||||||
<view class="tp" :class="'itemact'+(index+1)" v-for="(item,index) in animArray" :key='index'
|
<view class="tp" :class="'itemact'+(index+1)" v-for="(item,index) in animArray" :key='index'
|
||||||
|
|
@ -20,11 +26,12 @@
|
||||||
<!-- 采购增加层级高度方便点击 -->
|
<!-- 采购增加层级高度方便点击 -->
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="annotation" :class="'annotation'+(i+1)" v-for="(v,i) in ['付款','采购','拣货','完结','护理单元','监控室','请领出库','退货入库']"
|
<view class="annotation" :class="'annotation'+(i+1)"
|
||||||
:key='i' @click.stop="housactive(i)">
|
v-for="(v,i) in ['库存盘点','采购','拣货','完结','护理单元','监控室','请领出库','退货入库']" :key='i'
|
||||||
|
@click.stop="housactive(i)">
|
||||||
<view> </view>
|
<view> </view>
|
||||||
<view class="tp">
|
<view class="tp">
|
||||||
<text>{{v}}</text>
|
<text style="font-size: 30rpx;">{{v}}</text>
|
||||||
<image src="/static/index/warehouse/y2.png" mode="aspectFill" v-if="i==4"></image>
|
<image src="/static/index/warehouse/y2.png" mode="aspectFill" v-if="i==4"></image>
|
||||||
<image src="/static/index/warehouse/y1.png" mode="aspectFill" v-if="i!=4"></image>
|
<image src="/static/index/warehouse/y1.png" mode="aspectFill" v-if="i!=4"></image>
|
||||||
</view>
|
</view>
|
||||||
|
|
@ -34,7 +41,7 @@
|
||||||
</view>
|
</view>
|
||||||
<view @click="onlyjump(5)" class="zhanwei"></view>
|
<view @click="onlyjump(5)" class="zhanwei"></view>
|
||||||
|
|
||||||
<view class="operationbtn">
|
<!-- <view class="operationbtn">
|
||||||
<view v-for="(v,i) in ['请领出库','退货入库','库存盘点','实时监控']" @tap="onTap(i)"
|
<view v-for="(v,i) in ['请领出库','退货入库','库存盘点','实时监控']" @tap="onTap(i)"
|
||||||
:class="beblue === i ? 'click-box-target' : 'click-box'">
|
:class="beblue === i ? 'click-box-target' : 'click-box'">
|
||||||
<image
|
<image
|
||||||
|
|
@ -42,7 +49,7 @@
|
||||||
mode="aspectFill"></image>
|
mode="aspectFill"></image>
|
||||||
{{v}}
|
{{v}}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view> -->
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
@ -51,12 +58,7 @@
|
||||||
import { ref, onMounted, onBeforeUnmount, computed, nextTick, defineProps } from 'vue';
|
import { ref, onMounted, onBeforeUnmount, computed, nextTick, defineProps } from 'vue';
|
||||||
const darkFans = ref(false);
|
const darkFans = ref(false);
|
||||||
const getblue = ref(false);
|
const getblue = ref(false);
|
||||||
const props = defineProps({
|
|
||||||
isShow: {
|
|
||||||
type: Boolean,
|
|
||||||
required: true,
|
|
||||||
},
|
|
||||||
});
|
|
||||||
const housedex = ref(-1);
|
const housedex = ref(-1);
|
||||||
const lastTap = ref(0)
|
const lastTap = ref(0)
|
||||||
const DOUBLE_TAP_DELAY = 300;
|
const DOUBLE_TAP_DELAY = 300;
|
||||||
|
|
@ -96,13 +98,13 @@
|
||||||
url: "/pages/watch/full"
|
url: "/pages/watch/full"
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
if (index ==6) {
|
if (index == 6) {
|
||||||
navurl.value = 'pages/procurement/outbound?code=0'
|
navurl.value = 'pages/procurement/outbound?code=0'
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/' + navurl.value
|
url: '/' + navurl.value
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
if (index ==7) {
|
if (index == 7) {
|
||||||
navurl.value = 'pages/procurement/outbound?code=1'
|
navurl.value = 'pages/procurement/outbound?code=1'
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/' + navurl.value
|
url: '/' + navurl.value
|
||||||
|
|
@ -111,15 +113,15 @@
|
||||||
// 重置,避免多次触发
|
// 重置,避免多次触发
|
||||||
lastTap.value = 0
|
lastTap.value = 0
|
||||||
} else {
|
} else {
|
||||||
setout.value = setTimeout(()=>{
|
setout.value = setTimeout(() => {
|
||||||
console.log("点击哪个了",index)
|
console.log("点击哪个了", index)
|
||||||
if (index === 5) {
|
if (index === 5) {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: "/pages/watch/full"
|
url: "/pages/watch/full"
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
},DOUBLE_TAP_DELAY)
|
}, DOUBLE_TAP_DELAY)
|
||||||
// 记录本次时间,等待下次点击
|
// 记录本次时间,等待下次点击
|
||||||
lastTap.value = now
|
lastTap.value = now
|
||||||
}
|
}
|
||||||
|
|
@ -246,14 +248,21 @@
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="less" scoped>
|
<style lang="less" scoped>
|
||||||
|
.all-content {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
background: url('/static/index/warehouse/bg.png')no-repeat;
|
||||||
|
background-size: cover cover;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
.wareaitem {
|
.wareaitem {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
position: fixed;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
background: url('/static/index/warehouse/bg.png')no-repeat;
|
transform: scale(0.9, 0.8);
|
||||||
background-size: cover cover;
|
|
||||||
|
|
||||||
.tp {
|
.tp {
|
||||||
image {
|
image {
|
||||||
|
|
@ -294,19 +303,19 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.click-box {
|
// .click-box {
|
||||||
color: #888d99;
|
// color: #888d99;
|
||||||
background: rgba(255, 255, 255, 0.43);
|
// background: rgba(255, 255, 255, 0.43);
|
||||||
}
|
// }
|
||||||
|
|
||||||
.click-box-target {
|
// .click-box-target {
|
||||||
background: #FFFFFF;
|
// background: #FFFFFF;
|
||||||
box-shadow: 0px 0px 3vw 0px rgba(12, 102, 209, 0.33) inset;
|
// box-shadow: 0px 0px 3vw 0px rgba(12, 102, 209, 0.33) inset;
|
||||||
// box-shadow: 0rpx 0rpx 3vw 0rpx rgba(38,137,255,0.44) inset;
|
// // box-shadow: 0rpx 0rpx 3vw 0rpx rgba(38,137,255,0.44) inset;
|
||||||
color: rgba(108, 132, 160, 1) !important;
|
// color: rgba(108, 132, 160, 1) !important;
|
||||||
animation: scalePulse 360ms cubic-bezier(.2, .8, .2, 1);
|
// animation: scalePulse 360ms cubic-bezier(.2, .8, .2, 1);
|
||||||
transform-origin: center center;
|
// transform-origin: center center;
|
||||||
}
|
// }
|
||||||
|
|
||||||
.grad-text {
|
.grad-text {
|
||||||
background: linear-gradient(90deg, #5b8bb3, #87a1bd);
|
background: linear-gradient(90deg, #5b8bb3, #87a1bd);
|
||||||
|
|
@ -344,6 +353,7 @@
|
||||||
top: 0;
|
top: 0;
|
||||||
left: -2vw;
|
left: -2vw;
|
||||||
|
|
||||||
|
|
||||||
.itemact1 {
|
.itemact1 {
|
||||||
width: 29vw;
|
width: 29vw;
|
||||||
height: 21vw;
|
height: 21vw;
|
||||||
|
|
@ -491,10 +501,12 @@
|
||||||
top: 24vw;
|
top: 24vw;
|
||||||
right: 6vw;
|
right: 6vw;
|
||||||
}
|
}
|
||||||
|
|
||||||
.annotation7 {
|
.annotation7 {
|
||||||
top: 62vh;
|
top: 62vh;
|
||||||
left: 40vw;
|
left: 40vw;
|
||||||
}
|
}
|
||||||
|
|
||||||
.annotation8 {
|
.annotation8 {
|
||||||
top: 5vh;
|
top: 5vh;
|
||||||
left: 28vw;
|
left: 28vw;
|
||||||
|
|
@ -512,17 +524,18 @@
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
&:nth-child(2) {
|
&:nth-child(2) {
|
||||||
width: 6.5vw;
|
width: 7.8vw;
|
||||||
height: 3.2vw;
|
height: 3.5vw;
|
||||||
z-index: 2;
|
|
||||||
margin: -2rpx auto 0;
|
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
|
|
||||||
|
margin-left: -10rpx;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
border-radius: 0.8vw 0.8vw 1.5vw 1.5vw;
|
border-radius: 0.8vw 0.8vw 1.5vw 1.5vw;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
||||||
|
|
||||||
image {
|
image {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 0;
|
||||||
|
|
@ -582,4 +595,20 @@
|
||||||
width: 13vw;
|
width: 13vw;
|
||||||
height: 13vw;
|
height: 13vw;
|
||||||
}
|
}
|
||||||
|
.content-title{
|
||||||
|
position: absolute;
|
||||||
|
top: 100rpx;
|
||||||
|
left: 50rpx;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
.title-imge{
|
||||||
|
width: 60rpx;
|
||||||
|
height: 60rpx;
|
||||||
|
}
|
||||||
|
.title-font{
|
||||||
|
margin-left: 10rpx;
|
||||||
|
font-size: 35rpx;
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
File diff suppressed because it is too large
Load Diff
|
|
@ -1590,7 +1590,7 @@
|
||||||
}
|
}
|
||||||
const zuofei = () => {
|
const zuofei = () => {
|
||||||
voidedCgdMain({ id: plsbuy.value[lefttarget.value].id }).then((res : any) => {
|
voidedCgdMain({ id: plsbuy.value[lefttarget.value].id }).then((res : any) => {
|
||||||
// console.log("res", res)
|
console.log("res", res)
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: res.message,
|
title: res.message,
|
||||||
|
|
@ -1603,6 +1603,13 @@
|
||||||
Object.assign(plzinfo, mobanplzinfo)
|
Object.assign(plzinfo, mobanplzinfo)
|
||||||
Object.assign(form, mobanform)
|
Object.assign(form, mobanform)
|
||||||
firstgetqueryCgdList();
|
firstgetqueryCgdList();
|
||||||
|
}else{
|
||||||
|
uni.showToast({
|
||||||
|
title: res.message,
|
||||||
|
icon: 'none',
|
||||||
|
duration: 2000
|
||||||
|
})
|
||||||
|
badshow.value = false;
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -710,7 +710,7 @@
|
||||||
})
|
})
|
||||||
} else if (typeNow.value === 2) {
|
} else if (typeNow.value === 2) {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pages/Warehousing/index'
|
url: '/pages/Warehouse/Warehouse'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -763,7 +763,7 @@
|
||||||
})
|
})
|
||||||
} else if (typeNow.value === 2) {
|
} else if (typeNow.value === 2) {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pages/Warehousing/index'
|
url: '/pages/Warehouse/Warehouse'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 11 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
Loading…
Reference in New Issue