其它应收单:子表基础资料文本框输入后自动检索,修改选中的颜色,取消分页与合计行,每次最多获取10条数据
4个文件已修改
4638 ■■■■ 已修改文件
WebTM/Properties/PublishProfiles/JFTM.pubxml.user 4622 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/WebTM.csproj.user 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/基础资料/通用基础资料/Gy_CommonBaseData.html 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/销售管理/其他应收单/YS_ReceiveOtherBillMain.html 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/Properties/PublishProfiles/JFTM.pubxml.user
Diff too large
WebTM/WebTM.csproj.user
@@ -3,7 +3,7 @@
  <PropertyGroup>
    <NameOfLastUsedPublishProfile>D:\网站发布\后端代码\MES-WEB-TM\MESWMS-LayUI\WebTM\Properties\PublishProfiles\JFTM.pubxml</NameOfLastUsedPublishProfile>
    <ProjectView>ProjectFiles</ProjectView>
    <LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig>
    <LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
    <UseIISExpress>true</UseIISExpress>
    <Use64BitIISExpress />
    <IISExpressSSLPort />
WebTM/views/»ù´¡×ÊÁÏ/ͨÓûù´¡×ÊÁÏ/Gy_CommonBaseData.html
@@ -19,12 +19,12 @@
    <style>
        /* å½“鼠标悬浮在表格的奇数行上时改变背景色 */
        .layui-table tbody tr:nth-child(odd):hover {
            background-color: #ffff00; /* æ›´æ”¹ä¸ºä½ æƒ³è¦çš„颜色 */
            background-color: #ceedfa; /* æ›´æ”¹ä¸ºä½ æƒ³è¦çš„颜色 */
        }
        /* å½“鼠标悬浮在表格的偶数行上时改变背景色 */
        .layui-table tbody tr:nth-child(even):hover {
            background-color: #ffff00; /* æ›´æ”¹ä¸ºä½ æƒ³è¦çš„颜色 */
            background-color: #ceedfa; /* æ›´æ”¹ä¸ºä½ æƒ³è¦çš„颜色 */
        }
    </style>
@@ -96,8 +96,8 @@
                    //, toolbar: '#toolbarDemo'
                    , height: 'full-50'
                    , cellMinWidth: 90
                    , page: true
                    , limit: 5
                    //, page: true
                    , limit: 10
                    , limits: [5, 10, 15, 20]
                    , totalRow: true
                    , cols: [[
@@ -107,7 +107,7 @@
                    , data: []
                    , done: function (res, curr, count) {
                        // è®¾ç½®è¡Œæ ·å¼
                        var style = 'background-color: #ffff00;'; // æŒ‡å®šçš„背景色
                        var style = 'background-color: #ceedfa;'; // æŒ‡å®šçš„背景色
                        // å‡è®¾æˆ‘们要设置第三行的背景色
                        var targetIndex = rowIndex; // è¡Œå·ç´¢å¼•,从0开始计数
                        $('tr[data-index=' + targetIndex + ']').attr('style', style);
WebTM/views/ÏúÊÛ¹ÜÀí/ÆäËûÓ¦ÊÕµ¥/YS_ReceiveOtherBillMain.html
@@ -975,7 +975,7 @@
                                                var value = $(e.currentTarget).val().replace("'", "");                                  //获取文本框最新值
                                                currRowIndex = 0;
                                                var tableView = "h_v_Gy_ProjectMoney";
                                                var childSWhere = "select HItemID,项目费用代码 ä»£ç ,项目费用名称 åç§° from " + tableView + " where 1=1 and (项目费用名称 like '%" + value + "%' or é¡¹ç›®è´¹ç”¨ä»£ç  like '%" + value + "%') ";
                                                var childSWhere = "select top(10) HItemID,项目费用代码 ä»£ç ,项目费用名称 åç§° from " + tableView + " where 1=1 and (项目费用名称 like '%" + value + "%' or é¡¹ç›®è´¹ç”¨ä»£ç  like '%" + value + "%') ";
                                                childPage.getData(childSWhere, tableView);
                                            }, 200);
                                        }
@@ -997,7 +997,7 @@
                                        var value = $(e.currentTarget).val().replace("'", "");                                  //获取文本框最新值
                                        currRowIndex = 0;
                                        var tableView = "h_v_Gy_ProjectMoney";
                                        var childSWhere = "select HItemID,项目费用代码 ä»£ç ,项目费用名称 åç§° from " + tableView + " where 1=1 and (项目费用名称 like '%" + value + "%' or é¡¹ç›®è´¹ç”¨ä»£ç  like '%" + value + "%') ";
                                        var childSWhere = "select top(10) HItemID,项目费用代码 ä»£ç ,项目费用名称 åç§° from " + tableView + " where 1=1 and (项目费用名称 like '%" + value + "%' or é¡¹ç›®è´¹ç”¨ä»£ç  like '%" + value + "%') ";
                                        childPage.getData(childSWhere, tableView);
                                    }, 200);
                                }