1
duhe
2025-01-10 938baa4217e35445b6dba52bcceef4ce2d30bfc3
1
9个文件已修改
137 ■■■■■ 已修改文件
WebTM/views/计划管理/工艺路线/Gy_RoutingBill.html 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/采购管理/应付单/Cg_PayableBill.html 19 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/采购管理/收料通知单/Add_Edit_Cg_POInStockBillList.html 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/采购管理/采购订单/Cg_POOrderBillEdit.html 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/销售管理/发货通知单/Add_Edit_Xs_SeOutStockBillList.html 21 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/销售管理/应收单/Xs_ReceivableBill.html 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/销售管理/销售订单/Add_Edit_Xs_SeOrderBillList.html 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/领料发货/销售出库/Kf_SellOutBill.html 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/验收入库/外购入库/Add_Edit_Kf_POStockInBillList.html 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/¼Æ»®¹ÜÀí/¹¤ÒÕ·Ïß/Gy_RoutingBill.html
@@ -1408,7 +1408,7 @@
            //保存提交
            form.on('submit(btnSave)', function (data) {//提交
                const procNos = table.cache["mainTable"].map(item => item.HProcNo);
                const procNos = table.cache["mainTable"].map(item => Number(item.HProcNo));
                if (isSortedAscending(procNos) && haveHProcNO9999()) {
                    if (AllowLoadData(data)) {
                        set_AddNew(data);
WebTM/views/²É¹º¹ÜÀí/Ó¦¸¶µ¥/Cg_PayableBill.html
@@ -399,7 +399,7 @@
            var allVal;
            var HModName = "Cg_PayableBill";
            var topScroll = 0;//记录滚动条的位置
            //记录组织的值
            var HOrgIDBar = 0;
@@ -1671,6 +1671,10 @@
                        , { field: 'HSeOrderBillNo', title: '销售订单号', width: 100, hide: true, style: 'background-color:#efefef4d;' }
                        , { fixed: 'right', title: '操作', toolbar: '#barDemo', width: 70 }
                    ]]
                    , done: function (res, curr, count) {
                        $(".layui-table-main").scrollTop(topScroll);
                    }
                }
                optionEntry = {
                    elem: '#mainTableEntry'
@@ -1781,6 +1785,7 @@
                var HQtyDec = (Dec["HQtyDec"] == null || Dec["HQtyDec"] == 0) ? 4 : Dec["HQtyDec"];  //数量精度
                var HPriceDec = (Dec["HPriceDec"] == null || Dec["HPriceDec"] == 0) ? 4 : Dec["HPriceDec"];  //单价精度
                var HMoneyDec = (Dec["HMoneyDec"] == null || Dec["HMoneyDec"] == 0) ? 2 : Dec["HMoneyDec"];  //金额精度
                topScroll = $('#mainTable').next('.layui-table-view').find('.layui-table-body').scrollTop();//获取滚动条位置
                // å•元格编辑之前的值
                var oldText = $(this).prev().text();
                var value = obj.value //得到修改后的值
@@ -1841,7 +1846,7 @@
                            , HlineTotalBB: HlineTotalBB
                            , HMoneyBB: HMoneyBB
                        });
                        //table.render(option);
                        table.render(option);
                        break;
                    case "HPrice":                                         //单价
                        //数据格式校验
@@ -1891,7 +1896,7 @@
                            , HlineTotalBB: HlineTotalBB
                            , HMoneyBB: HMoneyBB
                        });
                        //table.render(option);
                        table.render(option);
                        break;
                    case "HTaxRate":                                                       //数量
                        //数据格式校验
@@ -1945,7 +1950,7 @@
                            , HlineTotalBB: HlineTotalBB
                            , HMoneyBB: HMoneyBB
                        });
                        //table.render(option);
                        table.render(option);
                        break;
                    case "HDiscountRate":                                                       //数量
                        //数据格式校验
