合并代码
This commit is contained in:
parent
44b339e2d2
commit
1515a0528b
|
|
@ -4,6 +4,8 @@
|
|||
class="mengban"
|
||||
@click="moreindex=-1; topbuttontarget=-1;openjianhuo=false;opengaijia=false;opendata=false;opencgr=false;clickflag=false">
|
||||
</view>
|
||||
<!-- 没数据了,遮罩 -->
|
||||
<nomessageimge cont="暂无数据" :show="nomessageshow" />
|
||||
<!-- 给模糊搜索用的 -->
|
||||
<view v-show="filteredCgrListsecond.length&&gysvalue" class="mengban" @click="closefilteredCgrListsecond">
|
||||
</view>
|
||||
|
|
@ -699,12 +701,12 @@
|
|||
|
||||
</view>
|
||||
<view class="" style="font-size: 30rpx;position: relative;">
|
||||
<text style="font-weight: 600;margin-right: 14rpx;"
|
||||
<text style="font-weight: 600;margin-right: 5rpx;"
|
||||
:style="{fontWeight:middletarget === i?`600`:``,color:middletarget === i?``:`#888888`}">
|
||||
{{ v.purchaseQuantity }}
|
||||
</text>
|
||||
<text
|
||||
style="position: absolute;right: -10rpx;font-size: 26rpx;bottom: 2rpx;color: #888888;">
|
||||
style="font-size: 26rpx;color: #888888;">
|
||||
{{ v.wlUnits}}
|
||||
</text>
|
||||
|
||||
|
|
@ -712,7 +714,7 @@
|
|||
|
||||
</view>
|
||||
<view class="right-middle">
|
||||
{{v.wlSpecificationModel}}
|
||||
|
||||
</view>
|
||||
<view class="juzhong">
|
||||
<view class="">
|
||||
|
|
@ -962,7 +964,7 @@
|
|||
{{item.crkNum}}
|
||||
</text>
|
||||
<text style="color: black;">
|
||||
{{showvalue.wlUnits}}
|
||||
{{showvalue.materialUnits}}
|
||||
</text>
|
||||
|
||||
</view>
|
||||
|
|
@ -1096,6 +1098,8 @@
|
|||
import calendar from '@/component/public/calendar.vue'
|
||||
import superpicker from '@/component/public/superpicker.vue'
|
||||
import equiment from './components/equiment.vue';
|
||||
import nomessageimge from '@/pages/procurement/components/nomessage.vue';
|
||||
|
||||
const open = ref(0);
|
||||
const typechange = ref(0);
|
||||
const stringjh = ref("")
|
||||
|
|
@ -1374,10 +1378,15 @@
|
|||
|
||||
const plsbuy = ref([])
|
||||
const alltotal = ref(0);
|
||||
const nomessageshow = ref(false);
|
||||
const firstgetqueryCgdList = () => {
|
||||
queryCgdList(plzinfo).then((res : any) => {
|
||||
plsbuy.value.push(...res.result.records)
|
||||
alltotal.value = res.result.total
|
||||
if(!res.result.total){
|
||||
// console.log("没数据了!!!")
|
||||
nomessageshow.value = true;
|
||||
}
|
||||
// console.log("请购单数据呢???", res)
|
||||
if (res.result.records.length) {
|
||||
form.cgdId = plsbuy.value[0].id
|
||||
|
|
@ -2519,13 +2528,13 @@
|
|||
display: block;
|
||||
font-weight: 600;
|
||||
font-size: 30rpx;
|
||||
margin-bottom: 7rpx;
|
||||
margin-bottom: 15rpx;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.right-middle {
|
||||
// margin-bottom: 7rpx;
|
||||
|
||||
height: 15rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -3304,4 +3313,12 @@
|
|||
border: 1rpx solid #c4ebff;
|
||||
border-radius: 20rpx;
|
||||
}
|
||||
// .nomessagezhezhao{
|
||||
// position: fixed;
|
||||
// top: 12%;
|
||||
// left: 0;
|
||||
// width: 100%;
|
||||
// height: 88%;
|
||||
// z-index: 999;
|
||||
// }
|
||||
</style>
|
||||
|
|
@ -0,0 +1,59 @@
|
|||
<template>
|
||||
<view class="que" v-if="show">
|
||||
<image src="/static/index/procurement/que.png" mode="aspectFill"></image>
|
||||
<view>{{cont}}</view>
|
||||
</view>
|
||||
<view class="left-top-white" v-if="show"></view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
props: {
|
||||
cont: {
|
||||
type: String,
|
||||
default: ''
|
||||
},
|
||||
show: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped lang="less">
|
||||
.que {
|
||||
position: fixed;
|
||||
top: 12%;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 88%;
|
||||
z-index: 100;
|
||||
background-color: #fff;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
flex-direction: column;
|
||||
|
||||
image {
|
||||
width: 16.3vw;
|
||||
height: 16.3vw;
|
||||
}
|
||||
|
||||
view {
|
||||
text-align: center;
|
||||
font-weight: 300;
|
||||
font-size: 1.4vw;
|
||||
color: #555555;
|
||||
}
|
||||
}
|
||||
.left-top-white{
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
height: 12%;
|
||||
width: 50%;
|
||||
background-color: #fff;
|
||||
z-index: 100;
|
||||
}
|
||||
</style>
|
||||
|
|
@ -155,7 +155,7 @@
|
|||
{{ v?.cgdType=='9' ?`已作废`:`已确定` }}
|
||||
</view> -->
|
||||
<view :class="v?.cgdType=='9' ?`tag-fail`:`tag-success`">
|
||||
|
||||
|
||||
{{ v?.cgdType=='9' ?`已作废`:tagesstatues[Number(v.status)] }}
|
||||
</view>
|
||||
</view>
|
||||
|
|
@ -330,6 +330,8 @@
|
|||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- 没数据了,遮罩 -->
|
||||
<nomessage cont="暂无数据" :show="nomessageshow" />
|
||||
<!-- 分享的弹出层 -->
|
||||
<view v-show="shareShow" class="popup-share" @click="shareShow=false">
|
||||
<view class="popup-share-content" :style="{ opacity: deletedownisopacity ? 1 : 0 }" @click.stop>
|
||||
|
|
@ -406,6 +408,7 @@
|
|||
import { 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';
|
||||
const ification = ref(false)
|
||||
const serverUrl = ref("")
|
||||
onLoad(() => {
|
||||
|
|
@ -429,11 +432,14 @@
|
|||
const leftscrolltop = ref(0)
|
||||
|
||||
const plsbuy = ref([])
|
||||
|
||||
const nomessageshow = ref(false);
|
||||
const firstgetqueryCgdList = () => {
|
||||
queryCgdList(plzinfo).then((res : any) => {
|
||||
plsbuy.value.push(...res.result.records)
|
||||
console.log("zzzz", plsbuy.value)
|
||||
if (!res.result.total) {
|
||||
nomessageshow.value = true;
|
||||
}
|
||||
if (res.result.records.length) {
|
||||
form.cgdId = plsbuy.value[0].id
|
||||
queryInvo();
|
||||
|
|
|
|||
Loading…
Reference in New Issue