Compare commits

...

2 Commits

@ -347,7 +347,6 @@ export default {
});
let saveId = this.dataInfoObj.FViewType + "_" + this.dataInfoObj.FID;
localStorage.setItem('EditView' + saveId, JSON.stringify(_data.rows));
this.editColumn = editColumn;
let $this = this;
this.dataList = _data.rows.map(function (item) {
@ -471,11 +470,9 @@ export default {
FViewType: this.dataInfoObj.FViewType
};
let saveId = this.dataInfoObj.FViewType + "_" + this.dataInfoObj.FID;
let cacheDataList = JSON.parse(localStorage.getItem('EditView' + saveId));
console.log('cacheDataList', cacheDataList);
let allTypeSelected = true;
this.dataList.forEach((row, index) => {
let cache = cacheDataList[index];
let dataObj = {};
if (row["FTypeID1"] == -1 || row["FTypeID2"] == -1 || row["FTypeID1"] == '' || row["FTypeID2"] == '') {
layer.msg("请先为所有物料选择分类", { icon: 2, time: 1000 });

Loading…
Cancel
Save