|
|
|
|
@ -147,12 +147,18 @@ export default {
|
|
|
|
|
return document.getElementsByClassName(column.key + "_" + rowIndex + "_" + columnIndex)[0].classList.add("three");
|
|
|
|
|
case "4":
|
|
|
|
|
return document.getElementsByClassName(column.key + "_" + rowIndex + "_" + columnIndex)[0].classList.add("four");
|
|
|
|
|
default:
|
|
|
|
|
document.getElementsByClassName(column.key + "_" + rowIndex + "_" + columnIndex)[0].classList.remove("one");
|
|
|
|
|
document.getElementsByClassName(column.key + "_" + rowIndex + "_" + columnIndex)[0].classList.remove("twe");
|
|
|
|
|
document.getElementsByClassName(column.key + "_" + rowIndex + "_" + columnIndex)[0].classList.remove("three");
|
|
|
|
|
document.getElementsByClassName(column.key + "_" + rowIndex + "_" + columnIndex)[0].classList.remove("four")
|
|
|
|
|
return "";
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
return back;
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
const cellClassName = function (row, column, rowIndex, columnIndex) {
|
|
|
|
|
return column.cellClass = column.key + "_" + rowIndex + "_" + columnIndex;
|
|
|
|
|
}
|
|
|
|
|
@ -429,10 +435,11 @@ export default {
|
|
|
|
|
if (typeName.indexOf("成品") > 0) {
|
|
|
|
|
data.FViewType = 1
|
|
|
|
|
}
|
|
|
|
|
let $this=this;
|
|
|
|
|
this.dataList.map(function (item) {
|
|
|
|
|
|
|
|
|
|
if (item.FID == data.FID) {
|
|
|
|
|
item.info = result;
|
|
|
|
|
if(item.FID==data.FID)
|
|
|
|
|
{
|
|
|
|
|
item.info=$this.materialInfoList.Data.find(s=>s.FDataID==data.FTypeID2);
|
|
|
|
|
}
|
|
|
|
|
return item;
|
|
|
|
|
})
|
|
|
|
|
|