Compare commits
2 Commits
02d5705556
...
2543902e16
Author | SHA1 | Date | |
---|---|---|---|
2543902e16 | |||
e28bfd93e5 |
@ -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>
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user