初步完成整刀入库机制
This commit is contained in:
parent
d4a6203d06
commit
b1c91a6dad
@ -515,6 +515,21 @@ export default {
|
||||
/** 新增按钮操作 */
|
||||
handleAdd(planTypeCode) {
|
||||
this.reset();
|
||||
// 设定库区
|
||||
switch (planTypeCode) {
|
||||
case "DBRK":
|
||||
this.form.locationCode = null;
|
||||
break;
|
||||
case "DPRK":
|
||||
this.form.locationCode = null;
|
||||
break;
|
||||
case "ZDHK":
|
||||
this.form.locationCode = 'L055';
|
||||
break;
|
||||
case "CDHK":
|
||||
this.form.locationCode = null;
|
||||
break;
|
||||
}
|
||||
// 填充计划类型
|
||||
const filter = this.inPlanTypeList.filter(item => item.code === planTypeCode);
|
||||
if (filter.length) {
|
||||
|
@ -205,7 +205,7 @@ export default {
|
||||
<el-form-item label="备注" prop="remark">
|
||||
<el-input v-model="localDataForm.remark" placeholder="请输入备注"></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="库位" prop="cellId">
|
||||
<el-form-item label="库位" prop="cellId" v-if="localDataForm.planTypeCode!=='ZDHK'">
|
||||
<el-select v-model="wmsInPlanDetailForm.cellId" placeholder="请选择库位" filterable remote
|
||||
:remote-method="getAreaList" clearable>
|
||||
<el-option :label="item.areaName" :value="item.areaId.toString()" v-for="item in areaList"
|
||||
|
Loading…
Reference in New Issue
Block a user