|
|
@ -239,7 +239,14 @@ export default {
|
|
|
|
this.$message.error("请选择类型!");
|
|
|
|
this.$message.error("请选择类型!");
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if (this.inputQuery.beforeTime < 0){
|
|
|
|
|
|
|
|
this.$message.error("生成出入库单时间间隔不能为负数!")
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
if (this.inputQuery.busBeforeTime < 0){
|
|
|
|
|
|
|
|
this.$message.error("生成业务单时间间隔不能为负数!")
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
if (this.formName === "add") {
|
|
|
|
if (this.formName === "add") {
|
|
|
|
let numRegExp = '^[0-9]*$';
|
|
|
|
let numRegExp = '^[0-9]*$';
|
|
|
|
let numReg = new RegExp(numRegExp);
|
|
|
|
let numReg = new RegExp(numRegExp);
|
|
|
|