|
@@ -844,7 +844,7 @@ $(document).ready(() => {
|
|
|
},
|
|
|
},
|
|
|
];
|
|
|
- sjsSettingObj.setIsTpCol(ledgerSpreadSetting.cols, [ {field: 'is_tp'} ]);
|
|
|
+ // sjsSettingObj.setIsTpCol(ledgerSpreadSetting.cols, [ {field: 'is_tp'} ]);
|
|
|
ledgerSpreadSetting.readOnly = function (data) {
|
|
|
if (!data) return false;
|
|
|
return data.lock || stageTreeSpreadObj.assistReadOnly;
|
|
@@ -1413,7 +1413,7 @@ $(document).ready(() => {
|
|
|
const tpUnit = ['总额', '元', '台', '个', '处', '月', '棵', '套', '组', '辆', '项', '座', '根', '块', '系统'];
|
|
|
if (node.pre_used === 1 ||
|
|
|
(node.children && node.children.length > 0) ||
|
|
|
- (tpUnit.indexOf(node.unit) < 0) ||
|
|
|
+ // (tpUnit.indexOf(node.unit) < 0) ||
|
|
|
(posRange && posRange.length > 0) /*|| !checkZero(node.qc_qty)*/) {
|
|
|
SpreadJsObj.reLoadRowData(info.sheet, info.row);
|
|
|
return;
|