Commit db477f60 authored by 刘威龙's avatar 刘威龙

支架回单才可以点击明细上传

parent d6076dcc
<template> <template>
<view class="orderPodItem box_shadow_card" @click="navToOrderPodDetail()"> <view class="orderPodItem box_shadow_card" @click="navToOrderPodDetail()">
<view @click="navToOrderPodDetail()">
<view class="shipment-header flex_sb" style="padding: 28rpx 24rpx 0;"> <view class="shipment-header flex_sb" style="padding: 28rpx 24rpx 0;">
<view class="consumer_code flex_center"> <view class="consumer_code flex_center">
<text style="font-weight: 600;" selectable> 回单号:{{propData['pod_no'] || ''}}</text> <text style="font-weight: 600;" selectable> 回单号:{{propData['pod_no'] || ''}}</text>
...@@ -31,9 +32,10 @@ ...@@ -31,9 +32,10 @@
<bs-customCell label="运单号 :" :value="propData.shipment_no" labelCol="2" wrapCol="6" /> <bs-customCell label="运单号 :" :value="propData.shipment_no" labelCol="2" wrapCol="6" />
<bs-customCell label="车牌号 :" :value="propData.sp__truck_no" labelCol="2" wrapCol="6" /> <bs-customCell label="车牌号 :" :value="propData.sp__truck_no" labelCol="2" wrapCol="6" />
<!-- <bs-customCell label="回单数量 :" :value="propData.pod_count" labelCol="2.5" wrapCol="6" /> --> <!-- <bs-customCell label="回单数量 :" :value="propData.pod_count" labelCol="2.5" wrapCol="6" /> -->
</view>
</view> </view>
<view class="flex_cen flex_center orderItemButtonGroup" > <view class="flex_cen flex_center orderItemButtonGroup" >
<button class="flex_cen flex_center" @click="onDetailPodSign()">明细上传</button> <button class="flex_cen flex_center" :disabled="propData.execute_bu !== 'TBU'" :class="{ 'disabled-btn': propData.execute_bu !== 'TBU' }" @click="onDetailPodSign()">明细上传</button>
<button class="flex_cen flex_center" @click="onAllPodSign()">整单上传</button> <button class="flex_cen flex_center" @click="onAllPodSign()">整单上传</button>
</view> </view>
...@@ -151,5 +153,11 @@ ...@@ -151,5 +153,11 @@
box-shadow: 1rpx 3rpx 12rpx 0rpx rgba(0, 0, 0, 0.04); box-shadow: 1rpx 3rpx 12rpx 0rpx rgba(0, 0, 0, 0.04);
} }
} }
.orderItemButtonGroup button.disabled-btn {
background-color: #cccccc; /* 灰色背景 */
color: #999999; /* 白色文字(或浅灰色 #999999 更明显) */
opacity: 0.3; /* 轻微透明感 */
cursor: not-allowed; /* 鼠标悬停时显示禁止图标(H5有效) */
}
} }
</style> </style>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment