zzr99
2022-05-17 701bfeb132558a0584d3f3ae56bccf97002d223c
nothing
2个文件已修改
56 ■■■■ 已修改文件
WebTM/views/生产管理/生产任务单/Sc_ICMOBillList.html 45 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/生产管理/生产装箱单/QK_PackingBill.html 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/Éú²ú¹ÜÀí/Éú²úÈÎÎñµ¥/Sc_ICMOBillList.html
@@ -77,6 +77,27 @@
                                        </div>
                                    </div>
                                    <div class="layui-inline">
                                        <label class="layui-form-label">业务状态</label>
                                        <div class="layui-input-block">
                                            <select name="HStatus" id="HStatus" lay-verify="required" lay-search class="layui-input">
                                                <option value="0" selected>全部</option>
                                                <option value="计划">计划</option>
                                                <option value="计划确认">计划确认</option>
                                                <option value="下达">下达</option>
                                                <option value="开工">开工</option>
                                                <option value="完工">完工</option>
                                                <option value="结案">结案</option>
                                            </select>
                                        </div>
                                    </div>
                                    <div class="layui-inline">
                                        <label class="layui-form-label">单据类型</label>
                                        <div class="layui-input-block">
                                            <input type="text" class="layui-input" name="HBillType" id="HBillType">
                                        </div>
                                    </div>
                                    <div class="layui-inline">
                                        <label class="layui-form-label">物料编码</label>
                                        <div class="layui-input-block">
                                            <input type="text" class="layui-input" name="HMaterName" id="HMaterName">
@@ -224,13 +245,13 @@
                        , { field: '销售订单日期', title: '销售订单日期', sort: true, width: 120, hide: true }
                        , { field: '单据号', title: '单据号', sort: true, width: 170, hide: true }
                        , { field: '销售订单日期', title: '销售订单日期', sort: true, width: 120 }
                        , { field: '销售订单编号', title: '销售订单编号', sort: true, width: 120 }
                        , { field: '销售物料名称', title: '销售物料名称', sort: true, width: 120 }
                        , { field: '包装方式', title: '包装方式', sort: true, width: 120 }
                        , { field: '销售数量', title: '销售数量', sort: true, width: 120 }
                        , { field: '销售订单联系人', title: '销售订单联系人', sort: true, width: 120 }
                        , { field: '业务状态', title: '业务状态', sort: true, width: 120 }
                        , { field: '销售订单日期', title: '销售订单日期', sort: true, width: 200 }
                        , { field: '销售订单编号', title: '销售订单编号', sort: true, width: 200 }
                        , { field: '销售物料名称', title: '销售物料名称', sort: true, width: 200 }
                        , { field: '包装方式', title: '包装方式', sort: true, width: 150 }
                        , { field: '销售数量', title: '销售数量', sort: true, width: 150 }
                        , { field: '销售订单联系人', title: '销售订单联系人', sort: true, width: 150 }
                        , { field: '业务状态', title: '业务状态', sort: true, width: 150 }
                        , { field: '订单跟踪号', title: '订单跟踪号', sort: true, width: 120, hide: true }
                        , { field: 'HDeptID', title: 'HDeptID', hide: true}
@@ -324,6 +345,8 @@
                var WorkCenter = $("#WorkCenter").val();//单据号
                var HMaterName = $("#HMaterName").val();//单据号
                var HDeptName = $("#HDeptName").val();//单据号
                var HStatus = $("#HStatus").val();//单据号
                var HBillType = $("#HBillType").val();//单据类型
                if (HDate) {
                    sWhere += " and æ—¥æœŸ >= '" + HDate + "'";
                }
@@ -342,6 +365,12 @@
                if (HDeptName && HDeptName!=0) {
                    sWhere += " and HDeptID = " + HDeptName ;
                }
                if (HStatus && HStatus != 0) {
                    sWhere += " and ä¸šåŠ¡çŠ¶æ€  like '%" + HStatus + "%'";
                }
                if (HBillType) {
                    sWhere += " and å•据类型 like '%" + HBillType + "%'";
                }
                get_Display(sWhere);
                sWhere = "";//调用接口后清空sWhere缓存
            }
@@ -355,6 +384,8 @@
                $("#WorkCenter").val("");//单据号
                $("#HDeptName").val("");//单据号
                $("#HMaterName").val("");//单据号
                $("#HDeptName").val("");//单据号
                $("#HStatus").val("");//单据号
                $("#btnSearch").click();
                sWhere = "";
            }
WebTM/views/Éú²ú¹ÜÀí/Éú²ú×°Ïäµ¥/QK_PackingBill.html
@@ -165,6 +165,7 @@
                    { type: 'checkbox', fixed: 'left' }
                    , { field: 'HSeOrderBillNo', title: '销售订单号', edit: 'text', width: 100, hide: true }
                    , { field: 'HInterID', title: 'HInterID', edit: 'text', width: 100, hide: true }
                    , { field: 'HEntryID', title: 'HEntryID', edit: 'text', width: 100, hide: true }
                    , { field: 'HBillNo', title: 'HBillNo', edit: 'text', width: 100, hide: true }
                    , { field: 'HMaterID', title: 'HMaterID', edit: 'text', width: 100, hide: true }
                    , { field: 'HMaterNumber', title: 'HMaterNumber', edit: 'text', width: 100, hide: true }
@@ -237,15 +238,7 @@
                                    OpenTmp = "包装方式条码";
                                }
                                window.open("../基础资料/公用基础资料/HBarPlanPrint.html?linterid=" + PrintIds.toString() + "&Type=" + Type.toString() + "&OpenTmp=" + OpenTmp.toString());
                                var url = "";
                                switch (Type) {
                                    case "HGy_BarCodeBill":  //HBarCodePrint
                                        url = "/Sc_BarCode/UpdateBarcodePrintQty"
                                        break;
                                    case "HPOInStockBill":
                                        url = "UpdatePOInStockBillPrintQty"
                                        break;
                                }
                            }
                            else {
                                f_alert(data.Message);