Commit 50419be6 authored by dragondean@qq.com's avatar dragondean@qq.com

修复储位选择异常

parent 60ce1bfb
......@@ -407,7 +407,7 @@
<!--<el-button type="primary" size="mini" @click="showLocation(row, $index)">{{ $t('选择储位') }}</el-button>-->
<warehouse-area-select
v-model="row.orderLocationList"
:warehouse-id="splitData[splitItemIndex].dstWarehouseId"
:warehouse-id="currentWarehouseId"
></warehouse-area-select>
</template>
</el-table-column>
......@@ -674,6 +674,10 @@ export default {
quantity: data.quantity.toNumber()
}
},
// 当前仓库ID
currentWarehouseId(){
return this.orderData.adjustToDestWarehouseId || this.orderData.logisticsInfoDto.startWarehouseId
},
// 根据orderItemId获取入仓记录
getOrderItemWarehouseIn() {
return orderItemId => {
......@@ -890,6 +894,7 @@ export default {
this.numcheck()
},*/
// 查询数量是否必填
numcheck(){
quantityRequired(this.orderData.lineId).then(res=>{
this.quantityshow = res.data
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment