| | |
| | | </view> |
| | | </view> |
| | | <view class="senddate">{{ item.orderCode }}</view> |
| | | <view class="rightBtn"><u-button type='primary' text='一键确认' v-if="item.isWeight === 0 && item.tmTaskCoalList.length >1 && item.packingType !== 1" @click.native.stop="allOkBtn(item)"></u-button></view> |
| | | |
| | | <!-- v-if="item.isWeight === 0 && item.tmTaskCoalList.length >1 && item.packingType !== 1" --> |
| | | <view class="rightBtn"><u-button type='primary' v-if=" item.tmTaskCoalList.length >1 && !item.tmTaskCoalList.find(item=>item.isWeight !== 0) && item.packingType !== 1" text='一键确认' @click.native.stop="allOkBtn(item)"></u-button></view> |
| | | </view> |
| | | <view class="fourth"> |
| | | <view class="senddate">{{ proType[item.packingType] }}</view> |
| | | </view> |
| | | |
| | | <view class="table"> |
| | | <uni-table border stripe |
| | | emptyText="暂无更多数据"> |
| | |
| | | <uni-th width='120' |
| | | align="center">操作</uni-th> |
| | | <uni-th align="center" width='800'>产品</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='120'>确认量</uni-th> |
| | | <uni-th align="center" width='120'>计划量</uni-th> |
| | | <uni-th align="center" width='120'>计重方式</uni-th> |
| | | |
| | | <!-- <uni-th align="center" width='100'>实际量</uni-th> --> |
| | | |
| | |
| | | <view class="btnBox"> |
| | | <!-- --> |
| | | <!-- <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> |
| | | <u-button type='primary' text='确认装卸' size='mini' v-if="subItem.flag && isBtnShow(item) && !( item.tmTaskCoalList.length >1 && !item.tmTaskCoalList.find(item=>item.isWeight !== 0) && item.packingType !== 1)" @click.native.stop="enterOk(item,subItem)"></u-button> |
| | | </view></uni-td> |
| | | <uni-td align="left"> |
| | | <view>{{ subItem.productName }}</view></uni-td> |
| | | <uni-td align="center"> |
| | | <view>{{ subItem.productGrade }}</view></uni-td> |
| | | <uni-td align="center"> |
| | | <view>{{ proType[item.packingType] }}</view> |
| | | </uni-td> |
| | | <view>{{ subItem.productName + ( subItem.productGrade ? '-' + subItem.productGrade :'') }}</view></uni-td> |
| | | <!-- <uni-td> |
| | | <view>{{ subItem.bunkerName }}</view> |
| | | </uni-td> |
| | |
| | | <uni-td align="right"> |
| | | <view class="name">{{ subItem.planMeasure }}</view> |
| | | </uni-td> |
| | | |
| | | <uni-td align="right"> |
| | | <u-tag :text="'计数'" plain v-if="subItem.isWeight==0"></u-tag> |
| | | <u-tag :text="'称重'" plain v-else-if="subItem.isWeight==1"></u-tag> |
| | | <u-tag :text="'称重计数'" plain v-else-if="subItem.isWeight==2"></u-tag> |
| | | <u-tag v-else></u-tag> |
| | | </uni-td> |
| | | <!-- <uni-td> |
| | | <view class="name">{{ subItem.realityMeasure }}</view> |
| | | </uni-td> --> |
| | |
| | | </view> |
| | | <view class="senddate">{{ item.orderCode }}</view> |
| | | </view> |
| | | <view class="fourth"> |
| | | <view class="senddate">{{ proType[item.packingType] }}</view> |
| | | </view> |
| | | <view class="table"> |
| | | <uni-table border stripe |
| | | emptyText="暂无更多数据"> |
| | |
| | | <uni-th width='120' |
| | | align="center">操作</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" 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='120'>计划量</uni-th> |
| | | <uni-th align="center" width='120'>计重方式</uni-th> |
| | | |
| | | |
| | | </uni-tr> |
| | |
| | | <!-- <u-button type='primary' text='修改' size='mini' v-if="subItem.isWeight === 0 || subItem.isWeight === 2 " @click="editOrder(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 align="center"> |
| | | <view>{{ subItem.productGrade }}</view></uni-td> |
| | | <uni-td> |
| | | <view>{{ proType[item.packingType] }}</view> |
| | | </uni-td> |
| | | <uni-td align="left"> |
| | | <view>{{ subItem.productName + ( subItem.productGrade ? '-' + subItem.productGrade :'') }}</view></uni-td> |
| | | <!-- <uni-td> |
| | | <view>{{ subItem.bunkerName }}</view> |
| | | </uni-td> |
| | | </uni-td> |
| | | <uni-td> |
| | | <view class="name" v-if="subItem.skin">{{ Number(subItem.skin).toFixed(2) || '' }}</view> |
| | | </uni-td> |
| | |
| | | <uni-td> |
| | | <view class="name">{{ subItem.productQuantity }}</view> |
| | | </uni-td> --> |
| | | <uni-td> |
| | | <uni-td align="right"> |
| | | <view class="name">{{ subItem.productQuantity }}</view> |
| | | </uni-td> |
| | | <uni-td> |
| | | <uni-td align="right"> |
| | | <view class="name">{{ subItem.planMeasure }}</view> |
| | | </uni-td> |
| | | <uni-td align="right"> |
| | | <u-tag :text="'计数'" plain v-if="subItem.isWeight==0"></u-tag> |
| | | <u-tag :text="'称重'" plain v-else-if="subItem.isWeight==1"></u-tag> |
| | | <u-tag :text="'称重计数'" plain v-else-if="subItem.isWeight==2"></u-tag> |
| | | <u-tag v-else></u-tag> |
| | | </uni-td> |
| | | |
| | | <!-- <uni-td align="center"> |
| | |
| | | |
| | | </view> |
| | | </u-modal> |
| | | <u-modal :show="showConfim" @confirm="confirmEnter" :showCancelButton="true" @cancel="showConfim = false" ref="uModal" :asyncClose="true"> |
| | | <view> 是否确定一键装卸?</view> |
| | | <u-modal :show="showConfim" @confirm="confirmEnter" :showCancelButton="true" @cancel="showConfim = false;isOkNum = ''" ref="uModal" :asyncClose="true"> |
| | | <view class="modalBody"> |
| | | <view style="text-align: center;"> 是否确定一键装卸?</view> |
| | | <view style="display: flex;align-items: center;"><text> 到货:</text> <u--input |
| | | style="display: inline-block;width: 200rpx;border-bottom: solid 1px #ccc;" |
| | | type="digit" |
| | | :placeholder="'数量'" |
| | | v-model="isOkNum" |
| | | > |
| | | </u--input> 件</view> |
| | | </view> |
| | | |
| | | </u-modal> |
| | | <!-- 仓库 --> |
| | | <!-- <u-action-sheet :actions="secondClassActionsList" |
| | |
| | | data() { |
| | | return { |
| | | enterXg:false, |
| | | isOkNum:'', |
| | | fileList1:[], |
| | | activeObjedit:{}, |
| | | discountJpg:'', |
| | |
| | | }, |
| | | //确认 |
| | | confirmEnter(){ |
| | | this.$reqPost('oneClickLoading',{tmId:this.paramsItem.id},'params').then((res) => { |
| | | this.$reqPost('oneClickLoading',{tmId:this.paramsItem.id,kgNum:this.isOkNum},'params').then((res) => { |
| | | if(res.code == 0){ |
| | | console.log(res,'res') |
| | | this.$u.toast('一键确认成功') |
| | |
| | | |
| | | <style lang="scss" |
| | | scoped> |
| | | .modalBody{ |
| | | display: flex; |
| | | flex-direction: column; |
| | | justify-content: center; |
| | | } |
| | | ::-webkit-scrollbar{ |
| | | display: none; |
| | | } |