wtt
2025-03-18 1e2c97a4fbcaa58aa78ea162b8ee1ecad7089d38
应付单收料通知单其它入库其它出库采购入库修改
6个文件已修改
85 ■■■■ 已修改文件
WebTM/views/采购管理/应付单/Cg_PayableBill.html 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/采购管理/收料通知单/Add_Edit_Cg_POInStockBillList.html 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/项目管理/基础建模/Gy_TaskClass.html 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/领料发货/其他出库/Add_Edit_Kf_OtherOutBill.html 32 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/验收入库/其他入库/Add_Edit_Kf_OtherInBill.html 32 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/验收入库/外购入库/Add_Edit_Kf_POStockInBillList.html 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/²É¹º¹ÜÀí/Ó¦¸¶µ¥/Cg_PayableBill.html
@@ -1774,9 +1774,9 @@
                    if (option.cols[0][i]["field"] == "HQty") {
                       option.cols[0][i]["edit"] = false;
                    }
                    if (option.cols[0][i]["field"] == "HMoney") {
                        option.cols[0][i]["edit"] = false;
                    }
                    //if (option.cols[0][i]["field"] == "HMoney") {
                    //    option.cols[0][i]["edit"] = false;
                    //}
                    
                }
            }
WebTM/views/²É¹º¹ÜÀí/ÊÕÁÏ֪ͨµ¥/Add_Edit_Cg_POInStockBillList.html
@@ -1098,9 +1098,10 @@
            //#region æ‰“印
            function get_PrintReport() {
                if (linterid == null || linterid == "") {
                    linterid = $("#HInterID").val();
                }
                //if (linterid == null || linterid == "") {
                //    linterid = $("#HInterID").val();
                //}
                var HInterID = $("#HInterID").val();
                layer.open({
                    type: 2
                    , area: ['50%', '50%']
@@ -1108,7 +1109,7 @@
                    , shade: 0.6 //遮罩透明度
                    , maxmin: false //允许全屏最小化
                    , anim: 0 //0-6的动画形式,-1不开启
                    , content: ['../../BaseSet/SRM_OpenTmpList.html?linterid=' + linterid.toString() + '&MyMsg=' + linterid.toString() + '&Type=HPOInStockBillByID', 'yes']
                    , content: ['../../BaseSet/SRM_OpenTmpList.html?linterid=' + HInterID.toString() + '&MyMsg=' + linterid.toString() + '&Type=HPOInStockBillByID', 'yes']
                    , resize: false
                })
            }
WebTM/views/ÏîÄ¿¹ÜÀí/»ù´¡½¨Ä£/Gy_TaskClass.html
@@ -675,7 +675,7 @@
                    if (openType == "HTask") {
                        sWhere += " and LEN(任务类别代码) = 1 "
                    } else if (typeof (number) != "undefined") {
                        sWhere += " and ä»»åŠ¡ç±»åˆ«ä»£ç  LIKE '" + number + "%'";
                        sWhere += " and ä»»åŠ¡ç±»åˆ«ä»£ç  LIKE '" + number + "%'" + "and ä»»åŠ¡ç±»åˆ«ä»£ç  <> '" + number + "'";
                    }
                }
WebTM/views/ÁìÁÏ·¢»õ/ÆäËû³ö¿â/Add_Edit_Kf_OtherOutBill.html
@@ -50,6 +50,7 @@
                    <div class="layui-card-header">
                        <div class="layui-btn-group">
                            <button type="button" id="add-btn" class="layui-btn layui-btn-normal layui-btn-radius" lay-submit="" lay-filter="set_SaveBill">保存</button>
                            <button type="button" id="check-btn" class="layui-btn layui-btn-normal layui-btn-radius" lay-submit="" lay-filter="set_CheckBill">审核</button>
                            <button type="button" class="layui-btn layui-btn-normal layui-btn-radius" lay-submit="" lay-filter="Exit">退出</button>
                        </div>
                    </div>
