From 34a72a162492ade3da80c94c1677e6da5768e584 Mon Sep 17 00:00:00 2001 From: liuxiaoxu <1793812695@qq.com> Date: Wed, 20 Nov 2024 14:52:07 +0800 Subject: [PATCH] =?UTF-8?q?[feat]=20=E9=87=87=E8=B4=AD=E8=AE=A2=E5=8D=95?= =?UTF-8?q?=E5=89=8D=E7=AB=AF=E5=88=97=E8=A1=A8=E9=A1=B5=E9=9D=A2=E5=8A=A0?= =?UTF-8?q?=E4=B8=8A=E6=A0=B9=E6=8D=AE=E5=88=9B=E5=BB=BA=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E6=8E=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../purchase/purchaseOrder/purchaseOrder.html | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) 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: '更新人',