|
@@ -35,7 +35,7 @@ let feeItemObj = {
|
|
|
updateType: {update: 'update', new: 'new'},
|
|
|
setting: {
|
|
|
header:[
|
|
|
- {headerName:"费用项",headerWidth:200,dataCode:"feeItem", dataType: "String", formatter: "@", hAlign: "left", vAlign: "center"},
|
|
|
+ {headerName:"费用项",headerWidth:300,dataCode:"feeItem", dataType: "String", formatter: "@", hAlign: "left", vAlign: "center"},
|
|
|
{headerName:"费用类型",headerWidth:150,dataCode:"feeType", dataType: "String", hAlign: "center", vAlign: "center"},
|
|
|
{headerName:"记取位置",headerWidth:150,dataCode:"position", dataType: "String", formatter: "@", hAlign: "left", vAlign: "center"}
|
|
|
],
|
|
@@ -262,7 +262,7 @@ let feeItemObj = {
|
|
|
}
|
|
|
//update currentFeeItem
|
|
|
me.currentFeeItem = me.getCurrentData(me.sheet, me.cache);
|
|
|
- se.cache = me.currentFeeItem.section;
|
|
|
+ se.cache = me.isDef(me.currentFeeItem) ? me.currentFeeItem.section : [];
|
|
|
if(fiPostData.length > 0){
|
|
|
me.updateFeeItem(fiPostData, function () {
|
|
|
me.sheet.setRowCount(me.cache.length + 10);
|
|
@@ -544,7 +544,7 @@ let sectionObj = {
|
|
|
}
|
|
|
//update currentSection
|
|
|
me.currentSection = fi.getCurrentData(me.sheet, me.cache);
|
|
|
- fr.cache = me.currentSection.feeRule;
|
|
|
+ fr.cache = me.isDef(me.currentSection) ? me.currentSection.feeRule : [];
|
|
|
if(sePostData.length > 0){
|
|
|
me.updateSection(sePostData, function () {
|
|
|
me.sheet.setRowCount(me.cache.length + 5);
|