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