|
@@ -16,13 +16,15 @@ let calcProgramObj = {
|
|
|
{headerName: "费率", headerWidth: CP_Col_Width.feeRate, dataCode: "feeRate", dataType: "Number"},
|
|
|
{headerName: "单价", headerWidth: CP_Col_Width.unitFee, dataCode: "unitFee", dataType: "Number"},
|
|
|
{headerName: "合价", headerWidth: CP_Col_Width.totalFee, dataCode: "totalFee", dataType: "Number"},
|
|
|
+ {headerName: "调后单价", headerWidth: CP_Col_Width.unitFee, dataCode: "tenderUnitFee", dataType: "Number"},
|
|
|
+ {headerName: "调后合价", headerWidth: CP_Col_Width.totalFee, dataCode: "tenderTotalFee", dataType: "Number"},
|
|
|
{headerName: "费用类别", headerWidth:CP_Col_Width.displayFieldName, dataCode:"displayFieldName", dataType: "String", hAlign: "center"},
|
|
|
{headerName: "基数说明", headerWidth: CP_Col_Width.statement, dataCode: "statement", dataType: "String"},
|
|
|
{headerName: "备注", headerWidth: CP_Col_Width.memo, dataCode: "memo", dataType: "String"}
|
|
|
],
|
|
|
view: {
|
|
|
comboBox: [],
|
|
|
- lockColumns: [0,1,2,3,4,5,6,7,8,9],
|
|
|
+ lockColumns: [0,1,2,3,4,5,6,7,8,9,10],
|
|
|
colHeaderHeight: CP_Col_Width.colHeader,
|
|
|
rowHeaderWidth: CP_Col_Width.rowHeader
|
|
|
}
|
|
@@ -33,8 +35,8 @@ let calcProgramObj = {
|
|
|
me.sheet = sheet;
|
|
|
for (let col of me.setting.header){
|
|
|
if (col.headerName == '费率') col.tofix = decimalObj.feeRate;
|
|
|
- if (col.headerName == '单价') col.tofix = decimalObj.ration.unitPrice;
|
|
|
- if (col.headerName == '合价') col.tofix = decimalObj.ration.totalPrice;
|
|
|
+ if (col.headerName == '单价' || col.headerName == '调后单价') col.tofix = decimalObj.ration.unitPrice;
|
|
|
+ if (col.headerName == '合价' || col.headerName == '调后合价') col.tofix = decimalObj.ration.totalPrice;
|
|
|
};
|
|
|
sheetCommonObj.initSheet(me.sheet, me.setting, 1);
|
|
|
},
|