|
|
|
@ -414,24 +414,6 @@ function getCurrentTotalStat() {
|
|
|
|
|
queryData.splice(i, 1);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
// for (let i = 0; i < queryData.length; i++) {
|
|
|
|
|
// if (queryData[i].FieldName === 'businessNo') {
|
|
|
|
|
// bussObj = queryData[i].FieldValue
|
|
|
|
|
// queryData.splice(i, 1)
|
|
|
|
|
// i--
|
|
|
|
|
// }
|
|
|
|
|
// if (queryData[i].FieldName === 'portloaD_CODE') {
|
|
|
|
|
// str1 = queryData[i].FieldValue
|
|
|
|
|
// queryData.splice(i, 1)
|
|
|
|
|
// i--
|
|
|
|
|
// }
|
|
|
|
|
// if (queryData[i].FieldName === 'portdischargE_CODE') {
|
|
|
|
|
// str2 = queryData[i].FieldValue
|
|
|
|
|
// queryData.splice(i, 1)
|
|
|
|
|
// i--
|
|
|
|
|
// }
|
|
|
|
|
// }
|
|
|
|
|
console.log(queryData, 123123);
|
|
|
|
|
}
|
|
|
|
|
const data = {
|
|
|
|
|
isReCalc: false,
|
|
|
|
@ -488,9 +470,36 @@ function openFile() {
|
|
|
|
|
function refshTotalStat() {
|
|
|
|
|
levelreLoading.value = true
|
|
|
|
|
levelLoading.value = true
|
|
|
|
|
let bussObj = ''
|
|
|
|
|
let str1 = ''
|
|
|
|
|
let str2 = ''
|
|
|
|
|
let queryData = formatParams(getForm().getFieldsValue()).queryCondition
|
|
|
|
|
if (queryData) {
|
|
|
|
|
queryData = JSON.parse(queryData)
|
|
|
|
|
let i = queryData.length;
|
|
|
|
|
while (i--) {
|
|
|
|
|
if (queryData[i].FieldName === 'businessNo') {
|
|
|
|
|
bussObj = queryData[i].FieldValue
|
|
|
|
|
queryData.splice(i, 1);
|
|
|
|
|
} else
|
|
|
|
|
if (queryData[i].FieldName === 'portloaD_CODE') {
|
|
|
|
|
str1 = queryData[i].FieldValue
|
|
|
|
|
queryData.splice(i, 1);
|
|
|
|
|
} else
|
|
|
|
|
if (queryData[i].FieldName === 'portdischargE_CODE') {
|
|
|
|
|
str2 = queryData[i].FieldValue
|
|
|
|
|
queryData.splice(i, 1);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
GetCurrentTotalStat({
|
|
|
|
|
isReCalc: false,
|
|
|
|
|
...getForm().getFieldsValue()
|
|
|
|
|
queryCondition: JSON.stringify(queryData),
|
|
|
|
|
otherQueryCondition: {
|
|
|
|
|
businessNo: bussObj,
|
|
|
|
|
portloaD_CODE: str1,
|
|
|
|
|
portdischargE_CODE: str2
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
.then(res => {
|
|
|
|
|
levelLoading.value = false
|
|
|
|
|