This commit is contained in:
parent
dd3dd9837d
commit
089e3a6acb
|
|
@ -382,7 +382,7 @@
|
|||
|
||||
.scroll-Y {
|
||||
width: 10vw;
|
||||
height: calc(75vh - 22vw);
|
||||
height: calc(75vh - 16vw);
|
||||
|
||||
view {
|
||||
min-width: 8.5vw;
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
<view class="img">
|
||||
<image :src="objtake?.materialImg?serverUrl+objtake?.materialImg:'/static/index/procurement/k.png'" mode="aspectFill"/>
|
||||
</view>
|
||||
<view>
|
||||
<view class="cardfa">
|
||||
<view>{{ objtake?.categoryId_dictText }}</view>
|
||||
<view>{{ objtake?.typeId_dictText }}</view>
|
||||
<view v-if="objtake?.medicationId_dictText">{{objtake?.medicationId_dictText}}</view>
|
||||
|
|
@ -146,7 +146,7 @@ import { ref, onMounted, onBeforeUnmount, computed, nextTick, watch, reactive }
|
|||
width: 14.2vw;
|
||||
height: 100%;
|
||||
border-right: 2px solid #E5E5E5;
|
||||
&:nth-child(1) view {
|
||||
.cardfa {
|
||||
width: 100%;
|
||||
margin-top: 0.6vw;
|
||||
display: flex;
|
||||
|
|
@ -172,8 +172,8 @@ import { ref, onMounted, onBeforeUnmount, computed, nextTick, watch, reactive }
|
|||
.img{
|
||||
padding: 0.3vw;
|
||||
background: #f8f8f8;
|
||||
width: 12.2vw;
|
||||
height: 11.2vw;
|
||||
width: 10.2vw;
|
||||
height: 9.2vw;
|
||||
padding: 0.2vw;
|
||||
margin: 0.3vw auto;
|
||||
border-radius: 1.6vw;
|
||||
|
|
|
|||
|
|
@ -246,17 +246,18 @@
|
|||
background: #F9F9FA;
|
||||
border-radius: 1.6vw;
|
||||
margin: 1.5vw auto 0;
|
||||
padding: 1.4vw 1vw;
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
position: relative;
|
||||
|
||||
.leftbox {
|
||||
width: 15.2vw;
|
||||
height: 100%;
|
||||
width: 13vw;
|
||||
height: 12;
|
||||
border-right: 2px solid #E5E5E5;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 1.3vw;
|
||||
.carditem {
|
||||
width: 100%;
|
||||
margin-top: 0.3vw;
|
||||
|
|
@ -266,7 +267,7 @@
|
|||
// justify-content: space-around;
|
||||
|
||||
view {
|
||||
min-width: 6vw;
|
||||
width: 6vw;
|
||||
height: 2vw;
|
||||
border-radius: 1vw;
|
||||
border: 1px solid #D2D2D2;
|
||||
|
|
@ -279,18 +280,19 @@
|
|||
padding: 0 0.6vw;
|
||||
margin: 0.5vw 0 0 0.25vw;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
.bgimg{
|
||||
width: 8.5vw;
|
||||
height: 8vw;
|
||||
width: 10.5vw;
|
||||
height: 9.5vw;
|
||||
background: #fff;
|
||||
border-radius: 1.1vw;
|
||||
padding: 0.35vw;
|
||||
>image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
margin: 0.3vw auto;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -302,6 +304,10 @@
|
|||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
padding: 1.3vw;
|
||||
>view {
|
||||
padding: 0 1.8vw;
|
||||
&:nth-child(2),
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@
|
|||
</view>
|
||||
</view>
|
||||
<view v-else>
|
||||
<!-- <view class="kx pd" v-if="v.status=='0'||v.status=='3'">盘点中</view> -->
|
||||
<view class="bkx" >
|
||||
<image src="/static/shouye/yg.png" mode="aspectFill"></image>
|
||||
<text>{{ v.fzr }}</text>
|
||||
|
|
@ -97,6 +98,7 @@
|
|||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
|
||||
.kx{
|
||||
width: 3.6vw;
|
||||
height: 1.8vw;
|
||||
|
|
@ -112,6 +114,11 @@
|
|||
right: 1.5vw;
|
||||
top: 1.5vw;
|
||||
}
|
||||
.pd{
|
||||
width: 4.6vw;
|
||||
color: #FFFFFF;
|
||||
background: #50B8F7;
|
||||
}
|
||||
.hldyimg{
|
||||
width: 6.5vw;
|
||||
height: 6.5vw;
|
||||
|
|
|
|||
|
|
@ -126,7 +126,6 @@
|
|||
onShow(() => {
|
||||
zyupgrade.value?.check_update();
|
||||
queryPadPageList().then((res => {
|
||||
console.log(res)
|
||||
leftMenuArray.value = res.result.records;
|
||||
|
||||
}))
|
||||
|
|
@ -142,7 +141,6 @@
|
|||
}
|
||||
}
|
||||
const jumptopage = (index:number) => {
|
||||
|
||||
uni.setStorageSync('nuId', cardarray.value[index].nuId);
|
||||
uni.setStorageSync('nuName', cardarray.value[index].nuName);
|
||||
uni.setStorageSync('elderId', cardarray.value[index].elderInfo ? cardarray.value[index].elderInfo?.id : null);
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@
|
|||
<view>
|
||||
<view>{{v.materialName}}</view><text>{{v.materialNo}}</text>
|
||||
</view>
|
||||
<view style="white-space: nowrap;">
|
||||
<view style="white-space: nowrap;display: block;">
|
||||
<text> 规格型号: {{v.specificationModel}}</text>
|
||||
</view>
|
||||
<view>
|
||||
|
|
@ -316,6 +316,7 @@
|
|||
font-size: 1.4vw;
|
||||
color: #777777;
|
||||
margin-top: 0.35vw;
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
&:nth-child(1){
|
||||
|
|
|
|||
|
|
@ -127,7 +127,6 @@
|
|||
// if(!old.num){return}
|
||||
// if(old.num==1){
|
||||
// let num = Number(props.caigouobj.upperLimit)-Number(props.caigouobj.kcsl);
|
||||
|
||||
// let m = Math.floor(relNumber.value/news.num);
|
||||
// huansuan(m)
|
||||
// }
|
||||
|
|
@ -338,19 +337,12 @@
|
|||
const colse = ()=>{
|
||||
emit('colse')
|
||||
}
|
||||
// 这个方法是查看数字有多少位
|
||||
function digitCountByString(n) {
|
||||
// 先处理负数
|
||||
const s = Math.abs(n).toString();
|
||||
// 若不想统计小数点,可去掉小数点后再取长度:
|
||||
// return s.replace('.', '').length;
|
||||
return s.length;
|
||||
}
|
||||
// 这个方法是将Number转为String
|
||||
function toFixed4ByPadStart(n) {
|
||||
// 1. 取绝对值并向下取整,防止小数和负号影响
|
||||
const intPart = Math.floor(Math.abs(n));
|
||||
// 2. 转字符串并 padStart 到长度 4,不足时前面补 '0'
|
||||
return String(intPart).padStart(4, '0');
|
||||
}
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Reference in New Issue