yangle
2024-05-21 a321be71a8a443fdbff239a44cf627535ca8e23c
WebTM/views/²Ö´æ¹ÜÀí/ÌõÂëÉú³É/Gy_BarCodeBill.html
@@ -91,6 +91,7 @@
                                                        <option value="7">采购入库单</option>
                                                        <option value="8">销售退货单</option>
                                                        <option value="9">生产退料单</option>
                                                        <option value="10">工序流转卡</option>
                                                    </select>
                                                </div>
                                            </div>
@@ -226,6 +227,7 @@
            //监听当前处于哪一个页签,传 HModName å€¼
            element.on('tab(tab-TabTest)', function (data) {
                HMaterInfo = table.cache['mainTable'];
                var cur_title = data.elem.context.innerText;
                if (cur_title == "物料信息") {
                    HModName = "Gy_BarCodeBill";
@@ -465,6 +467,9 @@
                    case '9':
                        return "生产退料单";
                        break;
                    case '10':
                        return "工序流转卡";
                        break;
                }
            }
@@ -476,7 +481,7 @@
                //获取组织ID
                var SetHOrgID = $("#HOrgID").find("option:selected").val();
                //页面层-自定义
                var url = '../../PublicPage/HSourceReportHtml.html?OperationType=3&linterid=' + SetHOrgID + '&HSouceBillType=' + getSupType() + '';
                var url = '../../PublicPage/HSourceReportHtml.html?OperationType=3&HOrgID=' + SetHOrgID + '&HSouceBillType=' + getSupType() + '';
                url = encodeURI(url);
                //alert(url);
                layer.open({
@@ -604,8 +609,8 @@
                //获取选择的条码类型
                var HSelectBarCodeType = $("#HBarCodeType").find("option:selected").html();
                //获取当前登录人员
                //var UserName = sessionStorage["HUserName"];
                var UserName = "Admin";
                var UserName = sessionStorage["HUserName"];
                //var UserName = "Admin";
                var sMainSub = sSubStr + ';' + HOrgType + ';' + HSourceBillType + ';' + HSelectBarCodeType + ';' + CampanyName + ';' + UserName;
                SaveBarCodeCreate(sMainSub);
            })
@@ -829,10 +834,10 @@
                    , { field: 'HMaterName', title: '物料名称',  width: 200 }
                    , { field: 'HMaterModel', title: '规格型号', width: 200 }
                    , { field: 'HBatchNo', title: '批号', edit: 'text', width: 100 }
                    , { field: 'HQty', title: '数量', edit: 'text', width: 100 }
                    , { field: 'HMinQty', title: '最小包装数', edit: 'text', width: 100 }
                    , { field: 'HBQty', title: '箱数', width: 100 }
                    , { field: 'HPackQty', title: '外箱数', edit: 'text', width: 100 }
                    , { field: 'HQty', title: '数量', edit: 'text', width: 100, totalRow: true}
                    , { field: 'HMinQty', title: '最小包装数', edit: 'text', totalRow: true, width: 100 }
                    , { field: 'HBQty', title: '箱数', width: 100, totalRow: true }
                    , { field: 'HPackQty', title: '外箱数', edit: 'text', width: 100, totalRow: true}
                    , { field: 'HCoilNO', title: '钢卷捆包号', edit: 'text', width: 100 }
                    , { field: 'HFurnaceNO', title: '炉号', edit: 'text', width: 100 }
                    , { field: 'HFactory', title: '厂商', edit: 'text', width: 100 }
@@ -850,7 +855,7 @@
                    , { field: 'HUnitID', title: '计量单位ID', width: 100, hide: true }
                    , { field: 'HUnitNumber', title: '计量单位代码', edit: 'text', event: 'HUnitNumber', width: 100 }
                    , { field: 'HUnitName', title: '计量单位',width: 100 }
                    , { field: 'HAuxQty', title: '辅单位数量', edit: 'text', width: 100 }
                    , { field: 'HAuxQty', title: '辅单位数量', edit: 'text', width: 100, totalRow: true }
                    , { field: 'HExpirationDateFlag', title: '是否启用保质期', width: 100, templet: '#switchTp3', unresize: false }
                    , { field: 'HGiveAwayFlag', title: '是否赠品', width: 100, templet: '#switchTpl', unresize: false }
                    , { field: 'HDate', title: '进料日期',  width: 100 }
@@ -861,6 +866,7 @@
                    , elem: '#mainTable'
                    , toolbar: '#toolbarDemo'
                    , page: false
                    , totalRow: true
                    , cellMinWidth: 75
                    , height: 'full-325'
                    , cols: [columns]
@@ -1414,7 +1420,7 @@
                                shift: 2,
                                area: ['80%', '80%'],
                                maxmin: true,
                                content: ['../../Baseset/基础资料/Gy_MaterialList_LSQP.html', 'yes'],
                                content: ['../../Baseset/基础资料/Gy_MaterialList.html', 'yes'],
                                btn: ['确定', '取消']
                                , btn1: function (index, layero) {