Administrator
2024-02-01 7bb0a817a938d4f44569cc14d6ea34dbb7b1105f
HTML/views/ASNSetting/ArrivalNotice.html
@@ -181,7 +181,7 @@
                              <a class="layui-btn layui-btn-danger layui-btn-xs cheXiaoClass" lay-event="chexiao"> <i class="layui-icon layui-icon-delete"></i>撤销</a>`; 
                           break;
                        case "3" : 
                        html += `<a class="layui-btn layui-btn-normal layui-btn-xs clossClass" lay-event="check">  <i class="layui-icon layui-icon-ok"></i>复核</a>`;
                        html += `<a class="layui-btn layui-btn-normal layui-btn-xs checkClass" lay-event="check">  <i class="layui-icon layui-icon-ok"></i>复核</a>`;
                           break;
                        default : 
                        break; 
@@ -221,10 +221,20 @@
                  {{# function GetBtn4(d){
                        var html = ``;
                        if(d.Type=='0'){ 
                           html = `标准产品入库`;
                           html = `成品入库`;
                        } else if(d.Type=='1') { 
                           html = `非标产品入库`;
                        } else {
                           html = `采购入库`;
                        } else if(d.Type=='2') {
                           html = `中间品入库`;
                        }else if(d.Type=='3') {
                           html = `退货入库`;
                        }else if(d.Type=='4') {
                           html = `车间余料退回入库`;
                        }else if(d.Type=='5') {
                           html = `其它入库`;
                        }else if(d.Type=='6') {
                           html = `代储入库`;
                        }else {
                           
                        }
                        return html;
@@ -255,6 +265,14 @@
                     }   
                  }}
                  {{ GetBtn7(d) }}
               </script>
               <script type="text/html" id="templetCheckTime">
                  {{# function GetBtn11(d){
                        return formatDate(d.CheckTime);
                     }
                  }}
                  {{ GetBtn11(d) }}
               </script>
               <!-- #endregion -->
            </div>
@@ -386,6 +404,8 @@
                  {field: 'CreateTime',title: '创建时间',align: 'center',templet: '#templetCreateTime'},
                  {field: 'UpdateUserName',title: '修改人',align: 'center',width: 110},
                  {field: 'UpdateTime',title: '修改时间',align: 'center',templet: '#templetUpdateTime'}, 
                  {field: 'CheckUserName',title: '复核人',align: 'center',width: 110},
                  {field: 'CheckTime',title: '复核时间',align: 'center',templet: '#templetCheckTime'},
                  {field: 'caozuo',title: '操作',fixed: 'right',width: 280,align: 'center',toolbar: '#toolbarDemo1', "disabled": true}
               ]];
         var TotalColsSysArr=encodeURIComponent(encodeURIComponent(JSON.stringify(TotalColsArr)))//将表头数据进行url编码
@@ -856,6 +876,7 @@
               $(".cheXiaoClass").hide(); 
               $(".clossClass").hide(); 
               $(".editDemoClass").hide();//备注
               $(".checkClass").hide(); //复核
            });
            sendData(IP + "/Basis/GetRoleRightList", {}, 'get', function(res) {
               if (res.code == 0) { //成功 
@@ -890,6 +911,11 @@
                           $(".editDemoClass").show(); 
                        });
                     }
                     if (res.data[k].MenuName == "复核入库单") {
                        $(function() {
                           $(".checkClass").show();
                        });
                     }
                  }
               } else { //不成功
                  layer.msg('获取权限信息失败', {