@@ -1989,7 +1994,7 @@
                            , HDiscountRate: HDiscountRate
                            , HRelTaxPrice: HRelTaxPrice
                        });
                        //table.render(option);
                        table.render(option);
                        break;
                    case "HTaxPrice":                                         //单价
                        //数据格式校验  
@@ -2040,7 +2045,7 @@
                            , HlineTotalBB: HlineTotalBB              //更新HlineTotalBB字段,其值来自变量HlineTotalBB
                            , HMoneyBB: HMoneyBB
                        });
                        //table.render(option);
                        table.render(option);
                        break;
                    case "HMoney":                                         //金额
                        //数据格式校验
@@ -2098,7 +2103,7 @@
                            , HlineTotalBB: HlineTotalBB
                            , HMoneyBB: HMoneyBB
                        });
                        //table.render(option);
                        table.render(option);
                        break;
                    default:
                }
WebTM/views/²É¹º¹ÜÀí/ÊÕÁÏ֪ͨµ¥/Add_Edit_Cg_POInStockBillList.html
@@ -355,6 +355,7 @@
            var year = date.getFullYear();
            var shijian = year + "-" + month + "-" + day;
            var topScroll = 0;//记录滚动条的位置
            var allVal;
            window.OptionData = [];
            //#endregion
@@ -609,7 +610,7 @@
                var value = obj.value //得到修改后的值
                    , data = obj.data //得到所在行所有键值
                    , field = obj.field; //得到字段
                topScroll = $('#mainTable').next('.layui-table-view').find('.layui-table-body').scrollTop();//获取滚动条位置
                switch (field) {
                    case "HQty":                                         //数量
@@ -654,7 +655,7 @@
                            , HMoney: HMoney
                            , HTaxMoney: HTaxMoney
                        });
                        //table.render(option)
                        table.render(option)
                        break;
                    case "HPrice":                                         //单价
                        //数据格式校验
@@ -691,7 +692,7 @@
                            , HTaxMoney: HTaxMoney
                            , HTaxPrice, HTaxPrice
                        });
                        //table.render(option)
                        table.render(option)
                        break;
                    case "HTaxRate":                                                       //税率
                        //数据格式校验
@@ -731,7 +732,7 @@
                            , HTaxMoney: HTaxMoney
                            , HTaxPrice: HTaxPrice
                        });
                        //table.render(option)
                        table.render(option)
                        break;
                    case "HDiscountRate":                                                       //数量
                        //数据格式校验
@@ -772,7 +773,7 @@
                            , HTaxPrice: HTaxPrice
                            , HDiscountRate: HDiscountRate
                        });
                        //table.render(option);
                        table.render(option);
                        break;       
                    case "HTaxPrice":                                         //含税单价
                        //数据格式校验  
@@ -810,7 +811,7 @@
                            , HTaxMoney: HTaxMoney                  //更新HTaxMoney字段,HTaxMoney
                            , HTaxPrice: Number(HTaxPrice.toFixed(HPriceDec))                    //更新HTaxPrice字段,HTaxPrice
                        });
                        //table.render(option)
                        table.render(option)
                        break;
                    case "HMoney":                                         //金额
                        //数据格式校验  
@@ -850,7 +851,7 @@
                            , HTaxMoney: HTaxMoney                  //更新HTaxMoney字段,HTaxMoney
                            , HTaxPrice: Number(HTaxPrice.toFixed(HPriceDec))                    //更新HTaxPrice字段,HTaxPrice
                        });
                        //table.render(option)
                        table.render(option)
                        break;
                    default:
                }
@@ -979,6 +980,9 @@
                        , { field: 'HRemark', title: '备注', width: 100, edit: 'text' }
                        , { fixed: 'right', title: '操作', toolbar: '#barDemo', width: 70 }
                    ]]
                    , done: function (res, curr, count) {
                        $(".layui-table-main").scrollTop(topScroll);
                    }
                }
                option.data = [];
