|
|
@ -24,7 +24,7 @@ |
|
|
|
style="background-color:ghostwhite; width: 100%; "> |
|
|
|
<view class=""> |
|
|
|
<requiredLocation title="目标库位" :locationCode="toLocationCode" @getLocation='getToLocationCode' |
|
|
|
:locationTypeList="toLocationTypeArray"></requiredLocation> |
|
|
|
:locationTypeList="toLocationTypeArray" :isShowEdit="toLocationCode==''"></requiredLocation> |
|
|
|
</view> |
|
|
|
<view class=" uni-flex uni-row"> |
|
|
|
<button class="btn_single_commit" hover-class="btn_commit_after" @click="commit">提交</button> |
|
|
@ -33,7 +33,8 @@ |
|
|
|
</view> |
|
|
|
<win-scan-button @goScan='openScanPopup'></win-scan-button> |
|
|
|
</view> |
|
|
|
<win-scan-pack-and-location ref="scanPopup" @getResult='getScanResult' :title="'箱码'"></win-scan-pack-and-location> |
|
|
|
<win-scan-pack-and-location ref="scanPopup" @getResult='getScanResult' :title="'箱码'"> |
|
|
|
</win-scan-pack-and-location> |
|
|
|
<win-scan-location ref="scanFromLocationCode" title="来源库位" @getLocation='getLocation' |
|
|
|
:locationTypeList="fromlocationTypeList"></win-scan-location> |
|
|
|
<com-message ref="comMessage"></com-message> |
|
|
@ -100,16 +101,19 @@ |
|
|
|
type: Boolean, |
|
|
|
default: false |
|
|
|
}, |
|
|
|
|
|
|
|
businessTypeCode: { |
|
|
|
type: String, |
|
|
|
default: "Move" |
|
|
|
} //业务类型 |
|
|
|
}, //业务类型 |
|
|
|
toLocationCode: { |
|
|
|
type: String, |
|
|
|
default: "" |
|
|
|
}, |
|
|
|
}, |
|
|
|
data() { |
|
|
|
return { |
|
|
|
fromLocationCode: "", |
|
|
|
toLocationCode: "", |
|
|
|
// toLocationCode: "", |
|
|
|
toLocationInfo: {}, |
|
|
|
toLocationTypeArray: [], |
|
|
|
toInventoryStatus: "", |
|
|
@ -305,7 +309,8 @@ |
|
|
|
inventoryMoveRecordSubmit(params).then(res => { |
|
|
|
uni.hideLoading() |
|
|
|
if (res.data) { |
|
|
|
this.showCommitSuccessMessage("提交成功<br>生成"+this.title+"记录<br>" + res.data) |
|
|
|
this.showCommitSuccessMessage("提交成功<br>生成" + this.title + "记录<br>" + |
|
|
|
res.data) |
|
|
|
} else { |
|
|
|
this.showErrorMessage("提交失败[" + res.msg + "]") |
|
|
|
} |
|
|
|