|
@@ -325,9 +325,10 @@ const OrderDetail: React.FC = () => {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- const handleViewCheckinDetails = () => {
|
|
|
|
|
- setShowCheckinCalendar(true)
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ // 临时注释:查看详细打卡记录功能
|
|
|
|
|
+ // const handleViewCheckinDetails = () => {
|
|
|
|
|
+ // setShowCheckinCalendar(true)
|
|
|
|
|
+ // }
|
|
|
|
|
|
|
|
// 获取打卡日历数据
|
|
// 获取打卡日历数据
|
|
|
const getCheckinCalendarData = () => {
|
|
const getCheckinCalendarData = () => {
|
|
@@ -451,7 +452,7 @@ const OrderDetail: React.FC = () => {
|
|
|
border={true}
|
|
border={true}
|
|
|
fixed={true}
|
|
fixed={true}
|
|
|
placeholder={true}
|
|
placeholder={true}
|
|
|
- onClickLeft={() => console.log('返回')}
|
|
|
|
|
|
|
+ onClickLeft={() => Taro.navigateBack()}
|
|
|
/>
|
|
/>
|
|
|
<ScrollView
|
|
<ScrollView
|
|
|
className="h-screen overflow-y-auto px-4 pb-4 pt-0"
|
|
className="h-screen overflow-y-auto px-4 pb-4 pt-0"
|
|
@@ -478,7 +479,7 @@ const OrderDetail: React.FC = () => {
|
|
|
<Text className="text-xl font-bold text-gray-800">{order.name}</Text>
|
|
<Text className="text-xl font-bold text-gray-800">{order.name}</Text>
|
|
|
<Text className="text-sm text-gray-500 mt-1">订单编号: {order.orderNumber}</Text>
|
|
<Text className="text-sm text-gray-500 mt-1">订单编号: {order.orderNumber}</Text>
|
|
|
</View>
|
|
</View>
|
|
|
- <Text className={`text-xs px-2 py-1 rounded-full ${order.statusClass}`}>
|
|
|
|
|
|
|
+ <Text className={`text-xs px-2 py-1 rounded-full whitespace-nowrap ${order.statusClass}`}>
|
|
|
{order.statusLabel}
|
|
{order.statusLabel}
|
|
|
</Text>
|
|
</Text>
|
|
|
</View>
|
|
</View>
|
|
@@ -566,9 +567,10 @@ const OrderDetail: React.FC = () => {
|
|
|
<Text className="text-lg font-bold text-green-600">100%</Text>
|
|
<Text className="text-lg font-bold text-green-600">100%</Text>
|
|
|
</View>
|
|
</View>
|
|
|
</View>
|
|
</View>
|
|
|
- <View className="flex items-center text-blue-500 text-sm" onClick={handleViewCheckinDetails}>
|
|
|
|
|
|
|
+ {/* 临时注释:查看详细打卡记录按钮 */}
|
|
|
|
|
+ {/* <View className="flex items-center text-blue-500 text-sm" onClick={handleViewCheckinDetails}>
|
|
|
<Text>查看详细打卡记录</Text>
|
|
<Text>查看详细打卡记录</Text>
|
|
|
- </View>
|
|
|
|
|
|
|
+ </View> */}
|
|
|
</View>
|
|
</View>
|
|
|
|
|
|
|
|
{/* 关联人才卡片 */}
|
|
{/* 关联人才卡片 */}
|