yangan
2024-04-18 87f225c95699dab8913f75710ed71fd2c3fa8236
pages/loadUnload-page/loadUnload-detail/loadUnload-detail.vue
@@ -30,18 +30,18 @@
            </view>
            <view class="info-container">
               <view class="info-block">
                  <view class="car-num info">
                  <view class="car-num">
                     <text class="label-text">车牌号:</text>{{item.carNo}}
                  </view>
                  <view class="order-margin info">
                  <view class="order-margin">
                     <text class="label-text">煤种名称:</text>
                     {{item.coalName}}
                  </view>
                  <view class="order-type info">
                     订单类型:{{item.orderType}}
                     订单类型:<text style="font-weight: 600;">{{item.orderType}}</text>
                  </view>
                  <view class="file-name info">
                     状态:{{coalStatus[item.status]}}
                     状态:<text style="font-weight: 600;">{{coalStatus[item.status]}}</text>
                  </view>
                  <view class="info createTime">
                     入场时间:{{item.createTime}}
@@ -89,6 +89,7 @@
            coalStatus: ['领取', '预约', '签到', '入场', '称皮', '称毛', '离场', '入磅房', '出磅房', '入煤仓', '出煤仓', '放空', '作废', '入场申请',
               '进入场院', '异常审核中', '返回加减吨', '超时', '打印中', '打印中', '填写'
            ], // 状态
            orderType: null
         }
      },
      computed: {
@@ -97,7 +98,7 @@
         }
      },
      onLoad(params) {
         this.name = params.coalName ? params.coalName : ''
         this.orderType = params.orderType || ''
         this.init()
      },
      methods: {
@@ -109,7 +110,7 @@
            uni.showLoading({
               title: "加载中"
            })
            this.$reqGet('getAccordingCoalNameAll', { coalName: this.name }).then(res => {
            this.$reqGet('getAccordingCoalNameAll', { orderType: this.orderType }).then(res => {
               uni.hideLoading()
               if (res.code === 0) {
                  const errorStatusArr = [0, 1, 2, 3, 6, 11, 12, 13];
@@ -163,7 +164,7 @@
      .collection-form-item {
         width: 690rpx;
         height: 440rpx;
         height: 550rpx;
         background: #ffffff;
         box-shadow: 4rpx 6rpx 25rpx 0rpx rgba(73, 120, 240, 0.15);
         border-radius: 20rpx;
@@ -181,7 +182,7 @@
            @include flex;
            justify-content: space-around;
            position: relative;
            top: vww(-14);
            top: vww(-30);
            .item {
               min-width: vww(50);
@@ -211,6 +212,8 @@
            height: vww(150);
            display: flex;
            justify-content: center;
            position: relative;
            top: vww(-15);
            .info-block {
               width: 600rpx;
@@ -221,6 +224,11 @@
               .car-num,
               .order-margin {
                  width: 100%;
                  display: flex;
                  justify-content: flex-start;
                  margin-left: 4%;
                  margin-top: vww(4);
                  color: #FF0000;
                  font-weight: 600;
@@ -229,6 +237,12 @@
                  }
               }
               .order-margin {
                  white-space: nowrap;
                  overflow: hidden;
                  text-overflow: ellipsis;
               }
            }
            .info {