Commit 31abe0e0 authored by 沈良进's avatar 沈良进

页面修改

parent 59a2d840
......@@ -1926,18 +1926,6 @@
this.queryCommonData.dataList = res.data.data.pageData;
this.queryMsg.total = res.data.data.count;
this.queryMsg.noData = !this.queryMsg.total > 0;
this.queryCommonData.dataList.forEach(item => {
item.SalePlatList = [];
if (item.SalePlat !== null) {
if (item.SalePlat.indexOf("1") != -1) {
item.b2b = true;
}
var SalePlatArr = item.SalePlat.split(",");
SalePlatArr.forEach(y => {
item.SalePlatList.push(parseInt(y));
});
}
});
if (!this.isCommissionDetails) return
this.getDetailsOfRoyalty()
}
......
......@@ -1375,15 +1375,6 @@
this.queryCommonData.dataList = res.data.data.pageData;
this.queryMsg.total = res.data.data.count;
this.queryMsg.noData = !this.queryMsg.total > 0;
this.queryCommonData.dataList.forEach(item => {
item.SalePlatList = [];
if (item.SalePlat !== null) {
var SalePlatArr = item.SalePlat.split(",");
SalePlatArr.forEach(y => {
item.SalePlatList.push(parseInt(y));
});
}
});
if (!this.isCommissionDetails) return
this.getDetailsOfRoyalty()
}
......
......@@ -1257,16 +1257,7 @@
if (res.data.resultCode == 1) {
this.queryCommonData.dataList = res.data.data.pageData
this.queryMsg.total = res.data.data.count
this.queryMsg.noData = !this.queryMsg.total > 0
this.queryCommonData.dataList.forEach(item => {
item.SalePlatList = []
if (item.SalePlat !== null) {
var SalePlatArr = item.SalePlat.split(',')
SalePlatArr.forEach(y => {
item.SalePlatList.push(parseInt(y))
})
}
})
this.queryMsg.noData = !this.queryMsg.total > 0;
if (!this.isCommissionDetails) return
this.getDetailsOfRoyalty()
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment