yangan
2024-06-25 288d334f5afcb45da57d769c6699cf3b91d7a194
pages/driver-page/driver-index/bill-of-lading-details/bill-of-lading-details.vue
@@ -103,6 +103,19 @@
            </uni-tr>
            </uni-table>
         </view>
         <!-- 请输入集装箱号 -->
         <view class="codeBox" v-if="coalDetailsData.isContainerNum">
            <text>集装箱号:</text>
            <view class="inp">
               <u--input
                  placeholder="请输入集装箱号"
                  v-model="coalDetailsData.containerNumber"
               ></u--input>
            </view>
            <view>
               <u-button type="primary" text="确定" @click="enterClick"></u-button>
            </view>
         </view>
      </view>
      <view class="origin-info"
         v-if="originInfoVisible&&!isSpecial">
@@ -277,7 +290,7 @@
               :loading="outLoading"
               loadingText="打印中,请稍候"></u-button>
         </view> -->
         <view class="weigh-button"><u-button text="展示提煤单"
         <view class="weigh-button"><u-button text="展示收发单"
               @click="showCaolPickUpBill"
               type="primary"
               shape="circle"></u-button></view>
@@ -1151,13 +1164,36 @@
               this.$refs.swiperAlbum.onPreviewTap();
               this.$refs.swiperAlbum.openPage();
            })
         },
         enterClick(){
            console.log('click')
            this.$reqPut('addContainer',{id:this.coalDetailsData.id,containerNumber:this.coalDetailsData.containerNumber},'json').then(res=>{
               console.log(res,'res')
               this.$u.toast('操作成功')
            })
         }
      }
   };
</script>
<style lang="scss"   scoped>
.codeBox{
   height: 100rpx;
      display: flex;
      width: 100%;
      justify-content: space-around;
      align-items: center;
   .inp{
         border: solid 1px #ccc;
      input{
         text-indent: 15px;
      }
   }
}
.table{
   width: 100%;
  /deep/ .uni-table{