From ee4806a4b2ec94ec63b4cb9b58447d9863baebe5 Mon Sep 17 00:00:00 2001 From: wxw <Administrator@DESKTOP-5BIMHQ3> Date: 星期四, 27 三月 2025 09:02:41 +0800 Subject: [PATCH] 修改问题 --- HTML/views/SOSetting/ExportNotice.html | 53 ++++++++--------------------------------------------- 1 files changed, 8 insertions(+), 45 deletions(-) diff --git a/HTML/views/SOSetting/ExportNotice.html b/HTML/views/SOSetting/ExportNotice.html index f04eecd..aea67b9 100644 --- a/HTML/views/SOSetting/ExportNotice.html +++ b/HTML/views/SOSetting/ExportNotice.html @@ -326,51 +326,14 @@ <script type="text/html" id="table-content-list"> {{# function GetBtn1(d){ var html = ''; - if(d.IsWave == '0'){ - if(d.Status == '0' || d.Status == '1' ){ - if(d.Type != "8" && d.Type != "2") { - html += `<a class="layui-btn layui-btn-normal layui-btn-xs zifenClass" lay-event="auto"> - <i class="layui-icon layui-icon-ok"></i>鑷姩鍒嗛厤 - </a>`; - } - } + if(d.IsWave == '0'){ if(d.Status == '0' && d.Origin == 'WMS'){ - html += `<a class="layui-btn layui-btn-normal layui-btn-xs uptClass" lay-event="edit"> - <i class="layui-icon layui-icon-edit"></i>缂栬緫 - </a> - <a class="layui-btn layui-btn-danger layui-btn-xs delClass" lay-event="delete"> + html += `<a class="layui-btn layui-btn-danger layui-btn-xs delClass" lay-event="delete"> <i class="layui-icon layui-icon-delete"></i>鍒犻櫎 </a>`; } - if(d.Status == '1' || d.Status == '2'){ - html += `<a class="layui-btn layui-btn-danger layui-btn-xs qufenClass" lay-event="cancel"> - <i class="layui-icon layui-icon-delete"></i>鍙栨秷鍒嗛厤 - </a>`; - } - if(d.Type == "1" && (d.Status == '2' || d.Status == '3')){ - html += `<a class="layui-btn layui-btn-normal layui-btn-xs outClass" lay-event="beiLiaoOutKu"> - <i class="layui-icon layui-icon-ok"></i>澶囨枡 - </a>`; - } - if( d.Status == '2' || d.Status == '3'){ - html += `<a class="layui-btn layui-btn-normal layui-btn-xs outClass" lay-event="outKu"> - <i class="layui-icon layui-icon-ok"></i>鍑哄簱 - </a>`; - } } - if( d.Status == '4'){ - html += `<a class="layui-btn layui-btn-normal layui-btn-xs guanClass" lay-event="finish"> - <i class="layui-icon layui-icon-ok"></i>鍏冲崟 - </a>`; - } - if( d.Status == '5'){ - html += `<a class="layui-btn layui-btn-normal layui-btn-xs checkClass" lay-event="check"> - <i class="layui-icon layui-icon-ok"></i>澶嶆牳 - </a>`; - } - html += `<a class="layui-btn layui-btn-normal layui-btn-xs shangClass" lay-event="xml"> - <i class="layui-icon layui-icon-ok"></i>XML - </a>`; + html += `<a class="layui-btn layui-btn-normal layui-btn-xs editDemoClass" lay-event="editDemo"> <i class="layui-icon layui-icon-edit"></i>澶囨敞</a>`; return html; @@ -472,12 +435,12 @@ var TotalColsArr = [[ { field: '', title: '搴忓彿', type: 'numbers', width: 50, align: 'center', fixed: 'left', "disabled": true }, { field: 'SONo', title: '鍑哄簱鍗曞彿', align: 'center', fixed: 'left', width: 165, "disabled": true }, - { field: 'Type', title: '鍗曟嵁绫诲瀷', align: 'center', templet: '#templetType' }, + //{ field: 'Type', title: '鍗曟嵁绫诲瀷', align: 'center', templet: '#templetType' }, { field: 'Status', title: '鎵ц鐘舵��', align: 'center', templet: '#templetStatus' }, // { field: 'LogisticsName', title: '鎵胯繍鍟�', align: 'center' }, // { field: 'CustomerName', title: '瀹㈡埛鍚嶇О', align: 'center' }, - { field: 'LotNo', title: '鎵规鍙�', align: 'center' }, - { field: 'LotNoText', title: '鎵规鎻忚堪', align: 'center' }, + //{ field: 'LotNo', title: '鎵规鍙�', align: 'center' }, + //{ field: 'LotNoText', title: '鎵规鎻忚堪', align: 'center' }, //{ field: 'IsDespatch', title: '鏄惁鍙戣繍', align: 'center', templet: '#templetIsDespatch' }, //{ field: 'SupplierLot', title: '渚涜揣鎵规', align: 'center' }, { field: 'Origin', title: '鏉ユ簮', align: 'center' }, @@ -758,7 +721,7 @@ { field: 'SONo', title: '鍑哄簱鍗曞彿', align: 'center', fixed: 'left', width: 165 }, { field: 'SkuNo', title: '鐗╂枡缂栫爜', align: 'center'}, { field: 'SkuName', title: '鐗╂枡鍚嶇О', align: 'center'}, - { field: 'Standard', title: '鐗╂枡瑙勬牸', align: 'center'}, + //{ field: 'Standard', title: '鐗╂枡瑙勬牸', align: 'center'}, { field: 'LotNo', title: '鎵规鍙�', align: 'center'}, { field: 'Qty', title: '璁″垝鏁伴噺', align: 'center'}, //{ field: 'AllotQty', title: '鍒嗛厤鏁伴噺', align: 'center', width: 100 }, @@ -771,7 +734,7 @@ //{ field: 'SupplierLot', title: '渚涜揣鎵规', align: 'center', width: 120 }, //{ field: 'Price', title: '鍗曚环', align: 'center', width: 80 }, //{ field: 'Money', title: '鎬婚噾棰�', align: 'center', width: 90 }, - { field: 'caozuo', title: '鎿嶄綔', fixed: 'right', width: 100, align: 'left', toolbar: '#table-content-list2', "disabled": true } + //{ field: 'caozuo', title: '鎿嶄綔', fixed: 'right', width: 100, align: 'left', toolbar: '#table-content-list2', "disabled": true } ]]; var DetailColsSysArr = encodeURIComponent(encodeURIComponent(JSON.stringify(DetailColsArr)))//灏嗚〃澶存暟鎹繘琛寀rl缂栫爜 //#endregion -- Gitblit v1.8.0