Compare commits
2 Commits
c806f536ac
...
5b5954d336
| Author | SHA1 | Date |
|---|---|---|
|
|
5b5954d336 | |
|
|
c4c02c1ffd |
|
|
@ -126,7 +126,7 @@
|
|||
<view style="font-weight: 600;font-size: 30rpx;">
|
||||
物料信息
|
||||
</view>
|
||||
<view style="font-weight: 600;font-size: 35rpx;">
|
||||
<view style="font-weight: 600;font-size: 35rpx;color: #555555;">
|
||||
¥{{showvalue.totalPrice}}
|
||||
</view>
|
||||
</view>
|
||||
|
|
@ -480,7 +480,7 @@
|
|||
placeholder="采购单号/采购日期/供应商" @confirm="search()" />
|
||||
<image v-show="plzinfo.cgdParamInfo" class="title-input-img" src="@/static/x.png"
|
||||
@click="plzinfo.cgdParamInfo='';search()" />
|
||||
<view :class="jiansuotarget?`title-input-button-target`:`title-input-button`" @click="search();getdonghua()">
|
||||
<view class="title-input-button" @click="search();">
|
||||
检索
|
||||
</view>
|
||||
<view class="filter">
|
||||
|
|
@ -640,7 +640,7 @@
|
|||
</view>
|
||||
</view>
|
||||
<view :class="!topbuttontarget?`contain-right-button-target`: `contain-right-button`"
|
||||
style="border-color: #D9DADC;box-shadow: 0 1rpx 3rpx #D9DADC;" @click="donghuastart(0)">
|
||||
@click="donghuastart(0)">
|
||||
<image class="buttont-img"
|
||||
:src="`/static/index/warehouse/procurement/picking/camera${!topbuttontarget?`target`:``}.png`" />
|
||||
<view class="button-font">
|
||||
|
|
@ -648,7 +648,7 @@
|
|||
</view>
|
||||
</view>
|
||||
<view :class="topbuttontarget==1?`contain-right-button-target`: `contain-right-button`"
|
||||
style="border-color: #D9DADC;box-shadow: 0 1rpx 3rpx #D9DADC;" @click="donghuastart(1)">
|
||||
@click="donghuastart(1)">
|
||||
<image class="buttont-img"
|
||||
:src="`/static/index/warehouse/procurement/picking/work${topbuttontarget==1?`target`:``}.png`" />
|
||||
<view class="button-font">
|
||||
|
|
@ -675,7 +675,7 @@
|
|||
<scroll-view scroll-x="true" class="middle-Y">
|
||||
<view class="middle-Y-father">
|
||||
<view class="middle-one" v-for="(v,i) in InvoicingList" :key='i'
|
||||
:style="{border: middletarget === i? '4rpx solid #1083F8': '4rpx solid transparent'}"
|
||||
:style="{border: middletarget === i? '4rpx solid #1083F8': '4rpx solid transparent',backgroundColor:middletarget === i?`#F9FCFF`:``}"
|
||||
@click="clickmiddle(i)">
|
||||
<view :class="v.status<2?`up-tags-target`: `up-tags`">
|
||||
{{v.status_dictText}}
|
||||
|
|
@ -695,18 +695,17 @@
|
|||
</text>
|
||||
|
||||
<text style="font-size: 30rpx;"
|
||||
:style="{fontWeight:Number(v.arrivalPrice)>0||Number(v.procurementPrice)>0 ?`600`:``}">
|
||||
{{v.arrivalPrice?Number(v.arrivalPrice).toFixed(2):Number(v.procurementPrice).toFixed(2) }}
|
||||
: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?``:`#888888`}">
|
||||
:style="{fontWeight:middletarget === i?`600`:``,color:middletarget === i?`#333333`:`#888888`}">
|
||||
{{ v.purchaseQuantity }}
|
||||
</text>
|
||||
<text
|
||||
style="font-size: 26rpx;color: #888888;">
|
||||
<text style="font-size: 26rpx;color: #888888;">
|
||||
{{ v.wlUnits}}
|
||||
</text>
|
||||
|
||||
|
|
@ -714,7 +713,7 @@
|
|||
|
||||
</view>
|
||||
<view class="right-middle">
|
||||
|
||||
|
||||
</view>
|
||||
<view class="juzhong">
|
||||
<view class="">
|
||||
|
|
@ -785,15 +784,8 @@
|
|||
<text :style="textStyle">改价</text>
|
||||
</view>
|
||||
</view>
|
||||
<view @click="openjianhuoclick" style="background-color: #f8f8f8
|
||||
;color: #555555;display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: #555555;width: 180rpx;
|
||||
height: 70rpx;
|
||||
border-radius: 40rpx;
|
||||
box-shadow: 0 4rpx 6rpx rgba(0, 0, 0, 0.1);
|
||||
margin-left: 20rpx;" :style="showvalue.jianhuobtn==false?'color:#999':''">
|
||||
<view @click="openjianhuoclick"
|
||||
:class="showvalue.jianhuobtn==false?`jianhuobutton-gray-bad`: `jianhuobutton-gray`">
|
||||
拣货
|
||||
</view>
|
||||
</view>
|
||||
|
|
@ -828,7 +820,9 @@
|
|||
style="position: absolute;top: 8rpx;left: -35rpx;font-weight: 300;font-size: 28rpx;">
|
||||
¥
|
||||
</text>
|
||||
{{Number(showvalue.totalPrice).toFixed(2) }}
|
||||
<view style="color: #555555;">
|
||||
{{Number(showvalue.totalPrice).toFixed(2) }}
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="bottom-right-middle">
|
||||
|
|
@ -939,7 +933,7 @@
|
|||
</view>
|
||||
<view class="right-bottom" v-show="typechange==1" style="padding: 0 50rpx;flex-direction: column;">
|
||||
<view style="width: 100%;display: flex;justify-content: space-between;margin-top: 20rpx;">
|
||||
<view style="font-size: 35rpx;font-weight: 600;margin-left: 20rpx;">
|
||||
<view style="font-size: 35rpx;font-weight: 600;margin-left: 20rpx;color: #222222;">
|
||||
{{showvalue.wlName}}
|
||||
</view>
|
||||
<view style="color: black;">
|
||||
|
|
@ -947,7 +941,7 @@
|
|||
采购数量:
|
||||
</text>
|
||||
|
||||
<text style="font-weight: 600;">
|
||||
<text style="font-weight: 600;color: #555555;">
|
||||
{{showvalue.purchaseQuantity}}
|
||||
</text>
|
||||
{{showvalue.wlUnits}}
|
||||
|
|
@ -962,10 +956,10 @@
|
|||
style="width: 100%;justify-content: space-between;display: flex;align-items: center;height: 60rpx;margin-top: 20rpx;">
|
||||
<view class="">
|
||||
拣货数量:
|
||||
<text style="font-weight: 600;color: black;">
|
||||
<text style="font-weight: 600;color: #555555;">
|
||||
{{item.crkNum}}
|
||||
</text>
|
||||
<text style="color: black;">
|
||||
<text style="color: #555555;">
|
||||
{{showvalue.materialUnits}}
|
||||
</text>
|
||||
|
||||
|
|
@ -979,14 +973,14 @@
|
|||
<view class="">
|
||||
采购单价:
|
||||
|
||||
<text style="font-weight: 600;color: black;">
|
||||
<text style="font-weight: 600;color: #555555;">
|
||||
¥{{Number(item.oldPrice).toFixed(2)}}
|
||||
</text>
|
||||
|
||||
</view>
|
||||
<view class="">
|
||||
拣货人:
|
||||
<text style="color: black;">
|
||||
<text style="color: #888888;font-weight: 600;">
|
||||
{{item.createBy}}
|
||||
</text>
|
||||
|
||||
|
|
@ -995,7 +989,7 @@
|
|||
<view style="width: 100%;justify-content: space-between;display: flex;margin-top: 10rpx;">
|
||||
<view class="">
|
||||
到货单价:
|
||||
<text style="font-weight: 600;color: black;">
|
||||
<text style="font-weight: 600;color: #555555;">
|
||||
¥{{Number(item.newPrice).toFixed(2)}}
|
||||
</text>
|
||||
|
||||
|
|
@ -1071,7 +1065,7 @@
|
|||
</view>
|
||||
|
||||
</view>
|
||||
<view :class="['neuro-wrapper', donghuacs ? 'is-active' : '']" v-show="badshow">
|
||||
<!-- <view :class="['neuro-wrapper', donghuacs ? 'is-active' : '']" v-show="badshow">
|
||||
<view class="neuro-mask" @click="badshow=false;"></view>
|
||||
<view class="neuro-box" @click.stop>
|
||||
|
||||
|
|
@ -1085,11 +1079,12 @@
|
|||
确定要作废这个采购单吗
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view> -->
|
||||
|
||||
<view class="mengban" v-if="open==1"> </view>
|
||||
<equiment :open="open==1" @del="del()" @back="open = 0" :content="'是否删除此图片?'"></equiment>
|
||||
<equiment :open="open==2" @del="sctp(1)" @back="open = 0" :content="'是否销账此物料?'"></equiment>
|
||||
<tanchuang :show="badshow" font="确定要作废这个采购单吗" @back="badshow=false;" @right="zuofei"> </tanchuang>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
|
|
@ -1101,13 +1096,14 @@
|
|||
import superpicker from '@/component/public/superpicker.vue'
|
||||
import equiment from './components/equiment.vue';
|
||||
import nomessageimge from '@/pages/procurement/components/nomessage.vue';
|
||||
|
||||
import tanchuang from '@/pages/procurement/components/tanchuang.vue';
|
||||
|
||||
const open = ref(0);
|
||||
const typechange = ref(0);
|
||||
const stringjh = ref("")
|
||||
const serverUrl = ref("");
|
||||
const opengaijia = ref(false);
|
||||
const guiling = ref(false);
|
||||
const guiling = ref(false);
|
||||
const openjianhuo = ref(false);
|
||||
const opendata = ref(false);
|
||||
const gaijia = ref("");
|
||||
|
|
@ -1122,7 +1118,7 @@
|
|||
if (res.code == 200) {
|
||||
showvalue.value.arrivalPrice = gaijia.value;
|
||||
// console.log("000",Number(gaijia.value),Number(showvalue.value.purchaseQuantity))
|
||||
showvalue.value.totalPrice = Number(gaijia.value) * Number(showvalue.value.purchaseQuantity) ;
|
||||
showvalue.value.totalPrice = Number(gaijia.value) * Number(showvalue.value.purchaseQuantity);
|
||||
plsbuy.value[lefttarget.value].totalPrice = res.result.totalPrice
|
||||
// showvalue.value.arrivalPrice
|
||||
// plsbuy.value[lefttarget.value].totalPrice = gaijia.value
|
||||
|
|
@ -1132,12 +1128,12 @@
|
|||
}
|
||||
// 计算器
|
||||
function press(k : string) {
|
||||
|
||||
if(guiling.value){
|
||||
|
||||
if (guiling.value) {
|
||||
gaijia.value = '';
|
||||
guiling.value = false
|
||||
}
|
||||
|
||||
|
||||
if (k === 'AC') {
|
||||
gaijia.value = ''
|
||||
return
|
||||
|
|
@ -1400,7 +1396,7 @@
|
|||
queryCgdList(plzinfo).then((res : any) => {
|
||||
plsbuy.value.push(...res.result.records)
|
||||
alltotal.value = res.result.total
|
||||
if(!res.result.total){
|
||||
if (!res.result.total) {
|
||||
// console.log("没数据了!!!")
|
||||
nomessageshow.value = true;
|
||||
}
|
||||
|
|
@ -1471,8 +1467,8 @@
|
|||
wlUpperLimit: "",
|
||||
wlLowerLimit: "",
|
||||
suppliersName: "",
|
||||
jianhuobtn:false,
|
||||
|
||||
jianhuobtn: false,
|
||||
|
||||
})
|
||||
|
||||
const goback = () => {
|
||||
|
|
@ -1635,7 +1631,7 @@
|
|||
Object.assign(plzinfo, mobanplzinfo)
|
||||
Object.assign(form, mobanform)
|
||||
firstgetqueryCgdList();
|
||||
}else{
|
||||
} else {
|
||||
uni.showToast({
|
||||
title: res.message,
|
||||
icon: 'none',
|
||||
|
|
@ -2014,12 +2010,6 @@
|
|||
if (timer) clearInterval(timer);
|
||||
});
|
||||
const jiansuotarget = ref(false);
|
||||
const getdonghua = () => {
|
||||
jiansuotarget.value = true;
|
||||
setTimeout(()=>{
|
||||
jiansuotarget.value = false;
|
||||
},200)
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="less" scoped>
|
||||
|
|
@ -2141,11 +2131,13 @@
|
|||
}
|
||||
|
||||
.more-statues-father {
|
||||
width: 100%;
|
||||
width: 103%;
|
||||
height: 7vh;
|
||||
margin-top: 30rpx;
|
||||
display: flex;
|
||||
margin-left: -10rpx;
|
||||
// background-color: green;
|
||||
justify-content: space-between;
|
||||
// align-items: center;
|
||||
|
||||
.more-statues-gray {
|
||||
|
|
@ -2155,7 +2147,8 @@
|
|||
|
||||
.more-statues-button {
|
||||
width: 30%;
|
||||
margin-right: 2%;
|
||||
// margin-right: 2%;
|
||||
margin: 0 1%;
|
||||
height: 5.5vh;
|
||||
border-radius: 40rpx;
|
||||
font-size: 28rpx;
|
||||
|
|
@ -2170,7 +2163,7 @@
|
|||
|
||||
.more-statues-button-target {
|
||||
width: 30%;
|
||||
margin-right: 2%;
|
||||
margin: 0 1%;
|
||||
height: 5.5vh;
|
||||
border-radius: 40rpx;
|
||||
font-size: 28rpx;
|
||||
|
|
@ -2215,20 +2208,9 @@
|
|||
align-items: center;
|
||||
box-shadow: 0 2rpx 6rpx rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
.title-input-button-target {
|
||||
width: 20%;
|
||||
margin-left: 2%;
|
||||
height: 5vh;
|
||||
border-radius: 40rpx;
|
||||
font-size: 28rpx;
|
||||
background: linear-gradient(-45deg, rgba(223, 244, 252, 1), rgba(204, 228, 249, 0.43));
|
||||
border: 1px solid #1083F8;
|
||||
color: #1083F8;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
box-shadow: 0 2rpx 6rpx rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
.statues-father {
|
||||
|
|
@ -2315,6 +2297,7 @@
|
|||
font-weight: 600;
|
||||
font-size: 40rpx;
|
||||
margin-right: 35rpx;
|
||||
color: #555555;
|
||||
}
|
||||
|
||||
.title-right-img {
|
||||
|
|
@ -2475,6 +2458,8 @@
|
|||
padding: 0 35rpx;
|
||||
border-radius: 40rpx;
|
||||
border: 1rpx solid #555555;
|
||||
border-color: #D9DADC;
|
||||
box-shadow: 0 1rpx 3rpx #D9DADC;
|
||||
margin-left: 20rpx;
|
||||
|
||||
.buttont-img {
|
||||
|
|
@ -2516,16 +2501,19 @@
|
|||
}
|
||||
|
||||
.contain-right-button-target {
|
||||
|
||||
background: linear-gradient(-45deg, rgba(223, 244, 252, 1), rgba(204, 228, 249, 0.43));
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 100%;
|
||||
padding: 0 35rpx;
|
||||
border-radius: 40rpx;
|
||||
border: 1rpx solid #3699FF;
|
||||
margin-left: 20rpx;
|
||||
// background-color: #D9DADC;
|
||||
color: #1083F8;
|
||||
border-radius: 40rpx;
|
||||
border: 1rpx solid #555555;
|
||||
border-color: #1083F8;
|
||||
box-shadow: 0 1rpx 3rpx #D9DADC;
|
||||
margin-left: 20rpx;
|
||||
|
||||
.buttont-img {
|
||||
width: 40rpx;
|
||||
|
|
@ -2734,6 +2722,7 @@
|
|||
|
||||
.right-text {
|
||||
font-size: 32rpx;
|
||||
color: #555555;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -3217,11 +3206,12 @@
|
|||
|
||||
.gray-button {
|
||||
font-size: 50rpx;
|
||||
background-color: #F3F5F9;
|
||||
background-color: #f9f9f9;
|
||||
box-shadow: 2px 3px 6px rgba(0, 0, 0, 0.12);
|
||||
border-radius: 20rpx;
|
||||
width: 100rpx;
|
||||
height: 100rpx;
|
||||
border: 1rpx solid #CBCFD0;
|
||||
// border: 1rpx solid #CBCFD0;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
|
@ -3247,11 +3237,13 @@
|
|||
.gray-button-jianpan {
|
||||
font-size: 40rpx;
|
||||
font-weight: 600;
|
||||
background-color: #F3F5F9;
|
||||
border-radius: 25rpx;
|
||||
background-color: #f9f9f9;
|
||||
border-radius: 35rpx;
|
||||
box-shadow: 2px 3px 6px rgba(0, 0, 0, 0.12);
|
||||
color: #555555;
|
||||
width: 100rpx;
|
||||
height: 100rpx;
|
||||
border: 1rpx solid #CBCFD0;
|
||||
border: 1rpx solid transparent;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
|
@ -3265,9 +3257,9 @@
|
|||
.gray-input {
|
||||
font-size: 50rpx;
|
||||
font-weight: 600;
|
||||
background-color: #F3F5F9;
|
||||
background-color: #f9f9f9;
|
||||
border-radius: 20rpx;
|
||||
// width: 100rpx;
|
||||
box-shadow: 2px 3px 6px rgba(0, 0, 0, 0.12);
|
||||
padding: 0 30rpx;
|
||||
letter-spacing: 10rpx;
|
||||
|
||||
|
|
@ -3375,12 +3367,46 @@
|
|||
border: 1rpx solid #c4ebff;
|
||||
border-radius: 20rpx;
|
||||
}
|
||||
// .nomessagezhezhao{
|
||||
// position: fixed;
|
||||
// top: 12%;
|
||||
// left: 0;
|
||||
// width: 100%;
|
||||
// height: 88%;
|
||||
// z-index: 999;
|
||||
// }
|
||||
|
||||
.jianhuobutton-gray {
|
||||
background-color: #f8f8f8;
|
||||
color: #555555;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: #555555;
|
||||
width: 180rpx;
|
||||
height: 70rpx;
|
||||
border-radius: 40rpx;
|
||||
box-shadow: 0 4rpx 6rpx rgba(0, 0, 0, 0.1);
|
||||
margin-left: 20rpx;
|
||||
}
|
||||
|
||||
.jianhuobutton-gray-bad {
|
||||
background-color: #f8f8f8;
|
||||
color: #999;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
// color: #555555;
|
||||
width: 180rpx;
|
||||
height: 70rpx;
|
||||
border-radius: 40rpx;
|
||||
box-shadow: 0 4rpx 6rpx rgba(0, 0, 0, 0.1);
|
||||
margin-left: 20rpx;
|
||||
}
|
||||
|
||||
.bottom-left:active,
|
||||
.title-input-button:active,
|
||||
.donghua-do:active,
|
||||
.contain-right-button:active,
|
||||
.jianhuobutton-gray:active,
|
||||
{
|
||||
color: #1083F8;
|
||||
background: linear-gradient(-45deg, rgba(223, 244, 252, 1), rgba(204, 228, 249, 0.43));
|
||||
border: 1px solid #1083F8;
|
||||
transition: .4s;
|
||||
-webkit-transform-style: preserve-3d;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
</style>
|
||||
|
|
@ -0,0 +1,119 @@
|
|||
<template>
|
||||
<view>
|
||||
<view class="addall" v-if="show">
|
||||
<view>温馨提示</view>
|
||||
<view>
|
||||
<image src="/static/index/procurement/ddj.png" mode="aspectFill"></image>
|
||||
</view>
|
||||
<view style="text-align: center;">{{ font }}</view>
|
||||
<view>
|
||||
<view @click="$emit('back')">取消</view>
|
||||
<view class="qd" @click="$emit('right')">确定</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="mengban" v-if="show" @click="$emit('back')"></view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
||||
export default {
|
||||
props: {
|
||||
show: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
},
|
||||
font: {
|
||||
type: String,
|
||||
default: ''
|
||||
},
|
||||
},
|
||||
|
||||
methods: {
|
||||
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped lang="less">
|
||||
.addall {
|
||||
width: 42.4vw;
|
||||
height: 26vw;
|
||||
background: #FFFFFF;
|
||||
box-shadow: 0rpx 0rpx 1.3vw 0rpx rgba(163, 167, 182, 0.16);
|
||||
border-radius: 1.6vw;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
margin: auto;
|
||||
padding: 2.8vw;
|
||||
z-index: 120;
|
||||
|
||||
>view {
|
||||
&:nth-child(4) {
|
||||
width: 22vw;
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
margin: 1.8vw auto 0;
|
||||
|
||||
view {
|
||||
width: 8.2vw;
|
||||
height: 3.3vw;
|
||||
background: #EDEDEF;
|
||||
border-radius: 1.6vw;
|
||||
font-weight: 400;
|
||||
font-size: 1.6vw;
|
||||
color: #888888;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
border: 1px solid #EDEDEF;
|
||||
}
|
||||
|
||||
.qd {
|
||||
background: linear-gradient(0deg, #CAE0F9, #E9F4FF);
|
||||
border: 1px solid rgba(3, 133, 250, 0.34);
|
||||
color: #0385FA;
|
||||
}
|
||||
}
|
||||
|
||||
&:nth-child(3) {
|
||||
width: 33vw;
|
||||
height: 3.4vw;
|
||||
font-weight: 400;
|
||||
font-size: 1.3vw;
|
||||
color: #888888;
|
||||
line-height: 1.7vw;
|
||||
margin: 0.4vw auto 0;
|
||||
}
|
||||
|
||||
&:nth-child(2) {
|
||||
width: 7.6vw;
|
||||
height: 7.6vw;
|
||||
margin: 1.1vw auto 0;
|
||||
|
||||
image {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
&:nth-child(1) {
|
||||
font-weight: 400;
|
||||
font-size: 1.6vw;
|
||||
color: #333333;
|
||||
}
|
||||
}
|
||||
}
|
||||
.mengban {
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 100;
|
||||
background: RGBA(239, 240, 244, 0.55);
|
||||
}
|
||||
</style>
|
||||
|
|
@ -7,7 +7,7 @@
|
|||
placeholder="采购单号/采购日期/供应商" @confirm="search()" />
|
||||
<image v-show="plzinfo.cgdParamInfo" class="title-input-img" src="@/static/x.png"
|
||||
@click="plzinfo.cgdParamInfo=``;search()" />
|
||||
<button :class="jiansuotarget?`title-input-button-target`:`title-input-button`" @click="search();getdonghua()">
|
||||
<button class="title-input-button" @click="search();">
|
||||
检索
|
||||
</button>
|
||||
</view>
|
||||
|
|
@ -27,7 +27,7 @@
|
|||
</view>
|
||||
<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'"></text>
|
||||
v-if="v.izNew=='Y'"></text>
|
||||
<view class="pls-card-title">
|
||||
<view class="title-left">
|
||||
{{ v.cgdNo }}
|
||||
|
|
@ -187,7 +187,7 @@
|
|||
<scroll-view scroll-y="true" class="middle-Y">
|
||||
<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'}"
|
||||
:style="{border: middletarget === i? '4rpx dashed #1083F8': '4rpx solid transparent',backgroundColor:middletarget === i?`#F9FCFF`:``}"
|
||||
@click="clickmiddle(i)">
|
||||
<image class="middle-img"
|
||||
:src="v.materialImg?serverUrl + v.materialImg : '/static/index/warehouse/procurement/k.png'"
|
||||
|
|
@ -209,6 +209,11 @@
|
|||
<view class="wuliao-title">
|
||||
物料详情
|
||||
<view class="wuliao-heng"></view>
|
||||
|
||||
</view>
|
||||
<view style="width: 100%;
|
||||
height: 0.5rpx;background-color: #eff1f3;">
|
||||
|
||||
</view>
|
||||
<view class="right-bottom">
|
||||
<view class="right-bottom-left">
|
||||
|
|
@ -238,7 +243,10 @@
|
|||
style="position: absolute;top: 8rpx;left: -35rpx;font-weight: 300;font-size: 28rpx;">
|
||||
¥
|
||||
</text>
|
||||
{{ (showvalue?.procurementPrice * showvalue?.purchaseQuantity).toFixed(2) }}
|
||||
<view style="color: #555555;">
|
||||
{{Number(showvalue.totalPrice).toFixed(2) }}
|
||||
</view>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
<view class="bottom-right-middle">
|
||||
|
|
@ -400,7 +408,7 @@
|
|||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view :class="['neuro-wrapper', donghuacs ? 'is-active' : '']" v-show="badshow">
|
||||
<!-- <view :class="['neuro-wrapper', donghuacs ? 'is-active' : '']" v-show="badshow">
|
||||
<view class="neuro-mask" @click="badshow=false;"></view>
|
||||
<view class="neuro-box" @click.stop>
|
||||
|
||||
|
|
@ -414,19 +422,23 @@
|
|||
确定要作废这个采购单吗
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="mengban" v-if="ification" @click="ification = false"></view>
|
||||
<classification @confirm="confirm" :show="ification" :typenum="2" :cgdId="plsbuy[lefttarget]?.id">
|
||||
</classification>
|
||||
|
||||
<tanchuang :show="badshow" font="确定要作废这个采购单吗" @back="badshow=false;" @right="zuofei"> </tanchuang>
|
||||
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { ref, onMounted, reactive, onBeforeUnmount, computed, nextTick, defineProps } from 'vue';
|
||||
import { editIzNew,queryInvoicingList, getCgdMaterialTreeData, queryNuInfoByNuId, updateKfstatus, queryCgdList, queryCgdInfoList, queryWlInfoByWlId, voidedCgdMain } from './api/lunpan.js'
|
||||
import { editIzNew, queryInvoicingList, getCgdMaterialTreeData, queryNuInfoByNuId, updateKfstatus, queryCgdList, queryCgdInfoList, queryWlInfoByWlId, voidedCgdMain } from './api/lunpan.js'
|
||||
import { onShow, onLoad, onHide, onPageScroll } from "@dcloudio/uni-app"
|
||||
import classification from './components/cgdclass.vue'
|
||||
import nomessageimge from '@/pages/procurement/components/nomessage.vue';
|
||||
import tanchuang from '@/pages/procurement/components/tanchuang.vue';
|
||||
const ification = ref(false)
|
||||
const serverUrl = ref("")
|
||||
onLoad(() => {
|
||||
|
|
@ -498,14 +510,14 @@
|
|||
if (!plzinfo.canpull) return
|
||||
queryCgdList(plzinfo).then((res : any) => {
|
||||
plsbuy.value.push(...res.result.records)
|
||||
clickLeftMenu(lefttarget.value,plsbuy.value[lefttarget.value])
|
||||
clickLeftMenu(lefttarget.value, plsbuy.value[lefttarget.value])
|
||||
if (res.result.records.length < plzinfo.pageSize) {
|
||||
plzinfo.canpull = false;
|
||||
}
|
||||
})
|
||||
}
|
||||
const lefttarget = ref(0);
|
||||
const clickLeftMenu = (index : any , item:object) => {
|
||||
const clickLeftMenu = (index : any, item : object) => {
|
||||
let num = Math.ceil((index + 1))
|
||||
leftscrolltop.value = (num - 2) * 186;
|
||||
lefttarget.value = index;
|
||||
|
|
@ -513,9 +525,9 @@
|
|||
form.pageNo = 1
|
||||
form.canpull = true;
|
||||
queryInvo();
|
||||
if(item.izNew=='Y'){
|
||||
item.izNew='N'
|
||||
editIzNew({id:item.id})
|
||||
if (item.izNew == 'Y') {
|
||||
item.izNew = 'N'
|
||||
editIzNew({ id: item.id })
|
||||
}
|
||||
}
|
||||
const showvalue = ref({
|
||||
|
|
@ -683,12 +695,12 @@
|
|||
})
|
||||
}
|
||||
const jiansuotarget = ref(false);
|
||||
const getdonghua = () => {
|
||||
jiansuotarget.value = true;
|
||||
setTimeout(()=>{
|
||||
jiansuotarget.value = false;
|
||||
},200)
|
||||
}
|
||||
// const getdonghua = () => {
|
||||
// jiansuotarget.value = true;
|
||||
// setTimeout(()=>{
|
||||
// jiansuotarget.value = false;
|
||||
// },200)
|
||||
// }
|
||||
</script>
|
||||
|
||||
<style lang="less" scoped>
|
||||
|
|
@ -735,20 +747,7 @@
|
|||
align-items: center;
|
||||
box-shadow: 0 2rpx 6rpx rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
.title-input-button-target {
|
||||
width: 20%;
|
||||
margin-left: 2%;
|
||||
height: 5vh;
|
||||
border-radius: 40rpx;
|
||||
font-size: 28rpx;
|
||||
background: linear-gradient(-45deg, rgba(223, 244, 252, 1), rgba(204, 228, 249, 0.43));
|
||||
border: 1px solid #1083F8;
|
||||
color: #1083F8;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
box-shadow: 0 2rpx 6rpx rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.left-menu-father {
|
||||
|
|
@ -780,6 +779,7 @@
|
|||
.title-left {
|
||||
font-weight: 600;
|
||||
font-size: 32rpx;
|
||||
color: #222222;
|
||||
}
|
||||
|
||||
.title-right {
|
||||
|
|
@ -792,6 +792,7 @@
|
|||
font-weight: 600;
|
||||
font-size: 40rpx;
|
||||
margin-right: 35rpx;
|
||||
color: #555555;
|
||||
}
|
||||
|
||||
.title-right-img {
|
||||
|
|
@ -1017,7 +1018,7 @@
|
|||
|
||||
.right-middle {
|
||||
margin-bottom: 7rpx;
|
||||
|
||||
color: #555555;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1049,7 +1050,7 @@
|
|||
.wuliao-heng {
|
||||
background-color: #1083F8;
|
||||
width: 40rpx;
|
||||
height: 5rpx;
|
||||
min-height: 5rpx;
|
||||
border-radius: 5rpx;
|
||||
margin-top: 10rpx;
|
||||
}
|
||||
|
|
@ -1139,6 +1140,7 @@
|
|||
|
||||
.right-text {
|
||||
font-size: 32rpx;
|
||||
color: #555555;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1499,5 +1501,14 @@
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
.title-input-button:active,
|
||||
.contain-right-button:active {
|
||||
color: #1083F8;
|
||||
background: linear-gradient(-45deg, rgba(223, 244, 252, 1), rgba(204, 228, 249, 0.43));
|
||||
border: 1px solid #1083F8;
|
||||
transition: .4s;
|
||||
-webkit-transform-style: preserve-3d;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
</style>
|
||||
|
|
@ -574,7 +574,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|||
)
|
||||
]);
|
||||
}
|
||||
const camera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/项目/hldy_app_mini/pages/camera.nvue"]]);
|
||||
const camera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/hldy_app_mini/pages/camera.nvue"]]);
|
||||
export {
|
||||
camera as default
|
||||
};
|
||||
|
|
|
|||
|
|
@ -577,7 +577,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|||
)
|
||||
]);
|
||||
}
|
||||
const fullcamera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/项目/hldy_app_mini/pages/fullcamera.nvue"]]);
|
||||
const fullcamera = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", _sfc_render], ["styles", [_style_0]], ["__file", "D:/hldy_app_mini/pages/fullcamera.nvue"]]);
|
||||
export {
|
||||
fullcamera as default
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue