Compare commits

..

No commits in common. "472ce41cc06bf86bce47ff920652e8b8312896b7" and "8176a9e2b7e88bea39320e9edcb09a649bdd073c" have entirely different histories.

15 changed files with 703 additions and 1010 deletions

View File

@ -4,7 +4,13 @@
<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'
@click.stop="housactive(index)"> @click.stop="housactive(index)">
<!-- <image :src="'/static/index/warehouse/active/w'+index+'.png'" mode="aspectFill"
v-if="housedex!=index"></image> -->
<donghua :width="item.width" :height="item.height" :links="item.url" :playing="index == housedex" /> <donghua :width="item.width" :height="item.height" :links="item.url" :playing="index == housedex" />
<!-- <image :src="'/static/index/warehouse/active/i'+index+'.png'" mode="aspectFill" v-if="housedex==index"></image> -->
</view> </view>
<view class="tp" :class="'wareitem'+index" v-for="(item,index) in 12" :key='index'> <view class="tp" :class="'wareitem'+index" v-for="(item,index) in 12" :key='index'>
@ -25,8 +31,7 @@
<view> </view> <view> </view>
<view class="tp"> <view class="tp">
<text>{{v}}</text> <text>{{v}}</text>
<image src="/static/index/warehouse/y2.png" mode="aspectFill" v-if="i==4"></image> <image src="/static/index/warehouse/y1.png" mode="aspectFill"></image>
<image src="/static/index/warehouse/y1.png" mode="aspectFill" v-if="i!=4"></image>
</view> </view>
<view class="tp"> <view class="tp">
<image src="/static/index/warehouse/y0.png" mode="aspectFill"></image> <image src="/static/index/warehouse/y0.png" mode="aspectFill"></image>
@ -232,7 +237,6 @@
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
.wareaitem { .wareaitem {
width: 100%; width: 100%;
height: 100%; height: 100%;
@ -499,8 +503,7 @@
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;
overflow: hidden;
image { image {
position: absolute; position: absolute;
top: 0; top: 0;

View File

@ -1,225 +0,0 @@
<template>
<view>
<view class="zhezhao" v-show="open"
@click="closeall()">
<view class="neuro-box" @click.stop v-if="open">
<view class="button-father">
<view :class="!buttonposition?`buttontarget button`:`button-white` " @click="open=false">
取消</view>
<view :class="buttonposition?`buttontarget button`:`button-white` " @click="config()">确定</view>
</view>
<view class="card-font">
{{content}}
</view>
</view>
</view>
</view>
</template>
<script lang="ts" setup>
import { ref, onMounted, onBeforeUnmount, computed, nextTick, defineProps, watch, onUnmounted ,defineEmits } from 'vue';
const emit = defineEmits(["configdel", "del"])
const props = defineProps({
open: {
type: Boolean,
required: true,
},
propsmove: {
type: Number
},
content: {
type: String
},
isMain: {
type: Boolean
}
});
watch(
() => props.propsmove,
() => {
console.log(props.propsmove)
switch (props.propsmove){
case 1:
buttonposition.value = !buttonposition.value
break;
case 3:
buttonposition.value = !buttonposition.value
break;
case 4:
if(buttonposition.value==true){
emit('del')
}else{
emit('configdel')
}
break;
case 5:
emit('configdel')
break;
default:
break;
}
}
)
const buttonposition = ref(false)
const closeall = ()=>{
emit('configdel')
}
const config = ()=>{
buttonposition.value = true;
emit('del')
}
const clicktab = (index : number) => {
console.log(index)
}
</script>
<style scoped lang="less">
.card-font {
margin-top: 70rpx;
width: 600rpx;
justify-content: center;
display: flex;
}
.button-white {
width: 40%;
border: 2rpx solid #c3cacd;
background: linear-gradient(to bottom, #f3f3f5, #dee4e9);
display: flex;
justify-content: center;
align-items: center;
font-size: 25rpx;
border-radius: 30rpx;
}
.button {
width: 40%;
background-color: #ddf0ff;
display: flex;
justify-content: center;
align-items: center;
color: #007CFF;
border: 1rpx solid #007CFF;
font-size: 25rpx;
border-radius: 30rpx;
}
.button-father {
position: absolute;
bottom: 60rpx;
left: 50%;
transform: translateX(-50%);
width: 100%;
height: 60rpx;
display: flex;
justify-content: space-around;
padding: 0 50rpx;
}
.neuro-box {
position: absolute;
left: 0;
top: 0;
bottom: 0;
right: 0;
margin: auto;
width: 400rpx;
height: 270rpx;
border-radius: 30rpx;
background-color: #fff;
display: flex;
flex-direction: column;
align-items: center;
z-index: 21;
padding: 0 10%;
z-index: 999;
}
.zhezhao {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
z-index: 25;
}
.zerotarget {
--color: #99C9FD;
--thick: 2px;
--radius: 50rpx;
--outline-offset: 0rpx;
/* 外扩多少 */
/* 内层虚线(你现在用的) */
border-radius: var(--radius);
background-color: white;
/* 内部背景 */
animation: scalePulse 360ms cubic-bezier(.2, .8, .2, 1);
/* 外层虚线:放在 outline不会影响元素尺寸 */
outline: var(--thick) dashed var(--color);
outline-offset: var(--outline-offset);
/* 保证文本 / 子元素在最上层 */
position: relative;
z-index: 0;
}
.firsttarget {
--color: #99C9FD;
--thick: 2px;
--radius: 50%;
--outline-offset: 0rpx;
/* 外扩多少 */
/* 内层虚线(你现在用的) */
border-radius: var(--radius);
background-color: white;
/* 内部背景 */
animation: scalePulse 360ms cubic-bezier(.2, .8, .2, 1);
/* 外层虚线:放在 outline不会影响元素尺寸 */
outline: var(--thick) dashed var(--color);
outline-offset: var(--outline-offset);
/* 保证文本 / 子元素在最上层 */
position: relative;
z-index: 0;
}
.buttontarget {
--color: #99C9FD;
--thick: 2px;
--radius: 30rpx;
--outline-offset: 0rpx;
/* 外扩多少 */
/* 内层虚线(你现在用的) */
border-radius: var(--radius);
background-color: white;
/* 内部背景 */
animation: scalePulse 360ms cubic-bezier(.2, .8, .2, 1);
/* 外层虚线:放在 outline不会影响元素尺寸 */
outline: var(--thick) dashed var(--color);
outline-offset: var(--outline-offset);
/* 保证文本 / 子元素在最上层 */
position: relative;
z-index: 0;
}
@keyframes scalePulse {
0% {
transform: scale(1);
}
25% {
/* 先收缩一点点 */
transform: scale(0.94);
}
65% {
/* 再放大到略超出的感觉 */
transform: scale(1.08);
}
100% {
transform: scale(1);
}
}
</style>

View File

@ -37,17 +37,13 @@
</view> </view>
</scroll-view> </scroll-view>
<shadowview :opacity="opacity"></shadowview> <shadowview :opacity="opacity"></shadowview>
<view class="mblbg"> </view>
<view class="fxj">
<arrowkeys @movecard="movecard($event,1)" :getblue="getblue" :moveleft="45" />
<text>长春市朝阳区久泰开运养老服务有限公司</text>
</view>
</view>
</view>
<view class="fxj" v-if="lie">
<arrowkeys @movecard="movecard($event,1)" :getblue="getblue" :moveleft="65" />
</view>
<view class="lfxj" v-else>
<arrowkeys @movecard="movecard" :getblue="getblue" :moveleft="65" />
</view>
<view :class="lie?'mblbg':'lmblbg'"></view>
<view class="lefts" v-if="!lie"> <view class="lefts" v-if="!lie">
<scroll-view scroll-y="true" scroll-with-animation :scroll-top="scrolltop" class="scroll-Y" <scroll-view scroll-y="true" scroll-with-animation :scroll-top="scrolltop" class="scroll-Y"
@scrolltolower="scrolltolower" :lower-threshold="200" @scroll="scrollview"> @scrolltolower="scrolltolower" :lower-threshold="200" @scroll="scrollview">
@ -55,17 +51,29 @@
:class="{'yujing':Number(v.lowerLimit)>=Number(v.kcsl),'active':shopitem==i}" :class="{'yujing':Number(v.lowerLimit)>=Number(v.kcsl),'active':shopitem==i}"
@click="shopclick(i)"> @click="shopclick(i)">
<view>{{v.wlName}}</view> <view>{{v.wlName}}</view>
<view>物料编码 {{v.wlMaterialNo}}</view> <view>规格型号: {{v.wlSpecificationModel}}</view>
<view>规格型号 {{v.wlSpecificationModel}}</view>
<view>采购单位 {{v.wlUnits}}</view> <view>采购单位 {{v.wlUnits}}</view>
<view class="kcsl"> <view>库存数量 {{v.kcsl}}</view>
<text>{{v.kcsl}}</text> <view>
<text>库存数量</text> <view class="carditem" :class="{'hl':v.tagType==1,'yl':v.tagType==2,'bj':v.tagType>2}">
<image src="/static/index/warehouse/procurement/hl.png" mode="aspectFill"
v-if="v.tagType==1"></image>
<image src="/static/index/warehouse/procurement/yl.png" mode="aspectFill"
v-if="v.tagType==2"></image>
<image src="/static/index/warehouse/procurement/bj.png" mode="aspectFill"
v-if="v.tagType>2"></image>
{{v.tagName}}
</view>
<view class="znk">
<image
:src="v.materialImg?serverUrl + v.materialImg : '/static/index/warehouse/procurement/k.png'"
mode="aspectFill"></image>
</view>
</view> </view>
<view class="dbgys"> <view class="dbgys">
<view> <view>
<view>采购数量<text>{{v.purchaseQuantity}}</text></view> <view>采购数量<text>{{v.purchaseQuantity}}</text></view>
<view>{{v.suppliersName}}</view> <view>供应商{{v.suppliersName}}</view>
</view> </view>
<view :class="v.flag?'act':''" @click.stop="xuanzhong(v)"> <view :class="v.flag?'act':''" @click.stop="xuanzhong(v)">
<image src="/static/index/warehouse/procurement/d.png" mode="aspectFill" v-if="v.flag"></image> <image src="/static/index/warehouse/procurement/d.png" mode="aspectFill" v-if="v.flag"></image>
@ -78,20 +86,23 @@
</view> </view>
</scroll-view> </scroll-view>
<shadowview :opacity="opacity"></shadowview> <shadowview :opacity="opacity"></shadowview>
<view class="mblbg"> </view>
<view class="fxj">
<arrowkeys @movecard="movecard" :getblue="getblue" :moveleft="45" />
<text>长春市朝阳区久泰开运养老服务有限公司</text>
</view>
</view> </view>
<view class="rights"> <view class="rights">
<view class="shitem"> <view class="shitem">
<view class="shypk"> <view class="shypk">
<view>生活用品库</view> <view>生活用品库</view>
<!-- <view @click="lie=!lie"> <!-- <view>
<view :class="lie?'atve':''"> <view class="swsh guodu" :class="shyp?'act':''" @click="switchshyp">
<image src="/static/index/warehouse/procurement/lie/2ls.png" v-if="!lie" mode="aspectFill"></image> <view class="guodu"></view>
<image src="/static/index/warehouse/procurement/lie/2lr.png" v-else mode="aspectFill"></image> </view>
</view> <text>
<view :class="lie?'':'atve'"> {{!shyp?'停用':'启用'}}
<image src="/static/index/warehouse/procurement/lie/3ls.png" v-if="lie" mode="aspectFill"></image> </text>
<image src="/static/index/warehouse/procurement/lie/3lr.png" v-else mode="aspectFill"></image>
</view>
</view> --> </view> -->
</view> </view>
<view class="jqry"> <view class="jqry">
@ -108,40 +119,26 @@
<text>{{cellobj?.fzrTel?cellobj?.fzrTel:'-'}}</text> <text>{{cellobj?.fzrTel?cellobj?.fzrTel:'-'}}</text>
</view> </view>
</view> </view>
<view style="display: flex;flex-direction: column;align-items: center;margin-left: 3.8vw;">
<view class="swsh guodu" :class="lie?'act':''" @click="lie=!lie">
<view class="guodu"></view>
</view>
<text style=" white-space: nowrap;
font-weight: 400;
font-size: 1vw;
color: #666666;">{{lie?'三列':'两列'}}</text>
</view>
</view> </view>
</view> </view>
<view class="ksfw">
<view class="jx">
<image src="/static/index/warehouse/l0.png" mode="aspectFill"></image>
<text>待进行</text>
</view>
<view class="tm">10:00 - 10:10</view>
<view class="wul">物料采购</view>
<view class="zhxng">
<view>
<image src="/static/index/warehouse/xz.png" mode="aspectFill"></image>
<text>协助执行</text>
</view>
<view>
<image src="/static/index/warehouse/ap.png" mode="aspectFill"></image>
<text>王金福 / 李贵田</text>
</view>
</view>
<view class="shjs">
<view class="iacts">开始服务</view>
<view>服务结束</view>
</view>
</view>
<view class="typeitem"> <view class="typeitem">
<view class="toptype"> <view class="toptype">
<view v-for="v in ['三','二','一']">{{v+'级分类'}}</view> <view v-for="v in ['三','二','一']">{{v+'级分类'}}</view>
</view> </view>
<view class="scroltype"> <view class="scroltype">
<scroll-view scroll-y="true" scroll-with-animation :scroll-top="scroll.scrolltop3" <scroll-view scroll-y="true" scroll-with-animation :scroll-top="scroll.scrolltop3"
class="scroll-Y scrl3"> class="scroll-Y">
<view :class="scroll.act3==-1?'act':''" @click="typescroll(3,-1,{})" >全部</view> <view :class="scroll.act3==-1?'act':''" @click="typescroll(3,-1,{})" >全部</view>
<view :class="scroll.act3==i?'act':''" <view :class="scroll.act3==i?'act':''"
v-for="(v,i) in TreeData[scroll.act1]?.children[scroll.act2]?.children" v-for="(v,i) in TreeData[scroll.act1]?.children[scroll.act2]?.children"
@ -151,7 +148,7 @@
</scroll-view> </scroll-view>
<scroll-view scroll-y="true" scroll-with-animation :scroll-top="scroll.scrolltop2" <scroll-view scroll-y="true" scroll-with-animation :scroll-top="scroll.scrolltop2"
class="scroll-Y scrl2"> class="scroll-Y">
<view :class="scroll.act2==-1?'act':''" @click="typescroll(2,-1,{})" >全部</view> <view :class="scroll.act2==-1?'act':''" @click="typescroll(2,-1,{})" >全部</view>
<view :class="scroll.act2==i?'act':''" v-for="(v,i) in TreeData[scroll.act1]?.children" <view :class="scroll.act2==i?'act':''" v-for="(v,i) in TreeData[scroll.act1]?.children"
@click="typescroll(2,i,v)"> @click="typescroll(2,i,v)">
@ -295,8 +292,8 @@
<text @click="connfig">确定</text> <text @click="connfig">确定</text>
</view> </view>
</view> </view>
<!-- <view class="mengban" v-if="tost" @click="qingkong"></view> --> <view class="mengban" v-if="tost" @click="qingkong"></view>
<!-- <view class="toast guodu" v-if="tost" > <view class="toast guodu" v-if="tost" >
<view class="tit">提示</view> <view class="tit">提示</view>
<view class="xunw" v-if="anmidex==4"> <view class="xunw" v-if="anmidex==4">
是否删除 是否删除
@ -304,7 +301,6 @@
<view class="xunw" v-if="anmidex==5"> <view class="xunw" v-if="anmidex==5">
是否清空所有物料 是否清空所有物料
</view> </view>
<view class="cont" v-if="anmidex==4"> <view class="cont" v-if="anmidex==4">
<view v-for="(v,i) in delstr" :key='i' >{{i+1}}{{v}} <br></view> <view v-for="(v,i) in delstr" :key='i' >{{i+1}}{{v}} <br></view>
</view> </view>
@ -313,8 +309,7 @@
<view @click="del(4)" v-if="anmidex==4">确认</view> <view @click="del(4)" v-if="anmidex==4">确认</view>
<view @click="del(5)" v-if="anmidex==5">确认</view> <view @click="del(5)" v-if="anmidex==5">确认</view>
</view> </view>
</view> --> </view>
<equiment :open="tost" @configdel="config" :propsmove="propsmove" @del="del(anmidex)" :content="anmidex==3?'确定要删除此物料吗?':'是否清空购物车?'"></equiment>
</view> </view>
</template> </template>
@ -324,7 +319,6 @@
import { onShow, onLoad, onHide, onPageScroll } from "@dcloudio/uni-app" import { onShow, onLoad, onHide, onPageScroll } from "@dcloudio/uni-app"
import shadowview from './components/ShadowView.vue'; import shadowview from './components/ShadowView.vue';
import calculator from './components/calculator.vue'; import calculator from './components/calculator.vue';
import equiment from './components/equiment.vue';
const navurl = ref(''); const navurl = ref('');
const InvoicingList = ref([]); const InvoicingList = ref([]);
const TreeData = ref([]); const TreeData = ref([]);
@ -350,7 +344,7 @@
const form = reactive({ const form = reactive({
nuId: '', nuId: '',
pageNo: 1, pageNo: 1,
pageSize: 13, pageSize: 10,
categoryId: '', categoryId: '',
typeId: '', typeId: '',
medicationId: '', medicationId: '',
@ -374,9 +368,6 @@
} }
}) })
} }
const config = ()=>{
qingkong()
}
const timerflag = ref(true); const timerflag = ref(true);
const connfig = () =>{ const connfig = () =>{
if(timerflag.value==false){return} if(timerflag.value==false){return}
@ -520,20 +511,17 @@
const queryInvo = () => { const queryInvo = () => {
queryShoppingCartList(form).then(res => { queryShoppingCartList(form).then(res => {
res.result.records.forEach((item,i)=>{ res.result.records.forEach((item,i)=>{
item.flag = true item.flag = false
if(i==0&&form.pageNo == 1){
item.flag = true
}
}) })
console.log(res.result.records)
InvoicingList.value.push(...res.result.records); InvoicingList.value.push(...res.result.records);
status.value = res.result.total == InvoicingList.value.length ? 'nomore' : 'loadmore'; status.value = res.result.total == InvoicingList.value.length ? 'nomore' : 'loadmore';
panduan(); panduan();
}) })
} }
const propsmove = ref(-1)
const movecard = (type : number, l : number) => { const movecard = (type : number, l : number) => {
if(tost.value == true){
propsmove.value = type;
return
}
if (l == 1) { if (l == 1) {
switch (type) { switch (type) {
case 0: case 0:
@ -571,15 +559,15 @@
switch (type) { switch (type) {
case 0: case 0:
// //
shopitem.value = shopitem.value < 2 ? shopitem.value = 0 : shopitem.value - 3 shopitem.value = shopitem.value < 3 ? shopitem.value = 0 : shopitem.value - 3
break; break;
case 1: case 1:
// //
shopitem.value = shopitem.value >= InvoicingList.value.length -1? shopitem.value = 0 : shopitem.value + 1 shopitem.value = shopitem.value >= InvoicingList.value.length-1 ? shopitem.value = 0 : shopitem.value + 1
break; break;
case 2: case 2:
// //
shopitem.value = shopitem.value >= InvoicingList.value.length-3 ? shopitem.value = 0 : shopitem.value + 3 shopitem.value = shopitem.value >= InvoicingList.value.length-3 ? shopitem.value = InvoicingList.value.length-1 : shopitem.value + 3
break; break;
case 3: case 3:
shopitem.value = shopitem.value == 0 ? shopitem.value = InvoicingList.value.length-1 : shopitem.value - 1 shopitem.value = shopitem.value == 0 ? shopitem.value = InvoicingList.value.length-1 : shopitem.value - 1
@ -638,7 +626,7 @@
tmr.value = true; tmr.value = true;
},1000) },1000)
break; break;
case 1: case 2:
let arr = []; let arr = [];
InvoicingList.value.forEach(item=>{ InvoicingList.value.forEach(item=>{
if(item.flag){ if(item.flag){
@ -660,10 +648,10 @@
}) })
cgd.value = true; cgd.value = true;
break; break;
case 2: case 3:
if(InvoicingList.value.length==0){ if(InvoicingList.value.length==0){
uni.showToast({ uni.showToast({
title:'购物车物料为空~', title:'请选择物料~',
icon:'none' icon:'none'
}) })
tmr.value = true; tmr.value = true;
@ -673,11 +661,16 @@
tmr.value = true; tmr.value = true;
queryWlInfo(); queryWlInfo();
break; break;
case 3: case 4:
let a = []
if(InvoicingList.value.length==0){ InvoicingList.value.forEach((item,i)=>{
if(item.flag){
a.push(item.wlName)
}
})
if(a.length==0){
uni.showToast({ uni.showToast({
title:'购物车物料为空~', title:'请选择物料~',
icon:'none' icon:'none'
}) })
tmr.value = true; tmr.value = true;
@ -685,12 +678,13 @@
return return
} }
tmr.value = true; tmr.value = true;
delstr.value = a ;
tost.value = true; tost.value = true;
break; break;
case 4: case 5:
if(InvoicingList.value.length==0){ if(InvoicingList.value.length==0){
uni.showToast({ uni.showToast({
title:'购物车物料为空~', title:'购物车已清空~',
icon:'none' icon:'none'
}) })
tmr.value = true; tmr.value = true;
@ -700,61 +694,70 @@
tmr.value = true; tmr.value = true;
tost.value = true; tost.value = true;
break; break;
case 5: case 1:
uni.navigateTo({ let arrs = [];
url:'/pages/Warehouse/purchaseorder' if(InvoicingList.value.length==0){
uni.showToast({
title:'购物车为空~',
icon:'none'
})
tmr.value = true;
anmidex.value = -1;
return
}
InvoicingList.value.forEach((item,i)=>{
if(item.flag){
arrs.push(i)
}else{
item.flag = true;
}
}) })
anmidex.value = -1; if(arrs.length==InvoicingList.value.length){
break; InvoicingList.value.forEach((item,i)=>{
// case 1: item.flag = false;
// })
// let arrs = []; }
// if(InvoicingList.value.length==0){ setTimeout(()=>{
// uni.showToast({ anmidex.value = -1;
// title:'~', tmr.value = true;
// icon:'none' },1000)
// }) break;
// tmr.value = true;
// anmidex.value = -1;
// return
// }
// InvoicingList.value.forEach((item,i)=>{
// if(item.flag){
// arrs.push(i)
// }else{
// item.flag = true;
// }
// })
// if(arrs.length==InvoicingList.value.length){
// InvoicingList.value.forEach((item,i)=>{
// item.flag = false;
// })
// }
// setTimeout(()=>{
// anmidex.value = -1;
// tmr.value = true;
// },1000)
// break;
default: default:
break; break;
} }
} }
const del = (e:number)=>{ const del = (e:number)=>{
if(e==3){ if(e==4){
let delstr = InvoicingList.value[shopitem.value].id; let arr = [];
let delstr = '';
InvoicingList.value.forEach((item,i)=>{
if(item.flag){
delstr+=item.id+','
arr.push(i)
}
})
if(delstr.indexOf(",")>-1) delstr = delstr.substring(0,delstr.length-1)
deleteQgInfoById(delstr).then(res=>{ deleteQgInfoById(delstr).then(res=>{
uni.showToast({ uni.showToast({
icon:res.success?'success':'none', icon:res.success?'success':'none',
title:res.message title:res.message
}) })
if(res.success){ if(res.success){
InvoicingList.value.splice(shopitem.value,1) form.pageNo = 1;
if(shopitem.value == InvoicingList.value.length){ queryShoppingCartList(form).then(res => {
shopitem.value = InvoicingList.value.length-1 res.result.records.forEach((item,i)=>{
} item.flag = false
if(i==0){
item.flag = true
}
})
InvoicingList.value = [];
InvoicingList.value.push(...res.result.records);
status.value = res.result.total == InvoicingList.value.length ? 'nomore' : 'loadmore'
qingkong()
})
} }
qingkong()
}) })
}else{ }else{
emptiedQgInfo().then(res=>{ emptiedQgInfo().then(res=>{
@ -798,6 +801,18 @@
name: '选择', name: '选择',
imgurl: '/static/index/warehouse/procurement/select/select1.png' imgurl: '/static/index/warehouse/procurement/select/select1.png'
}, },
{
url: genPaths(
'/static/index/warehouse/procurement/ctrl',
'Ctrl',
9, //
'png',
0, // 1
false //
),
name: '全选',
imgurl: '/static/index/warehouse/procurement/select/Ctrl0.png'
},
{ {
url: genPaths( url: genPaths(
'/static/index/warehouse/procurement/procure', '/static/index/warehouse/procurement/procure',
@ -845,19 +860,7 @@
), ),
name: '清空', name: '清空',
imgurl: '/static/index/warehouse/procurement/dele/del1.png' imgurl: '/static/index/warehouse/procurement/dele/del1.png'
}, }
{
url: genPaths(
'/static/index/warehouse/procurement/Purchase',
'Purchase0',
9, //
'png',
1, // 1
false //
),
name: '采购单',
imgurl: '/static/index/warehouse/procurement/Purchase/Purchase01.png'
},
]) ])
</script> </script>
@ -1329,7 +1332,7 @@
width: 100%; width: 100%;
height: 9vw; height: 9vw;
display: flex; display: flex;
justify-content: flex-start; justify-content: space-between;
flex-wrap: wrap; flex-wrap: wrap;
>view { >view {
@ -1342,7 +1345,7 @@
font-size: 1.3vw; font-size: 1.3vw;
color: #212327; color: #212327;
background: #FFFFFF; background: #FFFFFF;
margin: 0.25vw 0.5vw 0 0; margin: 0.25vw 0;
border-radius: 1.6vw; border-radius: 1.6vw;
view { view {
margin-right: .4vw; margin-right: .4vw;
@ -1366,30 +1369,20 @@
.typeitem { .typeitem {
width: 100%; width: 100%;
height: 38vh; height: 54vh;
.scroltype { .scroltype {
width: 100%; width: 100%;
height: calc(34vh - 2vw); height: calc(54vh - 2vw);
display: flex; display: flex;
justify-content: space-around; justify-content: space-around;
.scrl1{
width: 9vw;
view {
width: 8.8vw;
}
}
.scrl2,.scrl3{
width: 8vw;
view {
width: 7.7vw;
}
}
.scroll-Y { .scroll-Y {
height: calc(38vh - 2vw); width: 8.5vw;
height: calc(54vh - 2vw);
view { view {
width: 100%;
height: 3.8vw; height: 3.8vw;
background: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .5);
border-radius: 1.9vw; border-radius: 1.9vw;
@ -1436,23 +1429,19 @@
justify-content: center; justify-content: center;
align-items: center; align-items: center;
font-weight: 400; font-weight: 400;
font-size: 1vw; font-size: 1.2vw;
color: #333333; color: #333333;
margin-left: -1.5vw;
&:nth-child(1){
margin-left: -1vw;
}
} }
} }
} }
.shitem { .shitem {
width: 27vw; width: 27vw;
height: 6.8vw; height: 10.3vw;
background: #E8E9ED; background: #E8E9ED;
border-radius: 1.6vw; border-radius: 1.6vw;
padding: 1.2vw 1.8vw; padding: 1.2vw 1.8vw;
position: relative;
.jqry { .jqry {
width: 100%; width: 100%;
display: flex; display: flex;
@ -1495,41 +1484,27 @@
.shypk { .shypk {
width: 100%; width: 100%;
display: flex; display: flex;
justify-content: flex-end; justify-content: space-between;
position: absolute;
top: 0;
right: 0;
view { view {
&:nth-child(1) { &:nth-child(1) {
font-weight: bold; font-weight: bold;
font-size: 1.1vw; font-size: 1.1vw;
color: #333333; color: #333333;
padding: 1vw;
} }
&:nth-child(2) { &:nth-child(2) {
display: flex; display: flex;
flex-direction: column;
align-items: center; align-items: center;
width: 4.6vw;
height: 2.2vw; text {
border-radius: 0.4vw; font-weight: 400;
view{ font-size: 1vw;
width: 50%; color: #666666;
height: 100%; }
display: flex;
justify-content: center;
align-items: center;
background: rgba(239, 240, 244, 1);
image{
width: 1.6vw;
height: 1.6vw;
}
}
.atve{
background: #fff;
}
} }
} }
} }
@ -1542,7 +1517,39 @@
height: calc(100%); height: calc(100%);
position: relative; position: relative;
.fxj {
width: 23vw;
height: 22vw;
position: absolute;
left: 0;
bottom: 2vw;
z-index: 11;
border-radius: 1.6vw;
text {
width: 100%;
font-weight: 400;
font-size: .9vw;
color: #999999;
display: flex;
justify-content: center;
position: absolute;
left: 0;
bottom: 0vw;
}
}
.mblbg {
width: 24.5vw;
height: 21vw;
position: absolute;
left: -1vw;
bottom: 0.5vw;
border-radius: 1.6vw;
filter: blur(15rpx);
background: RGBA(239, 240, 244, 1);
z-index: 10;
}
.scroll-Y { .scroll-Y {
width: 100%; width: 100%;
@ -1562,38 +1569,17 @@
.boxitem { .boxitem {
width: 22vw; width: 22vw;
height: 14.3vw; height: 19.3vw;
background: rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .7);
border-radius: 1.6vw; border-radius: 1.6vw;
margin: 0 1.3vw 1.2vw 0; margin: 0 1.3vw 1.2vw 0;
border: 2px dashed #fff; border: 2px dashed #fff;
display: inline-block; display: inline-block;
padding:1vw 1.6vw 0; padding:1vw 2.3vw 2.3vw;
position: relative; position: relative;
.kcsl{
position: absolute;
width: 4vw;
top: 1.5vw;
right: 1.7vw;
display: flex;
flex-direction: column;
align-items: flex-end;
text{
&:nth-child(1){
font-weight: bold;
font-size: 1.8vw;
color: #555555;
}
&:nth-child(2){
font-weight: 400;
font-size: 1vw;
color: #999999;
}
}
}
.dbgys{ .dbgys{
width: 100%; width: 100%;
height: 4.5vw; height: 5.3vw;
position: absolute; position: absolute;
left: 0; left: 0;
bottom: 0vw; bottom: 0vw;
@ -1604,8 +1590,6 @@
padding: 0.4vw 1.5vw 0; padding: 0.4vw 1.5vw 0;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
box-sizing: border-box;
overflow: hidden;
.act{ .act{
background: rgba(231, 240, 251, 1) !important; background: rgba(231, 240, 251, 1) !important;
border: 1px solid rgba(0, 118, 214, 1) !important; border: 1px solid rgba(0, 118, 214, 1) !important;
@ -1632,14 +1616,7 @@
font-weight: 400; font-weight: 400;
font-size: 1vw; font-size: 1vw;
color: #888888; color: #888888;
width: 14vw;
view{
width:15vw;
height:1.9vw;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
text{ text{
font-weight: bold; font-weight: bold;
font-size: 1.4vw; font-size: 1.4vw;
@ -1667,30 +1644,33 @@
&:nth-child(1) { &:nth-child(1) {
font-weight: bold; font-weight: bold;
font-size: 1.4vw; font-size: 1.5vw;
color: #333; color: #333;
white-space: nowrap; white-space: nowrap;
overflow: hidden; overflow: hidden;
width: 100%; width: 100%;
text-overflow: ellipsis; text-overflow: ellipsis;
max-width: 15vw;
} }
&:nth-child(2) { &:nth-child(2) {
font-weight: 400; font-weight: 400;
font-size: 1.1vw; font-size: 1.2vw;
color: #555555; color: #555555;
margin-top: .6vw; margin-top: .6vw;
} }
&:nth-child(3) ,&:nth-child(4) { &:nth-child(3) ,&:nth-child(4) {
font-weight: 400; font-weight: 400;
font-size: 1.1vw; font-size: 1.2vw;
color: #666666; color: #666666;
margin-top: .2vw; margin-top: .6vw;
} }
&:nth-child(5) {
width: 100%;
height: 7vw;
}
@ -1793,6 +1773,27 @@
height: calc(100%); height: calc(100%);
position: relative; position: relative;
.fxj {
width: 30vw;
height: 16vw;
position: absolute;
left: 1vw;
bottom: 0vw;
z-index: 111;
border-radius: 1.6vw;
text {
width: 76%;
font-weight: 400;
font-size: .9vw;
color: #999999;
display: flex;
justify-content: center;
position: absolute;
left: 0;
bottom: 0vw;
}
}
.mblbg { .mblbg {
width: 35vw; width: 35vw;
@ -1947,173 +1948,6 @@
} }
} }
} }
.mblbg {
width: 37.5vw;
height: 16.5vw;
position: absolute;
left: -1vw;
bottom: 0vw;
border-radius: 1.6vw;
filter: blur(15rpx);
background: RGBA(239, 240, 244, 1);
z-index: 1110;
}
.lmblbg {
width: 26.5vw;
height: 15vw;
position: absolute;
left: -1vw;
bottom: 0.5vw;
border-radius: 1.6vw;
filter: blur(15rpx);
background: RGBA(239, 240, 244, 1);
z-index: 1110;
}
.lfxj {
width: 30vw;
height: 16vw;
position: absolute;
left: 1vw;
bottom: 0vw;
z-index: 1111;
border-radius: 1.6vw;
text {
width: 76%;
font-weight: 400;
font-size: .9vw;
color: #999999;
display: flex;
justify-content: center;
position: absolute;
left: 0;
bottom: 0vw;
}
}
.fxj {
width: 23vw;
height: 22vw;
position: fixed;
left: 0;
bottom: 2vw;
z-index: 1111;
border-radius: 1.6vw;
text {
width: 100%;
font-weight: 400;
font-size: .9vw;
color: #999999;
display: flex;
justify-content: center;
position: absolute;
left: 0;
bottom: 0vw;
}
}
.ksfw{
width: 27vw;
height: 13.6vw;
background: rgba(255, 255, 255, 0.6);
border-radius: 1vw;
border: 1px solid #D9DADC;
padding: 0 1vw;
margin: 0.7vw auto 0;
position: relative;
.shjs{
width: 100%;
margin-top: 0.8vw;
display: flex;
justify-content: space-around;
view{
width: 7.2vw;
height: 2.5vw;
background: #E4E9F4;
border-radius: 1.25vw;
font-weight: 400;
font-size: 1.1vw;
color: #333333;
display: flex;
align-items: center;
justify-content: center;
border: 1px solid #E4E9F4;
}
.iacts{
background: rgba(168, 212, 255, .75);
border: 1px solid #A8D4FF;
color: #249BFA;
}
}
.zhxng{
width: 100%;
height: 2.8vw;
margin-top: 0.4vw;
display: flex;
padding: 1.1vw;
justify-content: space-between;
border-bottom: 2px solid #E5E5E5;
view{
display: flex;
align-items: center;
image{
width: 1.6vw;
height: 1.6vw;
margin-right: 0.3vw;
}
text{
font-weight: 400;
font-size: 1vw;
color: #555555;
}
}
}
.wul{
width: 100%;
height: 1.5vw;
font-weight: bold;
font-size: 1.5vw;
color: #555555;
text-align: center;
margin: 1vw auto 0;
}
.tm{
width: 100%;
height: 1.8vw;
font-size: 2.2vw;
font-weight: bolder;
color: #555555;
margin-top: 2vw;
text-align: center;
}
.jx{
width: 2.9vw;
height: 1.4vw;
position: absolute;
top: 0.9vw;
right: 1.5vw;
font-weight: 400;
font-size:0.7vw;
color: #FFFFFF;
display: flex;
justify-content: center;
align-items: center;
image{
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
z-index: 1;
}
text{
position: relative;
z-index: 2;
}
}
}
</style> </style>
<style> <style>
page { page {

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 576 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 656 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 599 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 721 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 631 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 861 B

View File

@ -575,7 +575,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
) )
]); ]);
} }
const camera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/项目/hldy_app/pages/camera.nvue"]]); const camera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/hldy_app/pages/camera.nvue"]]);
export { export {
camera as default camera as default
}; };

View File

@ -577,7 +577,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
) )
]); ]);
} }
const fullcamera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/项目/hldy_app/pages/fullcamera.nvue"]]); const fullcamera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/hldy_app/pages/fullcamera.nvue"]]);
export { export {
fullcamera as default fullcamera as default
}; };

File diff suppressed because one or more lines are too long