feat:禅道146
This commit is contained in:
parent
7ef0c9a64b
commit
435898afcb
|
|
@ -798,6 +798,10 @@ export default {
|
|||
//添加
|
||||
formTableSave(row) {
|
||||
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 = {};
|
||||
obj.number = row.number;
|
||||
obj.mlogb = row.mlogb;
|
||||
|
|
@ -813,40 +817,6 @@ export default {
|
|||
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.ftestitems = [];
|
||||
obj.ftest.ftestdefects = [];
|
||||
|
|
|
|||
Loading…
Reference in New Issue