This commit is contained in:
wangweidong 2025-12-19 16:08:58 +08:00
parent ec474003d1
commit de81495e20
17 changed files with 292 additions and 135 deletions

View File

@ -10,12 +10,15 @@
<image src="/static/index/procurement/zd.png" mode="aspectFill"></image> <image src="/static/index/procurement/zd.png" mode="aspectFill"></image>
</view> </view>
<view class="speitem guodu" > <view class="speitem guodu" >
<image :src="v?.materialImg?serverUrl+v?.materialImg:'/static/index/procurement/k.png'" <view class="imgs">
mode="aspectFill"> <image :src="v?.materialImg?serverUrl+v?.materialImg:'/static/index/procurement/k.png'"
</image> mode="aspectFill">
</image>
</view>
<view class="cardp"> <view class="cardp">
<view v-if="v.categoryId_dictText">{{v.categoryId_dictText}}</view> <view v-if="v.categoryId_dictText">{{v.categoryId_dictText}}</view>
<view v-if="v.typeId_dictText">{{v.typeId_dictText}}</view> <view v-if="v.typeId_dictText">{{v.typeId_dictText}}</view>
<view v-if="v.medicationId_dictText">{{v.medicationId_dictText}}</view>
</view> </view>
</view> </view>
<view class="msitem guodu" > <view class="msitem guodu" >
@ -337,33 +340,43 @@
top:0; top:0;
left: 0; left: 0;
.cardp { .cardp {
width:8vw; width:9vw;
height: 4vw;
display: flex; display: flex;
margin: 0 auto; margin:0.3vw auto;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
flex-direction: column; flex-wrap: wrap;
// flex-direction: column;
view { view {
min-width: 5.5vw; min-width: 5.5vw;
height: 1.8vw; height: 1.6vw;
border-radius: 0.9vw; border-radius: 0.9vw;
border: 1px solid #D2D2D2; border: 1px solid #D2D2D2;
margin: 0.5vw 0 0 0.5vw; margin: 0.25vw 0 0 0;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
font-weight: 400; font-weight: 400;
font-size: 1vw; font-size: 0.8vw;
color: #555555; color: #555555;
padding: 0 0.25vw; padding: 0 0.25vw;
} }
} }
>image { .imgs {
width: 8.5vw; width: 7.8vw;
height: 7.5vw; height: 7vw;
margin: 0vw auto 0.25vw; background: #Fff;
border-radius: 1.1vw;
display: flex;
justify-content: center;
align-items: center;
margin: 0.8vw auto 0;
padding: 0.3vw;
>image {
width: 100%;
height: 100%;
}
} }
} }

View File

