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