feat:禅道146

This commit is contained in:
shijing 2026-01-06 14:15:52 +08:00
parent 7ef0c9a64b
commit 435898afcb
1 changed files with 4 additions and 34 deletions

View File

@ -798,6 +798,10 @@ export default {
// //
formTableSave(row) { formTableSave(row) {
let that = this; let that = this;
if(that.mode == 'ins'&&that.route_code=='niuzhuan'&&row.equip==''||row.equip==null){
row.work_start_time = null;
row.波数 = null;
}
let obj = {}; let obj = {};
obj.number = row.number; obj.number = row.number;
obj.mlogb = row.mlogb; obj.mlogb = row.mlogb;
@ -813,40 +817,6 @@ export default {
row[item.defect_name] = judge; row[item.defect_name] = judge;
} }
}); });
//
// if(row.ftest!==null&&row.ftest!==undefined&&row.ftest!==''){
// console.log('');
// obj.ftest =row.ftest;
// obj.ftest.ftestdefects.forEach((item) => {
// item.has = row[item.defect_name];
// })
// row.ftest.ftestitems.forEach((item1) => {
// item1.test_val_json = row[item1.testitem_name];
// })
// }else{//
// console.log('');
// obj.ftest = {};
// obj.ftest.ftestitems = [];
// obj.ftest.ftestdefects = [];
// obj.ftest.qct = that.qct;
// obj.ftest.test_date = that.handle_date!=null?that.handle_date:that.currentDate;
// obj.ftest.test_user = that.handle_user;
// that.qct_defects_origin.forEach((item) => {
// let itemObj = {};
// itemObj.defect = item.defect;
// itemObj.test_user = that.handle_user;
// itemObj.has = row[item.defect_name]?row[item.defect_name]:false;
// obj.ftest.ftestdefects.push(itemObj);
// })
// that.qct_testitems.forEach((item1) => {
// let itemObj1 = {};
// itemObj1.testitem = item1.testitem;
// itemObj1.test_user = that.handle_user;
// itemObj1.addto_wpr = item1.addto_wpr;
// itemObj1.test_val_json = row[item1.testitem_name];
// obj.ftest.ftestitems.push(itemObj1);
// })
// }
obj.ftest = {}; obj.ftest = {};
obj.ftest.ftestitems = []; obj.ftest.ftestitems = [];
obj.ftest.ftestdefects = []; obj.ftest.ftestdefects = [];