1
duhe
2024-04-22 59dda9ae7decacd3f1c9f3d122d290ba3132c42a
WebTM/views/WMSɨÂëÄ£¿é/ÏúÊÛ³ö¿â/Kf_SellOutBill_QiaoYi_PDA.html
@@ -290,8 +290,9 @@
            var HMaker = sessionStorage["HUserName"]
            var HBillerID = sessionStorage["HBillerID"]
            var HStockOrgID = sessionStorage["OrganizationID"]  //组织ID
            var HSourceFlag = false     //是否已扫码标志
            var OperationType = 0       //操作类型(1新增、2从缓存列表中返回)
            var HSourceFlag = false         //是否已扫码标志
            var HDisBillEntryList = false   //是否创建并渲染过表格
            var OperationType = 0           //操作类型(1新增、2从缓存列表中返回)
            var listOption = [];
            var BarCodelistOption = [];
            var columns = "";
@@ -410,14 +411,18 @@
                    , height: 'full-100'
                    , cellMinWidth: 90
                    , limit: 150
                    , done: function () {
                        layer.closeAll("loading");
                    }
                };
                //明细清单
                BarCodelistOption = {
                    elem: '#mx-table'
                    //, toolbar: '#toolbarDemo'
                    , page: true
                    , cellMinWidth: 90
                    , limit: 3000
                    , limit: 50
                    , totalRow: true
                    , cols: [[
                        { field: '包号', title: '包号', width: 80 }
@@ -1499,9 +1504,19 @@
                            listOption.cols = [columns];
                            listOption.data = result.data.Materlist;
                            listOption.totalRow = true;
                            table.render(listOption);
                            BarCodelistOption.data = result.data.BarCodelist;
                            table.render(BarCodelistOption);
                            if (!HDisBillEntryList) {
                                table.render(listOption);               //创建并渲染表格
                                table.render(BarCodelistOption);
                                HDisBillEntryList = true;
                            }
                            else {
                                table.cache['wl-table'] = null;         //清空表格缓存数据
                                table.reload('wl-table', listOption);   //对表格进行重载
                                table.cache['mx - table'] = null;
                                table.reload('mx-table', BarCodelistOption);
                            }
                        }
                        else {
                            layer.msg(result.Message, { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });