Browse Source

YT-683WMS05.线边退料需求及变更

intex
zhang_li 2 weeks ago
parent
commit
43d7444ffe
  1. 2
      src/mycomponents/job/jobComMainDetailCard.vue
  2. 1
      src/mycomponents/qty/recommendHandleQty.vue
  3. 13
      src/pages/productionReturn/job/okToReturnDetail.vue

2
src/mycomponents/job/jobComMainDetailCard.vue

@ -10,7 +10,7 @@
<div class="u-p-l-10">
<pack v-if="isShowPack && dataContent.packingNumber!=null" :packingCode="dataContent.packingNumber">
</pack>
<batch v-if="isShowBatch && dataContent.batch!=null" :batch="dataContent.batch"></batch>
<batch v-if="isShowBatch && dataContent.batch" :batch="dataContent.batch"></batch>
<view class="u-flex u-row-between">
<location v-if="isShowFromLocation&&dataContent.fromLocationCode" title="来源库位" :locationCode="dataContent.fromLocationCode">
</location>

1
src/mycomponents/qty/recommendHandleQty.vue

@ -9,6 +9,7 @@
<view class="text_recommend ">
{{Number(dataContent.qty)}}
</view>
<uom :uom="dataContent.uom"></uom>
</view>
<view>

13
src/pages/productionReturn/job/okToReturnDetail.vue

@ -206,8 +206,8 @@
await getManagementPrecisions(itemCodes, that.fromLocationCode, res => {
if (res.success) {
this.managementList = res.list;
this.managementType = this.managementList.some(item => item.ManagementPrecision ==
'BY_BATCH') ? 'BY_BATCH' : ''
this.managementType = this.managementList&&this.managementList[0]&&this.managementList[0].ManagementPrecision
this.managementType = 'BY_QUANTITY'
if(this.managementType == 'BY_BATCH'){
that.detailSource.forEach(item=>{
item.subList.forEach(cur=>{
@ -216,6 +216,15 @@
cur.fromPackingNumber=''
})
})
}else if(this.managementType == 'BY_QUANTITY'){
that.detailSource.forEach(item=>{
item.subList.forEach(cur=>{
cur.packingNumber=''
cur.toPackingNumber=''
cur.fromPackingNumber=''
cur.batch=''
})
})
}
}
})

Loading…
Cancel
Save