Browse Source

[feat]

采购订单前端列表页面加上根据创建时间排序
dev
liuxiaoxu 5 days ago
parent
commit
34a72a1624
  1. 11
      ruoyi-admin/src/main/resources/templates/purchase/purchaseOrder/purchaseOrder.html

11
ruoyi-admin/src/main/resources/templates/purchase/purchaseOrder/purchaseOrder.html

@ -84,14 +84,12 @@
var options = {
url: prefix + "/list",
createUrl: prefix + "/add",
updateUrl: prefix + "/edit/{id}",
removeUrl: prefix + "/remove",
cancelUrl: prefix + "/cancel/{id}",
restoreUrl: prefix + "/restore/{id}",
exportUrl: prefix + "/export",
modalName: "采购订单",
fixedColumns: true, // 启用冻结列
fixedRightNumber: 1, // 冻结右列个数
sortable: true, // 是否启用排序
sortStable: true, // 设置为 true 将获得稳定的排序
columns: [{
checkbox: true
},
@ -120,7 +118,7 @@
return $.table.selectDictLabel(auditStatusDatas, value);}
},
{title: '当前状态',field: 'taskStatus', align: 'center',
{title: '当前状态',field: 'taskStatus',
formatter: function(value, row, index) {
if(row.auditStatus!="1"&&value != "未启动"){
return '<span class="badge badge-danger">' + value + '</span>';
@ -197,7 +195,7 @@
field: 'purchaseBuyer',
},
{field: 'applyTime',title: '申请时间', align: 'center',
{field: 'applyTime',title: '申请时间',
},
{
title: '使用状态',
@ -220,6 +218,7 @@
{
title: '录入时间',
field: 'createTime',
sortable: true
},
{
title: '更新人',

Loading…
Cancel
Save