@@ -496,6 +497,11 @@
            form.on('submit(set_SaveBill)', function (data) {
                set_SaveBill(data);
            });
            //#region å®¡æ ¸æŒ‰é’®
            form.on('submit(set_CheckBill)', function (data) {
                set_CheckBill(1);
            });
            //#endregion
            //行内事件
            table.on('tool(mainTable)', function (obj) {
@@ -762,7 +768,7 @@
                        , { field: 'HMoney', title: '金额', width: 100, edit: 'text', totalRow: true }
                     
                        , { field: 'HWHID ', title: 'HWHID ', width: 100, hide: true }
                        , { field: '收料仓库', title: '收料仓库', width: 100, edit: 'text', event: "HWHID" }//f7
                        , { field: '收料仓库', title: '发料仓库', width: 100, edit: 'text', event: "HWHID" }//f7
                        , { field: 'HSPID', title: 'HSPID', width: 100, hide: true }
                        , { field: 'HSPGroupID', title: 'HSPGroupID', width: 100, hide: true }
                        , { field: '仓位名称', title: '仓位名称', width: 100, edit: 'text', event: "HSPID" }//f7
@@ -861,6 +867,30 @@
                }
            });
            //审核   [1 å®¡æ ¸ã€2 åå®¡æ ¸]
            function set_CheckBill(num) {
                var HInterID = $("#HInterID").val();
                $.ajax({
                    url: GetWEBURL() + '/Kf_OtherOutBill/CheckKf_OtherOutBill',
                    type: "GET",
                    data: { "HInterID": HInterID, "Type": num, "user": sessionStorage["HUserName"] },
                    success: function (result) {
                        if (result.count == 1) {
                            layer.msg(result.Message, { time: 1 * 1000, icon: 1 }, function () {
                                // å¾—到frame索引
                                var index = layer.getFrameIndex(window.name);
                                //关闭当前frame
                                layer.close(index);
                            });
                            $('#check-btn').addClass("layui-btn-disabled").attr("disabled", true);// ç¦ç”¨å®¡æ ¸æŒ‰é’®
                        } else {
                            layer.alert(result.code + result.Message, { icon: 5 });
                        }
                    }, error: function () {
                        layer.alert("接口请求失败!", { icon: 5 });
                    }
                });
            }
           
           
            //#region ä¿å­˜æ–¹æ³•
WebTM/views/ÑéÊÕÈë¿â/ÆäËûÈë¿â/Add_Edit_Kf_OtherInBill.html
@@ -50,6 +50,7 @@
                    <div class="layui-card-header">
                        <div class="layui-btn-group">
                            <button type="button" id="add-btn" class="layui-btn layui-btn-normal layui-btn-radius" lay-submit="" lay-filter="set_SaveBill">保存</button>
                            <button type="button" id="check-btn" class="layui-btn layui-btn-normal layui-btn-radius" lay-submit="" lay-filter="set_CheckBill">审核</button>
                            <button type="button" class="layui-btn layui-btn-normal layui-btn-radius" lay-submit="" lay-filter="Exit">退出</button>
                        </div>
                    </div>
@@ -503,6 +504,12 @@
                set_SaveBill(data);
            });
            //#region å®¡æ ¸æŒ‰é’®
            form.on('submit(set_CheckBill)', function (data) {
                set_CheckBill(1);
            });
            //#endregion
            //行内事件
            table.on('tool(mainTable)', function (obj) {
                set_GridDelete(obj);   //行内删除
@@ -863,7 +870,30 @@
                }
            });
            //审核   [1 å®¡æ ¸ã€2 åå®¡æ ¸]
            function set_CheckBill(num) {
                var HInterID = $("#HInterID").val();
                $.ajax({
                    url: GetWEBURL() + '/Kf_OtherInBill/CheckKf_OtherInBill',
                    type: "GET",
                    data: { "HInterID": HInterID, "Type": num, "user": sessionStorage["HUserName"] },
                    success: function (result) {
                        if (result.count == 1) {
                            layer.msg(result.Message, { time: 1 * 1000, icon: 1 }, function () {
                                // å¾—到frame索引
                                var index = layer.getFrameIndex(window.name);
                                //关闭当前frame
                                layer.close(index);
                            });
                            $('#check-btn').addClass("layui-btn-disabled").attr("disabled", true);// ç¦ç”¨å®¡æ ¸æŒ‰é’®
                        } else {
                            layer.alert(result.code + result.Message, { icon: 5 });
                        }
                    }, error: function () {
                        layer.alert("接口请求失败!", { icon: 5 });
                    }
                });
            }
           
            //#region ä¿å­˜æ–¹æ³•
            function set_SaveBill(data) {
WebTM/views/ÑéÊÕÈë¿â/Í⹺Èë¿â/Add_Edit_Kf_POStockInBillList.html
@@ -1125,8 +1125,8 @@
                        , { field: '物料名称', title: '物料名称', width: 150, style: 'background-color:#efefef4d;' }
                        , { field: '规格型号', title: '规格型号', width: 100, style: 'background-color:#efefef4d;'}
                        , { field: 'HUnitID', title: 'HUnitID', width: 100, hide: true }
                        , { field: '计量单位', title: '计量单位', width: 100, edit: 'text', event: "HUnitID" }//f7
                        , { field: 'HQtyMust', title: '应收数量', width: 150, edit: 'text', totalRow: true}
                        , { field: '计量单位', title: '计量单位', width: 100, event: "HUnitID" }//f7
                        , { field: 'HQtyMust', title: '应收数量', width: 150,  totalRow: true}
                        , { field: 'HQty', title: '实收数量', width: 150, edit: 'text', totalRow: true}
                        , { field: 'HPrice', title: '单价', width: 100 }
                        , { field: 'HMoney', title: '金额', width: 100, totalRow: true }