|
@@ -236,14 +236,14 @@ module.exports = app => {
|
|
|
_getLedgerColumn(sjsRela) {
|
|
|
const tender = this.ctx.tender;
|
|
|
const ledgerColumn = [
|
|
|
- 'id', 'ledger_id', 'ledger_pid', 'level', 'order', 'full_path', 'is_leaf',
|
|
|
+ 'id', 'tender_id', 'ledger_id', 'ledger_pid', 'level', 'order', 'full_path', 'is_leaf',
|
|
|
'code', 'b_code', 'name', 'unit', 'unit_price',
|
|
|
'quantity', 'total_price', 'memo', 'drawing_code'];
|
|
|
if (this.ctx.session.sessionProject.gxby) ledgerColumn.push('gxby_status', 'gxby_url', 'gxby_limit');
|
|
|
if (this.ctx.session.sessionProject.dagl) ledgerColumn.push('dagl_status', 'dagl_url', 'dagl_limit');
|
|
|
if (tender.data.measureType === measureType.gcl.value) ledgerColumn.push('deal_qty', 'deal_tp', 'sjcl_qty', 'sjcl_expr', 'sjcl_tp');
|
|
|
if (tender.info.display.ledger.dgnQty) ledgerColumn.push('dgn_qty1', 'dgn_qty2');
|
|
|
- const posColumn = ['id', 'lid', 'name', 'position', 'porder', 'quantity'];
|
|
|
+ const posColumn = ['id', 'tid', 'lid', 'name', 'position', 'porder', 'quantity'];
|
|
|
if (tender.info.display.stage.realComplete) posColumn.push('real_qty');
|
|
|
if (this.ctx.session.sessionProject.gxby) posColumn.push('gxby_status', 'gxby_url', 'gxby_limit');
|
|
|
if (this.ctx.session.sessionProject.dagl) posColumn.push('dagl_status', 'dagl_url', 'dagl_limit');
|