diff --git a/src/mycomponents/detail/comRecommendDetailCard.vue b/src/mycomponents/detail/comRecommendDetailCard.vue index 4eda6a01..090774ac 100644 --- a/src/mycomponents/detail/comRecommendDetailCard.vue +++ b/src/mycomponents/detail/comRecommendDetailCard.vue @@ -13,14 +13,13 @@ -
- +
@@ -30,7 +29,7 @@ 际 - + diff --git a/src/pages/unPlanned/job/receiptJobDetail.vue b/src/pages/unPlanned/job/receiptJobDetail.vue index cee1ad27..34389bae 100644 --- a/src/pages/unPlanned/job/receiptJobDetail.vue +++ b/src/pages/unPlanned/job/receiptJobDetail.vue @@ -17,7 +17,7 @@ :locationAreaTypeList='toLocationAreaTypeList'> --> + @remove="updateData" @updateData="updateData" @openDetail="openDetail" :isShowFromLocation='false' :isShowBatch='item.isShowBatch'> @@ -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 => {