WebTM/views/²É¹º¹ÜÀí/²É¹º¶©µ¥/Cg_POOrderBillEdit.html
@@ -381,12 +381,12 @@
            var year = date.getFullYear();
            var shijian = year + "-" + month + "-" + day;
            var allVal;
            var topScroll = 0;//记录滚动条的位置
            
            //#endregion
            //记录组织的值
            var HOrgIDBar = 0;      //声明了一个名为 HOrgIDBar çš„变量,并将其初始化为 0
            var HModName = "Cg_POOrderBillEdit"
@@ -653,7 +653,7 @@
                var HQtyDec = (Dec["HQtyDec"] == null || Dec["HQtyDec"] == 0) ? 4 : Dec["HQtyDec"];  //数量精度
                var HPriceDec = (Dec["HPriceDec"] == null || Dec["HPriceDec"] == 0) ? 4 : Dec["HPriceDec"];  //单价精度
                var HMoneyDec = (Dec["HMoneyDec"] == null || Dec["HMoneyDec"] == 0) ? 2 : Dec["HMoneyDec"];  //金额精度
                topScroll = $('#mainTable').next('.layui-table-view').find('.layui-table-body').scrollTop();//获取滚动条位置
                // å•元格编辑之前的值
                var oldText = $(this).prev().text();                         //获取当前的值赋值给oldtext           èŽ·å–å½“å‰å…ƒç´ ï¼ˆå¯èƒ½æ˜¯ä¸€ä¸ªè¡¨æ ¼å•å…ƒæ ¼ï¼‰çš„å‰ä¸€ä¸ªåŒçº§å…ƒç´ çš„æ–‡æœ¬å†…å®¹ï¼Œå¹¶å°†è¿™ä¸ªæ–‡æœ¬å†…å®¹å­˜å‚¨åœ¨å˜é‡oldText中
                var value = obj.value                   //得到修改后的值
@@ -707,7 +707,7 @@
                            , HlineTotal: HlineTotal                         //更新HlineTotal字段,其值来自变量HlineTotal
                            , HlineTotalBB: HlineTotalBB                     //更新HlineTotalBB字段,其值来自变量HlineTotalBB
                        });
                        //table.render(option)
                        table.render(option)
                        break;
                    case "HPrice":                                         //单价
                        //数据格式校验  
@@ -755,7 +755,7 @@
                            , HRelTaxPrice: HRelTaxPrice            //更新HRelTaxPrice字段,其值来自变量HRelTaxPrice
                            , HlineTotalBB: HlineTotalBB              //更新HlineTotalBB字段,其值来自变量HlineTotalBB
                        });
                        //table.render(option)
                        table.render(option)
                        break;
                    case "HTaxRate":                                                       //税率
                        //数据格式校验
@@ -805,7 +805,7 @@
                            , HRelTaxPrice: HRelTaxPrice
                            , HlineTotalBB: HlineTotalBB
                        });
                        //table.render(option)
                        table.render(option)
                        break;
                    case "HDiscountRate":                                                       //数量
                        //数据格式校验
@@ -849,6 +849,7 @@
                            , HDiscountRate: HDiscountRate                  //更新HDiscountRate字段,其值来自变量HDiscountRate
                            , HRelTaxPrice: HRelTaxPrice                  //更新HRelTaxPrice字段,其值来自变量HRelTaxPrice
                        });
                        table.render(option)
                        break;
                    case "HTaxPrice":                                         //含税单价
                        //数据格式校验  
@@ -896,7 +897,7 @@
                            , HRelTaxPrice: HRelTaxPrice            //更新HRelTaxPrice字段,其值来自变量HRelTaxPrice
                            , HlineTotalBB: HlineTotalBB              //更新HlineTotalBB字段,其值来自变量HlineTotalBB
                        });
                        //table.render(option)
                        table.render(option)
                        break;
                        
                    default:
@@ -1069,6 +1070,9 @@
                        , { field: 'HRemark', title: '备注', width: 100, edit: 'text' }
                        , { fixed: 'right', title: '操作', toolbar: '#barDemo', width: 70 }
                    ]]
                    , done: function (res, curr, count) {
                        $(".layui-table-main").scrollTop(topScroll);
                    }
                }
                option.data = rowdata;   //子表的值赋值给option.data   å‘option对象添加一个data属性,并将其设置为rowdata
