Browse Source

部位台账,导出项目节数量、经济指标

MaiXinRong 4 weeks ago
parent
commit
2290205a83
1 changed files with 4 additions and 0 deletions
  1. 4 0
      app/public/js/ledger_bwtz.js

+ 4 - 0
app/public/js/ledger_bwtz.js

@@ -261,6 +261,9 @@ $(document).ready(() => {
                 {title: '名称', colSpan: '1', rowSpan: '2', field: 'name', hAlign: 0, width: 300, formatter: '@'},
                 {title: '单位', colSpan: '1', rowSpan: '2', field: 'unit', hAlign: 1, width: 60, formatter: '@'},
                 {title: '单价', colSpan: '1', rowSpan: '2', field: 'unit_price', hAlign: 2, width: 80, type: 'Number'},
+                {title: '项目节数量|数量1',  colSpan: '2|1', rowSpan: '1|1', field: 'dgn_qty1', hAlign: 2, width: 60, type: 'Number'},
+                {title: '|数量2',  colSpan: '|1', rowSpan: '|1', field: 'dgn_qty2', hAlign: 2, width: 60, type: 'Number'},
+                {title: '经济指标',  colSpan: '1', rowSpan: '2', field: 'dgn_price', hAlign: 2, width: 60, type: 'Number'},
                 {title: '台账|数量', colSpan: '2|1', rowSpan: '1|1', field: 'quantity', hAlign: 2, width: 80, type: 'Number'},
                 {title: '|金额', colSpan: '|1', rowSpan: '|1', field: 'total_price', hAlign: 2, width: 80, type: 'Number'},
                 {title: '图(册)号', colSpan: '1', rowSpan: '2', field: 'drawing_code', hAlign: 0, width: 100, formatter: '@'},
@@ -294,6 +297,7 @@ $(document).ready(() => {
         for (const node of xmjSheet.zh_tree.nodes) {
             data.push({
                 code: node.code, b_code: node.b_code, name: node.name, unit: node.unit,
+                dgn_qty1: node.dgn_qty1, dgn_qty2: node.dgn_qty2, dgn_price: node.dgn_price,
                 unit_price: node.unit_price, quantity: node.quantity, total_price: node.total_price,
                 drawing_code: node.drawing_code, memo: node.memo
             });