From 2e7f0d88b2f4412d3c8a84baea86dbc2d09ea3ad Mon Sep 17 00:00:00 2001 From: liuxiaoxu <1793812695@qq.com> Date: Wed, 21 Aug 2024 09:12:40 +0800 Subject: [PATCH] =?UTF-8?q?[fix]=E7=94=9F=E4=BA=A7=E7=AE=A1=E7=90=86=20?= =?UTF-8?q?=E5=8E=BB=E6=8E=89=E9=83=A8=E9=97=A8=E8=AF=84=E5=AE=A1=E7=9A=84?= =?UTF-8?q?bom=E5=AD=90=E9=98=B6=E7=89=A9=E6=96=99=E7=9A=84=E5=B1=95?= =?UTF-8?q?=E7=A4=BA=EF=BC=8C=E5=8F=AA=E9=9C=80=E8=A6=81=E6=93=8D=E4=BD=9C?= =?UTF-8?q?=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../templates/system/makeorder/bmps.html | 320 +++++++++--------- 1 file changed, 160 insertions(+), 160 deletions(-) diff --git a/ruoyi-admin/src/main/resources/templates/system/makeorder/bmps.html b/ruoyi-admin/src/main/resources/templates/system/makeorder/bmps.html index ffc691df..70c181fd 100644 --- a/ruoyi-admin/src/main/resources/templates/system/makeorder/bmps.html +++ b/ruoyi-admin/src/main/resources/templates/system/makeorder/bmps.html @@ -171,166 +171,166 @@ // $detail.html('
'); $detail.html('
'); // BOM展示 - $('#'+childTableId).bootstrapTable({ - url: ctx + "erp/bom/allLevelList", - method: 'post', - sidePagination: "server", - contentType: "application/x-www-form-urlencoded", - queryParams : { - parentId: parentRow.bomId - }, - columns: [{ - field: 'id', - title: '主键id', - visible: false - }, - { - field: 'level', - title: '阶层', - formatter: function(value, row, index) { - return $.table.selectDictLabel(levelDatas, value); - } - }, - { - field: 'bomNo', - title: 'BOM号', - formatter:function (value,row,index){ - if (value == null || value == ''){ - return '/'; - }else{ - return value - } - } - }, - { - field: 'materialNo', - title: '料号', - formatter: function (value,row,index){ - if (value == null || value == ''){ - return '/'; - }else{ - return value - } - } - }, - { - field: 'photoUrl', - title: '图片', - formatter: function(value, row, index) { - return $.table.imageView(value); - } - }, - { - field: 'materialName', - title: '物料名称', - formatter: function (value,row,index){ - if (value == null || value == ''){ - return '/'; - }else{ - return value - } - } - }, - { - field: 'materialType', - title: '物料类型', - formatter: function(value, row, index) { - return $.table.selectCategoryLabel(materialTypeDatas, value); - } - }, - { - field: 'describe', - title: '描述', - formatter: function (value,row,index){ - if (value == null || value == ''){ - return '/'; - }else{ - return value - } - } - }, - { - field: 'brand', - title: '品牌', - formatter: function (value,row,index){ - if (value == null || value == ''){ - return '/'; - }else{ - return value - } - } - }, - { - field: 'unit', - title: '单位', - formatter: function (value,row,index){ - if (value == null || value == ''){ - return '/'; - }else{ - return value - } - } - }, - - { - field: 'processMethod', - title: '半成品类型', - formatter: function(value, row, index) { - return $.table.selectDictLabel(processMethodDatas, value); - } - }, - { - field: 'warehouseDept', - align: 'center', - title: '入库部门',visible: false, - formatter: function(value, row, index) { - return $.table.selectDictLabel(warehouseDates, value); - } - }, - { - field: 'useNum', - title: '用量', - formatter: function (value,row,index){ - if (value == null || value == ''){ - return '/'; - }else{ - return value - } - } - }, - { - field: 'lossRate', - title: '损耗率', - // formatter: function (value,row,index){ - // if (value == null || value == ''){ - // return '/'; - // }else{ - // return value + "%"; - // } - // } - }, - { - field: 'materialNum', - title: '订单用量', - formatter: function (value,row,index){ - return parentRow.materialNum * row.useNum; - } - }, - { - field: 'parentId', - title: '父级id', - visible: false, - }, - { - field: 'sortNo', - title: '排序', - visible: false - }], - // 当所有数据被加载时触发 - onLoadSuccess: function(data) { - - }, - }); + // $('#'+childTableId).bootstrapTable({ + // url: ctx + "erp/bom/allLevelList", + // method: 'post', + // sidePagination: "server", + // contentType: "application/x-www-form-urlencoded", + // queryParams : { + // parentId: parentRow.bomId + // }, + // columns: [{ + // field: 'id', + // title: '主键id', + // visible: false + // }, + // { + // field: 'level', + // title: '阶层', + // formatter: function(value, row, index) { + // return $.table.selectDictLabel(levelDatas, value); + // } + // }, + // { + // field: 'bomNo', + // title: 'BOM号', + // formatter:function (value,row,index){ + // if (value == null || value == ''){ + // return '/'; + // }else{ + // return value + // } + // } + // }, + // { + // field: 'materialNo', + // title: '料号', + // formatter: function (value,row,index){ + // if (value == null || value == ''){ + // return '/'; + // }else{ + // return value + // } + // } + // }, + // { + // field: 'photoUrl', + // title: '图片', + // formatter: function(value, row, index) { + // return $.table.imageView(value); + // } + // }, + // { + // field: 'materialName', + // title: '物料名称', + // formatter: function (value,row,index){ + // if (value == null || value == ''){ + // return '/'; + // }else{ + // return value + // } + // } + // }, + // { + // field: 'materialType', + // title: '物料类型', + // formatter: function(value, row, index) { + // return $.table.selectCategoryLabel(materialTypeDatas, value); + // } + // }, + // { + // field: 'describe', + // title: '描述', + // formatter: function (value,row,index){ + // if (value == null || value == ''){ + // return '/'; + // }else{ + // return value + // } + // } + // }, + // { + // field: 'brand', + // title: '品牌', + // formatter: function (value,row,index){ + // if (value == null || value == ''){ + // return '/'; + // }else{ + // return value + // } + // } + // }, + // { + // field: 'unit', + // title: '单位', + // formatter: function (value,row,index){ + // if (value == null || value == ''){ + // return '/'; + // }else{ + // return value + // } + // } + // }, + // + // { + // field: 'processMethod', + // title: '半成品类型', + // formatter: function(value, row, index) { + // return $.table.selectDictLabel(processMethodDatas, value); + // } + // }, + // { + // field: 'warehouseDept', + // align: 'center', + // title: '入库部门',visible: false, + // formatter: function(value, row, index) { + // return $.table.selectDictLabel(warehouseDates, value); + // } + // }, + // { + // field: 'useNum', + // title: '用量', + // formatter: function (value,row,index){ + // if (value == null || value == ''){ + // return '/'; + // }else{ + // return value + // } + // } + // }, + // { + // field: 'lossRate', + // title: '损耗率', + // // formatter: function (value,row,index){ + // // if (value == null || value == ''){ + // // return '/'; + // // }else{ + // // return value + "%"; + // // } + // // } + // }, + // { + // field: 'materialNum', + // title: '订单用量', + // formatter: function (value,row,index){ + // return parentRow.materialNum * row.useNum; + // } + // }, + // { + // field: 'parentId', + // title: '父级id', + // visible: false, + // }, + // { + // field: 'sortNo', + // title: '排序', + // visible: false + // }], + // // 当所有数据被加载时触发 + // onLoadSuccess: function(data) { + // + // }, + // }); // 预审部门展示 $('#'+childFormTableId).bootstrapTable({ url: ctx + "system/makeorderdept/list",