Commit 0b878be5 by jianshuqin

修复BUG:月售销利润 成本其他费用数据

parent 5ce797a9
...@@ -570,11 +570,11 @@ SUM(t1.amount_sales * (IFNULL(t3.exchange_rate,t1.seller_order_exchange_rate)) * ...@@ -570,11 +570,11 @@ SUM(t1.amount_sales * (IFNULL(t3.exchange_rate,t1.seller_order_exchange_rate)) *
sqlText.Append(" AND t1.platform_type = @PlatformType "); sqlText.Append(" AND t1.platform_type = @PlatformType ");
parameters.Add("PlatformType", input.PlatformType); parameters.Add("PlatformType", input.PlatformType);
} }
if (!string.IsNullOrWhiteSpace(input.FinanceCategory) && (input.FinanceCategory != "其他" || input.FinanceCategory != "其它")) if (!string.IsNullOrWhiteSpace(input.FinanceCategory) && (input.FinanceCategory != "其他" && input.FinanceCategory != "其它"))
{ {
sqlText.Append($" AND t1.financecategoryname like '{input.FinanceCategory.Replace("产品", "")}%' "); sqlText.Append($" AND t1.financecategoryname like '{input.FinanceCategory.Replace("产品", "")}%' ");
} }
else if (input.FinanceCategory == "其他" || input.FinanceCategory != "其它") else if (input.FinanceCategory == "其他" || input.FinanceCategory == "其它")
{ {
sqlText.Append(" and t1.financecategoryname = '' "); sqlText.Append(" and t1.financecategoryname = '' ");
} }
......
...@@ -10,7 +10,8 @@ ...@@ -10,7 +10,8 @@
v-on:select="(selection, row)=> onRowClick(row)" v-on:select="(selection, row)=> onRowClick(row)"
v-on:select-all="(selection)=> onRowClick()" v-on:select-all="(selection)=> onRowClick()"
v-on:row-click="onRowClick" v-on:row-click="onRowClick"
v-on:current-change="setting.selectRowMethod == 1 && onCurrentChange"> v-on:current-change="setting.selectRowMethod == 1 && onCurrentChange"
v-bind:class="{search:setting.isShowColumnSearch}">
<el-table-column v-if="setting.selectRowMethod == 2" <el-table-column v-if="setting.selectRowMethod == 2"
header-align="center" header-align="center"
type="selection" type="selection"
......
...@@ -3,6 +3,10 @@ ...@@ -3,6 +3,10 @@
height: calc(100% - 40px); height: calc(100% - 40px);
} }
.el-table-query .el-main .el-table.search .el-table__body-wrapper {
height: calc(100% - 65px);
}
#app, #app .el-container.is-vertical { #app, #app .el-container.is-vertical {
height: 100%; height: 100%;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment