diff --git a/ruoyi-admin/src/main/resources/templates/erp/bom/bom.html b/ruoyi-admin/src/main/resources/templates/erp/bom/bom.html index b80f7b3d..f9f98d71 100644 --- a/ruoyi-admin/src/main/resources/templates/erp/bom/bom.html +++ b/ruoyi-admin/src/main/resources/templates/erp/bom/bom.html @@ -135,7 +135,9 @@ importUrl: prefix + "/importData", importTemplateUrl: prefix + "/importTemplate", pageList: [5, 10, 25, 50], - pageSize: 5, + pageSize: 10, + sortable: true, // 是否启用排序 + sortStable: true, // 设置为 true 将获得稳定的排序 modalName: "bom", detailView: true, fixedColumns: true, // 启用冻结列 @@ -175,17 +177,19 @@ }, { field: 'applyTime', - title: '申请时间' + title: '申请时间', + sortable: true, }, { field: 'taskId', title: '当前任务ID', - visible: false + visible: false, + }, { field: 'todoUserId', title: '待办用户ID', - visible: false + visible: false, }, { field: 'taskName', @@ -198,6 +202,7 @@ { field: 'auditStatus', title: '审核状态', + sortable: true, formatter: function(value, row, index) { return $.table.selectDictLabel(auditStatusDatas, value); } @@ -205,13 +210,14 @@ { field: 'useStatus', title: '使用状态', + sortable: true, formatter: function(value, row, index) { return $.table.selectDictLabel(useStatusDatas, value); } }, - {title: '工程员',field: 'businessMembers'}, - {title: 'bom号',field: 'bomNo',}, - {title: '关联料号',field: 'materialNo'}, + {title: '工程员',field: 'businessMembers', sortable: true,}, + {title: 'bom号',field: 'bomNo', sortable: true,}, + {title: '关联料号',field: 'materialNo', sortable: true,}, { field: 'photoUrl', title: '图片', @@ -219,10 +225,11 @@ return $.table.imageView(value); } }, - { title: '物料名称',field: 'materialName'}, + { title: '物料名称',field: 'materialName', sortable: true,}, { field: 'materialType', title: '物料类型', + sortable: true, formatter: function(value, row, index) { return $.table.selectCategoryLabel(materialTypeDatas, value); } @@ -230,6 +237,7 @@ { field: 'processMethod', title: '半成品类型', + sortable: true, formatter: function(value, row, index) { return $.table.selectDictLabel(processMethodDatas, value); } @@ -237,11 +245,12 @@ { field: 'unit', title: '单位', + sortable: true, }, - { title: '品牌',field: 'brand'}, - {title: '描述',field: 'describe'}, - {title: '用量',field: 'useNum'}, - {title: '损耗率',field: 'lossRate', + { title: '品牌',field: 'brand', sortable: true,}, + {title: '描述',field: 'describe', sortable: true,}, + {title: '用量',field: 'useNum', sortable: true,}, + {title: '损耗率',field: 'lossRate', sortable: true, formatter:function (value,row,index){ if (value == null || value == ''){ return '/'; diff --git a/ruoyi-admin/src/main/resources/templates/erp/developModifyOrder/developModifyOrder.html b/ruoyi-admin/src/main/resources/templates/erp/developModifyOrder/developModifyOrder.html index e50747f1..e7452ac0 100644 --- a/ruoyi-admin/src/main/resources/templates/erp/developModifyOrder/developModifyOrder.html +++ b/ruoyi-admin/src/main/resources/templates/erp/developModifyOrder/developModifyOrder.html @@ -100,6 +100,7 @@ cancelUrl: prefix + "/cancel/{id}", restoreUrl: prefix + "/restore/{id}", exportUrl: prefix + "/export", + pageSize: 10, modalName: "开发修改单", columns: [{ checkbox: true diff --git a/ruoyi-admin/src/main/resources/templates/erp/material/material.html b/ruoyi-admin/src/main/resources/templates/erp/material/material.html index 0a7661c1..a23b3a85 100644 --- a/ruoyi-admin/src/main/resources/templates/erp/material/material.html +++ b/ruoyi-admin/src/main/resources/templates/erp/material/material.html @@ -167,8 +167,8 @@ cancelUrl: prefix + "/cancel/{id}", restoreUrl: prefix + "/restore/{id}", detailUrl: prefix + "/detail/{id}", - pageList: [5, 10, 25, 50], - pageSize: 5, + pageList: [10, 25, 50], + pageSize: 10, modalName: "物料信息", fixedColumns: true, // 启用冻结列 fixedRightNumber: 1, // 冻结右列个数 diff --git a/ruoyi-admin/src/main/resources/templates/sales/EstimateChild/edit.html b/ruoyi-admin/src/main/resources/templates/sales/EstimateChild/edit.html new file mode 100644 index 00000000..405fef89 --- /dev/null +++ b/ruoyi-admin/src/main/resources/templates/sales/EstimateChild/edit.html @@ -0,0 +1,212 @@ + + +
+