仲国强
2021-09-17 86cf25fa5b02fc6ffd287f065356370a49a38015
WebTM/views/³µ¼ä¹ÜÀí/¹¤Ðò½øÕ¾½ÓÊÕµ¥/Cj_StationInBill.html
@@ -20,6 +20,10 @@
        .layui-form-item .layui-inline {
            margin-right: 0;
        }
        html {
            background-color: white;
            color: white;
        }
    </style>
</head>
@@ -124,6 +128,7 @@
                                            <label class="layui-form-label"><span style="color:red;">*</span>流转卡号</label>
                                            <div class="layui-input-inline">
                                                <input type="text" class="layui-input" name="HProcExchBillNo" id="HProcExchBillNo" style="background-color:#efefef4d;" readonly>
                                                <input type="hidden" class="layui-input" name="HProcExchHinteID" id="HProcExchHinteID">
                                            </div>
                                        </div>
                                        <div class="layui-col-xs4 layui-inline">
@@ -457,7 +462,7 @@
            //#region æ–°å¢žæŒ‰é’®
            form.on('submit(set_AddNew)', function () {//提交
                layer.confirm('新增后页面数据将消失?', { icon: 3, title: '提示' }, function (index) {
                    location.replace('Cj_StationInBill.html?OperationType=1');
                    location.replace('Cj_StationInBill.html?OperationType=1&linterid=0&HSouceBillType=&HBillNo=&closeType=2');
                });
            })
            //#endregion
@@ -488,8 +493,12 @@
                        if (result.count == 1) {
                            layer.close(index);
                            layer.msg("提交成功");
                            //保存后浏览
                            ReRoadBillMain();
                            if (result.Verify == "Y") {
                                location.replace('Cj_StationInBill.html?OperationType=1&linterid=0&HSouceBillType=&HBillNo=&closeType=2');
                            } else {
                                //保存后浏览
                                ReRoadBillMain();
                            }
                        }
                        else {
                            layer.close(index);
@@ -534,7 +543,7 @@
            //#endregion
            //#region æœ¬é¡µé¢æ‰€æœ‰è¢«è°ƒç”¨çš„æ–¹æ³•
        //#region æœ¬é¡µé¢æ‰€æœ‰è¢«è°ƒç”¨çš„æ–¹æ³•
            //#region ä¿å­˜åŽæµè§ˆæ–¹æ³•
            function ReRoadBillMain() {
@@ -660,7 +669,7 @@
            }
            //#endregion
            //#endregion
        //#endregion
            //文件上传
@@ -806,6 +815,7 @@
                                "HPieceQty": data.流转卡数量,
                                "HPlanQty": data.流转卡数量,
                                "HProcExchBillNo": data.单据号,
                                "HProcExchHinteID": data.hmainid,
                                "HICMOQty": data.任务单数量,
                                "lngBillKey": data.hmainid,
                                "HOrderProcNO": data.订单跟踪号
@@ -872,6 +882,31 @@
                });
            }
            //#region é¡µé¢å¿«æ·é”®å¼¹çª——工序流转卡关联数量
            $('body').on('keydown', function (e) {
                var HinteID = $("#HProcExchHinteID").val();
                if (e.key == "F7") {
                    if (HinteID == "" || HinteID == null || HinteID == undefined) {
                        layer.alert("请先输入条形码或扫描条形码", { icon: 5 });
                    }
                    else {
                        layer.open({
                            type: 2,
                            skin: 'layui-layer-rim', //加上边框
                            title: '工序流转卡关联数量',
                            closeBtn: 1,
                            shift: 2,
                            area: ['90%', '90%'],
                            maxmin: true,
                            content: ['../工序进站接收单/Cj_StationQty.html?HInterID=' + HinteID, 'yes'],
                            end: function () {
                            }
                        });
                    }
                }
            })
            //#endregion
            //选择生产班组弹窗
            form.on('submit(ProductionTeam-BT)', function () {//选择生产班组
                layer.open({