|
@@ -1267,9 +1267,10 @@ $(document).ready(() => {
|
|
|
const node = SpreadJsObj.getSelectObject(info.sheet);
|
|
|
const col = info.sheet.zh_setting.cols[info.col];
|
|
|
const posRange = stagePos.getLedgerPos(node.id);
|
|
|
+ const tpUnit = ['总额', '元', '台', '个', '处', '月', '棵', '套', '组', '辆'];
|
|
|
if (node.pre_used === 1 ||
|
|
|
(node.children && node.children.length > 0) ||
|
|
|
- (node.unit !== '总额' && node.unit !== '元') ||
|
|
|
+ (tpUnit.indexOf(node.unit) < 0) ||
|
|
|
(posRange && posRange.length > 0) /*|| !checkZero(node.qc_qty)*/) {
|
|
|
SpreadJsObj.reLoadRowData(info.sheet, info.row);
|
|
|
return;
|