|
@@ -247,7 +247,7 @@ import {
|
|
|
resetRelationStyle,
|
|
|
resetDialogCellStyle,
|
|
|
extractFactorsFromFormula,
|
|
|
- findCellByFactor,
|
|
|
+ findCellByFactorMixed,
|
|
|
splitString,
|
|
|
toUpperCase,
|
|
|
findCellKeyByFactor,
|
|
@@ -690,7 +690,7 @@ export default {
|
|
|
console.log(factors)
|
|
|
|
|
|
//根据因数找单元格
|
|
|
- let isAllCell = factors.some(_ => findCellByFactor(_)===null||isNaN(findCellByFactor(_)))
|
|
|
+ let isAllCell = factors.some(_ => findCellByFactorMixed(this.config.data,_)===null||isNaN(findCellByFactorMixed(this.config.data,_)))
|
|
|
if(isAllCell) {
|
|
|
this.$message.warning(this.$t('OnlineExcelPage.formula_val_error_msg') )
|
|
|
return '';
|
|
@@ -699,7 +699,7 @@ export default {
|
|
|
let TagMap = {};
|
|
|
factors.forEach(_ => {
|
|
|
if(!TagMap[_]) {
|
|
|
- TagMap[_] = Number(findCellByFactor(_))
|
|
|
+ TagMap[_] = Number(findCellByFactorMixed(this.config.data,_))
|
|
|
}
|
|
|
});
|
|
|
|