|
|
|
|
@ -198,6 +198,7 @@ export default {
|
|
|
|
|
this.initPage(layer.load(2));
|
|
|
|
|
},
|
|
|
|
|
async initPage(idx) {
|
|
|
|
|
console.log('this.dataInfoObj', this.dataInfoObj);
|
|
|
|
|
let _data = await getListByTeamId({
|
|
|
|
|
teamId: this.dataInfoObj.FTeamID,
|
|
|
|
|
viewType: this.dataInfoObj.FViewType
|
|
|
|
|
@ -437,6 +438,13 @@ export default {
|
|
|
|
|
this.dataList.forEach((row, index) => {
|
|
|
|
|
let cache = cacheDataList[index];
|
|
|
|
|
let dataObj = {};
|
|
|
|
|
|
|
|
|
|
if (!row["FTypeID1"] || !row["FTypeID2"]) {
|
|
|
|
|
layer.msg("请先为所有物料选择分类", { icon : 2, time: 1000});
|
|
|
|
|
layer.close(idx);
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
for (let col of this.editColumn) {
|
|
|
|
|
let valTemp = row[col.key];
|
|
|
|
|
if (this.dataInfoObj.FViewType == 10) {
|
|
|
|
|
@ -471,6 +479,7 @@ export default {
|
|
|
|
|
updateObj[key].push(dataObj[key]);
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
let updateLog = updateObj.LogList.join("、");
|
|
|
|
|
if (updateLog != "") {
|
|
|
|
|
delete updateObj.LogList
|
|
|
|
|
|