|
@@ -140,7 +140,7 @@ let rationOprObj = {
|
|
|
if (updateArr[i]["ID"] && cacheSection[j]["ID"]) {
|
|
|
if (cacheSection[j]["ID"] == updateArr[i]["ID"]) {
|
|
|
updateArr[i]['rationGljList'] = rationGLJOprObj.cache['_GLJ_' + cacheSection[j]['ID']] ? rationGLJOprObj.cache['_GLJ_' + cacheSection[j]['ID']] : [];
|
|
|
- updateArr[i]['rationCoeList'] = rationCoeOprObj.cache['_Coe_' + cacheSection[j]['ID']] ? rationCoeOprObj.cache['_Coe_' + cacheSection[j]['ID']] : [];
|
|
|
+ updateArr[i]['rationCoeList'] = cacheSection[j]['rationCoeList'] ? cacheSection[j]['rationCoeList'] : [];
|
|
|
updateArr[i]['rationAssList'] = cacheSection[j]['rationAssList'];
|
|
|
updateArr[i]['rationInstList'] = cacheSection[j]['rationInstList'];
|
|
|
cacheSection[j] = updateArr[i];
|
|
@@ -148,7 +148,7 @@ let rationOprObj = {
|
|
|
} else {
|
|
|
if (cacheSection[j][me.setting.header[0].dataCode] == updateArr[i][me.setting.header[0].dataCode]) {
|
|
|
updateArr[i]['rationGljList'] = rationGLJOprObj.cache['_GLJ_' + cacheSection[j]['ID']] ? rationGLJOprObj.cache['_GLJ_' + cacheSection[j]['ID']] : [];
|
|
|
- updateArr[i]['rationCoeList'] = rationCoeOprObj.cache['_Coe_' + cacheSection[j]['ID']] ? rationCoeOprObj.cache['_Coe_' + cacheSection[j]['ID']] : [];
|
|
|
+ updateArr[i]['rationCoeList'] = cacheSection[j]['rationCoeList'] ? cacheSection[j]['rationCoeList'] : [];
|
|
|
updateArr[i]['rationAssList'] = cacheSection[j]['rationAssList'];
|
|
|
updateArr[i]['rationInstList'] = cacheSection[j]['rationInstList'];
|
|
|
cacheSection[j] = updateArr[i];
|
|
@@ -567,8 +567,8 @@ let rationOprObj = {
|
|
|
me.mixUpdate = 0;
|
|
|
me.mixDel = 0;
|
|
|
}
|
|
|
- if(callback) callback();
|
|
|
me.workBook.focus(true);
|
|
|
+ if(callback) callback();
|
|
|
},
|
|
|
error:function(){
|
|
|
}
|