|
|
@ -22,10 +22,6 @@ |
|
|
|
<uni-td align="center">批次</uni-td> |
|
|
|
<uni-td>{{item.lot}}</uni-td> |
|
|
|
</uni-tr> |
|
|
|
<uni-tr> |
|
|
|
<uni-td align="center">库位</uni-td> |
|
|
|
<uni-td>{{item.recommendLocationCode}}</uni-td> |
|
|
|
</uni-tr> |
|
|
|
<uni-tr> |
|
|
|
<uni-td align="center">单位</uni-td> |
|
|
|
<uni-td>{{item.uom}}</uni-td> |
|
|
@ -193,12 +189,6 @@ |
|
|
|
return; |
|
|
|
} |
|
|
|
|
|
|
|
locations(resultData.recommendLocationCode).then(res => { |
|
|
|
if (res) { |
|
|
|
//不用隔离、在途、待检 |
|
|
|
if (res.type == 1 || res.type == 6 || res.type == 13) { |
|
|
|
that.showMessage("来源库位不可以是待检、隔离、在途库位类型"); |
|
|
|
} else { |
|
|
|
var item = { |
|
|
|
packingCode: resultData.code, |
|
|
|
itemCode: resultData.itemCode, |
|
|
@ -206,7 +196,6 @@ |
|
|
|
itemDesc1: resultData.itemDesc1, |
|
|
|
stdPackQty: resultData.stdPackQty, |
|
|
|
lot:resultData.lot, |
|
|
|
recommendLocationCode:resultData.recommendLocationCode, |
|
|
|
uom: resultData.uom, |
|
|
|
qty: resultData.qty |
|
|
|
|
|
|
@ -218,15 +207,6 @@ |
|
|
|
}) |
|
|
|
|
|
|
|
this.$forceUpdate(); |
|
|
|
} |
|
|
|
} else { |
|
|
|
this.showMessage('来源库位【' + resultData.recommendLocationCode + '】不存在'); |
|
|
|
} |
|
|
|
|
|
|
|
}).catch(err => { |
|
|
|
this.showMessage(err.message); |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|