Yang 3 years ago
commit 34a0e8f8dc

@ -320,7 +320,7 @@
this._clickSetInfo(this.dataItem,1);
},
_clickSetInfo(data, type) {
debugger
for (let i = 0; i < this.showEditBox.length; i++) {
this.showEditBox[i] = false;
}

@ -234,7 +234,6 @@ export default {
},
//-
async _getPageList(isFirst) {
debugger
this.pageInfo.total = 0;
if (isFirst) {
this.pageInfo.current = 1;
@ -258,7 +257,6 @@ export default {
this.dataList = result.Data.List;
},
_addMaterial(){
debugger
this.$router.push("/materia/all");
},
//
@ -283,12 +281,8 @@ export default {
}
let result = await UpdateDataModel(updateInfo) || 0;
this.dataInfoObj
debugger
if (result.Code==200) {
debugger
await commonSave({
teamId: this.dataInfoObj.FTeamID,
type: this.dataInfoObj['FType'],

@ -186,7 +186,7 @@
teamId: this.dataInfoObj.FTeamID,
viewType: ""
});
debugger
if(this.dataInfoObj.FViewType == 1){
this.inputCodeValue = _data.rows[0].HalfCode;
this.inputDescValue = _data.rows[0].HalfDesc;

@ -234,7 +234,7 @@ export default {
});
this.materialInfoList = await GetMaterialInfoList() || null;
let freezingCols = await GetFreezingColumns();
debugger
if (this.dataInfoObj.FViewType == 1 || this.dataInfoObj.FViewType == 10) {
this.inputCodeValue = _data.rows[0]?_data.rows[0].HalfCode:"";
this.inputDescValue = _data.rows[0]?_data.rows[0].HalfDesc:"";

@ -88,8 +88,6 @@
};
let result = await getTeamworkView(postData);
debugger
let formulaList = result["List1"]
if (formulaList) {

@ -168,8 +168,6 @@ export default {
return item;
}) || [];
debugger
},
cancelClick() {
this.$emit('cancelClick', false);

@ -224,7 +224,6 @@ export default {
let indexName=document.querySelectorAll(".sItem")[i].querySelectorAll("select")[1].selectedIndex;
let item =arr1.find(m=>m==document.querySelectorAll(".sItem")[i].querySelectorAll("select")[0].value);
debugger
if(item!=null)
{
layer.msg("已存在相同模式", {

@ -283,7 +283,6 @@
foot: result.filter(s => s.FGroup == 3) || []
}
this.dataProcess = dataProcess;
debugger
},
//
async _getViewList() {
@ -314,11 +313,8 @@
});
console.log(dataList)
this.dataList = dataList;
debugger
},
async _getTeamworkView(data, type) {
debugger
let viewType = parseInt(type == 1 ? data.seeCode : data.outCode);
if (type == 2) viewType = viewType - this.viewTypeCount;
let postData = {

@ -56,7 +56,6 @@
methods: {
initPage() {
debugger
let dataColumn = [{
type: "number",
title: "序号",

@ -331,7 +331,6 @@ export default {
}
if (this.formula1Name != "") {
let result = await getPageList(postData, "Material");
debugger
let factoryList=[];
for(let i=0;i<this.factoryLists.length;i++){
factoryList.push(this.factoryLists[i]);

@ -84,7 +84,6 @@
width: "56"
}];
let dataList = [];
debugger
let postData = {
FTeamID: this.dataInfoObj.FTeamID,
FViewType: 2,

@ -115,7 +115,6 @@
this.postData.FPageIndex = this.pageInfo.current;
this.postData.FPageSize = this.pageInfo.limit;
let result = await getPageList(this.postData, "Formula");
debugger
result.Data.List = result.Data.List || [];
this.pageInfo.total = result.Data.Total || 0;
this.dataList = result.Data.List;

@ -88,11 +88,10 @@ export default {
},
//
async _getViewList() {
debugger
let _data = await getFormulaByFTestCode({
"code":this.dataInfoObj.NewFTestCode
});
debugger
this.dataColumn =_data.columns;
this.dataList =_data.rows;
},

@ -88,7 +88,7 @@ export default {
teamId: this.dataInfoObj.FID,
viewType: "2"
});
debugger
this.typeList[0] = _data.types.filter(s => s.FDepth == 1) || [];
this.typeList[1] = _data.types.filter(s => s.FDepth != 1) || [];

@ -260,7 +260,7 @@ export default {
this.postData.FPageIndex = this.pageInfo.current;
this.postData.FPageSize = this.pageInfo.limit;
let result = await getPageList(this.postData, "HalfMaterialTask");
debugger
let $this=this;
this.dataList = result.Data.List.map(function (item) {
item.FAddDate = item.FAddDate == null ? "" : $this.dateFormat(item.FAddDate);
@ -292,9 +292,6 @@ export default {
this.showEditBox[i] = true;
},
_clickSetInfo(data, type) {
debugger
for (let i = 0; i < this.showEditBox.length; i++) {
this.showEditBox[i] = false;
}

Loading…
Cancel
Save