|
|
@ -22,8 +22,9 @@ |
|
|
|
<view class="uni-flex u-col-center space-between padding_10" |
|
|
|
style="background-color:ghostwhite; width: 100%; "> |
|
|
|
<view class=""> |
|
|
|
<!-- :isShowEdit="isShowEditLocation" --> |
|
|
|
<requiredLocation title="目标库位" :locationCode="toLocationCode" @getLocation='getToLocation' |
|
|
|
:locationAreaTypeList="toLocationAreaTypeList" :isShowEdit="isShowEditLocation"></requiredLocation> |
|
|
|
:locationAreaTypeList="toLocationAreaTypeList" :isShowEdit='true' ></requiredLocation> |
|
|
|
</view> |
|
|
|
<view class=" uni-flex uni-row"> |
|
|
|
<button class="btn_single_commit" hover-class="btn_commit_after" @click="commit">提交</button> |
|
|
@ -161,19 +162,23 @@ |
|
|
|
} else if (this.businessTypeCode == "HoldToScrap") { |
|
|
|
this.title = "隔离转报废记录"; |
|
|
|
this.toInventoryStatus = "SCRAP" |
|
|
|
this.toLocationCode = "SCRAP" |
|
|
|
this.toLocationCode = "" |
|
|
|
// this.toLocationCode = "SCRAP" |
|
|
|
} else if (this.businessTypeCode == "OkToHold") { |
|
|
|
this.title = "合格转隔离记录"; |
|
|
|
this.toInventoryStatus = "HOLD" |
|
|
|
this.toLocationCode = "HOLD" |
|
|
|
this.toLocationCode = "" |
|
|
|
// this.toLocationCode = "HOLD" |
|
|
|
} else if (this.businessTypeCode == "OkToScrap") { |
|
|
|
this.title = "合格转报废记录"; |
|
|
|
this.toInventoryStatus = "SCRAP" |
|
|
|
this.toLocationCode = "SCRAP" |
|
|
|
this.toLocationCode = "" |
|
|
|
// this.toLocationCode = "SCRAP" |
|
|
|
} else if (this.businessTypeCode == "ScrapToHold") { |
|
|
|
this.title = "报废转隔离记录"; |
|
|
|
this.toInventoryStatus = "HOLD" |
|
|
|
this.toLocationCode = "HOLD" |
|
|
|
// this.toLocationCode = "HOLD" |
|
|
|
this.toLocationCode = "" |
|
|
|
} |
|
|
|
uni.setNavigationBarTitle({ |
|
|
|
title: this.title |
|
|
|