@ -8,12 +8,16 @@
@touchstart="touchstart($event,v,index)" scroll-with-animation scroll-x="true" @touchstart="touchstart($event,v,index)" scroll-with-animation scroll-x="true"
:scroll-left="v.scrollleft" @scroll="scroll" > :scroll-left="v.scrollleft" @scroll="scroll" >
<view class="speitem guodu" > <view class="speitem guodu" >
<image :src="v.materialInfo?.materialImg?serverUrl+v.materialInfo?.materialImg:'/static/index/procurement/k.png'" <view class="imge">
mode="aspectFill"> <image :src="v.materialInfo?.materialImg?serverUrl+v.materialInfo?.materialImg:'/static/index/procurement/k.png'"
</image> mode="aspectFill">
</image>
</view>
<view class="cardp"> <view class="cardp">
<view v-if="v.materialInfo?.categoryName">{{v.materialInfo?.categoryName}}</view> <view v-if="v.materialInfo?.categoryName">{{v.materialInfo?.categoryName}}</view>
<view v-if="v.materialInfo?.typeName">{{v.materialInfo?.typeName}}</view> <view v-if="v.materialInfo?.typeName">{{v.materialInfo?.typeName}}</view>
<view v-if="v.materialInfo?.medicationName">{{v.materialInfo?.medicationName}}</view>
</view> </view>
</view> </view>
<view class="msitem guodu" > <view class="msitem guodu" >
@ -345,25 +349,32 @@
flex-direction: column; flex-direction: column;
view { view {
min-width: 5.5vw; min-width: 5.5vw;
height: 1.8vw; height: 1.6vw;
border-radius: 0.9vw; border-radius: 0.9vw;
border: 1px solid #D2D2D2; border: 1px solid #D2D2D2;
margin: 0.5vw 0 0 0.5vw; margin: 0.25vw 0 0 0.5vw;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
font-weight: 400; font-weight: 400;
font-size: 1vw; font-size: 0.8vw;
color: #555555; color: #555555;
padding: 0 0.25vw; padding: 0 0.25vw;
} }
} }
.imge{
>image {
width: 8vw; width: 8vw;
height: 7vw; height: 7vw;
padding: 0.2vw;
margin: 0.3vw auto 0.25vw; margin: 0.3vw auto 0.25vw;
background: #fff;
border-radius: 1.1vw;
>image {
width: 100%;
height: 100%;
}
} }
} }
.itembox{ .itembox{

View File

@ -5,10 +5,13 @@
<view class="tit">物料详情</view> <view class="tit">物料详情</view>
<view class="cont"> <view class="cont">
<view class="leftbox"> <view class="leftbox">
<image :src="objtake?.materialImg?serverUrl+objtake?.materialImg:'/static/index/procurement/k.png'" mode="aspectFill"/> <view class="img">
<image :src="objtake?.materialImg?serverUrl+objtake?.materialImg:'/static/index/procurement/k.png'" mode="aspectFill"/>
</view>
<view> <view>
<view>{{ objtake?.categoryId_dictText }}</view> <view>{{ objtake?.categoryId_dictText }}</view>
<view>{{ objtake?.typeId_dictText }}</view> <view>{{ objtake?.typeId_dictText }}</view>
<view v-if="objtake?.medicationId_dictText">{{objtake?.medicationId_dictText}}</view>
</view> </view>
</view> </view>
<view class="youcont"> <view class="youcont">
@ -143,17 +146,14 @@ import { ref, onMounted, onBeforeUnmount, computed, nextTick, watch, reactive }
width: 14.2vw; width: 14.2vw;
height: 100%; height: 100%;
border-right: 2px solid #E5E5E5; border-right: 2px solid #E5E5E5;
&:nth-child(1) view {
view {
width: 100%; width: 100%;
margin-top: 0.6vw; margin-top: 0.6vw;
display: flex; display: flex;
// justify-content: space-around;
flex-direction: column;
align-items: center; align-items: center;
flex-wrap: wrap;
view { view {
width: 6vw; width: 6.5vw;
height: 2vw; height: 2vw;
border-radius: 1vw; border-radius: 1vw;
border: 1px solid #D2D2D2; border: 1px solid #D2D2D2;
@ -163,15 +163,28 @@ import { ref, onMounted, onBeforeUnmount, computed, nextTick, watch, reactive }
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
margin: 0.25vw 0 0 0.3vw;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
} }
} }
.img{
>image { padding: 0.3vw;
width: 10.2vw; background: #f8f8f8;
height: 10.2vw; width: 12.2vw;
margin: 0 auto; height: 11.2vw;
display: block; padding: 0.2vw;
margin: 0.3vw auto;
border-radius: 1.6vw;
>image {
width: 100%;
height: 100%;
margin: 0.3vw auto;
display: block;
}
} }
} }
.youcont { .youcont {

View File

@ -17,12 +17,15 @@
<view class="list"> <view class="list">
<view class="card" v-for="(v,i) in list" :key='i'> <view class="card" v-for="(v,i) in list" :key='i'>
<view class="speitem guodu" > <view class="speitem guodu" >
<image :src="v.materialInfo?.materialImg?serverUrl+v.materialInfo?.materialImg:'/static/index/procurement/k.png'" <view class="imgs">
mode="aspectFill"> <image :src="v.materialInfo?.materialImg?serverUrl+v.materialInfo?.materialImg:'/static/index/procurement/k.png'"
</image> mode="aspectFill">
</image>
</view>
<view class="cardp"> <view class="cardp">
<view v-if="v.materialInfo?.categoryName">{{v.materialInfo?.categoryName}}</view> <view v-if="v.materialInfo?.categoryName">{{v.materialInfo?.categoryName}}</view>
<view v-if="v.materialInfo?.typeName">{{v.materialInfo?.typeName}}</view> <view v-if="v.materialInfo?.typeName">{{v.materialInfo?.typeName}}</view>
<view v-if="v.materialInfo.medicationId_dictText">{{v.materialInfo.medicationId_dictText}}</view>
</view> </view>
</view> </view>
<view class="msitem guodu" > <view class="msitem guodu" >
@ -84,6 +87,7 @@
const showbox = ref(false) const showbox = ref(false)
watch(()=>props.show, watch(()=>props.show,
()=>{ ()=>{
console.log(props.list)
if(props.show==true){ if(props.show==true){
setTimeout(()=>{ setTimeout(()=>{
showbox.value = true showbox.value = true
@ -228,8 +232,8 @@
top:0; top:0;
left: 0; left: 0;
.cardp { .cardp {
width:8vw; width:10vw;
height: 4vw; height: 5vw;
display: flex; display: flex;
margin: 0 auto; margin: 0 auto;
align-items: center; align-items: center;
@ -237,24 +241,34 @@
flex-direction: column; flex-direction: column;
view { view {
min-width: 5.5vw; min-width: 5.5vw;
height: 1.8vw; height: 1.6vw;
border-radius: 0.9vw; border-radius: 0.9vw;
border: 1px solid #D2D2D2; border: 1px solid #D2D2D2;
margin: 0.5vw 0 0 0.5vw; margin: 0.25vw 0 0 0.5vw;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
font-weight: 400; font-weight: 400;
font-size: 1vw; font-size: 0.8vw;
color: #555555; color: #555555;
padding: 0 0.25vw; padding: 0 0.25vw;
} }
} }
>image { .imgs {
width: 7vw; width: 7vw;
height: 7vw; height: 7vw;
margin: 0.5vw auto 0.25vw; background: #Fff;
border-radius: 1.1vw;
display: flex;
justify-content: center;
align-items: center;
margin: 0.5vw auto 0;
padding: 0.2vw;
>image {
width: 100%;
height: 100%;
}
} }
} }
} }

View File

@ -8,10 +8,14 @@
</view> </view>
<view class="cont"> <view class="cont">
<view class="leftbox"> <view class="leftbox">
<image :src="objtake?.materialImg?serverUrl+objtake?.materialImg:'/static/index/procurement/k.png'" mode="aspectFill"/> <view class="bgimg">
<view> <image :src="objtake?.materialImg?serverUrl+objtake?.materialImg:'/static/index/procurement/k.png'" mode="aspectFill"/>
</view>
<view class="carditem">
<view v-if="objtake?.categoryId_dictText">{{objtake?.categoryId_dictText}}</view> <view v-if="objtake?.categoryId_dictText">{{objtake?.categoryId_dictText}}</view>
<view v-if="objtake?.typeId_dictText">{{objtake?.typeId_dictText}}</view> <view v-if="objtake?.typeId_dictText">{{objtake?.typeId_dictText}}</view>
<view v-if="objtake?.medicationId_dictText">{{objtake?.medicationId_dictText}}</view>
</view> </view>
</view> </view>
<view class="youcont"> <view class="youcont">
@ -250,36 +254,46 @@
width: 15.2vw; width: 15.2vw;
height: 100%; height: 100%;
border-right: 2px solid #E5E5E5; border-right: 2px solid #E5E5E5;
display: flex;
view { flex-direction: column;
align-items: center;
.carditem {
width: 100%; width: 100%;
margin-top: 0.3vw; margin-top: 0.3vw;
display: flex; display: flex;
flex-direction: column;
align-items: center; align-items: center;
flex-wrap: wrap;
// justify-content: space-around; // justify-content: space-around;
view { view {
width: 6vw; min-width: 6vw;
height: 2vw; height: 2vw;
border-radius: 1vw; border-radius: 1vw;
border: 1px solid #D2D2D2; border: 1px solid #D2D2D2;
font-weight: 400; font-weight: 400;
font-size: 1.1vw; font-size: 0.9vw;
color: #555555; color: #555555;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
padding: 0 0.6vw; padding: 0 0.6vw;
margin: 0.5vw 0 0 0.25vw;
white-space: nowrap;
} }
} }
.bgimg{
>image {
width: 8.5vw; width: 8.5vw;
height: 8vw; height: 8vw;
margin: 0 auto; background: #fff;
display: block; border-radius: 1.1vw;
>image {
width: 100%;
height: 100%;
margin: 0.3vw auto;
display: block;
}
} }
} }
.youcont { .youcont {

View File

@ -163,15 +163,22 @@
<view class="right-ones"> <view class="right-ones">
<view class="right-one" v-for="(item,index) in rightarray" :key="index"> <view class="right-one" v-for="(item,index) in rightarray" :key="index">
<view class="right-one-left"> <view class="right-one-left">
<image class="left-image" <view class="imge">
:src="item.materialInfo.materialImg?serverUrl+item.materialInfo.materialImg:'/static/index/procurement/k.png'" <image class="left-image"
mode="aspectFill"></image> :src="item.materialInfo.materialImg?serverUrl+item.materialInfo.materialImg:'/static/index/procurement/k.png'"
<view class="left-tages" style="margin-top: -15rpx;"> mode="aspectFill"></image>
</view>
<view class="left-tages" >
{{ item.materialInfo.categoryName}} {{ item.materialInfo.categoryName}}
</view> </view>
<view class="left-tages"> <view class="left-tages">
{{ item.materialInfo.typeName}} {{ item.materialInfo.typeName}}
</view>
<view class="left-tages" v-if="item.materialInfo.medicationName">
{{item.materialInfo.medicationName}}
</view> </view>
</view> </view>
<view class="right-one-right"> <view class="right-one-right">
<view class="right-title"> <view class="right-title">
@ -939,26 +946,31 @@
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
.left-image { .imge {
width: 140rpx; width: 140rpx;
height: 140rpx; height: 140rpx;
// margin: 15rpx 0;
margin-top: 10rpx; margin-top: 10rpx;
margin-bottom: 15rpx; margin-bottom: 15rpx;
// margin-top: 5rpx; padding: 0.2vw;
border-radius: 1.1vw;
background: #f8f8f8;
image{
width: 100%;
height: 100%;
}
} }
.left-tages { .left-tages {
width: 130rpx; width: 130rpx;
height: 43rpx; height: 38rpx;
border-radius: 30rpx; border-radius: 19rpx;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
color: #555555; color: #555555;
border: 1rpx solid #D2D2D2; border: 1rpx solid #D2D2D2;
margin-top: 5rpx; margin-top:0.2vw;
font-size: 23rpx; font-size: 19rpx;
} }
} }

View File

@ -13,7 +13,7 @@
<view class="right-button" style="width: 11vw;" @click="tijiaoshow=true" v-if="rightarray.length"> <view class="right-button" style="width: 11vw;" @click="tijiaoshow=true" v-if="rightarray.length">
<image src="/static/index/warehouse/procurement/picking/caigou.png" /> <image src="/static/index/warehouse/procurement/picking/caigou.png" />
<view> <view>
提交请 提交请
</view> </view>
</view> </view>
</view> </view>

View File

@ -103,12 +103,16 @@
<image src="/static/index/procurement/zd.png" mode="aspectFill"></image> <image src="/static/index/procurement/zd.png" mode="aspectFill"></image>
</view> </view>
<view class="speitem guodu" > <view class="speitem guodu" >
<image :src="v.materialInfo?.materialImg?serverUrl+v.materialInfo?.materialImg:'/static/index/procurement/k.png'" <view class="bgimg">
mode="aspectFill"> <image :src="v.materialInfo?.materialImg?serverUrl+v.materialInfo?.materialImg:'/static/index/procurement/k.png'"
</image> mode="aspectFill">
</image>
</view>
<view class="cardp"> <view class="cardp">
<view v-if="v.materialInfo?.categoryName">{{v.materialInfo?.categoryName}}</view> <view v-if="v.materialInfo?.categoryName">{{v.materialInfo?.categoryName}}</view>
<view v-if="v.materialInfo?.typeName">{{v.materialInfo?.typeName}}</view> <view v-if="v.materialInfo?.typeName">{{v.materialInfo?.typeName}}</view>
<view v-if="v.materialInfo?.medicationName">{{v.materialInfo?.medicationName}}</view>
</view> </view>
</view> </view>
<view class="msitem guodu" > <view class="msitem guodu" >
@ -511,30 +515,40 @@
width:8vw; width:8vw;
height: 4vw; height: 4vw;
display: flex; display: flex;
margin: 0 auto; margin: 0.3vw auto;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
flex-direction: column; flex-direction: column;
view { view {
min-width: 5.5vw; min-width: 5.5vw;
height: 1.8vw; height: 1.6vw;
border-radius: 0.9vw; border-radius: 0.9vw;
border: 1px solid #D2D2D2; border: 1px solid #D2D2D2;
margin: 0.5vw 0 0 0.5vw; margin: 0.3vw 0 0 0vw;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
font-weight: 400; font-weight: 400;
font-size: 1vw; font-size: 0.8vw;
color: #555555; color: #555555;
padding: 0 0.25vw; padding: 0 0.25vw;
} }
} }
>image { .bgimg{
width: 7.5vw; width: 7.5vw;
height: 7.5vw; height: 7vw;
margin: 0vw auto 0.25vw; margin: 0.3vw auto 0.25vw;
border-radius: 1.1vw;
background: #fff;
display: flex;
justify-content: center;
align-items: center;
padding: 0.2vw;
>image {
width: 100%;
height: 100%;
}
} }
} }

View File

@ -17,13 +17,18 @@
<view class="list"> <view class="list">
<view class="card" v-for="(v,i) in list" :key='i'> <view class="card" v-for="(v,i) in list" :key='i'>
<view class="speitem guodu"> <view class="speitem guodu">
<image <view class="imge">
:src="v.materialInfo?.materialImg?serverUrl+v.materialInfo?.materialImg:'/static/index/procurement/k.png'" <image
mode="aspectFill"> :src="v.materialInfo?.materialImg?serverUrl+v.materialInfo?.materialImg:'/static/index/procurement/k.png'"
</image> mode="aspectFill">
</image>
</view>
<view class="cardp"> <view class="cardp">
<view v-if="v.materialInfo?.categoryName">{{v.materialInfo?.categoryName}}</view> <view v-if="v.materialInfo?.categoryName">{{v.materialInfo?.categoryName}}</view>
<view v-if="v.materialInfo?.typeName">{{v.materialInfo?.typeName}}</view> <view v-if="v.materialInfo?.typeName">{{v.materialInfo?.typeName}}</view>
<view v-if="v.materialInfo?.typeName">{{v.materialInfo?.typeName}}</view>
<view v-if="v.materialInfo?.medicationName">{{v.materialInfo?.medicationName}}</view>
</view> </view>
</view> </view>
<view class="msitem guodu"> <view class="msitem guodu">
@ -249,34 +254,41 @@
.cardp { .cardp {
width: 8vw; width: 8vw;
height: 4vw; height: 5.5vw;
display: flex; display: flex;
margin: 0 auto; margin: 0.3vw auto 0;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
flex-direction: column; flex-direction: column;
overflow: hidden;
view { view {
min-width: 5.5vw; min-width: 5.5vw;
height: 1.8vw; height: 1.6vw;
border-radius: 0.9vw; border-radius: 0.9vw;
border: 1px solid #D2D2D2; border: 1px solid #D2D2D2;
margin: 0.5vw 0 0 0.5vw; margin: 0 0 0.5vw 0.5vw ;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
font-weight: 400; font-weight: 400;
font-size: 1vw; font-size: 0.8vw;
color: #555555; color: #555555;
padding: 0 0.25vw; padding: 0 0.25vw;
} }
} }
.imge{
>image { width: 7vw;
width: 8.5vw; height:6.5vw;
height: 7.5vw;
margin: 0.7vw auto 0.25vw; margin: 0.7vw auto 0.25vw;
border-radius: 1.1vw;
background: #fff;
padding: 0.2vw;
>image {
width: 100%;
height: 100%;
}
} }
} }
} }
} }

