初步完成整刀入库机制

This commit is contained in:
刘名喜 2024-12-17 11:50:32 +08:00
parent d4a6203d06
commit b1c91a6dad
2 changed files with 16 additions and 1 deletions

View File

@ -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) {

View File

@ -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"