|
|
@@ -229,7 +229,7 @@ export default {
|
|
|
remarks: ''
|
|
|
}
|
|
|
// 加载最大序号
|
|
|
- this.getMaxDisplayNo(this.$config.displayNoTable.productDefect);
|
|
|
+ this.getMaxDisplayNo(this.$config.displayNoTable.productDefect, {otherCond: 'defect_kind = \''+this.defectKind+'\''});
|
|
|
},
|
|
|
/**
|
|
|
* @desc : 给参数赋值
|
|
|
@@ -270,7 +270,7 @@ export default {
|
|
|
initData(type) {
|
|
|
if (type === this.$config.formMode.add) {
|
|
|
// 加载最大序号
|
|
|
- this.getMaxDisplayNo(this.$config.displayNoTable.productDefect);
|
|
|
+ this.getMaxDisplayNo(this.$config.displayNoTable.productDefect, {otherCond: 'defect_kind = \''+this.defectKind+'\''});
|
|
|
}
|
|
|
if (type === this.$config.formMode.add || type === this.$config.formMode.edit) {
|
|
|
this.getDefectTypeList(); // 加载缺陷分类数据
|