WebTM/views/ÏúÊÛ¹ÜÀí/·¢»õ֪ͨµ¥/Add_Edit_Xs_SeOutStockBillList.html
@@ -376,7 +376,7 @@
            var shijian = year + "-" + month + "-" + day;
            var allVal;
            var topScroll = 0;//记录滚动条的位置
            var HModName = "Add_Edit_Xs_SeOutStockBillList";
            //#endregion
@@ -682,6 +682,7 @@
                var HQtyDec = (Dec["HQtyDec"] == null || Dec["HQtyDec"] == 0) ? 4 : Dec["HQtyDec"];  //数量精度
                var HPriceDec = (Dec["HPriceDec"] == null || Dec["HPriceDec"] == 0) ? 4 : Dec["HPriceDec"];  //单价精度
                var HMoneyDec = (Dec["HMoneyDec"] == null || Dec["HMoneyDec"] == 0) ? 2 : Dec["HMoneyDec"];  //金额精度
                topScroll = $('#mainTable').next('.layui-table-view').find('.layui-table-body').scrollTop();//获取滚动条位置
                // å•元格编辑之前的值
                var oldText = $(this).prev().text();
                var value = obj.value //得到修改后的值
@@ -728,7 +729,7 @@
                            , HPrice: HPrice
                            , HMoney: HMoney
                        });
                        //table.render(option);
                        table.render(option);
                        break;
                    case "HPrice":                                                       //单价
                        //数据格式校验
@@ -758,7 +759,7 @@
                            , HPrice: HPrice
                            , HMoney: HMoney
                        });
                        //table.render(option);
                        table.render(option);
                        break;
                    default:
                }
@@ -1051,6 +1052,7 @@
                    , limit: 500
                    , height: 500
                    , loading: false
                    , totalRow:true
                    , cols: [[ //子表
                        { type: 'checkbox', totalRowText: '合计行' }
                        , { type: 'numbers', title: '序号', width: 100, totalRow: true }
@@ -1066,16 +1068,23 @@
                        , { field: '计量单位', title: '计量单位', width: 100, edit: 'text', event: "HUnitID" }//f7
                        , { field: 'HWHID', title: 'HWHID', width: 100, hide: true }
                        , { field: '发货仓库', title: '发货仓库', width: 100, edit: 'text', event: "HWHID" }//f7
                        , { field: 'HQty', title: '数量', width: 100, edit: 'text' }
                        , { field: 'HQty', title: '数量', width: 100, edit: 'text', totalRow: true  }
                        , { field: 'HInventoryQty', title: '当前库存', width: 100}
                        , { field: 'HPrice', title: '单价', width: 100, edit: 'text' }
                        , { field: 'HMoney', title: '金额', width: 100 }
                        , { field: 'HMoney', title: '金额', width: 100, totalRow: true  }
                        , { field: 'HRemark', title: '备注', width: 100, edit: 'text' }
                        , { fixed: 'right', title: '操作', toolbar: '#barDemo', width: 70 }
                    ]]
                    , done: function (res, curr, count) {
                        $(".layui-table-main").scrollTop(topScroll);
                    }
                }
                option.data = [];
                option.data = [{
                        "HMaterID": 0, "物料代码": "", "物料名称": "", "规格型号": "", "HUnitID": 0, "计量单位": "", "HWHID": "0", "发货仓库": "",
                        "HQty": "0", "HPrice": "0", "HMoney": "0", "HRemark": "", "HInventoryQty": 0,
                        "HSourceBillNo": 0, "HSourceBillType": 0, "HSourceInterID": 0, "HSourceEntryID": 0,
                    }];
                table.render(option);
                DisPlay_HideColumn();
