diff --git a/ruoyi-admin/src/main/resources/templates/system/empRequisiteOrder/add.html b/ruoyi-admin/src/main/resources/templates/system/empRequisiteOrder/add.html index aac80f42..71570720 100644 --- a/ruoyi-admin/src/main/resources/templates/system/empRequisiteOrder/add.html +++ b/ruoyi-admin/src/main/resources/templates/system/empRequisiteOrder/add.html @@ -81,6 +81,7 @@ id:'bootstrap-sub-table-empRequisitionChild', pagination: false, sidePagination: "client", + showSearch:false, model: "物料信息", columns: [ {checkbox: true}, diff --git a/ruoyi-admin/src/main/resources/templates/system/empRequisiteOrder/empRequisiteOrder.html b/ruoyi-admin/src/main/resources/templates/system/empRequisiteOrder/empRequisiteOrder.html index 4fa21085..848c533c 100644 --- a/ruoyi-admin/src/main/resources/templates/system/empRequisiteOrder/empRequisiteOrder.html +++ b/ruoyi-admin/src/main/resources/templates/system/empRequisiteOrder/empRequisiteOrder.html @@ -11,11 +11,11 @@
@@ -110,6 +110,16 @@ title: '流程实例类型', visible: false }, + { + field: 'taskId', + title: '当前任务ID', + visible: false + }, + { + field: 'todoUserId', + title: '待办用户ID', + visible: false + }, { field: 'applyUser', title: '申请人ID', @@ -120,6 +130,9 @@ title: '当前任务名称', visible: false }, + {title: '审核状态',field: 'auditStatus',visible: false, + formatter: function(value, row, index) {return $.table.selectDictLabel(auditStatusDatas, value);} + }, { field: 'taskStatus', title: '当前状态', @@ -167,19 +180,6 @@ title: '申请时间', align: 'center', }, - { - field: 'taskId', - title: '当前任务ID', - visible: false - }, - { - field: 'todoUserId', - title: '待办用户ID', - visible: false - }, - {title: '审核状态',field: 'auditStatus',visible: false, - formatter: function(value, row, index) {return $.table.selectDictLabel(auditStatusDatas, value);} - }, {title: '领料员',field: 'createBy',align: 'center',}, {title: '不含税总价(RMB)',field: 'noRmbSum',visible: false}, {title: '含税总价(RMB)',field: 'rmbSum',visible: false}, @@ -203,19 +203,20 @@ var todoUserIdList = row.todoUserId.split(","); if(todoUserIdList.includes(loginName) || loginName == 'admin'){ var nodeName = row.taskName=='驳回调整'?' 调整申请':' 审批'; - actions.push(' '+nodeName+' '); + actions.push(' '+nodeName+' '); } } // 审批历史 - actions.push(' 审批历史 '); + actions.push(' 审批历史 '); // 进度查看 - actions.push(' 进度查看 '); - } - else if(row.auditStatus === "2"){ - actions.push('编辑 '); + actions.push(' 进度查看 '); } - actions.push('详情 '); - return actions.join(''); + // else if(row.auditStatus === "2"){ + // actions.push('编辑 '); + // } + actions.push('详情 '); + var actionLinks = actions.join(''); + return $.table.dropdownToggle(actionLinks); } } ],