|
|
@ -228,8 +228,8 @@
|
|||
justify-content: center;
|
||||
padding: 0.2vw 0;
|
||||
image{
|
||||
width: 2vw;
|
||||
height: 2vw;
|
||||
width: 2.2vw;
|
||||
height: 2.2vw;
|
||||
}
|
||||
text{
|
||||
font-weight: 400;
|
||||
|
|
@ -256,5 +256,6 @@
|
|||
transition: .4s;
|
||||
-webkit-transform-style: preserve-3d;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
// background-color: red;
|
||||
}
|
||||
</style>
|
||||
|
|
|
|||
|
|
@ -1,11 +1,12 @@
|
|||
<template>
|
||||
<view class="contain guodu" :style="!transition?'opacity: 0':'opacity: 1'" style="transition: opacity 1s ease;">
|
||||
<view class="contain guodu" :style="!transition?'opacity: 0':'opacity: 1'" style="transition: opacity 1s ease;">
|
||||
<view v-show="moreindex!=-1 || topbuttontarget!=-1 || openjianhuo || opengaijia || opendata" class="mengban"
|
||||
:style="opencgr||opengys||opendata ?{background:`transparent`}:{}"
|
||||
@click="moreindex=-1; topbuttontarget=-1;openjianhuo=false;opengaijia=false;opendata=false;opencgr=false;opengys=false;albumlist=[]">
|
||||
</view>
|
||||
<!-- 没数据了,遮罩 -->
|
||||
<view class="mengban" style="background: #fff;width:100vw;right:0;left:8vw;top: -5vh;height: 110vh;" v-if="nomessageshow">
|
||||
<view class="mengban" style="background: #fff;width:100vw;right:0;left:8vw;top: -5vh;height: 110vh;"
|
||||
v-if="nomessageshow">
|
||||
<defaultr cont="暂无数据" style="z-index: 999;"></defaultr>
|
||||
</view>
|
||||
<!-- 给模糊搜索用的 -->
|
||||
|
|
@ -13,7 +14,7 @@
|
|||
@click="closefilteredCgrListsecond">
|
||||
</view>
|
||||
|
||||
<view class="input-next" style="bottom: 660rpx;" v-if="filteredCgrListsecond.length && gysvalue">
|
||||
<view class="input-next" style="bottom: 745rpx;" v-if="filteredCgrListsecond.length && gysvalue">
|
||||
<view v-show="filteredCgrListsecond[0].suppliersName!=`暂无数据`" class="next-father"
|
||||
v-for="(item, index) in filteredCgrListsecond.slice(0, 5)" :key="index"
|
||||
@click="clickfilteredCgrListsecond(item,index)">
|
||||
|
|
@ -408,17 +409,6 @@
|
|||
暂无随行单
|
||||
</view>
|
||||
</view>
|
||||
<!-- <view class="photowall-other-one" v-if="topbuttontarget==1">
|
||||
<view style="width: 100%;height: 71%;display: flex;flex-direction: column;
|
||||
justify-content: center;align-items: center;position: absolute;top:1vw;left: 0;
|
||||
background-color:#fafdff ;border: 1rpx solid #78B1EB;border-radius: 30rpx;" @click="uplod(1)">
|
||||
<image style="width: 70rpx;height: 70rpx;margin-bottom: 5rpx;"
|
||||
src="/static/index/warehouse/procurement/picking/addphoto.png" />
|
||||
<view style="color: #78B1EB;">
|
||||
点击拍照上传
|
||||
</view>
|
||||
</view>
|
||||
</view> -->
|
||||
|
||||
</scroll-view>
|
||||
</view>
|
||||
|
|
@ -440,24 +430,6 @@
|
|||
|
||||
</view>
|
||||
</view>
|
||||
<!-- <view class="more-title">
|
||||
采购单状态
|
||||
</view>
|
||||
<view class="more-statues-father">
|
||||
<view :class="plzinfo.cgdType==`0,1`?`more-statues-button-target`:`more-statues-button`"
|
||||
@click="plzinfo.cgdType=`0,1`;search()">
|
||||
全部
|
||||
</view>
|
||||
<view :class="plzinfo.cgdType==`0`?`more-statues-button-target`:`more-statues-button`"
|
||||
@click="plzinfo.cgdType=`0`;search()">
|
||||
待入库
|
||||
</view>
|
||||
<view :class="plzinfo.cgdType==`1`?`more-statues-button-target`:`more-statues-button`"
|
||||
@click="plzinfo.cgdType=`1`;search()">
|
||||
待完结
|
||||
</view>
|
||||
</view> -->
|
||||
|
||||
|
||||
<view class="more-time">
|
||||
采购日期
|
||||
|
|
@ -503,40 +475,23 @@
|
|||
placeholder="采购单号/采购日期/供应商" @confirm="search()" />
|
||||
<image v-show="plzinfo.cgdParamInfo" class="title-input-img" src="@/static/x.png"
|
||||
@click="plzinfo.cgdParamInfo='';search()" />
|
||||
<view class="title-input-button" @click="search();">
|
||||
检索
|
||||
<view class="title-ball" @click="search();handleClick()">
|
||||
<image class="title-ball-img" :src="imgSrc" mode="aspectFill"></image>
|
||||
</view>
|
||||
<view class="filter">
|
||||
<image class="filter-img"
|
||||
:src="`/static/index/purchaseorder/select${openselect?`target`:``}.png`" />
|
||||
<view :class="openselect?`filter-font-target`: `filter-font`" @click="openselect=!openselect">
|
||||
筛选
|
||||
</view>
|
||||
<view class="title-ball" @click="openselect=!openselect">
|
||||
<image class="title-ball-img"
|
||||
:src="`/static/index/purchaseorder/select${openselect?`target`:``}.png`" mode="aspectFill">
|
||||
</image>
|
||||
</view>
|
||||
</view>
|
||||
<view class="statues-father">
|
||||
<!-- <view class="statues-gray">
|
||||
单据状态
|
||||
</view>
|
||||
<view :class="plzinfo.cgdType==`0,1`?`statues-button-target`:`statues-button`" style="margin-left: 4%;"
|
||||
@click="plzinfo.cgdType=`0,1`;search()">
|
||||
全部
|
||||
</view>
|
||||
<view :class="plzinfo.cgdType==`0`?`statues-button-target`:`statues-button`"
|
||||
@click="plzinfo.cgdType=`0`;search()">
|
||||
待入库
|
||||
</view>
|
||||
<view :class="plzinfo.cgdType==`1`?`statues-button-target`:`statues-button`"
|
||||
@click="plzinfo.cgdType=`1`;search()">
|
||||
待完结
|
||||
</view> -->
|
||||
</view>
|
||||
<!-- <view class="statues-father">
|
||||
|
||||
</view> -->
|
||||
<view class="left-menu-father">
|
||||
<scroll-view scroll-y="true" scroll-with-animation class="left-menu-scroll" :scroll-top="leftscrolltop"
|
||||
@scrolltolower="plsbuytolower" :lower-threshold="400">
|
||||
<view class="pls-card" v-for="(v,i) in plsbuy" :key='i' @click="clickLeftMenu(i,v)" :style="{
|
||||
borderColor: i === lefttarget ? '' : 'transparent',
|
||||
background: i === lefttarget ? '#fff' : 'rgba(255,255,255,0.6)'
|
||||
borderColor: i === lefttarget ? '#0f9fff' : '',
|
||||
}">
|
||||
<text style="display: block;background: #ff5757;
|
||||
position: absolute;width: 1.3vw;height: 1.3vw;border-radius: 50%;right: -0.1vw;top: -0.1vw;" v-if="v.izNew=='Y'">
|
||||
|
|
@ -628,132 +583,142 @@
|
|||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="pls-card center" v-if="plsbuy.length===1">
|
||||
<view class="que">
|
||||
<image src="/static/index/procurement/que.png" mode="aspectFill"></image>
|
||||
<view>暂无数据</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="pls-card center" v-if="plsbuy.length===1">
|
||||
<view class="que">
|
||||
<image src="/static/index/procurement/que.png" mode="aspectFill"></image>
|
||||
<view>暂无数据</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="pls-card center" v-if="plsbuy.length===2">
|
||||
<view class="que">
|
||||
<image src="/static/index/procurement/que.png" mode="aspectFill"></image>
|
||||
<view>暂无数据</view>
|
||||
</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="white-zhezhao"></view>
|
||||
<!-- <view class="white-zhezhao"></view> -->
|
||||
<view class="contain-right">
|
||||
<view class="contain-right-title">
|
||||
<view class="left-top-tags">
|
||||
<view class="wuliao-title">
|
||||
物料信息
|
||||
<!-- <view class="wuliao-heng"></view> -->
|
||||
<view class="contain-right-father">
|
||||
<view class="contain-right-title">
|
||||
<view class="left-top-tags">
|
||||
<view class="blue-shu"></view>
|
||||
<view class="">
|
||||
物料信息
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view :class=" `contain-right-button`" @click="donghuastart(0)" style="width: 10vw;">
|
||||
<image class="buttont-img" :src="`/static/index/warehouse/procurement/picking/camera.png`" />
|
||||
<view class="button-font">
|
||||
拣货照片
|
||||
</view>
|
||||
</view>
|
||||
<view :class=" `contain-right-button`" @click="donghuastart(1)" style="width: 9vw;">
|
||||
<image class="buttont-img" :src="`/static/index/warehouse/procurement/picking/work.png`" />
|
||||
<view class="button-font">
|
||||
随行单
|
||||
</view>
|
||||
</view>
|
||||
<!-- <view :class="!Number(plsbuy[lefttarget]?.status)?`contain-right-button`: `contain-right-title-bad`"
|
||||
style="border-color: #D9DADC;box-shadow: 0 1rpx 3rpx #D9DADC;" @click="bebad">
|
||||
<image class="buttont-img" :src="`/static/index/warehouse/procurement/picking/bebad.png`" />
|
||||
<view class="button-font">
|
||||
作废
|
||||
</view>
|
||||
</view> -->
|
||||
|
||||
<!-- <view class="contain-right-button" @click="goback()">
|
||||
<image class="buttont-img" style="margin-top: 4rpx;" src="/static/index/purchaseorder/back.png" />
|
||||
<view class="button-font">
|
||||
返回
|
||||
<view style="display: flex;margin-right: 25rpx;">
|
||||
<view class="contain-right-button" @click="donghuastart(0)">
|
||||
<image class="buttont-img"
|
||||
:src="`/static/index/warehouse/procurement/picking/camera.png`" />
|
||||
<view class="button-font">
|
||||
拣货照片
|
||||
</view>
|
||||
</view>
|
||||
<view class="contain-right-button" @click="donghuastart(1)">
|
||||
<image class="buttont-img" :src="`/static/index/warehouse/procurement/picking/work.png`" />
|
||||
<view class="button-font">
|
||||
随行单
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
<view class="contain-right-middle">
|
||||
</view>
|
||||
<scroll-view scroll-x="true" class="middle-Y" :scroll-left="Invoiscroll" scroll-with-animation>
|
||||
<view class="middle-Y-father">
|
||||
<view class="middle-one" v-for="(v,i) in InvoicingList" :key='i'
|
||||
:style="{border: middletarget === i? '4rpx dashed #1083F8': '4rpx solid transparent',backgroundColor:middletarget === i?`#F9FCFF`:``}"
|
||||
:style="{border: middletarget === i? '2rpx solid #3A9BFF': '2rpx solid #E5E5E5',backgroundColor:middletarget === i?`#F9FCFF`:`` }"
|
||||
@click="clickmiddle(i)">
|
||||
<view :class="v.status<2?`up-tags-target`: `up-tags`">
|
||||
{{v.status_dictText}}
|
||||
</view>
|
||||
<image class="middle-img"
|
||||
:src="v?.materialImg?serverUrl + v?.materialImg : '/static/index/warehouse/procurement/k.png'"
|
||||
:src="v.materialImg?serverUrl + v.materialImg : '/static/index/warehouse/procurement/k.png'"
|
||||
mode="aspectFill"></image>
|
||||
<!-- <image class="middle-img" :src=" '/static/zhiniaoku.png'" mode="aspectFill"></image> -->
|
||||
<view class="middle-right">
|
||||
<view class="right-title">
|
||||
{{ v.wlName }}
|
||||
</view>
|
||||
<view class="juzhong">
|
||||
<view class="">
|
||||
<text style="font-size: 25rpx;margin-right: -5rpx;margin-left: -5rpx;">
|
||||
¥
|
||||
</text>
|
||||
|
||||
<text style="font-size: 30rpx;"
|
||||
:style="{fontWeight:middletarget !== i?`600`:``,color:middletarget !== i?`#333333`:`#888888`}">
|
||||
{{v.arrivalPrice?Number(v.arrivalPrice).toFixed(2):Number(v.procurementPrice).toFixed(2) }}
|
||||
</text>
|
||||
|
||||
</view>
|
||||
<view class="" style="font-size: 30rpx;position: relative;">
|
||||
<text style="font-weight: 600;margin-right: 5rpx;"
|
||||
:style="{fontWeight:middletarget === i?`600`:``,color:middletarget === i?`#333333`:`#888888`}">
|
||||
{{ v.purchaseQuantity }}
|
||||
</text>
|
||||
<text style="font-size: 26rpx;color: #888888;">
|
||||
{{ v.wlUnits}}
|
||||
</text>
|
||||
|
||||
</view>
|
||||
|
||||
</view>
|
||||
<view class="right-middle">
|
||||
|
||||
</view>
|
||||
<view class="juzhong">
|
||||
<view class="">
|
||||
<text style="color: #888888;">
|
||||
入库数量
|
||||
采购单价:
|
||||
</text>
|
||||
</view>
|
||||
<view class="">
|
||||
<text :style=" {fontWeight: v.rksl>0? `600` :`` }">
|
||||
{{v.rksl}}
|
||||
</text>
|
||||
<view class="juzhong-right">
|
||||
|
||||
¥{{v.arrivalPrice? Number(v.arrivalPrice).toFixed(2):Number(v.procurementPrice).toFixed(2) }}
|
||||
|
||||
</view>
|
||||
|
||||
</view>
|
||||
<view class="juzhong">
|
||||
<view class="">
|
||||
<text style="color: #888888;">
|
||||
挂账数量
|
||||
规格型号:
|
||||
</text>
|
||||
</view>
|
||||
<view class="">
|
||||
<text :style=" {fontWeight: v.wrksl>0? `600` :`` }">
|
||||
{{v.wrksl}}
|
||||
</text>
|
||||
<view class="juzhong-right">
|
||||
|
||||
{{v.wlSpecificationModel}}
|
||||
|
||||
</view>
|
||||
|
||||
</view>
|
||||
<view class="juzhong">
|
||||
<view class="">
|
||||
<text style="color: #888888;">
|
||||
销账数量
|
||||
采购数量:
|
||||
</text>
|
||||
</view>
|
||||
<view class="">
|
||||
<text :style=" {fontWeight: v.xzsl>0? `600` :`` }">
|
||||
{{v.xzsl}}
|
||||
</text>
|
||||
<view class="juzhong-right">
|
||||
|
||||
{{v.purchaseQuantity}}
|
||||
{{v.wlUnits}}
|
||||
|
||||
|
||||
</view>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
<view class="middle-right-end">
|
||||
<view class="right-end">
|
||||
<view class="end-num" :style=" {fontWeight: v.rksl>0? `600` :`` }">
|
||||
{{v.rksl}}
|
||||
</view>
|
||||
<view class="end-font" style="color: #888888;">
|
||||
入库数量
|
||||
</view>
|
||||
</view>
|
||||
<view class="right-end">
|
||||
<view class="end-num" :style=" {fontWeight: v.rksl>0? `600` :`` }">
|
||||
{{v.wrksl}}
|
||||
</view>
|
||||
<view class="end-font" style="color: #888888;">
|
||||
挂账数量
|
||||
</view>
|
||||
</view>
|
||||
<view class="right-end">
|
||||
<view class="end-num" :style=" {fontWeight: v.rksl>0? `600` :`` }">
|
||||
{{v.xzsl}}
|
||||
</view>
|
||||
<view class="end-font" style="color: #888888;">
|
||||
销账数量
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</view>
|
||||
<view class="contain-right-middle">
|
||||
<view style="display: flex;justify-content: space-between;">
|
||||
<view style="display: flex;">
|
||||
<view :class="!typechange? `wuliao-title`:`wuliao-title-no`" @click="typechange = 0">
|
||||
|
|
@ -766,25 +731,7 @@
|
|||
<view class="wuliao-heng"></view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- <view style="display: flex;margin-top: 10rpx;font-size: 30rpx;">
|
||||
<view :style="outerStyle" @click="opengaijiaclick">
|
||||
<view :style="segmentsWrapperStyle">
|
||||
<view v-for="(c, i) in segColors" :key="i" :style="{
|
||||
flex: 1,
|
||||
height: '100%',
|
||||
backgroundColor: c
|
||||
}" />
|
||||
</view>
|
||||
|
||||
<view :style="innerStyle">
|
||||
<text :style="textStyle">改价</text>
|
||||
</view>
|
||||
</view>
|
||||
<view @click="openjianhuoclick"
|
||||
:class="showvalue.jianhuobtn==false?`jianhuobutton-gray-bad`: `jianhuobutton-gray`">
|
||||
拣货
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
|
||||
<view style="width: 95%;height: 0.5rpx; background-color: #eff1f3;margin-left: 5%;"></view>
|
||||
|
|
@ -811,15 +758,7 @@
|
|||
<view class="title-left">
|
||||
{{showvalue.wlName}}
|
||||
</view>
|
||||
<!-- <view class="title-right">
|
||||
<text
|
||||
style="position: absolute;top: 8rpx;left: -35rpx;font-weight: 300;font-size: 28rpx;">
|
||||
¥
|
||||
</text>
|
||||
<view style="color: #555555;">
|
||||
{{Number(showvalue.totalPrice).toFixed(2) }}
|
||||
</view>
|
||||
</view> -->
|
||||
|
||||
</view>
|
||||
<view class="bottom-right-middle">
|
||||
<view class="middle-onecard">
|
||||
|
|
@ -983,7 +922,8 @@
|
|||
|
||||
</view>
|
||||
</view>
|
||||
<view style="width: 100%;justify-content: space-between;display: flex;margin-top: 10rpx;white-space: nowrap;">
|
||||
<view
|
||||
style="width: 100%;justify-content: space-between;display: flex;margin-top: 10rpx;white-space: nowrap;">
|
||||
<view class="" style="white-space: nowrap;">
|
||||
到货单价:
|
||||
<text style="font-weight: 600;color: #555555;white-space: nowrap;">
|
||||
|
|
@ -1075,13 +1015,13 @@
|
|||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
<tanchuang :show="badshow" font="确定要作废这个采购单吗" @back="badshow=false;" @right="zuofei"> </tanchuang>
|
||||
<tanchuang :show="open==1" font="是否删除此图片" @back="open = 0" @right="del()"> </tanchuang>
|
||||
<tanchuang :show="open==2" font="是否销账此物料?" @back="open = 0" @right="sctp(1)"> </tanchuang>
|
||||
<severcard></severcard>
|
||||
<severcard></severcard>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
|
|
@ -1318,7 +1258,7 @@
|
|||
}
|
||||
}
|
||||
)
|
||||
onMounted(()=>{
|
||||
onMounted(() => {
|
||||
firstgetqueryCgdList();
|
||||
getSelectList();
|
||||
transition.value = false;
|
||||
|
|
@ -1459,7 +1399,7 @@
|
|||
const lefttarget = ref(0);
|
||||
const clickLeftMenu = (index : any, item : any) => {
|
||||
let num = Math.ceil((index + 1))
|
||||
leftscrolltop.value = (num - 2) * 178;
|
||||
leftscrolltop.value = (num - 2) * 188.5;
|
||||
lefttarget.value = index;
|
||||
form.cgdId = plsbuy.value[index].id
|
||||
form.pageNo = 1
|
||||
|
|
@ -1528,7 +1468,7 @@
|
|||
middletarget.value = index;
|
||||
showvalue.value = InvoicingList.value[index];
|
||||
showvalue.value.jianhuobtn = false;
|
||||
Invoiscroll.value = (index - 2) * 172;
|
||||
Invoiscroll.value = (index - 2) * 212;
|
||||
if (Number(showvalue.value.status) == 0 || (Number(showvalue.value.status) > 0 && Number(showvalue.value.wrksl) > 0)) {
|
||||
showvalue.value.maxnum = (showvalue.value.rksl == 0 && showvalue.value.wrksl == 0 && showvalue.value.xzsl == 0) ? showvalue.value.purchaseQuantity : showvalue.value.wrksl
|
||||
showvalue.value.num = showvalue.value.maxnum;
|
||||
|
|
@ -2030,21 +1970,43 @@
|
|||
if (timer) clearInterval(timer);
|
||||
});
|
||||
const jiansuotarget = ref(false);
|
||||
const basePath = '/static/index/procurement/' // 图片公共路径
|
||||
const imgNormal = basePath + 'sh.png'
|
||||
const imgActive = basePath + 'shr.png'
|
||||
|
||||
const imgSrc = ref(imgNormal)
|
||||
const busy = ref(false) // 防止重复点击造成多个定时器
|
||||
|
||||
function handleClick () {
|
||||
if (busy.value) return
|
||||
busy.value = true
|
||||
|
||||
// 切换到 active 图
|
||||
imgSrc.value = imgActive
|
||||
|
||||
// 0.5 秒后复原
|
||||
setTimeout(() => {
|
||||
imgSrc.value = imgNormal
|
||||
busy.value = false
|
||||
}, 300)
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="less" scoped>
|
||||
.contain {
|
||||
background-color: rgb(239, 240, 244);
|
||||
width: 90vw;
|
||||
height: calc(100vh - 2vh);
|
||||
padding: 1vh 2vw 0 1vw;
|
||||
width: 92.7vw;
|
||||
height: calc(100vh - 3vw);
|
||||
padding: 0 2vw 0 1vw;
|
||||
display: flex;
|
||||
position: relative;
|
||||
|
||||
.contain-left {
|
||||
height: 95vh;
|
||||
width: 35%;
|
||||
width: 32%;
|
||||
position: relative;
|
||||
z-index: 99;
|
||||
// background-color: red;
|
||||
|
||||
.left-select-more {
|
||||
position: absolute;
|
||||
|
|
@ -2202,35 +2164,36 @@
|
|||
height: 6vh;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
position: relative;
|
||||
|
||||
.title-input {
|
||||
width: 60%;
|
||||
height: 5vh;
|
||||
background-color: #E2E4E9;
|
||||
font-size: 25rpx;
|
||||
padding-left: 40rpx;
|
||||
width: 68%;
|
||||
height: 5.1vh;
|
||||
background-color: #fff;
|
||||
font-size: 27.5rpx;
|
||||
padding-left: 26rpx;
|
||||
border-radius: 40rpx;
|
||||
padding-top: 2rpx;
|
||||
border: 2rpx solid #C9C9C9;
|
||||
}
|
||||
|
||||
.title-input-button {
|
||||
width: 20%;
|
||||
margin-left: 2%;
|
||||
height: 5vh;
|
||||
border-radius: 40rpx;
|
||||
font-size: 28rpx;
|
||||
.title-ball {
|
||||
width: 5.3vh;
|
||||
height: 5.3vh;
|
||||
border-radius: 50%;
|
||||
margin-left: 10rpx;
|
||||
background-color: #fff;
|
||||
border: 1rpx solid #D9DADC;
|
||||
color: #555555;
|
||||
border: 2rpx solid #D9DADC;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
box-shadow: 0 2rpx 6rpx rgba(0, 0, 0, 0.1);
|
||||
|
||||
.title-ball-img {
|
||||
width: 55%;
|
||||
height: 55%;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
.statues-father {
|
||||
|
|
@ -2277,9 +2240,12 @@
|
|||
}
|
||||
|
||||
.left-menu-father {
|
||||
// margin-top: 1.3vh;
|
||||
width: 100%;
|
||||
height: 88.6vh;
|
||||
margin-top: 10rpx;
|
||||
height: 90vh;
|
||||
max-width: 590rpx;
|
||||
min-width: 590rpx;
|
||||
// background-color: blue;
|
||||
// background-color: red;
|
||||
|
||||
.left-menu-scroll {
|
||||
height: 100%;
|
||||
|
|
@ -2287,23 +2253,24 @@
|
|||
|
||||
.pls-card {
|
||||
width: 100%;
|
||||
height: 25.3vh;
|
||||
border: #0f9fff 3rpx solid;
|
||||
height: 358rpx;
|
||||
border: transparent 3rpx solid;
|
||||
background-color: #fff;
|
||||
border-radius: 40rpx;
|
||||
margin-bottom: 2vh;
|
||||
margin-bottom: 18rpx;
|
||||
padding: 0 30rpx;
|
||||
position: relative;
|
||||
background-color: #fff;
|
||||
|
||||
.pls-card-title {
|
||||
height: 5.5vh;
|
||||
height: 5.6vh;
|
||||
width: 105%;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: flex-end;
|
||||
|
||||
.title-left {
|
||||
font-weight: 600;
|
||||
font-weight: 800;
|
||||
font-size: 32rpx;
|
||||
}
|
||||
|
||||
|
|
@ -2314,7 +2281,7 @@
|
|||
position: relative;
|
||||
|
||||
.title-right-big {
|
||||
font-weight: 600;
|
||||
font-weight: 800;
|
||||
font-size: 40rpx;
|
||||
margin-right: 35rpx;
|
||||
color: #555555;
|
||||
|
|
@ -2333,7 +2300,7 @@
|
|||
.pls-card-middle {
|
||||
width: 100%;
|
||||
height: 11vh;
|
||||
margin-top: 1.5vh;
|
||||
margin-top: 2vh;
|
||||
display: flex;
|
||||
position: relative;
|
||||
|
||||
|
|
@ -2408,9 +2375,10 @@
|
|||
|
||||
.pls-card-end {
|
||||
width: 100%;
|
||||
height: 7vh;
|
||||
height: 7.7vh;
|
||||
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
position: relative;
|
||||
|
||||
|
|
@ -2420,15 +2388,13 @@
|
|||
align-items: center;
|
||||
|
||||
.end-left-img {
|
||||
width: 30rpx;
|
||||
height: 30rpx;
|
||||
width: 37rpx;
|
||||
height: 37rpx;
|
||||
}
|
||||
|
||||
.end-left-font {
|
||||
margin-top: 3rpx;
|
||||
width: 400rpx;
|
||||
// background-color: #007CFF;
|
||||
// font-size: 26rpx;
|
||||
color: #666666;
|
||||
margin-left: 10rpx;
|
||||
overflow: hidden;
|
||||
|
|
@ -2473,20 +2439,21 @@
|
|||
|
||||
.contain-right {
|
||||
z-index: 1;
|
||||
height: 95vh;
|
||||
width: 60vw;
|
||||
margin-left: 3%;
|
||||
height: 100vh;
|
||||
width: 100vw;
|
||||
margin-left: 20rpx;
|
||||
overflow: hidden;
|
||||
|
||||
.contain-right-title {
|
||||
width: 100%;
|
||||
height: 80rpx;
|
||||
height: 110rpx;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
position: relative;
|
||||
|
||||
.contain-right-button {
|
||||
width: 7.3vw;
|
||||
width: 10vw;
|
||||
height: 3.3vw;
|
||||
background: #FFFFFF;
|
||||
border-radius: 1.65vw;
|
||||
|
|
@ -2540,61 +2507,61 @@
|
|||
|
||||
}
|
||||
|
||||
.contain-right-middle {
|
||||
width: 100%;
|
||||
height: 460rpx;
|
||||
margin-top: 20rpx;
|
||||
.middle-Y {
|
||||
width: 96%;
|
||||
height: 77%;
|
||||
margin-left: 2%;
|
||||
|
||||
.middle-Y {
|
||||
width: 98%;
|
||||
.middle-Y-father {
|
||||
display: flex;
|
||||
height: 100%;
|
||||
margin-left: 5%;
|
||||
// background-color: red;
|
||||
|
||||
.middle-Y-father {
|
||||
.middle-one {
|
||||
min-width: 400rpx;
|
||||
max-width: 400rpx;
|
||||
height: 100%;
|
||||
background-color: #F9F9F9;
|
||||
border-radius: 30rpx;
|
||||
margin-right: 24rpx;
|
||||
margin-bottom: 30rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
position: relative;
|
||||
border: 2rpx solid #c9c9c9;
|
||||
// justify-content: center;
|
||||
// justify-content: space-around;
|
||||
|
||||
.middle-one {
|
||||
min-width: 325rpx;
|
||||
height: 450rpx;
|
||||
background-color: #F9F9F9;
|
||||
border-radius: 30rpx;
|
||||
margin-right: 20rpx;
|
||||
margin-bottom: 30rpx;
|
||||
.middle-img {
|
||||
margin-top: 10rpx;
|
||||
width: 150rpx;
|
||||
height: 150rpx;
|
||||
}
|
||||
|
||||
.middle-right {
|
||||
width: 400rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
position: relative;
|
||||
// justify-content: space-around;
|
||||
|
||||
.middle-img {
|
||||
margin-top: 10rpx;
|
||||
width: 180rpx;
|
||||
height: 180rpx;
|
||||
.right-title {
|
||||
width: 100%;
|
||||
white-space: nowrap;
|
||||
/* 不换行 */
|
||||
overflow: hidden;
|
||||
/* 超出隐藏 */
|
||||
text-overflow: ellipsis;
|
||||
/* 显示省略号 */
|
||||
display: block;
|
||||
font-weight: 800;
|
||||
font-size: 30rpx;
|
||||
margin-bottom: 20rpx;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.middle-right {
|
||||
width: 250rpx;
|
||||
|
||||
.right-title {
|
||||
width: 100%;
|
||||
white-space: nowrap;
|
||||
/* 不换行 */
|
||||
overflow: hidden;
|
||||
/* 超出隐藏 */
|
||||
text-overflow: ellipsis;
|
||||
/* 显示省略号 */
|
||||
display: block;
|
||||
font-weight: 600;
|
||||
font-size: 30rpx;
|
||||
margin-bottom: 15rpx;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.right-middle {
|
||||
// margin-bottom: 7rpx;
|
||||
height: 15rpx;
|
||||
}
|
||||
.right-middle {
|
||||
// margin-bottom: 7rpx;
|
||||
height: 15rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -2608,8 +2575,8 @@
|
|||
height: 105vh;
|
||||
background-color: #fff;
|
||||
width: 62vw;
|
||||
top:-5vh;
|
||||
right:-3vw;
|
||||
top: -5vh;
|
||||
right: -3vw;
|
||||
}
|
||||
|
||||
.wuliao-title {
|
||||
|
|
@ -2625,7 +2592,7 @@
|
|||
.wuliao-heng {
|
||||
background-color: #1083F8;
|
||||
width: 40rpx;
|
||||
height: 5rpx;
|
||||
height: 10rpx;
|
||||
border-radius: 5rpx;
|
||||
margin-top: 10rpx;
|
||||
}
|
||||
|
|
@ -2690,6 +2657,7 @@
|
|||
.right-bottom-right {
|
||||
height: 100%;
|
||||
width: 70%;
|
||||
margin-left: 30rpx;
|
||||
|
||||
.bottom-right-title {
|
||||
width: 100%;
|
||||
|
|
@ -3078,17 +3046,37 @@
|
|||
}
|
||||
|
||||
.left-top-tags {
|
||||
position: absolute;
|
||||
top: -25rpx;
|
||||
left: 0rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-size: 34rpx;
|
||||
|
||||
.blue-shu {
|
||||
background-color: #1083F8;
|
||||
height: 32rpx;
|
||||
width: 12rpx;
|
||||
// margin: 0 20rpx;
|
||||
margin-left: 50rpx;
|
||||
margin-right: 23rpx;
|
||||
border-radius: 8rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.juzhong {
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
height: 40rpx;
|
||||
font-size: 25rpx;
|
||||
display: flex;
|
||||
width: 335rpx;
|
||||
color: black;
|
||||
|
||||
.juzhong-right {
|
||||
margin-left: 10rpx;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
width: 210rpx;
|
||||
height: 40rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.up-tags {
|
||||
|
|
@ -3163,7 +3151,7 @@
|
|||
}
|
||||
|
||||
.photowall {
|
||||
position: fixed;
|
||||
position: absolute;
|
||||
top: 54%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
|
|
@ -3239,7 +3227,7 @@
|
|||
}
|
||||
|
||||
.gray-button-jianpan:active {
|
||||
background: linear-gradient(to top, #00C9FF, #0076FF);
|
||||
background: #1083F8;
|
||||
color: #fff;
|
||||
font-size: 44rpx;
|
||||
font-weight: 700;
|
||||
|
|
@ -3316,19 +3304,20 @@
|
|||
|
||||
.calendar-father {
|
||||
position: fixed;
|
||||
top: 350rpx;
|
||||
left: 60rpx;
|
||||
top: 330rpx;
|
||||
left: 200rpx;
|
||||
width: 700rpx;
|
||||
height: 600rpx;
|
||||
background-color: #fff;
|
||||
// background-color: #fff;
|
||||
z-index: 999;
|
||||
// overflow: hidden;
|
||||
}
|
||||
|
||||
.input-next {
|
||||
position: fixed;
|
||||
bottom: 850rpx;
|
||||
left: 40rpx;
|
||||
width: 610rpx;
|
||||
bottom: 940rpx;
|
||||
left: 215rpx;
|
||||
width: 555rpx;
|
||||
// height: 300rpx;
|
||||
border-radius: 30rpx;
|
||||
z-index: 102;
|
||||
|
|
@ -3453,4 +3442,57 @@
|
|||
align-items: center;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.center {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.middle-right-end {
|
||||
width: 88%;
|
||||
height: 110rpx;
|
||||
display: flex;
|
||||
|
||||
.right-end {
|
||||
// background-color: red;
|
||||
width: 33%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
.end-num {
|
||||
font-size: 32rpx;
|
||||
margin-bottom: 5rpx;
|
||||
}
|
||||
|
||||
.end-font {
|
||||
font-size: 24rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.contain-right-father {
|
||||
background-color: #fff;
|
||||
width: 1305rpx;
|
||||
height: 600rpx;
|
||||
border-radius: 30rpx;
|
||||
}
|
||||
|
||||
.contain-right-middle {
|
||||
width: 100%;
|
||||
height: 675rpx;
|
||||
margin-top: 20rpx;
|
||||
background-color: #fff;
|
||||
border-radius: 30rpx;
|
||||
}
|
||||
// .title-ball:active {
|
||||
// background: linear-gradient(to top, #1083F8, #1083F8);
|
||||
// color: #fff;
|
||||
// font-size: 44rpx;
|
||||
// font-weight: 700;
|
||||
// border: 1rpx solid #00C9FF;
|
||||
// }
|
||||
</style>
|
||||
|
|
@ -4,7 +4,7 @@
|
|||
<view class="title-card">
|
||||
<view class="card-top">
|
||||
<view class="card-top-left">
|
||||
{{hldyobj.cklFinishedTotal}}
|
||||
{{hldyobj?.cklFinishedTotal}}
|
||||
</view>
|
||||
<view class="card-top-right">
|
||||
<image class="right-img" src="/static/index/card/arrow.png" />
|
||||
|
|
@ -13,7 +13,7 @@
|
|||
<view class="line">
|
||||
</view>
|
||||
<view class="line-gray">
|
||||
{{hldyobj.cklTotal}}
|
||||
{{hldyobj?.cklTotal}}
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
|
|
|||
|
|
@ -211,7 +211,7 @@
|
|||
position: relative;
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
background-color: #eff0f4;
|
||||
background-color: #f4f4f4;
|
||||
overflow: hidden;
|
||||
z-index: 12;
|
||||
}
|
||||
|
|
@ -226,7 +226,7 @@
|
|||
width: calc(100vw - 8.2vw);
|
||||
background: RGBA(239, 240, 244, 1);
|
||||
display: flex;
|
||||
padding-left: 1vw;
|
||||
padding-top: 1.5vw;
|
||||
// padding-left: 1vw;
|
||||
padding-top: 0.8vw;
|
||||
}
|
||||
</style>
|
||||
|
|
@ -154,7 +154,7 @@
|
|||
onShow(() => {
|
||||
setTimeout(() => {
|
||||
playall.value = true;
|
||||
}, 200)
|
||||
}, 400)
|
||||
|
||||
zyupgrade.value?.check_update();
|
||||
// console.log("zzzzzzzzzzzzzzzzzzzzzzzzzzzz")
|
||||
|
|
|
|||
|
|
@ -424,7 +424,7 @@
|
|||
position: fixed;
|
||||
top:5vh;
|
||||
right: 24.5vw;
|
||||
z-index: 103;
|
||||
z-index: 150;
|
||||
padding: 2vw;
|
||||
}
|
||||
.titletop{
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<view class="plsbuy-contain guodu" :class="show?'':'unclass'" :style="showbox?'z-index:220':'z-index:-2'">
|
||||
<view class="plsbuy-contain guodu" :class="show?'':'unclass'" :style="showbox?'z-index:999':'z-index:-2'">
|
||||
<view class="gys">
|
||||
<view class="tlt">供应商</view>
|
||||
<view class="gssel" @click="gysflag = true">
|
||||
|
|
@ -195,6 +195,7 @@
|
|||
let n = [];
|
||||
let id = [];
|
||||
gysarr.value = [];
|
||||
console.log("为啥报错",props.caigouobj)
|
||||
n = props.caigouobj.suppliers_dictText.split(/[, ]+/);
|
||||
id = props.caigouobj.suppliers.split(/[, ]+/);
|
||||
n.forEach((item,i)=>{
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
<view>
|
||||
<view>{{v.materialName}}</view>
|
||||
</view>
|
||||
<view style="margin-top: 1.2vw;">
|
||||
<view style="margin-top: 1vw;">
|
||||
<text style="white-space: nowrap;"> 物料编码: {{v.materialNo}}</text>
|
||||
</view>
|
||||
<view>
|
||||
|
|
@ -172,7 +172,7 @@
|
|||
<style scoped lang="less">
|
||||
.crdcroll {
|
||||
width: 90vw;
|
||||
height: 70.3vh;
|
||||
height: 64.5vh;
|
||||
|
||||
.box {
|
||||
width: 90vw;
|
||||
|
|
@ -181,13 +181,15 @@
|
|||
}
|
||||
.fler {
|
||||
width: 44vw;
|
||||
height: 22.3vw;
|
||||
height: 20.5vw;
|
||||
// background-color: red;
|
||||
// border: 1rpx solid red;
|
||||
}
|
||||
}
|
||||
|
||||
.carditem {
|
||||
width: 44vw;
|
||||
height: 21.2vw;
|
||||
height: 19.5vw;
|
||||
background: rgba(255, 255, 255, 1);
|
||||
border-radius: 1.6vw;
|
||||
position: relative;
|
||||
|
|
@ -333,7 +335,7 @@
|
|||
height: 3.4vw;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-top: 0.5vw;
|
||||
margin-top: 0vw;
|
||||
>view {
|
||||
width: 33.3%;
|
||||
height: 100%;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
<template>
|
||||
<view class="guodu" :style="!transition?'opacity: 0':'opacity: 1'" style="transition: opacity 1s ease;">
|
||||
<view class="guodu" :style="!transition?'opacity: 0':'opacity: 1'"
|
||||
style="transition: opacity 1s ease;margin-left: 1vw;">
|
||||
<view class="serchs guodu" :style="tx?'':'width:90vw'">
|
||||
<view class="ipt">
|
||||
<input type="text" placeholder="物料名称/物料编码/物料简拼" v-model="form.wlParamInfo" @confirm="search" />
|
||||
|
|
@ -12,7 +13,8 @@
|
|||
检索
|
||||
</view>
|
||||
<view class="shx guodu" @click="ification=true">
|
||||
<image src="/static/index/procurement/sx.png" mode="aspectFill"></image>
|
||||
<image src="/static/index/purchaseorder/select.png" mode="aspectFill" class="sh"></image>
|
||||
<image src="/static/index/purchaseorder/selecttarget.png" mode="aspectFill" class="shr"></image>
|
||||
筛选
|
||||
</view>
|
||||
<view class="shx guodu" @click="chongzhi"
|
||||
|
|
@ -25,7 +27,49 @@
|
|||
返回
|
||||
</view> -->
|
||||
</view>
|
||||
<view class="kcyj">
|
||||
<view class="warhouse-warning" @click="backmoreopen=false">
|
||||
<view class="warning-title">
|
||||
<view class="title-left">
|
||||
<view class="blue-shu"></view>
|
||||
<view class="blue-font">
|
||||
库存预警
|
||||
</view>
|
||||
</view>
|
||||
<view class="more-view">
|
||||
<image src="/static/backmore.png" mode="aspectFill" class="more"
|
||||
@click.stop="backmoreopen=!backmoreopen"></image>
|
||||
<view class="more-view-button" @click.stop v-show="backmoreopen">
|
||||
|
||||
<view class="more-whitebutton" @click="moredex=1;Invenshow=true;backmoreopen=false">
|
||||
查看全部
|
||||
</view>
|
||||
<view class="more-bluebutton" @click="moredex=2;backmoreopen=false">
|
||||
添加全部
|
||||
</view>
|
||||
|
||||
<view class="triangle">
|
||||
<view class="triangle-small"></view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="warning-other">
|
||||
<scroll-view scroll-x="true" class="kcscrol guodu" scroll-with-animation
|
||||
@scrolltolower="scrolltolower(1)">
|
||||
<view class="yjbox" v-for="(v,i) in Material" :key="i" @click="clickaddcar(v,i)">
|
||||
<image :src="v.materialImg?serverUrl+v.materialImg:'/static/index/procurement/k.png'"
|
||||
mode="aspectFill"></image>
|
||||
<view>{{v.materialName}}</view>
|
||||
<text class="ytj" v-if="v.isAdd==1">已添加</text>
|
||||
<text class="sl">{{v.ljkcsl}}</text>
|
||||
</view>
|
||||
<defaultr cont="暂无数据" v-if="Material.length==0&&timeout"
|
||||
style="position: absolute;width: 10vw;height: 10vw;left: 10%;"></defaultr>
|
||||
|
||||
</scroll-view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- <view class="kcyj">
|
||||
<view class="kjlt" >
|
||||
库存预警
|
||||
</view>
|
||||
|
|
@ -55,7 +99,7 @@
|
|||
</view>
|
||||
|
||||
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="listcard">
|
||||
<carditem :InvoicingList="InvoicingList" @addcartory="addcartory" @scrolltolower="scrolltolower"
|
||||
:status="status" @crk="crk"></carditem>
|
||||
|
|
@ -83,24 +127,24 @@
|
|||
<!-- more -->
|
||||
<view class="mengban" v-if="Invenshow" @click="Invenshow = false;moredex=0"></view>
|
||||
<Inventory @addcartory="addcartory" :show="Invenshow" :InvoicingList="Material" :status="statustory"
|
||||
@tolower="scrolltolower(1)" @crk="crk"></Inventory>
|
||||
@tolower="scrolltolower(1)" @crk="crk"></Inventory>
|
||||
|
||||
<view class="mengban" v-if="detailsshow" @click="detailsshow = false"></view>
|
||||
<detail :InvoicingList="[caigouobj]" @addcartory="addcartory" :show="detailsshow" @crk="crk"></detail>
|
||||
<detail :InvoicingList="[caigouobj]" @addcartory="addcartory" :show="detailsshow" @crk="crk"></detail>
|
||||
|
||||
<view class="mengban" v-if="crkflag" @click="crkflag = false"></view>
|
||||
<inboundoutbound :show="crkflag" :wl="crkobj"></inboundoutbound>
|
||||
|
||||
<view class="mengban" v-if="moredex==2" @click="moredex=0"></view>
|
||||
<addall :show="moredex==2" @back="moredex=0" @config="config"></addall>
|
||||
<errorshow :show="openerror" :font="errmsg" @close="openerror=false" />
|
||||
<errorshow :show="openerror" :font="errmsg" @close="openerror=false" />
|
||||
<severcard></severcard>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { ref, onMounted, reactive, onBeforeUnmount, computed, nextTick, defineComponent, inject ,watch} from 'vue';
|
||||
import { queryInvoicingList, queryWlInfoByWlId, addShoppingCartList, queryShoppingCartList,queryCgdWaringList,queryCrkInfoNumList } from './api/lunpan.js'
|
||||
import { ref, onMounted, reactive, onBeforeUnmount, computed, nextTick, defineComponent, inject, watch } from 'vue';
|
||||
import { queryInvoicingList, queryWlInfoByWlId, addShoppingCartList, queryShoppingCartList, queryCgdWaringList, queryCrkInfoNumList } from './api/lunpan.js'
|
||||
import { onShow, onLoad, onHide, onPageScroll } from "@dcloudio/uni-app"
|
||||
import calculator from './components/calculator.vue'
|
||||
import classification from './components/classification.vue'
|
||||
|
|
@ -112,6 +156,9 @@
|
|||
import defaultr from './components/default.vue'
|
||||
const tx = ref(false)
|
||||
|
||||
|
||||
const backmoreopen = ref(false)
|
||||
|
||||
const qb = ref(false)
|
||||
const addflag = ref(false)
|
||||
const ification = ref(false)
|
||||
|
|
@ -190,18 +237,18 @@
|
|||
nextTick(() => {
|
||||
chongzhi()
|
||||
})
|
||||
setTimeout(()=>{
|
||||
setTimeout(() => {
|
||||
timeout.value = true
|
||||
},500)
|
||||
transition.value = false;
|
||||
setTimeout(() => {
|
||||
transition.value = true;
|
||||
}, 50)
|
||||
} else {
|
||||
transition.value = false;
|
||||
}
|
||||
}, 500)
|
||||
transition.value = false;
|
||||
setTimeout(() => {
|
||||
transition.value = true;
|
||||
}, 50)
|
||||
} else {
|
||||
transition.value = false;
|
||||
}
|
||||
}
|
||||
)
|
||||
)
|
||||
const transition = ref(false)
|
||||
const Material = ref([])
|
||||
|
||||
|
|
@ -231,48 +278,48 @@
|
|||
const ts = (e) => {
|
||||
startX.value = e.touches[0].clientX
|
||||
}
|
||||
const savescrollleft = ref(0)
|
||||
// 监听用户滚动
|
||||
function onScroll(e : any) {
|
||||
savescrollleft.value = e?.detail?.scrollLeft ?? 0
|
||||
}
|
||||
const scrollleft = ref(0)
|
||||
const canmove = (e : any) => {
|
||||
const moveX = e.touches[0].clientX
|
||||
const diff = moveX - startX.value
|
||||
// diff 为负值就是向左滑
|
||||
if (diff < -60 && !qb.value) { // 👉 60px 阈值,随便改
|
||||
qb.value = !qb.value;
|
||||
moredex.value = 0;
|
||||
// 这么写是解决这个组件的响应丢失的bug
|
||||
scrollleft.value = savescrollleft.value + 95.99
|
||||
setTimeout(() => {
|
||||
scrollleft.value = savescrollleft.value + 96
|
||||
}, 50)
|
||||
}
|
||||
if (diff > 60 && qb.value) { // 👉 60px 阈值,随便改
|
||||
qb.value = !qb.value;
|
||||
moredex.value = 0;
|
||||
scrollleft.value = savescrollleft.value - 95.99
|
||||
setTimeout(() => {
|
||||
scrollleft.value = savescrollleft.value - 96
|
||||
}, 50)
|
||||
}
|
||||
}
|
||||
// const savescrollleft = ref(0)
|
||||
// // 监听用户滚动
|
||||
// function onScroll(e : any) {
|
||||
// savescrollleft.value = e?.detail?.scrollLeft ?? 0
|
||||
// }
|
||||
// const scrollleft = ref(0)
|
||||
// const canmove = (e : any) => {
|
||||
// const moveX = e.touches[0].clientX
|
||||
// const diff = moveX - startX.value
|
||||
// // diff 为负值就是向左滑
|
||||
// if (diff < -60 && !qb.value) { // 👉 60px 阈值,随便改
|
||||
// qb.value = !qb.value;
|
||||
// moredex.value = 0;
|
||||
// // 这么写是解决这个组件的响应丢失的bug
|
||||
// scrollleft.value = savescrollleft.value + 95.99
|
||||
// setTimeout(() => {
|
||||
// scrollleft.value = savescrollleft.value + 96
|
||||
// }, 50)
|
||||
// }
|
||||
// if (diff > 60 && qb.value) { // 👉 60px 阈值,随便改
|
||||
// qb.value = !qb.value;
|
||||
// moredex.value = 0;
|
||||
// scrollleft.value = savescrollleft.value - 95.99
|
||||
// setTimeout(() => {
|
||||
// scrollleft.value = savescrollleft.value - 96
|
||||
// }, 50)
|
||||
// }
|
||||
// }
|
||||
|
||||
const moveleft = () => {
|
||||
if (qb.value) {
|
||||
scrollleft.value = savescrollleft.value + 95
|
||||
setTimeout(() => {
|
||||
scrollleft.value = savescrollleft.value + 96
|
||||
}, 50)
|
||||
} else {
|
||||
scrollleft.value = savescrollleft.value - 95
|
||||
setTimeout(() => {
|
||||
scrollleft.value = savescrollleft.value - 96
|
||||
}, 50)
|
||||
}
|
||||
}
|
||||
// const moveleft = () => {
|
||||
// if (qb.value) {
|
||||
// scrollleft.value = savescrollleft.value + 95
|
||||
// setTimeout(() => {
|
||||
// scrollleft.value = savescrollleft.value + 96
|
||||
// }, 50)
|
||||
// } else {
|
||||
// scrollleft.value = savescrollleft.value - 95
|
||||
// setTimeout(() => {
|
||||
// scrollleft.value = savescrollleft.value - 96
|
||||
// }, 50)
|
||||
// }
|
||||
// }
|
||||
|
||||
const carnum = ref(0)
|
||||
const shoppcar = () => {
|
||||
|
|
@ -329,7 +376,7 @@
|
|||
form.suppliers = '';
|
||||
form.pageNo = 1;
|
||||
form.wlParamInfo = '',
|
||||
InvoicingList.value = [];
|
||||
InvoicingList.value = [];
|
||||
classication.value.typescroll(1, -1, {});
|
||||
classication.value.qingkong();
|
||||
classication.value.config();
|
||||
|
|
@ -354,6 +401,12 @@
|
|||
}
|
||||
const addcartory = (e : any) => {
|
||||
// e把index覆盖了导致index永远是0
|
||||
|
||||
if(e.suppliers_dictText || e.suppliers){
|
||||
openerror.value = true;
|
||||
errmsg.value = `此物料暂无供应商,请联系管理员`
|
||||
return
|
||||
}
|
||||
let index = caigouobj.value.index
|
||||
caigouobj.value = e;
|
||||
caigouobj.value.index = index
|
||||
|
|
@ -367,10 +420,10 @@
|
|||
}
|
||||
const adfangdou = ref(true)
|
||||
const right = (n : number, nm : any, type : Object) => {
|
||||
if(adfangdou.value){
|
||||
addflag.value = false;
|
||||
connfig(nm, n, type)
|
||||
}
|
||||
if (adfangdou.value) {
|
||||
addflag.value = false;
|
||||
connfig(nm, n, type)
|
||||
}
|
||||
}
|
||||
const timers = ref(true)
|
||||
const connfig = (nm : any, num : Number, type : Object) => {
|
||||
|
|
@ -383,7 +436,7 @@
|
|||
return
|
||||
}
|
||||
timers.value = false;
|
||||
|
||||
|
||||
let dt = {
|
||||
nuId: form.nuId,
|
||||
purchaseQuantity: num,
|
||||
|
|
@ -396,12 +449,12 @@
|
|||
dhbl: type.num
|
||||
}
|
||||
addShoppingCartList([dt]).then(res => {
|
||||
if(res.success){
|
||||
if (res.success) {
|
||||
uni.showToast({
|
||||
icon:res.success?'success':'none',
|
||||
title:res.message
|
||||
icon: res.success ? 'success' : 'none',
|
||||
title: res.message
|
||||
})
|
||||
}else{
|
||||
} else {
|
||||
errmsg.value = res.result?.message ? res.result?.message : res.message
|
||||
openerror.value = true;
|
||||
adfangdou.value = true;
|
||||
|
|
@ -417,8 +470,8 @@
|
|||
Material.value = [];
|
||||
getWaringMaterial();
|
||||
if (caigouobj.value.yj) {
|
||||
InvoicingList.value.forEach((element:any)=>{
|
||||
if(element.id===caigouobj.value.id){
|
||||
InvoicingList.value.forEach((element : any) => {
|
||||
if (element.id === caigouobj.value.id) {
|
||||
element.isAdd = '1'
|
||||
}
|
||||
})
|
||||
|
|
@ -469,7 +522,7 @@
|
|||
crkobj.value = v;
|
||||
crkflag.value = true
|
||||
}
|
||||
const gwcsx=()=>{
|
||||
const gwcsx = () => {
|
||||
form.pageNo = 1;
|
||||
warn.pageNo = 1;
|
||||
Material.value = [];
|
||||
|
|
@ -486,7 +539,7 @@
|
|||
})
|
||||
</script>
|
||||
|
||||
<style scoped lang="less">
|
||||
<style scoped lang="less">
|
||||
.fiedright {
|
||||
width: 5vw;
|
||||
height: 12vw;
|
||||
|
|
@ -497,8 +550,8 @@
|
|||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
|
||||
.fiedrightview{
|
||||
|
||||
.fiedrightview {
|
||||
width: 5vw;
|
||||
height: 5vw;
|
||||
background: rgba(255, 255, 255, 0.86);
|
||||
|
|
@ -508,7 +561,7 @@
|
|||
justify-content: center;
|
||||
align-items: center;
|
||||
position: relative;
|
||||
|
||||
|
||||
text {
|
||||
min-width: 1.8vw;
|
||||
height: 1.8vw;
|
||||
|
|
@ -525,19 +578,19 @@
|
|||
top: -0.8vw;
|
||||
right: -0.8vw;
|
||||
}
|
||||
|
||||
|
||||
image {
|
||||
width: 3.3vw;
|
||||
height: 3.3vw;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
.listcard {
|
||||
width: 90vw;
|
||||
height: 70.3vh;
|
||||
margin-top: 1vw;
|
||||
margin-top: 0.9vw;
|
||||
|
||||
.crdcroll {
|
||||
width: 100%;
|
||||
|
|
@ -755,7 +808,7 @@
|
|||
letter-spacing: 6px;
|
||||
padding-top: 2vw;
|
||||
z-index: 5;
|
||||
|
||||
|
||||
|
||||
image {
|
||||
width: 1.6vw;
|
||||
|
|
@ -786,74 +839,79 @@
|
|||
width: 46.4vw !important;
|
||||
}
|
||||
|
||||
.kcscrol {
|
||||
width: 54.4vw;
|
||||
height: 10.9vw;
|
||||
white-space: nowrap;
|
||||
margin-left: 0.6vw;
|
||||
|
||||
}
|
||||
|
||||
.kcscrol {
|
||||
width: 87.5vw;
|
||||
height: 10.9vw;
|
||||
white-space: nowrap;
|
||||
margin-left: 18rpx;
|
||||
position: relative;
|
||||
z-index: 99;
|
||||
|
||||
.yjbox {
|
||||
display: inline-block;
|
||||
width: 296rpx;
|
||||
height: 10.7vw;
|
||||
background: #F9F9F9;
|
||||
border-radius: 1.3vw;
|
||||
margin-right: 18rpx;
|
||||
|
||||
position: relative;
|
||||
z-index: 99;
|
||||
|
||||
.yjbox {
|
||||
display: inline-block;
|
||||
width: 14vw;
|
||||
height: 10.9vw;
|
||||
background: rgba(255, 255, 255, 1);
|
||||
border-radius: 1.1vw;
|
||||
margin-right: 0.6vw;
|
||||
position: relative;
|
||||
.sl {
|
||||
min-width: 1.5vw;
|
||||
height: 1.8vw;
|
||||
background: #E3EEF7;
|
||||
border-radius: 0.9vw;
|
||||
border: 1px solid rgba(3, 133, 250, 0.34);
|
||||
font-weight: 400;
|
||||
font-size: 1.1vw;
|
||||
color: #1083F8;
|
||||
text-align: center;
|
||||
line-height: 1.75vw;
|
||||
position: absolute;
|
||||
padding: 0 1.6vw;
|
||||
top: 0.8vw;
|
||||
left: 0.8vw;
|
||||
}
|
||||
.ytj {
|
||||
width: 4.5vw;
|
||||
height: 1.8vw;
|
||||
background: #E3EEF7;
|
||||
border-radius: 0.9vw;
|
||||
border: 1px solid rgba(3, 133, 250, 0.34);
|
||||
font-weight: 400;
|
||||
font-size: 1.1vw;
|
||||
color: #1083F8;
|
||||
text-align: center;
|
||||
line-height: 1.75vw;
|
||||
position: absolute;
|
||||
top: 0.8vw;
|
||||
right: 0.8vw;
|
||||
}
|
||||
.sl {
|
||||
min-width: 1.2vw;
|
||||
height: 1.8vw;
|
||||
background: #E3EEF7;
|
||||
border-radius: 0.9vw;
|
||||
border: 1px solid rgba(3, 133, 250, 0.34);
|
||||
font-weight: 400;
|
||||
font-size: 1.1vw;
|
||||
color: #1083F8;
|
||||
text-align: center;
|
||||
line-height: 1.75vw;
|
||||
position: absolute;
|
||||
padding: 0 1.6vw;
|
||||
top: 0.8vw;
|
||||
left: 0.8vw;
|
||||
}
|
||||
|
||||
image {
|
||||
width: 7vw;
|
||||
height: 7vw;
|
||||
margin: 0.5vw auto 0.5vw;
|
||||
display: block;
|
||||
border-radius: 0.7vw;
|
||||
}
|
||||
.ytj {
|
||||
width: 4.5vw;
|
||||
height: 1.8vw;
|
||||
background: #E3EEF7;
|
||||
border-radius: 0.9vw;
|
||||
border: 1px solid rgba(3, 133, 250, 0.34);
|
||||
font-weight: 400;
|
||||
font-size: 1.1vw;
|
||||
color: #1083F8;
|
||||
text-align: center;
|
||||
line-height: 1.75vw;
|
||||
position: absolute;
|
||||
top: 0.8vw;
|
||||
right: 0.8vw;
|
||||
}
|
||||
|
||||
>view {
|
||||
width: 100%;
|
||||
height: 1.4vw;
|
||||
font-weight: 400;
|
||||
font-size: 1.3vw;
|
||||
color: #212327;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
padding: 0 1vw;
|
||||
text-align: center;
|
||||
}
|
||||
image {
|
||||
width: 7vw;
|
||||
height: 7vw;
|
||||
margin: 0.5vw auto 0.5vw;
|
||||
display: block;
|
||||
border-radius: 0.7vw;
|
||||
}
|
||||
|
||||
>view {
|
||||
width: 100%;
|
||||
height: 1.4vw;
|
||||
font-weight: 400;
|
||||
font-size: 1.3vw;
|
||||
color: #212327;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
padding: 0 1vw;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -870,7 +928,7 @@
|
|||
.ipt {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
width: 24.2vw;
|
||||
width: 28vw;
|
||||
border-radius: 1.65vw;
|
||||
height: 3.3vw;
|
||||
background: #FFFFFF;
|
||||
|
|
@ -931,7 +989,7 @@
|
|||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
width: 7.3vw;
|
||||
width: 8.5vw;
|
||||
height: 3.3vw;
|
||||
margin: 0 0 0 0.7vw;
|
||||
background: rgba(255, 255, 255, 1);
|
||||
|
|
@ -939,8 +997,8 @@
|
|||
color: #555555;
|
||||
|
||||
image {
|
||||
width: 1.5vw;
|
||||
height: 1.3vw;
|
||||
width: 1.6vw;
|
||||
height: 1.6vw;
|
||||
margin: 0 0.5vw 0 0;
|
||||
}
|
||||
}
|
||||
|
|
@ -953,12 +1011,20 @@
|
|||
display: none;
|
||||
}
|
||||
|
||||
.shx:active .shr {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.shx:active .sh {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.scr:active .shr {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.shx {
|
||||
width: 7.3vw;
|
||||
width: 8.5vw;
|
||||
height: 3.3vw;
|
||||
background: #FFFFFF;
|
||||
border-radius: 1.65vw;
|
||||
|
|
@ -973,8 +1039,8 @@
|
|||
color: #555555;
|
||||
|
||||
image {
|
||||
width: 1.5vw;
|
||||
height: 1.3vw;
|
||||
width: 1.6vw;
|
||||
height: 1.6vw;
|
||||
margin: 0 0.5vw 0 0;
|
||||
}
|
||||
}
|
||||
|
|
@ -995,6 +1061,7 @@
|
|||
z-index: 100;
|
||||
background: RGBA(239, 240, 244, 0.55);
|
||||
}
|
||||
|
||||
.mhao {
|
||||
position: absolute;
|
||||
top: -0.2vw;
|
||||
|
|
@ -1012,9 +1079,129 @@
|
|||
background: transparent;
|
||||
writing-mode: horizontal-tb;
|
||||
overflow: hidden;
|
||||
.mhao-font{
|
||||
|
||||
.mhao-font {
|
||||
font-size: 25rpx;
|
||||
letter-spacing: -0.05em; /* 负值 = 字符之间更近 */
|
||||
letter-spacing: -0.05em;
|
||||
/* 负值 = 字符之间更近 */
|
||||
}
|
||||
}
|
||||
|
||||
.warhouse-warning {
|
||||
margin-top: 12rpx;
|
||||
margin-left: 5rpx;
|
||||
width: 99%;
|
||||
height: 330rpx;
|
||||
background-color: #fff;
|
||||
border-radius: 35rpx;
|
||||
|
||||
.warning-title {
|
||||
width: 100%;
|
||||
height: 80rpx;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
|
||||
.title-left {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
.blue-shu {
|
||||
background-color: #0089FE;
|
||||
width: 8.5rpx;
|
||||
height: 25rpx;
|
||||
border-radius: 8rpx;
|
||||
margin-left: 32rpx;
|
||||
margin-right: 16rpx;
|
||||
}
|
||||
|
||||
.blue-font {
|
||||
font-size: 30.2rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.more-view {
|
||||
width: 35rpx;
|
||||
height: 35rpx;
|
||||
margin-right: 60rpx;
|
||||
position: relative;
|
||||
|
||||
.more {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.more-view-button {
|
||||
position: absolute;
|
||||
top: 40rpx;
|
||||
left: -125rpx;
|
||||
width: 200rpx;
|
||||
height: 200rpx;
|
||||
background-color: #fff;
|
||||
border-radius: 30rpx;
|
||||
z-index: 100;
|
||||
border: 2rpx #E5E5E5 solid;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
|
||||
.more-whitebutton {
|
||||
width: 74%;
|
||||
height: 50rpx;
|
||||
border-radius: 10rpx;
|
||||
color: #ababab;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
font-size: 26rpx;
|
||||
border: 2rpx solid #BFBFBF;
|
||||
margin-bottom: 15rpx;
|
||||
}
|
||||
|
||||
.more-bluebutton {
|
||||
width: 74%;
|
||||
height: 50rpx;
|
||||
border-radius: 10rpx;
|
||||
color: #fff;
|
||||
background-color: #57A8FA;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
font-size: 26rpx;
|
||||
border: 2rpx solid #57A8FA;
|
||||
}
|
||||
|
||||
.triangle {
|
||||
position: absolute;
|
||||
top: -8.34rpx;
|
||||
right: 43rpx;
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-left: 14.44rpx solid transparent;
|
||||
border-right: 14.44rpx solid transparent;
|
||||
border-bottom: 8.34rpx solid #E5E5E5;
|
||||
|
||||
.triangle-small {
|
||||
position: absolute;
|
||||
top: 1.2rpx;
|
||||
right: 50%;
|
||||
transform: translateX(50%);
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-left: 14.44rpx solid transparent;
|
||||
border-right: 14.44rpx solid transparent;
|
||||
border-bottom: 8.34rpx solid #fff;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.warning-other {
|
||||
width: 100%;
|
||||
height: 250rpx;
|
||||
// background-color: red;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
|
@ -1,25 +1,14 @@
|
|||
<template>
|
||||
<view class="all-bgc guodu" :style="!transition?'opacity: 0':'opacity: 1'" style="transition: opacity 1s ease;">
|
||||
<view class="all-bgc guodu" :style="!transition?'opacity: 0':'opacity: 1'" style="transition: opacity 1s ease;">
|
||||
<view class="buttons-father">
|
||||
<view class="ipt">
|
||||
<input type="text" v-model="plzinfo.searchContent" placeholder="请领单号/请领人/请领日期"
|
||||
@confirm="clickconfirm" />
|
||||
<input class="title-input" type="text" v-model="plzinfo.searchContent" placeholder="请领单号/请领人/请领日期"
|
||||
@confirm="clickconfirm" />
|
||||
<view class="title-ball" @click="clickconfirm();handleClick()">
|
||||
<image class="title-ball-img" :src="imgSrc" mode="aspectFill"></image>
|
||||
</view>
|
||||
<view class="scr" @click="clickconfirm">
|
||||
检索
|
||||
<view class="title-ball" @click="chongzhi();handleClick1()">
|
||||
<image class="title-ball-img" :src="imgSrc1" mode="aspectFill"></image>
|
||||
</view>
|
||||
<view class="shx" @click="chongzhi">
|
||||
<image src="/static/index/requestform/chongzhi.png" mode="aspectFill"></image>
|
||||
<view class="shx-font">
|
||||
重置
|
||||
</view>
|
||||
</view>
|
||||
<!-- <view class="right-button" @click="badshow=true" v-show="plsbuy[lefttarget]?.status==`1`">
|
||||
<image src="/static/index/warehouse/procurement/picking/bebad.png" />
|
||||
<view>
|
||||
作废
|
||||
</view>
|
||||
</view> -->
|
||||
|
||||
<view class="right-buttons">
|
||||
<view :class="manyselect?`right-button-blue`:`right-button-white`" @click="startselect()"
|
||||
|
|
@ -35,18 +24,11 @@
|
|||
回退
|
||||
</view>
|
||||
</view>
|
||||
<!-- <view class="contain-right-button" @click="goback">
|
||||
<image class="buttont-img" style="margin-top: 4rpx;" src="/static/index/purchaseorder/back.png" />
|
||||
<view class="button-font">
|
||||
返回
|
||||
</view>
|
||||
</view> -->
|
||||
</view>
|
||||
<view class="mengban" style="background: #fff;width:100vw;right:0;left: 0vw;top:-5vw;height: 110vh;" v-if="nomessageshow">
|
||||
<view class="mengban" style="background: #fff;width:100vw;right:0;left: 0vw;top:-5vw;height: 110vh;"
|
||||
v-if="nomessageshow">
|
||||
<defaultr cont="暂无数据" style="z-index: 999;margin: auto;top: 0;left:35vw;bottom: 0;right: 0;"></defaultr>
|
||||
</view>
|
||||
<!-- <nomessage cont="暂无数据" :show="nomessageshow" />
|
||||
<view class="zhedang" v-if="nomessageshow"></view> -->
|
||||
</view>
|
||||
<tanchuang :show="badshow" font="确定要回退这个请领单吗" @back="badshow=false;" @right="huitui"> </tanchuang>
|
||||
<tanchuang :show="chukushow" font="确定要出库吗" @back="chukushow=false;" @right="chukuclick"> </tanchuang>
|
||||
|
|
@ -63,11 +45,18 @@
|
|||
</view>
|
||||
<scroll-view scroll-y="true" scroll-with-animation class="left-menu-scroll" :scroll-top="leftscrolltop"
|
||||
@scrolltolower="plsbuytolower" :lower-threshold="200">
|
||||
<view style="height: 1%;"></view>
|
||||
<!-- <view style="height: 1%;"></view> -->
|
||||
|
||||
<view class="haventmessage" v-if="shownomessage">
|
||||
<view class="que">
|
||||
<image src="/static/index/procurement/que.png" mode="aspectFill"></image>
|
||||
<view>暂无数据</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="pls-card" v-for="(v,i) in plsbuy" :key='i' @click="clickLeftMenu(i,v)"
|
||||
:style="{borderColor: manyselect ? (selectarray.includes(v.qldNo) ? '' : 'transparent'): (i === lefttarget ? '' : 'transparent'),background: manyselect ? (selectarray.includes(v.qldNo) ? '' : 'rgba(255,255,255,0.6)') : (i === lefttarget ? '' : 'rgba(255,255,255,0.6)')}">
|
||||
:style="{borderColor: manyselect ? (selectarray.includes(v.qldNo) ? '#0f9fff' : 'transparent'): (i === lefttarget ? '#0f9fff' : 'transparent')}">
|
||||
<view
|
||||
style="background: #ff5757;position: absolute;width: 1.3vw;height: 1.3vw;border-radius: 50%;right: -0.5vw;top: -0.2vw;"
|
||||
style="background: #ff5757;position: absolute;width: 1.3vw;height: 1.3vw;border-radius: 50%;right: 0vw;top: 0vw;"
|
||||
v-if="v.izYgRead=='N'">
|
||||
</view>
|
||||
<view class="pls-card-title">
|
||||
|
|
@ -176,6 +165,24 @@
|
|||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="pls-card center" v-if="!shownomessage&&plsbuy.length===1">
|
||||
<view class="que">
|
||||
<image src="/static/index/procurement/que.png" mode="aspectFill"></image>
|
||||
<view>暂无数据</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="pls-card center" v-if="!shownomessage&&plsbuy.length===1">
|
||||
<view class="que">
|
||||
<image src="/static/index/procurement/que.png" mode="aspectFill"></image>
|
||||
<view>暂无数据</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="pls-card center" v-if="!shownomessage&&plsbuy.length===2">
|
||||
<view class="que">
|
||||
<image src="/static/index/procurement/que.png" mode="aspectFill"></image>
|
||||
<view>暂无数据</view>
|
||||
</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</view>
|
||||
<view class="other-contain-right">
|
||||
|
|
@ -294,7 +301,7 @@
|
|||
if ((selectType.value == index) && index) {
|
||||
return
|
||||
}
|
||||
leftscrolltop.value = 1
|
||||
leftscrolltop.value = 0.01
|
||||
setTimeout(() => {
|
||||
leftscrolltop.value = 0
|
||||
}, 50)
|
||||
|
|
@ -326,7 +333,7 @@
|
|||
plzinfo.canpull = true;
|
||||
lefttarget.value = 0
|
||||
firstgetqueryCgdList()
|
||||
leftscrolltop.value = 1
|
||||
leftscrolltop.value = 0.01
|
||||
setTimeout(() => {
|
||||
leftscrolltop.value = 0
|
||||
}, 10)
|
||||
|
|
@ -358,6 +365,7 @@
|
|||
})
|
||||
|
||||
const nomessageshow = ref(false);
|
||||
const shownomessage = ref(false);
|
||||
const leftscrolltop = ref(0)
|
||||
|
||||
const rightarray = ref([]);
|
||||
|
|
@ -369,10 +377,14 @@
|
|||
transition.value = true;
|
||||
// console.log("kankan", plzinfo, res)
|
||||
if (((res.message === "缺少参数") || (!res.result?.total)) && cannomessage.value) {
|
||||
nomessageshow.value = true;
|
||||
nomessageshow.value = true;
|
||||
return
|
||||
}
|
||||
|
||||
if (res.result.records.length) {
|
||||
shownomessage.value = false;
|
||||
} else {
|
||||
shownomessage.value = true;
|
||||
}
|
||||
cannomessage.value = false
|
||||
plsbuy.value = []
|
||||
plsbuy.value.push(...res.result.records)
|
||||
|
|
@ -421,7 +433,7 @@
|
|||
const clickLeftMenu = (index : any, item : any) => {
|
||||
|
||||
let num = Math.ceil((index + 1))
|
||||
leftscrolltop.value = (num - 2) * 175;
|
||||
leftscrolltop.value = (num - 2) * 188.5;
|
||||
if (item.izYgRead == 'N') {
|
||||
let param = {
|
||||
status: `yg`,
|
||||
|
|
@ -492,7 +504,7 @@
|
|||
} else {
|
||||
plzinfo.pageNo = 1;
|
||||
plzinfo.canpull = true;
|
||||
leftscrolltop.value = 1
|
||||
leftscrolltop.value = 0.01
|
||||
setTimeout(() => {
|
||||
leftscrolltop.value = 0
|
||||
}, 50)
|
||||
|
|
@ -562,7 +574,7 @@
|
|||
console.log("55555")
|
||||
selectarray.value = [];
|
||||
manyselect.value = false
|
||||
leftscrolltop.value = 1
|
||||
leftscrolltop.value = 0.01
|
||||
setTimeout(() => {
|
||||
leftscrolltop.value = 0
|
||||
}, 50)
|
||||
|
|
@ -602,7 +614,7 @@
|
|||
plzinfo.pageNo = 1;
|
||||
lefttarget.value = 0
|
||||
plzinfo.canpull = true;
|
||||
leftscrolltop.value = 1
|
||||
leftscrolltop.value = 0.01
|
||||
setTimeout(() => {
|
||||
leftscrolltop.value = 0
|
||||
}, 50)
|
||||
|
|
@ -631,6 +643,46 @@
|
|||
})
|
||||
|
||||
}
|
||||
const basePath = '/static/index/procurement/' // 图片公共路径
|
||||
const imgNormal = basePath + 'sh.png'
|
||||
const imgActive = basePath + 'shr.png'
|
||||
|
||||
const imgSrc = ref(imgNormal)
|
||||
const busy = ref(false) // 防止重复点击造成多个定时器
|
||||
|
||||
function handleClick () {
|
||||
if (busy.value) return
|
||||
busy.value = true
|
||||
|
||||
// 切换到 active 图
|
||||
imgSrc.value = imgActive
|
||||
|
||||
// 0.5 秒后复原
|
||||
setTimeout(() => {
|
||||
imgSrc.value = imgNormal
|
||||
busy.value = false
|
||||
}, 300)
|
||||
}
|
||||
const basePath1 = '/static/index/procurement/' // 图片公共路径
|
||||
const imgNormal1 = basePath + 'cz.png'
|
||||
const imgActive1 = basePath + 'czr.png'
|
||||
|
||||
const imgSrc1 = ref(imgNormal1)
|
||||
const busy1 = ref(false) // 防止重复点击造成多个定时器
|
||||
|
||||
function handleClick1 () {
|
||||
if (busy1.value) return
|
||||
busy1.value = true
|
||||
|
||||
// 切换到 active 图
|
||||
imgSrc1.value = imgActive1
|
||||
|
||||
// 0.5 秒后复原
|
||||
setTimeout(() => {
|
||||
imgSrc1.value = imgNormal1
|
||||
busy1.value = false
|
||||
}, 300)
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped lang="less">
|
||||
|
|
@ -644,7 +696,7 @@
|
|||
background-color: rgb(239, 240, 244);
|
||||
// padding: 2vw;
|
||||
padding-left: 1vw;
|
||||
padding-top: 1.5vh;
|
||||
// padding-top: 1.5vh;
|
||||
width: 90vw;
|
||||
}
|
||||
|
||||
|
|
@ -665,12 +717,20 @@
|
|||
|
||||
.buttons-father {
|
||||
width: 100%;
|
||||
height: 7.5vh;
|
||||
// transition: opacity 1s ease;
|
||||
height: 6.5vh;
|
||||
display: flex;
|
||||
position: relative;
|
||||
// background-color: rgb(239, 240, 244);
|
||||
// padding-top: 5vh;
|
||||
|
||||
.title-input {
|
||||
width: 405rpx;
|
||||
height: 5.1vh;
|
||||
background-color: #fff;
|
||||
font-size: 27.5rpx;
|
||||
padding-left: 26rpx;
|
||||
border-radius: 40rpx;
|
||||
padding-top: 2rpx;
|
||||
border: 2rpx solid #C9C9C9;
|
||||
}
|
||||
|
||||
.ipt {
|
||||
display: flex;
|
||||
|
|
@ -809,7 +869,7 @@
|
|||
|
||||
.other-contain {
|
||||
width: 100%;
|
||||
height: 88.6vh;
|
||||
height: 93vh;
|
||||
display: flex;
|
||||
// background-color: rgb(239, 240, 244);
|
||||
// transition: opacity 1s ease;
|
||||
|
|
@ -819,43 +879,32 @@
|
|||
height: 100%;
|
||||
|
||||
.left-menu-scroll {
|
||||
margin-top: 3%;
|
||||
margin-top: 2.5%;
|
||||
height: 90%;
|
||||
width: 100%;
|
||||
// position: relative;
|
||||
// overflow: auto;
|
||||
|
||||
// background-color: red;
|
||||
.pls-card {
|
||||
width: 98%;
|
||||
height: 25.3vh;
|
||||
border: #0f9fff 3rpx solid;
|
||||
width: 100%;
|
||||
height: 359rpx;
|
||||
border: transparent 3rpx solid;
|
||||
background-color: #fff;
|
||||
border-radius: 40rpx;
|
||||
margin-bottom: 1.5vh;
|
||||
// margin: 1vh 0;
|
||||
margin-bottom: 18rpx;
|
||||
padding: 0 30rpx;
|
||||
position: relative;
|
||||
background-color: #fff;
|
||||
|
||||
.pls-card-title {
|
||||
height: 5.5vh;
|
||||
height: 5.6vh;
|
||||
width: 105%;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: flex-end;
|
||||
|
||||
padding-left: 10rpx;
|
||||
padding-right: 35rpx;
|
||||
|
||||
.middle-title-spec {
|
||||
color: #888888;
|
||||
font-size: 29rpx;
|
||||
}
|
||||
|
||||
.title-left {
|
||||
font-weight: 600;
|
||||
font-size: 34rpx;
|
||||
// color: #888888;
|
||||
font-weight: 800;
|
||||
font-size: 32rpx;
|
||||
margin-right: 20rpx;
|
||||
}
|
||||
|
||||
.title-right {
|
||||
|
|
@ -865,7 +914,7 @@
|
|||
position: relative;
|
||||
|
||||
.title-right-big {
|
||||
font-weight: 600;
|
||||
font-weight: 800;
|
||||
font-size: 40rpx;
|
||||
margin-right: 35rpx;
|
||||
color: #555555;
|
||||
|
|
@ -884,7 +933,7 @@
|
|||
.pls-card-middle {
|
||||
width: 100%;
|
||||
height: 11vh;
|
||||
margin-top: 1.5vh;
|
||||
margin-top: 2vh;
|
||||
display: flex;
|
||||
position: relative;
|
||||
|
||||
|
|
@ -947,24 +996,24 @@
|
|||
.end-font {
|
||||
width: 100%;
|
||||
height: 6vh;
|
||||
font-size: 25rpx;
|
||||
text-align: center;
|
||||
color: #666666;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
font-size: 25rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.pls-card-end {
|
||||
width: 100%;
|
||||
height: 6vh;
|
||||
height: 7.7vh;
|
||||
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
position: relative;
|
||||
padding-left: 15rpx;
|
||||
margin-top: 10rpx;
|
||||
|
||||
.end-left {
|
||||
height: 100%;
|
||||
|
|
@ -972,17 +1021,15 @@
|
|||
align-items: center;
|
||||
|
||||
.end-left-img {
|
||||
width: 35rpx;
|
||||
height: 35rpx;
|
||||
width: 37rpx;
|
||||
height: 37rpx;
|
||||
}
|
||||
|
||||
.end-left-font {
|
||||
margin-top: 3rpx;
|
||||
width: 400rpx;
|
||||
// background-color: #007CFF;
|
||||
// font-size: 26rpx;
|
||||
color: #666666;
|
||||
margin-left: 3rpx;
|
||||
margin-left: 10rpx;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
|
|
@ -998,9 +1045,8 @@
|
|||
justify-content: center;
|
||||
background-color: #FDEBEC;
|
||||
color: #FF5757;
|
||||
border: 1rpx solid #FF5757;
|
||||
position: absolute;
|
||||
right: 0rpx;
|
||||
right: -5rpx;
|
||||
bottom: 20rpx;
|
||||
}
|
||||
|
||||
|
|
@ -1015,7 +1061,7 @@
|
|||
color: #1083F8;
|
||||
border: 1rpx solid #1083F8;
|
||||
position: absolute;
|
||||
right: 0rpx;
|
||||
right: -5rpx;
|
||||
bottom: 20rpx;
|
||||
}
|
||||
}
|
||||
|
|
@ -1075,7 +1121,7 @@
|
|||
.other-contain-right {
|
||||
width: 65%;
|
||||
margin-left: 1%;
|
||||
height: 98%;
|
||||
height: 97%;
|
||||
background-color: #fff;
|
||||
border-radius: 40rpx;
|
||||
position: relative;
|
||||
|
|
@ -1303,4 +1349,63 @@
|
|||
z-index: 100;
|
||||
background: RGBA(239, 240, 244, 0.55);
|
||||
}
|
||||
|
||||
.title-ball {
|
||||
width: 5.3vh;
|
||||
height: 5.3vh;
|
||||
border-radius: 50%;
|
||||
margin-left: 10rpx;
|
||||
background-color: #fff;
|
||||
border: 2rpx solid #D9DADC;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
.title-ball-img {
|
||||
width: 55%;
|
||||
height: 55%;
|
||||
}
|
||||
}
|
||||
|
||||
// .title-ball:active {
|
||||
// background: linear-gradient(to top, #1083F8, #1083F8);
|
||||
// color: #fff;
|
||||
// font-size: 44rpx;
|
||||
// font-weight: 700;
|
||||
// border: 1rpx solid #00C9FF;
|
||||
// }
|
||||
.haventmessage {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: #fff;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
border-radius: 30rpx;
|
||||
|
||||
}
|
||||
.que {
|
||||
width: 10vw;
|
||||
height: 10vw;
|
||||
// margin: auto;
|
||||
|
||||
image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
view {
|
||||
margin-top: -30rpx;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
font-weight: 300;
|
||||
font-size: 1.2vw;
|
||||
color: #555555;
|
||||
}
|
||||
}
|
||||
.center{
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
</style>
|
||||
|
After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 280 KiB After Width: | Height: | Size: 233 KiB |
|
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 3.0 KiB |
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 5.6 KiB After Width: | Height: | Size: 2.8 KiB |
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 3.7 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 964 B After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 996 B After Width: | Height: | Size: 1.7 KiB |
BIN
static/shili.png
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 2.9 KiB |
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.5 KiB |
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 2.8 KiB |
|
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 3.0 KiB |
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.0 KiB |
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.3 KiB |
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.7 KiB |
|
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 3.0 KiB |
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 3.1 KiB |
|
Before Width: | Height: | Size: 4.0 KiB After Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 3.9 KiB |
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 2.8 KiB |
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.0 KiB |
|
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 4.3 KiB |
|
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 4.6 KiB |
|
|
@ -570,7 +570,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 {
|
||||
camera as default
|
||||
};
|
||||
|
|
|
|||
|
|
@ -578,7 +578,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 {
|
||||
fullcamera as default
|
||||
};
|
||||
|
|
|
|||