| | |
| | | <view class="" |
| | | v-if="orderType == '转入' || orderType == '转出'">煤场:{{ coalDetailsData.filedName || '' }}</view> |
| | | <view class="" |
| | | v-else>煤场:{{ coalDetailsData.filedName || '暂无' }}</view> |
| | | v-else>仓库:{{ coalDetailsData.filedName || '暂无' }}</view> |
| | | </view> |
| | | </view> |
| | | <view class="block-information"> |
| | |
| | | <view class="send-date">{{ coalDetailsData.sendDate }}</view> |
| | | </view> |
| | | <view class="coal-code">类型: {{ coalDetailsData.orderType || '' }}</view> |
| | | <view class="coal-code">提煤单编号: {{ coalDetailsData.code || '' }}</view> |
| | | <view class="coal-code">收发单编号: {{ coalDetailsData.code || '' }}</view> |
| | | <view class="coal-code">车牌号: {{ coalDetailsData.carNo || '' }}</view> |
| | | <view class="order-code" |
| | | v-if="!isSpecial"> |
| | |
| | | <view class="concrete" |
| | | style="background: url('https://mx.jzeg.cn:9096/appimg/image/banner/skin.png') no-repeat;background-size: cover;"> |
| | | 皮</view> |
| | | <view class="num">{{ Number(weightObj.skin).toFixed(2) ||"" }}</view> |
| | | <view class="num" v-if="weightObj.skin">{{ Number(weightObj.skin).toFixed(2) ||"" }}</view> |
| | | </view> |
| | | <view class="item"> |
| | | <view class="concrete" |
| | | style="background: url('https://mx.jzeg.cn:9096/appimg/image/banner/hair.png') no-repeat;background-size: cover;"> |
| | | 毛</view> |
| | | <view class="num">{{ Number(weightObj.hair).toFixed(2) ||"" }}</view> |
| | | <view class="num" v-if="weightObj.hair">{{ Number(weightObj.hair).toFixed(2) ||"" }}</view> |
| | | </view> |
| | | <view class="item"> |
| | | <view class="concrete" |
| | | style="background: url('https://mx.jzeg.cn:9096/appimg/image/banner/clean.png') no-repeat;background-size: cover;"> |
| | | 净</view> |
| | | <view class="num">{{ Number(weightObj.clean).toFixed(2) ||"" }}</view> |
| | | <view class="num" v-if="weightObj.clean">{{ Number(weightObj.clean).toFixed(2) ||"" }}</view> |
| | | </view> |
| | | </view> |
| | | </view> |
| | |
| | | <uni-th align="center">皮重</uni-th> |
| | | <uni-th align="center">毛重</uni-th> |
| | | <uni-th align="center">净重</uni-th> |
| | | <!-- <uni-th align="center">仓库</uni-th> --> |
| | | <uni-th align="center">扣吨</uni-th> |
| | | </uni-tr> |
| | | <uni-tr v-for="(subItem, index) in tmTaskCoalList" :key="index"> |
| | | <uni-td align="center"> |
| | | <view class="name">{{ subItem.productName }}</view></uni-td> |
| | | <uni-td align='right'> |
| | | <view >{{ Number( subItem.skin).toFixed(2) || ''}}</view> |
| | | <view v-if="subItem.skin">{{ Number( subItem.skin).toFixed(2) || ''}}</view> |
| | | </uni-td> |
| | | <uni-td align='right'> |
| | | <view class="name">{{ Number(subItem.hair) .toFixed(2) || '' }}</view> |
| | | <view class="name" v-if="subItem.hair">{{ Number(subItem.hair) .toFixed(2) || '' }}</view> |
| | | </uni-td> |
| | | <uni-td align='right'> |
| | | <view class="name">{{ Number( subItem.clean).toFixed(2) || '' }}</view> |
| | | <view class="name" v-if="subItem.clean">{{ Number( subItem.clean).toFixed(2) || '' }}</view> |
| | | </uni-td> |
| | | <!-- |
| | | <uni-td align="center"> |
| | | <view>{{ subItem.bunkerName }}</view></uni-td> --> |
| | | |
| | | <uni-td align="right"> |
| | | <view>{{ subItem.discount }}</view |
| | | ></uni-td> |
| | | |
| | | </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" |
| | |
| | | :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> |
| | |
| | | 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{ |