diff --git a/ruoyi-admin/src/main/resources/templates/purchase/purchaseOrder/purchaseOrder.html b/ruoyi-admin/src/main/resources/templates/purchase/purchaseOrder/purchaseOrder.html index 36d43346..fb64773a 100644 --- a/ruoyi-admin/src/main/resources/templates/purchase/purchaseOrder/purchaseOrder.html +++ b/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 '' + value + ''; @@ -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: '更新人',