From 5c63b1fccedfcd208f3434edb79926c206c3d26f Mon Sep 17 00:00:00 2001 From: yangan <yangan0921@163.com> Date: 星期二, 29 四月 2025 14:52:35 +0800 Subject: [PATCH] feat:增加类型显示 --- pages/customer-page/customer-index/customer-index.vue | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/pages/customer-page/customer-index/customer-index.vue b/pages/customer-page/customer-index/customer-index.vue index 450af5b..1944dfc 100644 --- a/pages/customer-page/customer-index/customer-index.vue +++ b/pages/customer-page/customer-index/customer-index.vue @@ -50,7 +50,8 @@ </view> <view class="second-line"> <view class="coal-name"> - <view class="coal-name-tag">{{ item.productNames || item.productName }}</view> + <view class="coal-name-tag">{{ item.productNames || item.productName }} <text style="margin-left: 20rpx;">{{ proType[item.packingType]}}</text> </view> + <view class="black-bar"></view> <view class="coal-type" v-if="item.orderType">{{ item.orderType }}</view> @@ -109,7 +110,7 @@ size="40"></u-icon></view> </view> <view class="second"> - <view class="coal-name">{{ item.productNames || item.productName }}</view> + <view class="coal-name">{{ item.productNames || item.productName }} <text style="margin-left: 20rpx;">{{ proType[item.packingType]}}</text></view> <view class="order-type">{{ item.orderType || '' }}</view> </view> <view class="third"> @@ -205,6 +206,7 @@ data() { return { orderPlanData: [], + proType:['鏁h','娑叉隘鐡惰','缃愯','PVC25','PVC80','PVC1150','PVc1200'], personnelType:'', // 鐢ㄦ埛绫诲瀷 show: false, // 棰嗗彇鏀跺彂鍗曞脊鍑烘 receiveNum: null, @@ -362,7 +364,7 @@ console.log(111,obj) if (obj.cars2 == 0) return this.$u.toast('璇峰厛棰嗗彇鍚庡啀杞彂'); uni - .navigateTo({ url: `/pages/public-page/forward/forward?orderPlanId=${obj.id}&orderType=${obj.orderType}&carNumSurplus1=${obj.carNumSurplus1}&carNum=${obj.carNum}&cars2=${obj.cars2}&productName=${obj.productName}&customerId=${obj.customerId}&pvcPlanMeasure=${obj.pvcPlanMeasure}`}); + .navigateTo({ url: `/pages/public-page/forward/forward?orderPlanId=${obj.id}&orderType=${obj.orderType}&carNumSurplus1=${obj.carNumSurplus1}&carNum=${obj.carNum}&cars2=${obj.cars2}&productName=${obj.productName}&customerId=${obj.customerId}&pvcPlanMeasure=${obj.pvcPlanMeasure}&packingType=${obj.packingType}&productId=${obj.productId}`}); }, // 鑷富閰嶉�� selfDeliver() { -- Gitblit v1.9.1