|
|
@ -405,33 +405,15 @@ function getCurrentTotalStat() {
|
|
|
|
bussObj = queryData[i].FieldValue
|
|
|
|
bussObj = queryData[i].FieldValue
|
|
|
|
queryData.splice(i, 1);
|
|
|
|
queryData.splice(i, 1);
|
|
|
|
} else
|
|
|
|
} else
|
|
|
|
if (queryData[i].FieldName === 'portloaD_CODE') {
|
|
|
|
if (queryData[i].FieldName === 'portloaD_CODE') {
|
|
|
|
str1 = queryData[i].FieldValue
|
|
|
|
str1 = queryData[i].FieldValue
|
|
|
|
queryData.splice(i, 1);
|
|
|
|
queryData.splice(i, 1);
|
|
|
|
} else
|
|
|
|
} else
|
|
|
|
if (queryData[i].FieldName === 'portdischargE_CODE') {
|
|
|
|
if (queryData[i].FieldName === 'portdischargE_CODE') {
|
|
|
|
str2 = queryData[i].FieldValue
|
|
|
|
str2 = queryData[i].FieldValue
|
|
|
|
queryData.splice(i, 1);
|
|
|
|
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 = {
|
|
|
|
const data = {
|
|
|
|
isReCalc: false,
|
|
|
|
isReCalc: false,
|
|
|
@ -488,9 +470,36 @@ function openFile() {
|
|
|
|
function refshTotalStat() {
|
|
|
|
function refshTotalStat() {
|
|
|
|
levelreLoading.value = true
|
|
|
|
levelreLoading.value = true
|
|
|
|
levelLoading.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({
|
|
|
|
GetCurrentTotalStat({
|
|
|
|
isReCalc: false,
|
|
|
|
isReCalc: false,
|
|
|
|
...getForm().getFieldsValue()
|
|
|
|
queryCondition: JSON.stringify(queryData),
|
|
|
|
|
|
|
|
otherQueryCondition: {
|
|
|
|
|
|
|
|
businessNo: bussObj,
|
|
|
|
|
|
|
|
portloaD_CODE: str1,
|
|
|
|
|
|
|
|
portdischargE_CODE: str2
|
|
|
|
|
|
|
|
}
|
|
|
|
})
|
|
|
|
})
|
|
|
|
.then(res => {
|
|
|
|
.then(res => {
|
|
|
|
levelLoading.value = false
|
|
|
|
levelLoading.value = false
|
|
|
@ -710,23 +719,23 @@ const [registerTable, { reload, setProps, getForm, getSelectRows, setColumns }]
|
|
|
|
bussObj = queryData[i].FieldValue
|
|
|
|
bussObj = queryData[i].FieldValue
|
|
|
|
queryData.splice(i, 1);
|
|
|
|
queryData.splice(i, 1);
|
|
|
|
} else
|
|
|
|
} else
|
|
|
|
if (queryData[i].FieldName === 'portloaD_CODE') {
|
|
|
|
if (queryData[i].FieldName === 'portloaD_CODE') {
|
|
|
|
str1 = queryData[i].FieldValue
|
|
|
|
str1 = queryData[i].FieldValue
|
|
|
|
queryData.splice(i, 1);
|
|
|
|
queryData.splice(i, 1);
|
|
|
|
} else
|
|
|
|
} else
|
|
|
|
if (queryData[i].FieldName === 'portdischargE_CODE') {
|
|
|
|
if (queryData[i].FieldName === 'portdischargE_CODE') {
|
|
|
|
str2 = queryData[i].FieldValue
|
|
|
|
str2 = queryData[i].FieldValue
|
|
|
|
queryData.splice(i, 1);
|
|
|
|
queryData.splice(i, 1);
|
|
|
|
} else
|
|
|
|
} else
|
|
|
|
if (queryData[i].FieldName === 'task_TYPE') {
|
|
|
|
if (queryData[i].FieldName === 'task_TYPE') {
|
|
|
|
queryData[i].ConditionalType = 0
|
|
|
|
queryData[i].ConditionalType = 0
|
|
|
|
} else
|
|
|
|
} else
|
|
|
|
if (queryData[i].FieldName === 'taskRecvName') {
|
|
|
|
if (queryData[i].FieldName === 'taskRecvName') {
|
|
|
|
queryData[i].ConditionalType = 0
|
|
|
|
queryData[i].ConditionalType = 0
|
|
|
|
} else
|
|
|
|
} else
|
|
|
|
if (queryData[i].FieldName === 'taskSource') {
|
|
|
|
if (queryData[i].FieldName === 'taskSource') {
|
|
|
|
queryData[i].ConditionalType = 0
|
|
|
|
queryData[i].ConditionalType = 0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
data.queryCondition = JSON.stringify(queryData)
|
|
|
|
data.queryCondition = JSON.stringify(queryData)
|
|
|
|
data.otherQueryCondition = {}
|
|
|
|
data.otherQueryCondition = {}
|
|
|
|