| | |
| | | ref="collapseHeight" |
| | | class="collItem" |
| | | :title="'待装卸收发单'"> |
| | | <view class="history-information" v-for="item,i in detailData" |
| | | <view class="history-information" |
| | | @click="viewDetail(item)" |
| | | v-for="item,i in detailData" |
| | | :key="i"> |
| | | <view class="first"> |
| | | <view class="">{{ item.carNo || '' }}</view> |
| | |
| | | <uni-th width='120' |
| | | align="center">操作</uni-th> |
| | | <uni-th align="center" width='800'>产品</uni-th> |
| | | <uni-th align="center" width='85'>等级</uni-th> |
| | | <uni-th align="center" width='85'>包装</uni-th> |
| | | <uni-th align="center" width='110'>等级</uni-th> |
| | | <uni-th align="center" width='110'>包装</uni-th> |
| | | <!-- <uni-th align="center" width='200'>仓库</uni-th> |
| | | <uni-th align="center" width='100'>皮重</uni-th> |
| | | <uni-th align="center" width='100'>毛重</uni-th> |
| | | <uni-th align="center" width='100'>净重</uni-th> |
| | | <uni-th align="center" width='100'>数量</uni-th> --> |
| | | <uni-th align="center" width='100'>计划量</uni-th> |
| | | <uni-th align="center" width='120'>计划量</uni-th> |
| | | <!-- <uni-th align="center" width='100'>实际量</uni-th> --> |
| | | |
| | | </uni-tr> |
| | |
| | | <uni-td align="center"> |
| | | <view class="btnBox"> |
| | | <!-- --> |
| | | <u-button text='查看' @click="viewDetail(subItem)"></u-button> |
| | | <u-button type='primary' text='确认装卸' v-if="subItem.flag && isBtnShow(item)" @click="enterOk(item,subItem)"></u-button> |
| | | <!-- <u-button text='查看' @click="viewDetail(subItem)"></u-button> --> |
| | | <u-button type='primary' text='确认装卸' size='mini' v-if="subItem.flag && isBtnShow(item)" @click.native.stop="enterOk(item,subItem)"></u-button> |
| | | </view></uni-td> |
| | | <uni-td align="left"> |
| | | <view>{{ subItem.productName }}</view></uni-td> |
| | |
| | | <uni-tr> |
| | | <uni-th width='120' |
| | | align="center">操作</uni-th> |
| | | <uni-th align="center" width='300'>产1品</uni-th> |
| | | <uni-th align="center" width='100'>产品等级</uni-th> |
| | | <uni-th align="center" width='100'>包装类型</uni-th> |
| | | <uni-th align="center" width='800'>产品</uni-th> |
| | | <uni-th align="center" width='90'>等级</uni-th> |
| | | <uni-th align="center" width='90'>包装</uni-th> |
| | | <!-- <uni-th align="center" width='200'>仓库</uni-th> |
| | | <uni-th align="center" width='100'>皮重</uni-th> |
| | | <uni-th align="center" width='100'>毛重</uni-th> |
| | | <uni-th align="center" width='100'>净重</uni-th> |
| | | <uni-th align="center" width='100'>数量</uni-th> --> |
| | | <uni-th align="center">计划量</uni-th> |
| | | <uni-th align="center">实际量</uni-th> |
| | | <uni-th align="center" width='100'>计划量</uni-th> |
| | | <!-- <uni-th align="center" width='100'>实际量</uni-th> --> |
| | | |
| | | </uni-tr> |
| | | <uni-tr v-for="(subItem, index) in item.tmTaskCoalList" :key="index"> |
| | | <uni-td align="center"> |
| | | <view class="btnBox"> |
| | | <!-- --> |
| | | <u-button type='primary' text='拼单' v-if="isPinShow(item)" @click="pinDan(subItem)"></u-button> |
| | | <u-button type='primary' text='拼单' size='mini' v-if="isPinShow(item)" @click="pinDan(subItem)"></u-button> |
| | | </view></uni-td> |
| | | <uni-td w align="center"> |
| | | <view>{{ subItem.productName }}</view></uni-td> |
| | |
| | | </uni-td> --> |
| | | <uni-td> |
| | | <view class="name">{{ subItem.planMeasure }}</view> |
| | | </uni-td> |
| | | <uni-td> |
| | | <view class="name">{{ subItem.realityMeasure }}</view> |
| | | </uni-td> |
| | | <!-- |
| | | <uni-td align="center"> |
| | |
| | | @close='firstClassClose' |
| | | @select="firstClassSelectClick"></u-action-sheet> |
| | | <u-modal :show="enterZx" |
| | | :title="'提示'" |
| | | :title="'确认装卸'" |
| | | @close="closeModal" |
| | | :width='700' |
| | | :width='740' |
| | | @cancel="cancelModal" |
| | | @confirm="confirmModal" |
| | | :closeOnClickOverlay="true" |
| | | :showCancelButton="true"> |
| | | <view class="slot-content"> |
| | | 是否确认装卸? |
| | | <view v-if="isNumOk || isClean||isFlagNum"> |
| | | <view>产品名称:{{activeObj.productName}}</view> |
| | | <view>仓库:{{activeObj.bunkerName}}</view> |
| | | <view v-if="activeObj.isWeight === 1"> |
| | | <view>皮重:{{ Number(activeObj.skin).toFixed(2) || ''}}</view> |
| | | <view>毛重:{{Number(activeObj.hair).toFixed(2) || ''}}</view> |
| | | <view >净重:{{ Number(activeObj.clean).toFixed(2) || ''}}</view> |
| | | <view>计划量:{{activeObj.planMeasure || '暂无'}}</view> |
| | | <view>实际量:{{activeObj.realityMeasure || '暂无'}}</view> |
| | | </view> |
| | | <view class="queren"> |
| | | <text>请输入</text>: |
| | | <u--input |
| | |
| | | <view v-if="activeObj.containerNumber"><span>集装箱号:</span>{{activeObj.containerNumber}}</view> |
| | | |
| | | </view> |
| | | <view>是否空车出厂: <u-radio-group |
| | | <view style="display:flex;margin-top:20rpx">是否空车出厂: <u-radio-group |
| | | v-model="isEmptyCar" |
| | | placement="row" |
| | | iconPlacement="right" |
| | |
| | | computed:{ |
| | | isBtnShow(){ |
| | | return function(item){ |
| | | console.log(item,'itemssss') |
| | | if(!item){ |
| | | return false |
| | | }else{ |
| | |
| | | }, |
| | | isPinShow(){ |
| | | return function(item){ |
| | | console.log(item,'itemssss') |
| | | if(!item){ |
| | | return false |
| | | }else{ |
| | |
| | | }) |
| | | |
| | | }, |
| | | viewDetail(item){ |
| | | viewDetail(value){ |
| | | //查看收发单详情 |
| | | uni.navigateTo({ |
| | | url: `/subPages/loadUnlaodPageDetail/detail?id=${item.id}&checkId=${item.checkId}` |
| | | }); |
| | | url: `/subPages/fayunPlanDetails/fayunPlanMore/fayunPlanMore?id=${value.id}&orderType=${value.orderType}`, |
| | | }) |
| | | }, |
| | | firstClassSelectClick(val) { |
| | | this.dataForm.firstClass = val.name; |
| | |
| | | uni.hideLoading(); |
| | | }else{ |
| | | this.$u.toast('操作成功'); |
| | | } |
| | | setTimeout(() => { |
| | | this.getDetailData(); |
| | | }, 500); |
| | | } |
| | | |
| | | |
| | | }).catch((err) => { |
| | | this.$u.toast(err.msg || '失败'); |
| | |
| | | min-width: 100rpx; |
| | | // display: flex; |
| | | justify-content: space-around; |
| | | :v-deep .u-button__text{ |
| | | font-size: 12px!important; |
| | | } |
| | | text{ |
| | | color: #035cfb; |
| | | } |
| | |
| | | margin: 10px; |
| | | // margin-top: vww(100); |
| | | position: relative; |
| | | top: vww(-160); |
| | | top: vww(-200); |
| | | .top-tag{ |
| | | width: 60%; |
| | | margin-left: 55%; |