View File

@ -11,13 +11,17 @@
<image src="/static/index/procurement/zd.png" mode="aspectFill"></image> <image src="/static/index/procurement/zd.png" mode="aspectFill"></image>
</view> </view>
<view class="speitem guodu"> <view class="speitem guodu">
<image <view class="bgimg">
:src="v.materialInfo?.materialImg?serverUrl+v.materialInfo?.materialImg:'/static/index/procurement/k.png'" <image
mode="aspectFill"> :src="v.materialInfo?.materialImg?serverUrl+v.materialInfo?.materialImg:'/static/index/procurement/k.png'"
</image> mode="aspectFill">
</image>
</view>
<view class="cardp"> <view class="cardp">
<view v-if="v.materialInfo?.categoryName">{{v.materialInfo?.categoryName}}</view> <view v-if="v.materialInfo?.categoryName">{{v.materialInfo?.categoryName}}</view>
<view v-if="v.materialInfo?.typeName">{{v.materialInfo?.typeName}}</view> <view v-if="v.materialInfo?.typeName">{{v.materialInfo?.typeName}}</view>
<view v-if="v.materialInfo?.medicationName">{{v.materialInfo?.medicationName}}</view>
</view> </view>
</view> </view>
<view class="msitem guodu"> <view class="msitem guodu">
@ -404,12 +408,22 @@
padding: 0 0.25vw; padding: 0 0.25vw;
} }
} }
.bgimg{
>image {
width: 7.5vw; width: 7.5vw;
height: 7.5vw; height: 7.5vw;
margin: 0vw auto 0.25vw; margin: 0.3vw auto 0.25vw;
border-radius: 1.1vw;
background: #fff;
display: flex;
justify-content: center;
align-items: center;
padding: 0.2vw;
>image {
width: 100%;
height: 100%;
}
} }
} }

