diff --git a/ruoyi-admin/src/main/resources/templates/sales/estimate/estimate.html b/ruoyi-admin/src/main/resources/templates/sales/estimate/estimate.html index bab98ce2..0eb49ba6 100644 --- a/ruoyi-admin/src/main/resources/templates/sales/estimate/estimate.html +++ b/ruoyi-admin/src/main/resources/templates/sales/estimate/estimate.html @@ -57,7 +57,7 @@
-
+
@@ -88,7 +88,6 @@ exportUrl: prefix + "/export", sortStable: true, // 设置为 true 将获得稳定的排序 fixedColumns: true, // 启用冻结列 - rightFixedColumns:1, fixedRightNumber: 1, // 冻结右列个数 showFooter: true, modalName: "销售估价", @@ -219,28 +218,29 @@ formatter: function(value, row, index) { var actions = []; if (row.estimateStatus != '1' && row.estimateStatus != '2' && row.estimateStatus != '3') { - actions.push('详情 '); + actions.push('详情 '); } if (row.estimateStatus != '0' && row.estimateStatus != '2' && row.estimateStatus != '3') { - actions.push('详情 '); + actions.push('详情 '); } if (row.estimateStatus != '0' && row.estimateStatus != '1' && row.estimateStatus != '3') { - actions.push('详情 '); + actions.push('详情 '); } if (row.estimateStatus != '0' && row.estimateStatus != '1' && row.estimateStatus != '2') { - actions.push('详情 '); + actions.push('详情 '); } if(row.estimateStatus == '0'){ - actions.push('添加BOM '); + actions.push('添加BOM '); } if(row.estimateStatus == '1'){ - actions.push('采购成本 '); + actions.push('采购成本 '); } if(row.estimateStatus == '2'){ - actions.push('经营成本 '); + actions.push('经营成本 '); } - return actions.join(''); + var actionLinks = actions.join(''); + return $.table.dropdownToggle(actionLinks); } }] };