var regionGrid = getData("成本费用构成", DATA)
if (regionGrid.rows(ADDED).length > 0 || regionGrid.rows(MODIFIED).length > 0 || regionGrid.rows(DELETED).length > 0) {
autoCommit(regionGrid)
}
var sg = getData("三公经费", DATA)
if (sg.rows(ADDED).length > 0 || sg.rows(MODIFIED).length > 0 || sg.rows(DELETED).length > 0) {
autoCommit("三公经费")
}
var mll = getData("毛利率分析", DATA)
if (mll.rows(ADDED).length > 0 || mll.rows(MODIFIED).length > 0 || mll.rows(DELETED).length > 0) {
autoCommit("毛利率分析")
}
var cb = getData("成本费用累计情况", DATA)
if (cb.rows(ADDED).length > 0 || cb.rows(MODIFIED).length > 0 || cb.rows(DELETED).length > 0) {
autoCommit("成本费用累计情况")
}
这个是提交代码,很奇怪为什么一直空指针,修改也修改不了
|