From 82fa9121ff649bb681fc55e482fe405c5ce0d4d0 Mon Sep 17 00:00:00 2001
From: 付延余 <f-yanyu@outlook.com>
Date: 星期三, 22 三月 2023 13:48:29 +0800
Subject: [PATCH] 称重界面完成(上磅计量页面完成)

---
 pages/freight-forwarder-page/freightForwarder-index/freightForwarder-index.vue |   15 ++++++++-------
 1 files changed, 8 insertions(+), 7 deletions(-)

diff --git a/pages/freight-forwarder-page/freightForwarder-index/freightForwarder-index.vue b/pages/freight-forwarder-page/freightForwarder-index/freightForwarder-index.vue
index fda4b50..06b9046 100644
--- a/pages/freight-forwarder-page/freightForwarder-index/freightForwarder-index.vue
+++ b/pages/freight-forwarder-page/freightForwarder-index/freightForwarder-index.vue
@@ -1,29 +1,30 @@
 <template>
 	<view class="freightForwarder-index">
 		<view class="freightForwarder-index-body">
+			<u-empty mode="data" icon="http://cdn.uviewui.com/uview/empty/data.png" textSize="30" iconSize="1000" v-if="orderPlanData.length == 0"></u-empty>
 			<card v-for="(item, index) in orderPlanData" :key="index" :name="item.id" @click="cardBodyClick" backgroundType="1">
 				<template v-slot:left>
 					<view class="card-left__top">
-						<text>{{ item.orderPlan.cars }}</text>
+						<text>{{ item.carNum }}</text>
 						寮�
 					</view>
-					<view class="card-left__utils"><u-button text="杞彂" type="primary" @tap.stop="forwardClick(item.id)" shape="circle"></u-button></view>
+					<view class="card-left__utils"><u-button text="杞彂" type="primary" @tap.stop="forwardClick(item)" shape="circle"></u-button></view>
 				</template>
 				<template v-slot:right-top>
 					<view class="right-top">
 						<view class="card-right-top-row">
 							<view>
-								<text>{{ item.orderPlan.compName }}</text>
+								<text>杞彂鍓╀綑锛歿{ item.carNumSurplusHuodai||'' }}</text>
 							</view>
 							<view>
-								<text>{{ item.orderPlan.coalName }}</text>
+								<text>{{ item.coalName||'' }}</text>
 							</view>
 						</view>
 					</view>
 				</template>
 				<template v-slot:right-bottom>
 					<view class="code">
-						<text>缂栧彿锛歿{ item.orderPlan.code }}</text>
+						<text>缂栧彿锛歿{ item.orderCode||'' }}</text>
 					</view>
 				</template>
 			</card>
@@ -61,9 +62,9 @@
 			});
 		},
 		// 杞彂
-		forwardClick(id) {
+		forwardClick(value) {
 			uni.navigateTo({
-				url: `/pages/public-page/forward/forward?orderPlanId=${id}`
+				url: `/pages/public-page/forward/forward?orderPlanId=${value.id}&carNumSurplusHuodai=${value.carNumSurplusHuodai}`
 			});
 		}
 	}

--
Gitblit v1.9.1