View File

@ -7,9 +7,12 @@
@touchstart="touchstart($event,v,index)" scroll-with-animation scroll-x="true" @touchstart="touchstart($event,v,index)" scroll-with-animation scroll-x="true"
:scroll-left="v.scrollleft" @scroll="scroll" > :scroll-left="v.scrollleft" @scroll="scroll" >
<view class="speitem guodu" > <view class="speitem guodu" >
<image :src="v.materialImg?serverUrl+v.materialImg:'/static/index/procurement/k.png'" <view class="imghs">
mode="aspectFill"> <image :src="v.materialImg?serverUrl+v.materialImg:'/static/index/procurement/k.png'"
</image> mode="aspectFill">
</image>
</view>
<view class="cardp"> <view class="cardp">
<view v-if="v.categoryId_dictText">{{v.categoryId_dictText}}</view> <view v-if="v.categoryId_dictText">{{v.categoryId_dictText}}</view>
<view v-if="v.typeId_dictText">{{v.typeId_dictText}}</view> <view v-if="v.typeId_dictText">{{v.typeId_dictText}}</view>
@ -418,12 +421,19 @@
} }
} }
} }
.imghs{
>image { width: 9vw;
width: 8.5vw; height: 8vw;
height: 7.5vw; margin: 0.8vw auto 0.25vw;
margin: 1.25vw auto 0.25vw; padding: 0.2vw;
background: #fff;
border-radius: 1.1vw;
>image {
width: 100%;
height: 100%;
}
} }
} }
} }
</style> </style>

