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

修复储位选择异常

parent 60ce1bfb
...@@ -407,7 +407,7 @@ ...@@ -407,7 +407,7 @@
<!--<el-button type="primary" size="mini" @click="showLocation(row, $index)">{{ $t('选择储位') }}</el-button>--> <!--<el-button type="primary" size="mini" @click="showLocation(row, $index)">{{ $t('选择储位') }}</el-button>-->
<warehouse-area-select <warehouse-area-select
v-model="row.orderLocationList" v-model="row.orderLocationList"
:warehouse-id="splitData[splitItemIndex].dstWarehouseId" :warehouse-id="currentWarehouseId"
></warehouse-area-select> ></warehouse-area-select>
</template> </template>
</el-table-column> </el-table-column>
...@@ -674,6 +674,10 @@ export default { ...@@ -674,6 +674,10 @@ export default {
quantity: data.quantity.toNumber() quantity: data.quantity.toNumber()
} }
}, },
// 当前仓库ID
currentWarehouseId(){
return this.orderData.adjustToDestWarehouseId || this.orderData.logisticsInfoDto.startWarehouseId
},
// 根据orderItemId获取入仓记录 // 根据orderItemId获取入仓记录
getOrderItemWarehouseIn() { getOrderItemWarehouseIn() {
return orderItemId => { return orderItemId => {
...@@ -890,6 +894,7 @@ export default { ...@@ -890,6 +894,7 @@ export default {
this.numcheck() this.numcheck()
},*/ },*/
// 查询数量是否必填
numcheck(){ numcheck(){
quantityRequired(this.orderData.lineId).then(res=>{ quantityRequired(this.orderData.lineId).then(res=>{
this.quantityshow = res.data 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