|
@@ -193,7 +193,7 @@ module.exports = app => {
|
|
|
? (tender.info.display.ledger.clQty ? spreadConst.withCl : spreadConst.withoutCl)
|
|
|
: (tender.info.display.ledger.clQty ? spreadConst.withClGcl : spreadConst.withoutClGcl);
|
|
|
const ledger = JSON.parse(JSON.stringify(setting.ledger));
|
|
|
- const pos = JSON.parse(JSON.stringify(setting.pos));
|
|
|
+ const pos = setting.pos ? JSON.parse(JSON.stringify(setting.pos)) : {};
|
|
|
|
|
|
if (revise.status === audit.revise.status.checking || revise.status === audit.revise.status.checked) {
|
|
|
ledger.readOnly = true;
|