WYB
2021-03-31 a4bce725e22e5c521ad229f70678f7248e2c8b98
WebTM/views/Éú²ú¹¤Ðò¹ÜÀí/¹¤Ðò¼Æ»®µ¥/Sc_ProcessPlanList.html
@@ -112,8 +112,8 @@
                , cols: [[
                    { type: 'checkbox' }
                    //{ field: 'hmainid', title: 'hmainid', sort: true, width: 165 }
                     , { field: 'hmainid', title: 'hmainid', sort: true, fixed: true }
                    ,{ field: '日期', title: '日期', sort: true, width: 100 }
                     , { field: 'hmainid', title: 'hmainid', sort: true, fixed: true, hide: true }
                    ,{ field: '日期', title: '日期', sort: true, width: 120 }
                    , { field: '单据号', title: '单据号', sort: true, width: 170 }
                    //, { field: 'HBillStatus ', title: '单据状态', width: 105 }
                    , { field: 'HMaterID', title: 'HMaterID' }
@@ -149,7 +149,7 @@
                    , { field: '关闭类型', title: '关闭类型' }
                    , { field: '作废人', title: '作废人' }
                    , { field: '作废日期', title: '作废日期' }
                    , { field: 'hsubid', title: 'hsubid'  , fixed: true}
                    , { field: 'hsubid', title: 'hsubid'  , fixed: true, hide: true}
                    , { field: '工序计划单号', title: '工序计划单号' }
                    , { field: '工序号', title: '工序号' }
                    , { field: 'hprocid', title: 'hprocid' }
@@ -234,6 +234,11 @@
                        ajaxLabelData = data;
                        var rows = '';
                        var HEntry = '';
                          for (var i = 0; i < data.length; i++) {
                                rows += data[i].hmainid.toString() + ',' ;
                        }
                        if (checkStatus.data.length < 1)
                        {
                            layer.msg('请选择一行数据下推');
@@ -248,7 +253,7 @@
                           ,shade: 0.6 //遮罩透明度
                           ,maxmin: false //允许全屏最小化
                    , anim: 0 //0-6的动画形式,-1不开启
                    , content: ['../工序派工单/Sc_Add_ProcessSendWork.html?HInterID=' + data[0].HInterID.toString(),'yes']
                    , content: ['../工序派工单/Sc_Add_ProcessSendWork.html?HInterID=' + data[0].hmainid.toString() + '&lentryid=' + rows.toString().substring(0, rows.length - 1), '&PlanBeginDate=' + data[0].计划开工日期.toString(), '&PlanEndDate=' + data[0].计划完工日期.toString(), 'yes']
                               , resize: false
                             , cancel: function () {
                                //$(".layui-btn").removeClass("layui-btn-disabled");
@@ -259,7 +264,12 @@
                        }
                        break;
                    case 'add':
                        layer.msg('添加');
                        var date = new Date();
                        var day = date.getDate();
                        var month = date.getMonth() + 1;
                        var year = date.getFullYear();
                        var shijian = year + "/" + month + "/" + day;
                        layer.msg(shijian);
                        break;
                    case '':
                        layer.msg('');