修改 SET表 PNL表 展示 编码 ,PNL布局编辑 页面布局1
| | |
| | | <Content Include="HtmlPage1.html" /> |
| | | <Content Include="img\AIè¯ç.png" /> |
| | | <Content Include="img\icè¯ç.png" /> |
| | | <Content Include="img\åè¿ç´æ¹å¾èæ¯.jpeg" /> |
| | | <Content Include="img\æºè½è¯ç.png" /> |
| | | <Content Include="img\æºè½è¯çï¼.png" /> |
| | | <Content Include="img\çµåææ¯.png" /> |
| | |
| | | <Content Include="views\ç产管ç\æ¥è®¡ååºç¡èµæ\JIT_NeedMaterPlanConfigBill_Excel.html" /> |
| | | <Content Include="views\ç产管ç\æ¥è®¡åæ¥è¡¨\JIT_DayPlanPlatFormHistoryNoteReport.html" /> |
| | | <Content Include="views\ç产管ç\æ¥è®¡åæ¥è¡¨\JIT_FuHeFenXiReportDetail.html" /> |
| | | <<<<<<< HEAD |
| | | <Content Include="views\ç产管ç\æ¥è®¡åæ¥è¡¨\ReportMOMaterReadysBillTotalList.html" /> |
| | | ======= |
| | | <Content Include="views\ç产管ç\æ¬ æè¿ç®\JIT_MaterialLevelShorAnalysisReport_His.html" /> |
| | | >>>>>>> 0adef152d8494601c9665fd2d690774c662a02fd |
| | | <Content Include="views\ç产管ç\æ¬ æè¿ç®\JIT_MaterialLevelShorAnalysis.html" /> |
| | | <Content Include="views\ç产管ç\æ¬ æè¿ç®\JIT_MaterialLevelShorAnalysisDetailReport.html" /> |
| | | <Content Include="views\ç产管ç\æ¬ æè¿ç®\JIT_MaterialLevelShorAnalysisReport.html" /> |
| | |
| | | // 坿©å±å
¶ä»ç±»å |
| | | switch (type) { |
| | | case "icon": createIconCardItem([dropItems], dataList); break; |
| | | default: console.error("æªç¥typeç±»å"); return; |
| | | } |
| | | globalDropdownWrapper.addEventListener("click", function (e) { |
| | | callback.call(e) |
| | |
| | | dropItem.style.flexDirection = "column" |
| | | dropItem.style.justifyContent = "center" |
| | | dropItem.style.alignItems = "center" |
| | | dropItem.style.padding = "5px" |
| | | dropItem.style.width = "96px"; |
| | | dropItem.style.height = "96px"; |
| | | dropItem.style.boxSizing = "border-box"; |
| | |
| | | |
| | | let span = document.createElement("span"); |
| | | span.setAttribute('databinding', true) |
| | | span.setAttribute('data-value', data.imgUrl) |
| | | span.setAttribute('data-value', data.imgValue) |
| | | span.innerText = data.imgName; |
| | | span.style.maxWidth = "100%" // éå¶æå¤§å®½åº¦ |
| | | span.style.height = "20%" |
| | |
| | | <div id="page" style="position: relative; bottom: 0;"></div> |
| | | <script type="text/html" id="toolbarDemo"> |
| | | <div class="layui-btn-container" id="toolbarDemo_ButtonSet"> |
| | | <button type="button" class="layui-btn layui-btn-sm" style="display:none;" id="set_AddNew" lay-event="set_AddNew"><i class="layui-icon layui-icon-form"></i>æ°å¢</button> |
| | | <!--<button type="button" class="layui-btn layui-btn-sm" style="display:none;" id="set_AddNew" lay-event="set_AddNew"><i class="layui-icon layui-icon-form"></i>æ°å¢</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" style="display:none;" id="set_ShowBill" lay-event="set_ShowBill"><i class="layui-icon layui-icon-form"></i>ç¼è¾</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" style="display:none;" lay-event="btn-Copy" id="btn-Copy"><i class="layui-icon layui-icon-transfer"></i>å¤å¶</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" style="display:none;" id="set_DeleteBill" lay-event="set_DeleteBill"><i class="layui-icon layui-icon-form"></i>å é¤</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" style="display:none;" id="set_DeleteBill" lay-event="set_DeleteBill"><i class="layui-icon layui-icon-form"></i>å é¤</button>--> |
| | | <button type="button" class="layui-btn layui-btn-sm" style="display:none;" lay-event="btn-Export" id="btn-Export"><i class="layui-icon layui-icon-export"></i>导åº</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" style="display:none;" id="set_HideColumn" lay-event="set_HideColumn"><i class="layui-icon layui-icon-form"></i>å设置</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" style="display:none;" lay-event="set_HideButton" id="HideButton"><i class="layui-icon layui-icon-form"></i>æé®è®¾ç½®</button> |
| | |
| | | col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: false, width: 140, totalRow: true }); |
| | | break; |
| | | default: |
| | | if (data[i].name === 'æ¡ç ç¼å·') { |
| | | col.push({ |
| | | field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 200, |
| | | templet: function (d) { |
| | | return '<span style="color: blue;" lay-unrow >' + d.æ¡ç ç¼å· + '</span>' |
| | | }, style: 'cursor: pointer;', event: 'onHBarCodeClickHandler' |
| | | }); |
| | | } else { |
| | | //if (data[i].name === 'æ¡ç ç¼å·') { |
| | | // col.push({ |
| | | // field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 200, |
| | | // templet: function (d) { |
| | | // return '<span style="color: blue;" lay-unrow >' + d.æ¡ç ç¼å· + '</span>' |
| | | // }, style: 'cursor: pointer;', event: 'onHBarCodeClickHandler' |
| | | // }); |
| | | //} else { |
| | | col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: false, width: 140 }); |
| | | } |
| | | //} |
| | | } |
| | | } |
| | | } |
| | |
| | | <div id="page" style="position: relative; bottom: 0;"></div> |
| | | <script type="text/html" id="toolbarDemo"> |
| | | <div class="layui-btn-container" id="toolbarDemo_ButtonSet"> |
| | | <button type="button" class="layui-btn layui-btn-sm" style="display:none;" id="set_AddNew" lay-event="set_AddNew"><i class="layui-icon layui-icon-form"></i>æ°å¢</button> |
| | | <!--<button type="button" class="layui-btn layui-btn-sm" style="display:none;" id="set_AddNew" lay-event="set_AddNew"><i class="layui-icon layui-icon-form"></i>æ°å¢</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" style="display:none;" id="set_ShowBill" lay-event="set_ShowBill"><i class="layui-icon layui-icon-form"></i>ç¼è¾</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" style="display:none;" lay-event="btn-Copy" id="btn-Copy"><i class="layui-icon layui-icon-transfer"></i>å¤å¶</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" style="display:none;" id="set_DeleteBill" lay-event="set_DeleteBill"><i class="layui-icon layui-icon-form"></i>å é¤</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" style="display:none;" id="set_DeleteBill" lay-event="set_DeleteBill"><i class="layui-icon layui-icon-form"></i>å é¤</button>--> |
| | | <button type="button" class="layui-btn layui-btn-sm" style="display:none;" lay-event="btn-Export" id="btn-Export"><i class="layui-icon layui-icon-export"></i>导åº</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" style="display:none;" id="set_HideColumn" lay-event="set_HideColumn"><i class="layui-icon layui-icon-form"></i>å设置</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" style="display:none;" lay-event="set_HideButton" id="HideButton"><i class="layui-icon layui-icon-form"></i>æé®è®¾ç½®</button> |
| | |
| | | col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: false, width: 140, totalRow: true }); |
| | | break; |
| | | default: |
| | | if (data[i].name === 'æ¡ç ç¼å·') { |
| | | col.push({ |
| | | field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 200, |
| | | templet: function (d) { |
| | | return '<span style="color: blue;" lay-unrow >' + d.æ¡ç ç¼å· + '</span>' |
| | | }, style: 'cursor: pointer;', event: 'onHBarCodeClickHandler' |
| | | }); |
| | | } else { |
| | | //if (data[i].name === 'æ¡ç ç¼å·') { |
| | | // col.push({ |
| | | // field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 200, |
| | | // templet: function (d) { |
| | | // return '<span style="color: blue;" lay-unrow >' + d.æ¡ç ç¼å· + '</span>' |
| | | // }, style: 'cursor: pointer;', event: 'onHBarCodeClickHandler' |
| | | // }); |
| | | //} else { |
| | | col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: false, width: 140 }); |
| | | } |
| | | //} |
| | | } |
| | | } |
| | | } |
| | |
| | | // 渲æå¾æ ä¸ææ¡ |
| | | setDropdownContent([ |
| | | { |
| | | imgUrl: "https://img.icons8.com/?size=100&id=NoLd9XxtUety&format=png&color=000000", |
| | | imgName: "å¾ç1" |
| | | imgUrl: "../../../img/AIè¯ç.png", |
| | | imgName: "AIè¯ç.png", |
| | | imgValue: "/img/AIè¯ç.png" |
| | | }, { |
| | | imgUrl: "https://img.icons8.com/?size=100&id=34LwnMbJnkXt&format=png&color=000000", |
| | | imgName: "å¾ç2" |
| | | imgUrl: "../../../img/icè¯ç.png", |
| | | imgName: "icè¯ç.png", |
| | | imgValue: "/img/icè¯ç.png" |
| | | }, { |
| | | imgUrl: "https://img.icons8.com/?size=100&id=2wWIUxJLzUPN&format=png&color=000000", |
| | | imgName: "å¾ç3" |
| | | imgUrl: "../../../img/çµè主æ¿.png", |
| | | imgName: "çµè主æ¿.png", |
| | | imgValue: "/img/çµè主æ¿.png" |
| | | }, { |
| | | imgUrl: "https://img.icons8.com/?size=100&id=113560&format=png&color=000000", |
| | | imgName: "å¾ç4" |
| | | imgUrl: "../../../img/çµåææ¯.png", |
| | | imgName: "çµåææ¯.png", |
| | | imgValue: "/img/çµåææ¯.png" |
| | | }, { |
| | | imgUrl: "https://img.icons8.com/?size=100&id=119961&format=png&color=000000", |
| | | imgName: "å¾ç5" |
| | | imgUrl: "../../../img/è¯ç.png", |
| | | imgName: "è¯ç.png", |
| | | imgValue: "/img/è¯ç.png" |
| | | }, { |
| | | imgUrl: "https://img.icons8.com/?size=100&id=uorqa1hwCGPC&format=png&color=000000", |
| | | imgName: "å¾ç6" |
| | | }, |
| | | imgUrl: "../../../img/æºè½è¯çï¼.png", |
| | | imgName: "æºè½è¯çï¼.png", |
| | | imgValue: "/img/æºè½è¯çï¼.png" |
| | | }, { |
| | | imgUrl: "../../../img/æºè½è¯ç.png", |
| | | imgName: "æºè½è¯ç.png", |
| | | imgValue: "/img/æºè½è¯ç.png" |
| | | } |
| | | ] |
| | | , type = "icon" |
| | | , function () { |
| | |
| | | , { templet: '#xuhao', field: "åºå·", title: 'åºå·', sort: true, fixed: 'left', event: "qwe", width: 100 } |
| | | , { field: 'HInterID', title: '主表ID', hide: true, width: 100 } |
| | | , { field: 'HEntryID', title: 'å表ID', hide: true, width: 100 } |
| | | , { field: 'HLayOutName', title: 'PNLå¸å±åç§°', width: 100, edit: 'text', event: 'onHLayoutNameKeyDownHandler'} |
| | | , { field: 'HLayOutName', title: 'PNLå¸å±åç§°', width: 100, event: 'onHLayoutNameKeyDownHandler'} |
| | | , { field: 'HSetNo', title: 'setå·', width: 100, edit: 'text' } |
| | | , { field: 'HPCSNo', title: 'PCSå·', width: 100, edit: 'text' } |
| | | , { field: 'HPosition_x', title: 'PCSè¡ç´¢å¼', width: 100, totalRow: true, edit: 'text' } |