|
|
@ -23,7 +23,20 @@ |
|
|
|
@confirm="confirmWareHouse"></u-select> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<view class='split_line'></view> |
|
|
|
<view class="uni-flex uni-row" style="align-items: center; |
|
|
|
background-color: #fff; |
|
|
|
margin-right: 20rpx; |
|
|
|
border-radius: 8rpx; |
|
|
|
"> |
|
|
|
<view class="uni-center" style="width: 25%; font-size: 32rpx; "> |
|
|
|
优先级 |
|
|
|
</view> |
|
|
|
<view style="width: 100%;"> |
|
|
|
<uni-data-select style="padding: 20rpx;" v-model="priority" :localdata="priorityList" |
|
|
|
:clear="false"></uni-data-select> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class='split_line'></view> |
|
|
|
<view class="uni-flex uni-row padding title u-col-center"> |
|
|
|
<text>位置:</text> |
|
|
@ -67,6 +80,7 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class='split_line'></view> |
|
|
|
|
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
@ -136,7 +150,21 @@ |
|
|
|
maxlength: 10, |
|
|
|
stdPackInfo: undefined, |
|
|
|
wareHouseList: [], |
|
|
|
showWareHouse: false |
|
|
|
showWareHouse: false, |
|
|
|
priorityList: [{ |
|
|
|
value: 0, |
|
|
|
text: "低" |
|
|
|
}, |
|
|
|
{ |
|
|
|
value: 1, |
|
|
|
text: "中" |
|
|
|
}, |
|
|
|
{ |
|
|
|
value: 2, |
|
|
|
text: "高" |
|
|
|
}, |
|
|
|
], |
|
|
|
priority:1,//优先级 |
|
|
|
} |
|
|
|
}, |
|
|
|
props: { |
|
|
@ -207,6 +235,7 @@ |
|
|
|
this.itemCode = "请扫描物料信息"; |
|
|
|
this.rawLocationCode = "" |
|
|
|
this.positionInfo = "请选择位置" |
|
|
|
this.priority = '' |
|
|
|
this.fromWarehouseCode = "请选择仓库代码" |
|
|
|
this.workshopCode = "" //车间 |
|
|
|
this.workShopName = "" |
|
|
@ -241,6 +270,10 @@ |
|
|
|
}, |
|
|
|
|
|
|
|
confirm() { |
|
|
|
if (this.priority === '') { |
|
|
|
this.showErrorMessage("请输入优先级", "priority") |
|
|
|
return |
|
|
|
} |
|
|
|
if (this.positionInfo == "请选择位置") { |
|
|
|
this.showErrorMessage("请选择位置") |
|
|
|
return |
|
|
@ -286,6 +319,7 @@ |
|
|
|
fgLocationCode: this.fgLocationCode, |
|
|
|
fromWarehouseCode: this.fromWarehouseCode, |
|
|
|
toWarehouseCode: this.fromWarehouseCode, |
|
|
|
priority : this.priority, |
|
|
|
itemCode: this.itemCode, |
|
|
|
itemName: this.itemName, |
|
|
|
uom: this.uom, |
|
|
|