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",