fix:光芯库存统计问题修正
This commit is contained in:
parent
d3d35950ee
commit
adef92c959
|
|
@ -81,7 +81,7 @@
|
|||
id="exportDiv11"
|
||||
stripe
|
||||
hideDo
|
||||
:pageSize="500"
|
||||
hidePagination
|
||||
:summary-method="getSummaries2"
|
||||
show-summary
|
||||
>
|
||||
|
|
@ -241,7 +241,7 @@ export default {
|
|||
mioTypeEnum,
|
||||
apiObj: this.$API.mtm.material.list,
|
||||
materialType: "",
|
||||
params: { is_hidden: false, type: 10, count__gte: 1 },
|
||||
params: { is_hidden: false, type: 10, count__gte: 1,page:0 },
|
||||
query: {
|
||||
material: "",
|
||||
mio_type: mioTypeEnum.values[0].key,
|
||||
|
|
@ -370,9 +370,9 @@ export default {
|
|||
that.params.name = that.material_name;
|
||||
}
|
||||
this.$API.mtm.material.list.req(that.params).then((res) => {
|
||||
that.tableData11 = res.results;
|
||||
if(res.results.length>0){
|
||||
res.results.forEach((ite) =>{
|
||||
that.tableData11 = res;
|
||||
if(res.length>0){
|
||||
res.forEach((ite) =>{
|
||||
if (nameList.indexOf(ite.name) > -1) {} else {
|
||||
nameList.push(ite.name);
|
||||
let obj = {};
|
||||
|
|
|
|||
Loading…
Reference in New Issue