View File

@ -12,9 +12,12 @@
@touchstart="touchstart($event,v,index)" scroll-with-animation scroll-x="true" @touchstart="touchstart($event,v,index)" scroll-with-animation scroll-x="true"
:scroll-left="v.scrollleft" @scroll="scroll" :class="v.flag?'actve':''"> :scroll-left="v.scrollleft" @scroll="scroll" :class="v.flag?'actve':''">
<view class="speitem guodu" > <view class="speitem guodu" >
<image :src="v.materialImg?serverUrl+v.materialImg:'/static/index/procurement/k.png'" <view class="imghs">
mode="aspectFill"> <image :src="v.materialImg?serverUrl+v.materialImg:'/static/index/procurement/k.png'"
</image> mode="aspectFill">
</image>
</view>
<view class="cardp"> <view class="cardp">
<view v-if="v.categoryId_dictText">{{v.categoryId_dictText}}</view> <view v-if="v.categoryId_dictText">{{v.categoryId_dictText}}</view>
<view v-if="v.typeId_dictText">{{v.typeId_dictText}}</view> <view v-if="v.typeId_dictText">{{v.typeId_dictText}}</view>
@ -447,11 +450,17 @@
} }
} }
>image { .imghs{
width: 9vw; width: 10vw;
height: 8vw; height: 9vw;
margin: 0 auto 0; margin: -0.8vw auto 0.25vw;
padding: 0.2vw;
background: #fff;
border-radius: 1.1vw; border-radius: 1.1vw;
>image {
width: 100%;
height: 100%;
}
} }
} }
} }