WebTM/views/ÏúÊÛ¹ÜÀí/Ó¦ÊÕµ¥/Xs_ReceivableBill.html
@@ -399,7 +399,7 @@
            window.OptionData = [];
            //记录组织的值
            var HOrgIDBar = 0;
            var topScroll = 0;//记录滚动条的位置
        //#region ã€åŠ¨æ€èŽ·å–æ¨¡å—åç§°ã€‘
            var HModuleType = "1426";
@@ -940,6 +940,7 @@
                var HQtyDec = (Dec["HQtyDec"] == null || Dec["HQtyDec"] == 0) ? 4 : Dec["HQtyDec"];  //数量精度
                var HPriceDec = (Dec["HPriceDec"] == null || Dec["HPriceDec"] == 0) ? 4 : Dec["HPriceDec"];  //单价精度
                var HMoneyDec = (Dec["HMoneyDec"] == null || Dec["HMoneyDec"] == 0) ? 2 : Dec["HMoneyDec"];  //金额精度
                topScroll = $('#mainTable').next('.layui-table-view').find('.layui-table-body').scrollTop();//获取滚动条位置
                // å•元格编辑之前的值
                var oldText = $(this).prev().text();
                var value = obj.value //得到修改后的值
@@ -1007,7 +1008,7 @@
                            , HlineTotalBB: HlineTotalBB              //更新HlineTotalBB字段,其值来自变量HlineTotalBB
                            , HMoneyBB: HMoneyBB
                        });
                        //table.render(option);
                        table.render(option);
                        break;
                    case "HPrice":                                                       //单价
                        //数据格式校验
@@ -1061,7 +1062,7 @@
                            , HlineTotalBB: HlineTotalBB              //更新HlineTotalBB字段,其值来自变量HlineTotalBB
                            , HMoneyBB: HMoneyBB
                        });
                        //table.render(option);
                        table.render(option);
                        break;
                    case "HTaxRate":                                                       //数量
                        //数据格式校验
@@ -1115,7 +1116,7 @@
                            , HlineTotalBB: HlineTotalBB              //更新HlineTotalBB字段,其值来自变量HlineTotalBB
                            , HMoneyBB: HMoneyBB
                        });
                        //table.render(option);
                        table.render(option);
                        break;
                    case "HDiscountRate":                                                       //数量
                        //数据格式校验
@@ -1159,6 +1160,7 @@
                            , HDiscountRate: HDiscountRate                  //更新HDiscountRate字段,其值来自变量HDiscountRate
                            , HRelTaxPrice: HRelTaxPrice                  //更新HRelTaxPrice字段,其值来自变量HRelTaxPrice
                        });
                        table.render(option);
                        break;
                    case "HTaxPrice":                                                       //含税单价
                        //数据格式校验
@@ -1210,7 +1212,7 @@
                            , HlineTotalBB: HlineTotalBB              //更新HlineTotalBB字段,其值来自变量HlineTotalBB
                            , HMoneyBB: HMoneyBB
                        });
                        //table.render(option)
                        table.render(option)
                        break;
                    case "HMoney":                                                       //金额
                        //数据格式校验
@@ -1264,7 +1266,7 @@
                            , HlineTotalBB: HlineTotalBB              //更新HlineTotalBB字段,其值来自变量HlineTotalBB
                            , HMoneyBB: HMoneyBB
                        });
                        //table.render(option);
                        table.render(option);
                        break;
                    default:
                }
