feat: mlogbw_check_table 缺陷项保存不上

This commit is contained in:
zty 2025-10-16 08:55:44 +08:00
parent 3da6e02814
commit c90321a264
2 changed files with 2 additions and 2 deletions

View File

@ -447,7 +447,7 @@ export default {
["产量", "台时产量t/h", 0, 0, 0, 0, 0, 0, 0, 0],
["运转时间", "运转时间h", 0, 0, 0, 0, 0, 0, 0, 0],
["运转时间", "运转率(%", 0, 0, 0, 0, 0, 0, 0, 0],
["能耗", "单位产品煤耗(t/kg", 0, 0, 0, 0, 0, 0, 0, 0],
["能耗", "单位产品煤耗(kg/t", 0, 0, 0, 0, 0, 0, 0, 0],
],
tableName: "生产报告",
modelValue: true,

View File

@ -631,7 +631,7 @@ export default {
obj.wpr = row.wpr;
obj.note = row.note;
//qct
if(that.qct!==''&&that.qct!==null){
if((that.qct!==''&&that.qct!==null)||(that.qctId!==''&&that.qctId!==null)){
that.qct_defects.forEach(item => {
if(item.rule_expression!==''&&item.rule_expression!==undefined&&item.rule_expression!==null){
let str = item.rule_expression.replace(/`/g, '');