ch
2023-03-07 b8bae7de14b90d287a0ad196c5aa0bc4d07cc833
WebTM/views/ÑéÊÕÈë¿â/Í⹺Èë¿â/Kf_POStockInBackBill.html
@@ -592,7 +592,7 @@
            //parent.location.href = "../../../views/index.html"
            //window.close();//关闭当前页
            layer.confirm('您确定要退出吗?', { icon: 3, title: '提示' }, function (index) {
                window.close();
                parent.location.href = "../../../views/index_Mobile.html";
            });
        })
@@ -860,12 +860,13 @@
                                            table.render({
                                                    elem: '#wl-table' 
                                                  , url: GetWEBURL() + '/POStockInBackBill/DisBillEntryList_Webs_Json'
                                                  , toolbar: '#toolbarDemo'
                                                , toolbar: '#toolbarDemo'
                                                , totalRow: true
                                                  , where: { HBillID: sInterID, HBillType: '1239', sWhere: '' }
                                                  , cols: [[
                                                      { type: 'radio' }
                                                     , { field: 'HQty', title: '数量', width: 150 }
                                                    , { field: 'HQtyMust', title: '应收数量', width: 150 }
                                                      , { field: 'HQty', title: '数量', width: 150, totalRow: true }
                                                      , { field: 'HQtyMust', title: '应收数量', width: 150, totalRow: true }
                                                    , { field: 'HMaterNumber', title: '物料代码', width: 150 }
                                                    , { field: 'HMaterName', title: '物料名称', width: 150 }
                                                    , { field: 'HMaterModel', title: '规格型号', width: 150 }
@@ -923,14 +924,15 @@
                            element.tabChange('tab-POStockInBackBill', '2');
                            table.render({
                                elem: '#wl-table'
                                , totalRow: true
                                //, url: 'http://61.130.49.162:9090/WMSAPI///POStockInBackBill/DisBillEntryList_Webs_Json'
                               , url: GetWEBURL() + '/POStockInBackBill/DisBillEntryList_Webs_Json'
                                //, toolbar: '#toolbarDemo'
                              , where: { HBillID: sInterID, HBillType: '1239', sWhere: '' }
                              , cols: [[
                                  { type: 'radio' }
                                , { field: 'HQty', title: '数量', width: 80 }
                                , { field: 'HQtyMust', title: '应收数量', width: 80 }
                                  , { field: 'HQty', title: '数量', width: 80, totalRow: true}
                                  , { field: 'HQtyMust', title: '应收数量', width: 80, totalRow: true }
                                , { field: 'HMaterNumber', title: '物料代码', width: 100 }
                                , { field: 'HMaterName', title: '物料名称', width: 100 }
                                , { field: 'HMaterModel', title: '规格型号', width: 100 }
@@ -938,6 +940,7 @@
                                , { field: 'HSourceEntryID', title: '源单子内码', width: 100 }
                                , { field: 'HSourceBillNo', title: '源单单号', width: 100 }
                                , { field: 'HBatchNo', title: '批次', width: 100 }
                                , { field: 'HPieceQty', title: '条码数量', width: 150 }
                              ]]
                                // , data: [linterid]
                                // , page: true
@@ -1002,10 +1005,12 @@
        //sessionStorage["HWHID"] = obj[0].HItemID;
        $("#HWHID").val(obj[0].HItemID);
    }
    function GetHSpValue(obj) {  //返回调入仓位
        $("#HStockPlaceName").val(obj[0].HName);
        $("#HStockPlaceID").val(obj[0].HItemID);
    }
        function GetHSpValue(obj) {  //返回调入仓位
            $("#HStockPlaceName").val(obj[0].HName);
            $("#HStockPlaceID").val(obj[0].HItemID);
            $("#HWHNAME").val(obj[0].HWhName);
            $("#HWHID").val(obj[0].HWHID);
        }
    function GetHSupValue(obj) {  //返回供应商
        $("#HSupName").val(obj[0].HName);
        $("#HSupID").val(obj[0].HItemID);
@@ -1041,7 +1046,21 @@
    //        }
    //    })
    //}
    function AllowLoadData(sSubStr,bnt) {  //非空验证
        function AllowLoadData(sSubStr, bnt) {  //非空验证
            //数字正则(包含小数)
            var reg = /^\d+(\.\d+)?$/;
            //if (reg.test($("#HQty").val()) == false || $("#HQty").val() == '') {
            //    layer.msg("数量必须为数量或小数", { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });
            //    return false;
            //}
            //if (reg.test($("#HBarcodeQtys").val()) == false || $("#HBarcodeQtys").val() == '') {
            //    layer.msg("条码数量必须为数量或小数", { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });
            //    return false;
            //}
            //if (reg.test($("#HSumQtys").val()) == false || $("#HSumQtys").val() == '') {
            //    layer.msg("总数量必须为数量或小数", { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });
            //    return false;
            //}
        //if ($("#HSourceBillNo").val() == '') {
        //    layer.msg("请先扫源单!", { icon: 5 });
        //    return false;