View File

@ -110,9 +110,11 @@
<!-- <view style="height:2vw;"></view> --> <!-- <view style="height:2vw;"></view> -->
<view class="fler" v-for="(v,index) in generatedOrder[lefttarget]?.cgdInfoList" :key="index"> <view class="fler" v-for="(v,index) in generatedOrder[lefttarget]?.cgdInfoList" :key="index">
<view class="speitem guodu"> <view class="speitem guodu">
<image :src="v.materialImg?serverUrl+v.materialImg:'/static/index/procurement/k.png'" <view class="imghs">
mode="aspectFill"> <image :src="v.materialImg?serverUrl+v.materialImg:'/static/index/procurement/k.png'"
</image> mode="aspectFill">
</image>
</view>
<view class="cardp"> <view class="cardp">
<view v-if="v.categoryName">{{v.categoryName}}</view> <view v-if="v.categoryName">{{v.categoryName}}</view>
<view v-if="v.typeName">{{v.typeName}}</view> <view v-if="v.typeName">{{v.typeName}}</view>
@ -484,10 +486,17 @@
} }
} }
>image { .imghs{
width: 10vw; width: 10vw;
height: 9vw; height: 9vw;
margin: 0.5vw auto 0; margin: 0.8vw auto 0.25vw;
padding: 0.2vw;
background: #fff;
border-radius: 1.1vw;
>image {
width: 100%;
height: 100%;
}
} }
} }
} }

