Browse Source

YT-933计划外入库任务,没有批次时PDA任务页面样式显示不正确

intex
zhang_li 2 weeks ago
parent
commit
2d0f95fe5a
  1. 5
      src/mycomponents/detail/comRecommendDetailCard.vue
  2. 13
      src/pages/unPlanned/job/receiptJobDetail.vue

5
src/mycomponents/detail/comRecommendDetailCard.vue

@ -13,14 +13,13 @@
<uni-swipe-action-item @click="swipeClick($event,item)"
:right-options="item.scaned?scanOptions:detailOptions"
style='padding:0px 0px 5px 0px;align-items: center;'>
<view v-if="item.isRecommend" class="uni-flex" style="flex-direction: row; align-items: center;">
<view class="" style="font-size: 32rpx; color: #3c9cff; font-weight: bold; text-align: center;padding: 10px;">
<br/>
</view>
<recommend :detail="item" :isShowStatus="isShowStatus" :isShowFromLocation="isShowFromLocation" :isShowToLocation="isShowToLocation" style="flex:1">
<recommend :detail="item" :isShowStatus="isShowStatus" :isShowFromLocation="isShowFromLocation" :isShowToLocation="isShowToLocation" style="flex:1" :isShowBatch='item.isShowBatch'>
</recommend>
</view>
@ -30,7 +29,7 @@
</view>
<recommend :detail="item" :isShowStatus="isShowStatus" :isShowFromLocation="isShowFromLocation" :isShowToLocation="isShowToLocation" style="flex:1">
<recommend :detail="item" :isShowStatus="isShowStatus" :isShowFromLocation="isShowFromLocation" :isShowToLocation="isShowToLocation" style="flex:1" :isShowBatch='item.isShowBatch'>
</recommend>
</view>

13
src/pages/unPlanned/job/receiptJobDetail.vue

@ -17,7 +17,7 @@
:locationAreaTypeList='toLocationAreaTypeList'>
</com-receipt-detail-card> -->
<comRecommendDetailCard :dataContent="item" :index="index" :settingParam="jobContent"
@remove="updateData" @updateData="updateData" @openDetail="openDetail" :isShowFromLocation='false'>
@remove="updateData" @updateData="updateData" @openDetail="openDetail" :isShowFromLocation='false' :isShowBatch='item.isShowBatch'>
</comRecommendDetailCard>
</view>
<view class='split_line'></view>
@ -105,7 +105,7 @@
managementList: [],
managementType:'',
jobStatus: "",
jobToLocationCode: ""
jobToLocationCode: "",
};
},
onLoad(option) {
@ -190,6 +190,13 @@
this.detailSource.forEach(item => {
itemCodes.push(item.itemCode)
item.scaned = false
item.subList.forEach((cur,index)=>{
if(index == 0){
console.log(222,cur)
cur.batch = ''
}
cur.isShowBatch = cur.batch ? true :false
})
})
getManagementPrecisions(itemCodes, that.jobToLocationCode, res => {
if (res.success) {
@ -385,8 +392,6 @@
return;
}
}
console.log(11,scanCount)
console.log(11,this.subList.length)
if (scanCount < this.subList.length){
if(this.jobContent.allowPartialComplete == "TRUE"){
this.$refs.comMessage.showQuestionMessage1("任务明细未全部完成,是否提交?", 'red', res => {

Loading…
Cancel
Save