From 1515a0528b7fc71b977fbc176e6001922ca6d243 Mon Sep 17 00:00:00 2001 From: Teng <461587751@qq.com> Date: Thu, 20 Nov 2025 13:48:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=88=E5=B9=B6=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/Warehouse/picking.vue | 29 ++++++++--- pages/procurement/components/nomessage.vue | 59 ++++++++++++++++++++++ pages/procurement/purchaseorder.vue | 10 +++- 3 files changed, 90 insertions(+), 8 deletions(-) create mode 100644 pages/procurement/components/nomessage.vue diff --git a/pages/Warehouse/picking.vue b/pages/Warehouse/picking.vue index fac8169..da47482 100644 --- a/pages/Warehouse/picking.vue +++ b/pages/Warehouse/picking.vue @@ -4,6 +4,8 @@ class="mengban" @click="moreindex=-1; topbuttontarget=-1;openjianhuo=false;opengaijia=false;opendata=false;opencgr=false;clickflag=false"> + + @@ -699,12 +701,12 @@ - {{ v.purchaseQuantity }} + style="font-size: 26rpx;color: #888888;"> {{ v.wlUnits}} @@ -712,7 +714,7 @@ - {{v.wlSpecificationModel}} + @@ -962,7 +964,7 @@ {{item.crkNum}} - {{showvalue.wlUnits}} + {{showvalue.materialUnits}} @@ -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; + // } \ No newline at end of file diff --git a/pages/procurement/components/nomessage.vue b/pages/procurement/components/nomessage.vue new file mode 100644 index 0000000..4d94ba9 --- /dev/null +++ b/pages/procurement/components/nomessage.vue @@ -0,0 +1,59 @@ + + + + + \ No newline at end of file diff --git a/pages/procurement/purchaseorder.vue b/pages/procurement/purchaseorder.vue index d2466f6..d1c82c6 100644 --- a/pages/procurement/purchaseorder.vue +++ b/pages/procurement/purchaseorder.vue @@ -155,7 +155,7 @@ {{ v?.cgdType=='9' ?`已作废`:`已确定` }} --> - + {{ v?.cgdType=='9' ?`已作废`:tagesstatues[Number(v.status)] }} @@ -330,6 +330,8 @@ + + @@ -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();