From cecc3e6cab06512a8c757268e2b998dc5a0e65a2 Mon Sep 17 00:00:00 2001 From: yangan <yangan0921@163.com> Date: 星期一, 22 一月 2024 17:51:55 +0800 Subject: [PATCH] fix:验质页面增加数据单位显示 --- pages/tabbar-page/index-tabbar/index-tabbar.vue | 13 +++++++++---- 1 files changed, 9 insertions(+), 4 deletions(-) diff --git a/pages/tabbar-page/index-tabbar/index-tabbar.vue b/pages/tabbar-page/index-tabbar/index-tabbar.vue index 44b4ce4..248cfdb 100644 --- a/pages/tabbar-page/index-tabbar/index-tabbar.vue +++ b/pages/tabbar-page/index-tabbar/index-tabbar.vue @@ -13,7 +13,7 @@ </view> </view> </view> - <customer-index v-if="roleType == 1||roleType == 4" + <customer-index v-if="roleType == 1" ref="customerIndexRef" :orderPlanDataStore="orderPlanDataStore"></customer-index> <freight-forwarder-index v-if="roleType == 2" @@ -23,6 +23,7 @@ <driver-index v-if="roleType == 3" ref="driverIndexRef" :indexdriverBillOfLoadingData="indexdriverBillOfLoadingData"></driver-index> + <inspectionIndex ref="inspectionIndex" v-if='roleType == 4'/> <tab-bar :current="0"></tab-bar> <!-- 鎺ㄩ�佹秷鎭脊绐� --> <u-modal :show="messagePushShow" @@ -38,6 +39,7 @@ <script> import customerIndex from '@/pages/customer-page/customer-index/customer-index.vue'; import driverIndex from '@/pages/driver-page/driver-index/driver-index.vue'; + import inspectionIndex from '@/pages/driver-page/driver-index/bill-of-lading-details/selectOrderPlan/selectOrderPlan.vue' import freightForwarderIndex from '@/pages/freight-forwarder-page/freightForwarder-index/freightForwarder-index.vue'; import { mapState, mapMutations } from 'vuex'; import { webSocketUrl } from '@/api/request.js'; @@ -46,7 +48,8 @@ components: { customerIndex, driverIndex, - freightForwarderIndex + freightForwarderIndex, + inspectionIndex }, computed: { ...mapState(['globalweighHouseCode', 'globalweigh', 'globalisconnect', 'globalSocket', 'websocketData', @@ -221,9 +224,9 @@ }); break; case 4: - console.log('customerIndexRef'); + console.log('inspectionIndex'); this.$nextTick(() => { - this.$refs.customerIndexRef.init(); + this.$refs.inspectionIndex.init(); }); break; default: @@ -290,6 +293,8 @@ scoped> .max-block { font-family: siYuanLight !important; + width: 100%; + height: 100%; } .white-block { -- Gitblit v1.9.1