@@ -2032,6 +2034,9 @@
                        , { field: 'HSeOrderBillNo', title: '销售订单号', width: 100, hide: true, style: 'background-color:#efefef4d;' }
                        , { fixed: 'right', title: '操作', toolbar: '#barDemo', width: 70 }
                    ]]
                    , done: function (res, curr, count) {
                        $(".layui-table-main").scrollTop(topScroll);
                    }
                }
                var rowdata = [{
WebTM/views/ÏúÊÛ¹ÜÀí/ÏúÊÛ¶©µ¥/Add_Edit_Xs_SeOrderBillList.html
@@ -466,7 +466,7 @@
            //子表渲染参数
            window.option = {};
            var topScroll = 0;//记录滚动条的位置
            var titleData = ["HMaterID", "HUnitID", "折扣率", "实际含税单价", "税额", "本位币价税合计", "出库数量", "开票数量", "HOrderLevID", "订单等级代码", "销售出库数量", "销售出库审核数量", "销售出库审核金额", "生产数量", "销售退库数量", "销售退库审核数量"];//不需要显示的字段 å¯æ‰©å±•
            //记录组织的值
@@ -856,6 +856,7 @@
                var HQtyDec = (Dec["HQtyDec"] == null || Dec["HQtyDec"] == 0) ? 4 : Dec["HQtyDec"];  //数量精度
                var HPriceDec = (Dec["HPriceDec"] == null || Dec["HPriceDec"] == 0) ? 4 : Dec["HPriceDec"];  //单价精度
                var HMoneyDec = (Dec["HMoneyDec"] == null || Dec["HMoneyDec"] == 0) ? 2 : Dec["HMoneyDec"];  //金额精度
                topScroll = $('#mainTable').next('.layui-table-view').find('.layui-table-body').scrollTop();//获取滚动条位置
                // å•元格编辑之前的值
                var oldText = $(this).prev().text();
                var value = obj.value //得到修改后的值
@@ -910,7 +911,7 @@
                            , HMoney: HMoney
                            , HlineTotal: HlineTotal
                        });
                        //table.render(option);
                        table.render(option);
                        //刷新表格同时根据option中HisStockGoods值设置下拉列表
                        setSelectHisStockGoodsByTableRender();
@@ -993,7 +994,7 @@
                            , HMoney: HMoney
                            , HlineTotal: HlineTotal
                        });
                        //table.render(option);
                        table.render(option);
                        //刷新表格同时根据option中HisStockGoods值设置下拉列表
                        setSelectHisStockGoodsByTableRender();
@@ -1047,7 +1048,7 @@
                            , HMoney: HMoney
                            , HlineTotal: HlineTotal
                        });
                        //table.render(option);
                        table.render(option);
                        //刷新表格同时根据option中HisStockGoods值设置下拉列表
                        setSelectHisStockGoodsByTableRender();
@@ -1131,7 +1132,7 @@
                            , HMoney: HMoney
                            , HlineTotal: HlineTotal
                        });
                        //table.render(option);
                        table.render(option);
                        //刷新表格同时根据option中HisStockGoods值设置下拉列表
                        setSelectHisStockGoodsByTableRender();
@@ -1388,6 +1389,7 @@
                                }
                            });
                        });
                        $(".layui-table-main").scrollTop(topScroll);
                    }
                }
WebTM/views/ÁìÁÏ·¢»õ/ÏúÊÛ³ö¿â/Kf_SellOutBill.html
@@ -566,7 +566,7 @@
            var allVal;
            var HModName = "Kf_SellOutBill";
            var topScroll = 0;//记录滚动条的位置
            //记录组织的值
            var HOrgIDBar = 0;
@@ -1281,6 +1281,7 @@
                var HQtyDec = (Dec["HQtyDec"] == null || Dec["HQtyDec"] == 0) ? 4 : Dec["HQtyDec"];  //数量精度
                var HPriceDec = (Dec["HPriceDec"] == null || Dec["HPriceDec"] == 0) ? 4 : Dec["HPriceDec"];  //单价精度
                var HMoneyDec = (Dec["HMoneyDec"] == null || Dec["HMoneyDec"] == 0) ? 2 : Dec["HMoneyDec"];  //金额精度
                topScroll = $('#mainTable').next('.layui-table-view').find('.layui-table-body').scrollTop();//获取滚动条位置
                // å•元格编辑之前的值
                var oldText = $(this).prev().text();
                var value = obj.value //得到修改后的值
@@ -1340,7 +1341,7 @@
                            , HMoney: HMoney
                            , HTaxMoney: HTaxMoney
                        });
                        ///table.render(option);
                        table.render(option);
                        break;
                    case "HPrice":                                                       //单价
                        //数据格式校验