View File

@ -181,15 +181,20 @@
<view class="right-ones"> <view class="right-ones">
<view class="right-one" v-for="(item,index) in rightarray" :key="index"> <view class="right-one" v-for="(item,index) in rightarray" :key="index">
<view class="right-one-left"> <view class="right-one-left">
<image class="left-image" <view class="bgimg">
:src="item.materialInfo?.materialImg?serverUrl+item.materialInfo?.materialImg:'/static/index/procurement/k.png'" <image class="left-image"
mode="aspectFill"></image> :src="item.materialInfo?.materialImg?serverUrl+item.materialInfo?.materialImg:'/static/index/procurement/k.png'"
<view class="left-tages" style="margin-top: -15rpx;"> mode="aspectFill"></image>
</view>
<view class="left-tages" >
{{ item.materialInfo.categoryName}} {{ item.materialInfo.categoryName}}
</view> </view>
<view class="left-tages"> <view class="left-tages">
{{ item.materialInfo.typeName}} {{ item.materialInfo.typeName}}
</view> </view>
<view class="left-tages" v-if="item.materialInfo.medicationName">
{{ item.materialInfo.medicationName}}
</view>
</view> </view>
<view class="right-one-right"> <view class="right-one-right">
<view class="right-title"> <view class="right-title">
@ -1099,18 +1104,25 @@
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
.left-image { .bgimg{
width: 150rpx; width: 7.5vw;
height: 150rpx; height: 7vw;
// margin: 15rpx 0; margin: 0.3vw auto 0.25vw;
margin-top: 10rpx; border-radius: 1.1vw;
margin-bottom: 15rpx; background: #fff;
// margin-top: 5rpx; display: flex;
justify-content: center;
align-items: center;
padding: 0.2vw;
>image {
width: 100%;
height: 100%;
}
} }
.left-tages { .left-tages {
width: 130rpx; width: 130rpx;
height: 43rpx; height: 36rpx;
border-radius: 30rpx; border-radius: 30rpx;
display: flex; display: flex;
justify-content: center; justify-content: center;
@ -1118,7 +1130,7 @@
color: #555555; color: #555555;
border: 1rpx solid #D2D2D2; border: 1rpx solid #D2D2D2;
margin-top: 5rpx; margin-top: 5rpx;
font-size: 23rpx; font-size: 20rpx;
} }
} }

View File

@ -264,7 +264,7 @@
console.log(v) console.log(v)
wuliao(); wuliao();
thdNuMaterialList({ nuId: v.nuId, id: v.id }).then(res => { thdNuMaterialList({ nuId: v.nuId, id: v.id }).then(res => {
console.log(res) console.log({ nuId: v.nuId, id: v.id })
cardarr.value = res.result cardarr.value = res.result
}) })
if (v.izRead == 'N') { if (v.izRead == 'N') {

View File

@ -574,7 +574,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_mini/pages/camera.nvue"]]); const camera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/项目/hldy_app_mini/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_mini/pages/fullcamera.nvue"]]); const fullcamera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/项目/hldy_app_mini/pages/fullcamera.nvue"]]);
export { export {
fullcamera as default fullcamera as default
}; };