feat:禅道438

This commit is contained in:
shijing 2026-06-22 14:38:32 +08:00
parent 4cb34c00bd
commit 6181b75795
1 changed files with 13 additions and 1 deletions

View File

@ -58,7 +58,10 @@
<th class="w_180" v-if="route_code=='niuzhuan'" v-show="isColVisible('time')">扭转日期</th> <th class="w_180" v-if="route_code=='niuzhuan'" v-show="isColVisible('time')">扭转日期</th>
<th class="w_150" v-if="mgroupName=='喷码'" v-show="isColVisible('tooling')">工装</th> <th class="w_150" v-if="mgroupName=='喷码'" v-show="isColVisible('tooling')">工装</th>
<th class="w_80" v-for="item in qct_testitems" :key="item.id" v-show="isColVisible('testitem_'+item.id)">{{ item.testitem_name }}</th> <th class="w_80" v-for="item in qct_testitems" :key="item.id" v-show="isColVisible('testitem_'+item.id)">{{ item.testitem_name }}</th>
<th class="w_80" v-for="item in qct_defects" :key="item.id" v-show="isColVisible('defect_'+item.id)">{{ item.defect_name }}</th> <th class="w_80" v-for="item in qct_defects" :key="item.id" v-show="isColVisible('defect_'+item.id)">
{{ item.defect_name }}
<span style="color:#f56c6c;">{{ getDefectCount(item.defect_name) }}</span>
</th>
<th class="w_80" v-show="isColVisible('note')">备注</th> <th class="w_80" v-show="isColVisible('note')">备注</th>
<th class="w_150 sticky-cell sticky-right-action" v-if="!isSubmit">操作</th> <th class="w_150 sticky-cell sticky-right-action" v-if="!isSubmit">操作</th>
</tr> </tr>
@ -1358,6 +1361,15 @@ that.$API.wpm.prints.req(printer_ip, obj).then((response) => {
this.$message.error("导入失败,请重新尝试"); this.$message.error("导入失败,请重新尝试");
}); });
}, },
getDefectCount(defectName){
let count = 0;
this.mlogbwlist.forEach(row => {
if(row[defectName]){
count++;
}
});
return count;
},
hasNull(){ hasNull(){
let that = this; let that = this;
let canSubmit = true; let canSubmit = true;