列根据参数判定需要合计
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
<add key="EaiPath" value="EAI/import.asp" />
|
<add key="EaiPath" value="EAI/import.asp" />
|
||||||
<!--<add key="url" value="http://192.168.0.242/U8EAI/import.asp"/>-->
|
<!--<add key="url" value="http://192.168.0.242/U8EAI/import.asp"/>-->
|
||||||
<!--账套数据库配置如果不配置就使用登录后的数据库连接-->
|
<!--账套数据库配置如果不配置就使用登录后的数据库连接-->
|
||||||
<add key="connStr" value="Server=10.0.0.250,49318;DataBase=UFDATA_001_2019;Uid=wxinput;Pwd=Nx123456;" />
|
<add key="connStr" value="Server=10.0.0.250;DataBase=UFDATA_001_2019;Uid=input;Pwd=wxnx2021;" />
|
||||||
<add key="ClientSettingsProvider.ServiceUri" value="" />
|
<add key="ClientSettingsProvider.ServiceUri" value="" />
|
||||||
</appSettings>
|
</appSettings>
|
||||||
<runtime>
|
<runtime>
|
||||||
|
|||||||
@@ -42,12 +42,12 @@ export default {
|
|||||||
this.arraydata=[]
|
this.arraydata=[]
|
||||||
this.columns.forEach(element => {
|
this.columns.forEach(element => {
|
||||||
this.arraydata[element.key] = [];
|
this.arraydata[element.key] = [];
|
||||||
});
|
});//建立一个字典,key为列名,值是对应一列所有数的 数组
|
||||||
for (var item = 0; item < this.data.length; item++) {
|
for (var item = 0; item < this.data.length; item++) {
|
||||||
//遍历对象数组,item表示某个具体的对象
|
//遍历对象数组
|
||||||
for (var i in this.data[item]) {
|
for (var i in this.data[item]) {
|
||||||
if (this.arraydata.hasOwnProperty(i)) {
|
if (this.arraydata.hasOwnProperty(i)) {
|
||||||
this.arraydata[i].push(this.data[item][i]);
|
this.arraydata[i].push(this.data[item][i]);//填充元素给 对应的数组
|
||||||
}
|
}
|
||||||
//console.log(this.objectList[item][i]); //objectList[item][i]表示某个对象的某个具体属性值,i表示属性名,可以打印出来看一下;
|
//console.log(this.objectList[item][i]); //objectList[item][i]表示某个对象的某个具体属性值,i表示属性名,可以打印出来看一下;
|
||||||
}
|
}
|
||||||
@@ -237,7 +237,7 @@ export default {
|
|||||||
};
|
};
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (index != 7) {
|
if (column.issum != true) {
|
||||||
sums[key] = {
|
sums[key] = {
|
||||||
key,
|
key,
|
||||||
value: ""
|
value: ""
|
||||||
|
|||||||
@@ -198,13 +198,14 @@ export default {
|
|||||||
key: "cInvStd",
|
key: "cInvStd",
|
||||||
width: "220",
|
width: "220",
|
||||||
filter: {
|
filter: {
|
||||||
type: "AutoComplete"
|
type: "AutoComplete",
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "未发数量",
|
title: "未发数量",
|
||||||
align: "center",
|
align: "center",
|
||||||
width: "120",
|
width: "120",
|
||||||
|
issum:true,
|
||||||
key: "wfiQuantity",
|
key: "wfiQuantity",
|
||||||
filter: {
|
filter: {
|
||||||
type: "Input"
|
type: "Input"
|
||||||
@@ -527,6 +528,10 @@ body {
|
|||||||
|
|
||||||
.ivu-select-dropdown-transfer {
|
.ivu-select-dropdown-transfer {
|
||||||
width: 165px;
|
width: 165px;
|
||||||
height: 350px;
|
max-height: 160px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ivu-auto-complete.ivu-select-dropdown {
|
||||||
|
max-height: 500px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
Reference in New Issue
Block a user