1
yangle
2025-02-28 50e8da1b9afd39f32f5c73a1cbcdb7f6c6de8adb
WebTM/views/IpadIndex.html
@@ -1227,6 +1227,35 @@
            })
        }
        //微瑕品汇报
        function SubtleFlaw() {
            if (wktag == 0) {
                layer.alert("请选择工单列表", { icon: 5 });
                return false;
            }
            if (WorkStaus(HSourceID1, workcode, HSourceInterID, "微瑕品汇报")) {
                layer.alert("单据状态不满足微瑕品汇报条件!", { icon: 5 });
                return false;
            }
            layer.open({
                type: 2
                , area: ['100%', '100%']
                , title: '微瑕品汇报单-编辑'
                , shade: 0.6
                , maxmin: false
                , anim: 0
                , content: ['生产管理/质量汇报单/Sc_QualityReportBill.html?OperationType=2&linterid=' + HSourceInterID + '&HSouceBillType=' + HBillType + '&HICMOEntryID=' + HSourceEntryID + '&HBillSubType=微瑕品', 'yes']
                , resize: false
                , cancel: function () {
                }
                , end: function () {
                }
            })
        }
        //当前工单按钮点击事件
        function CurrentStatus(event, obj) {
            if (wktag == 0) {
@@ -1813,7 +1842,16 @@
                                    <span class="imgtitle">异常验收</span>
                                </div>
                            </div>
                            <div class="layui-col-sm12 layui-col-md4" onclick="SubtleFlaw(event,this)">
                                <div class="cnt bottomright">
                                    <span class="layui-icon layui-icon-log imgicon"></span>
                                    <span class="imgtitle">微瑕品汇报</span>
                                </div>
                            </div>
                        </div>-->
                        <!--数据插入动态按钮SQL,然后此页面写点击事件即可,网页绑定新按钮即可使用-->
                        <!--insert into Gy_BGButtons (HNumber,HName,HIcno,HOnclick,HSize,HOrder) values ('按钮代码','按钮名字','按钮图标','按钮点击事件','按钮默认大小,默认是中(大,中,小)','按钮默认排序 默认0')-->
                        <div class="layui-row layui-col-space10" id="button-container">
                        </div>