pages/driver-page/driver-index/driver-index.vue
@@ -16,21 +16,31 @@
                  <text>{{ item.carNum }}</text>
                  张
               </view>
               <view class="card-left__utils"><u-button @tap.stop="qiangDan(item.orderPlanId)" text="抢单" type="primary" shape="circle"></u-button></view>
               <view class="card-left__utils"><u-button @tap.stop="qiangDanBtn(item)" text="抢单" type="primary" shape="circle"></u-button></view>
            </template>
            <template v-slot:right-top>
               <view class="right-top">
                  <view class="card-right-top-row">
                     <view>
                        <text>{{ item.compName }}</text>
                        <text>{{ item.deptName ||''}}</text>
                     </view>
                     <view>
                        <text>{{ item.coalName }}</text>
                        <text>{{ item.coalName ||''}}</text>
                     </view>
                  </view>
                  <view class="card-right-top-row">
                     <view>
                        <text>剩余{{ item.carNum - item.taskNum }}张</text>
                     </view>
                  </view>
                  <view class="card-right-top-row">
                     <view>
                        <text>{{item.filedName||''}}</text>
                     </view>
                  </view>
                  <view class="card-right-top-row">
                     <view>
                        <text>{{item.orderCode||''}}</text>
                     </view>
                  </view>
               </view>
@@ -149,17 +159,17 @@
      },
      // 抢单按钮
      qiangDanBtn(value) {
         if (value.tmcCount == 0) {
         if (value.tmcCount == '0') {
            this.qiangDan(value.orderPlanId);
         } else {
            this.qiangDanOrderPlanId = value.orderPlanId
            this.qiangDanShow = true
            this.qiangDanContent = `已抢${value.tmcCount}单,确定抢单?`
            this.qiangDanOrderPlanId = value.orderPlanId;
            this.qiangDanShow = true;
            this.qiangDanContent = `已抢${value.tmcCount}单,确定抢单?`;
         }
      },
      // 抢单模态框
      qiangDanConfirm() {
         this.qiangDanContent = ''
         this.qiangDanContent = '';
         this.qiangDan(this.qiangDanOrderPlanId);
      },
      qiangDanCancel() {
@@ -257,14 +267,16 @@
         }
         &Table {
            .uni-table {
               min-width: 94%!important;
               .uni-table-tr {
                  padding: 0;
                  .uni-table-th {
                     width:33.3%;
                     line-height: 58rpx;
                     padding: vww(5) vww(10);
                     color: #111111;
                     font-weight: 400;
                     background: #e5e5e5;
                     background: #f5f5f5;
                  }
                  .uni-table-td {
                     font-weight: 400;