Compare commits

...

2 Commits

Author SHA1 Message Date
2543902e16 Merge remote-tracking branch 'gitea/master' 2024-12-11 16:49:25 +08:00
e28bfd93e5 refactor(入库计划): 优化 2024-12-10 10:53:02 +08:00
2 changed files with 9 additions and 10 deletions

View File

@ -29,7 +29,6 @@ export default {
wmsInPlanDetailEntityList: [],
//
rules: {
planCode: [{required: true}],
relBillCode: [{required: true}],
},
localVisible: this.visible,
@ -71,11 +70,11 @@ export default {
},
/** 提交按钮 */
async submitForm() {
const validateRfidResult = await this.validateRfid();
if (Array.isArray(validateRfidResult) && validateRfidResult.length > 0) {
this.$modal.msgError(`RFID重复${validateRfidResult}`);
return;
}
// const validateRfidResult = await this.validateRfid();
// if (Array.isArray(validateRfidResult) && validateRfidResult.length > 0) {
// this.$modal.msgError(`RFID${validateRfidResult}`);
// return;
// }
await this.$refs["form"].validate(valid => {
if (valid) {
this.localDataForm.wmsInPlanDetailsList = []
@ -200,9 +199,9 @@ export default {
<!--状态为1已执行 则禁用-->
<el-form ref="form" :model="localDataForm" :rules="rules" label-width="80px" inline
:disabled="localDataForm.state === '1'">
<el-form-item label="计划编码" prop="planCode">
<el-input v-model="localDataForm.planCode" placeholder="请输入计划编码"></el-input>
</el-form-item>
<!-- <el-form-item label="计划编码" prop="planCode">-->
<!-- <el-input v-model="localDataForm.planCode" placeholder="请输入计划编码"></el-input>-->
<!-- </el-form-item>-->
<el-form-item label="备注" prop="remark">
<el-input v-model="localDataForm.remark" placeholder="请输入备注"></el-input>
</el-form-item>

View File

@ -60,7 +60,7 @@
>推入库位
</el-button>
</template>
<template v-if="scope.row.planInStatus !== '1'">
<template v-else-if="scope.row.planInStatus !== '1'">
<el-button
size="mini"
type="text"