|
|
@ -52,7 +52,7 @@ |
|
|
|
<view class="uni-flex u-col-center space-between padding_10" |
|
|
|
style="background-color:ghostwhite; width: 100%; "> |
|
|
|
<view class=""> |
|
|
|
<locationCompare title="收货库位" :isShowEdit="jobContent.allowModifyLocation=='TRUE'" |
|
|
|
<locationCompare ref ="comScanLocation" title="收货库位" :isShowEdit="jobContent.allowModifyLocation=='TRUE'" |
|
|
|
:recommendLocationCode="jobToLocationCode" :locationCode="toLocationCode" |
|
|
|
@getLocation='scanLocationCode' :locationTypeList="toLocationTypeList"></locationCompare> |
|
|
|
</view> |
|
|
@ -230,15 +230,9 @@ |
|
|
|
that.jobContent = res.data; |
|
|
|
that.subList = res.data.subList; |
|
|
|
that.jobStatus = res.data.status |
|
|
|
that.jobContent.allowModifyLocation = 'TRUE' |
|
|
|
that.jobToLocationCode = that.subList[0].toLocationCode |
|
|
|
that.productionLineCode = that.subList[0].productionLineCode; |
|
|
|
var valiDate = getSwitchInfoByCode("fgProductReceipCommitValidate") |
|
|
|
if(valiDate){ |
|
|
|
that.jobContent.allowModifyLocation = 'TRUE' |
|
|
|
|
|
|
|
}else{ |
|
|
|
that.jobContent.allowModifyLocation = 'FALSE' |
|
|
|
} |
|
|
|
// if (that.jobContent.allowModifyLocation == 'FALSE') { |
|
|
|
// that.toLocationCode = that.subList[0].toLocationCode |
|
|
|
// } |
|
|
@ -455,7 +449,7 @@ |
|
|
|
return |
|
|
|
} |
|
|
|
}else{ |
|
|
|
this.toLocationCode = this.jobToLocationCode |
|
|
|
this.toLocationCode = this.toLocationCode?this.toLocationCode:this.jobToLocationCode |
|
|
|
} |
|
|
|
this.detailSource.forEach(item => { |
|
|
|
item.subList.forEach(subitem => { |
|
|
|