@@ -1384,7 +1385,7 @@
                            , HMoney: HMoney
                            , HTaxMoney: HTaxMoney
                        });
                        //table.render(option);
                        table.render(option);
                        break;
                    case "HTaxRate":                                                       //数量
                        //数据格式校验
@@ -1428,7 +1429,7 @@
                            , HMoney: HMoney
                            , HTaxMoney: HTaxMoney
                        });
                        //table.render(option);
                        table.render(option);
                        break;
                    case "HTaxPrice":                                                       //数量
                        //数据格式校验
@@ -1470,7 +1471,7 @@
                            , HTaxMoney: HTaxMoney
                        });
                        //table.render(option)
                        table.render(option)
                        break;
                    default:
                }
@@ -2389,6 +2390,9 @@
                        , { fixed: 'right', title: '操作', toolbar: '#barDemo', width: 70 }
                    ]]
                    , done: function (res, curr, count) {
                        $(".layui-table-main").scrollTop(topScroll);
                    }
                }
                var rowdata = [{
WebTM/views/ÑéÊÕÈë¿â/Í⹺Èë¿â/Add_Edit_Kf_POStockInBillList.html
@@ -377,7 +377,7 @@
            var month = date.getMonth() + 1;
            var year = date.getFullYear();
            var shijian = year + "-" + month + "-" + day;
            var topScroll = 0;//记录滚动条的位置
            var allVal;
            //#endregion
            var HModName = "Add_Edit_Kf_POStockInBillList"
@@ -801,6 +801,7 @@
                var HQtyDec = (Dec["HQtyDec"] == null || Dec["HQtyDec"] == 0) ? 4 : Dec["HQtyDec"];  //数量精度
                var HPriceDec = (Dec["HPriceDec"] == null || Dec["HPriceDec"] == 0) ? 4 : Dec["HPriceDec"];  //单价精度
                var HMoneyDec = (Dec["HMoneyDec"] == null || Dec["HMoneyDec"] == 0) ? 2 : Dec["HMoneyDec"];  //金额精度
                topScroll = $('#mainTable').next('.layui-table-view').find('.layui-table-body').scrollTop();//获取滚动条位置
                // å•元格编辑之前的值
                var oldText = $(this).prev().text();
                var value = obj.value //得到修改后的值
@@ -857,7 +858,7 @@
                            , HTaxPrice: HTaxPrice
                            , HlineTotal: HlineTotal
                        });
                         //table.render(option);
                         table.render(option);
                        break;
                    case "HPrice":                                         //单价
                        //数据格式校验
@@ -899,7 +900,7 @@
                            , HTaxPrice: HTaxPrice
                            , HlineTotal: HlineTotal
                        });
                        //table.render(option)
                        table.render(option)
                        break;
                    case "HMoney":                                         //金额
                        //数据格式校验
@@ -941,7 +942,7 @@
                            , HMoney: HMoney
                            , HlineTotal: HlineTotal
                        });
                        //table.render(option);
                        table.render(option);
                        break;
                    case "HTaxRate":                                                       //数量
                        //数据格式校验
@@ -987,7 +988,7 @@
                            , HMoney: HMoney
                            , HlineTotal: HlineTotal
                        });
                        //table.render(option);
                        table.render(option);
                        break;
                    case "HTaxPrice":                                         //单价
                        //数据格式校验  
@@ -1026,7 +1027,7 @@
                            , HlineTotal: HlineTotal                  //更新HlineTotal字段,HlineTotal
                            , HTaxPrice, HTaxPrice                   //更新HTaxPrice字段,HTaxPrice
                        });
                        //table.render(option)
                        table.render(option)
                        break;
                    default:
                }
@@ -1141,6 +1142,9 @@
                        , { field: 'HRemark', title: '备注', width: 100, edit: 'text' }
                        , { fixed: 'right', title: '操作', toolbar: '#barDemo', width: 70 }
                    ]]
                    , done: function (res, curr, count) {
                        $(".layui-table-main").scrollTop(topScroll);
                    }
                }
                option.data = [];