| | |
| | | </uni-tr> |
| | | </uni-table> |
| | | </view> |
| | | <!-- 请输入集装箱号 --> |
| | | <view class="codeBox"> |
| | | <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"> |
| | |
| | | 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{ |