1
zrg
2024-04-15 bd45155a8920fff12bc921d9166223e98430ce9f
1
6个文件已修改
98 ■■■■ 已修改文件
WebTM/layuiadmin/Scripts/webConfig.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/WMS扫码模块/其他入库/Kf_OtherInBill_PDA.html 53 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/WMS扫码模块/销售出库/Kf_SellOutBill_QiaoYi_PDA.html 25 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/video/success.wav 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/质量管理/工序检验单/MES_ProcessCheckBill_PDA.html 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/views/车间管理/工序流转/MES_ColorRecordBill_PDA.html 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebTM/layuiadmin/Scripts/webConfig.js
@@ -3,11 +3,11 @@
    //var WEBURL = "http://192.168.16.80:8011/";          //办公室服务器
    //var WEBURL = "http://localhost:8081/SWEAPI/";       //ch本地*/
    //var WEBURL = "http://61.164.86.218:8099/ABAPI/";
    //var WEBURL = "http://localhost/API/";             //颜晓军本地配置
    var WEBURL = "http://localhost/API/";             //颜晓军本地配置
    //var WEBURL = "http://localhost:8082/LuBaoAPI/";    //杨乐本地配置
    //var WEBURL = "http://localhost:8082/API/";    //杜贺本地配置
    //var WEBURL = "http://localhost:8083/API/";  //陈雯静本地配置
    var WEBURL = "http://localhost:8082/API/";    //张瑞广本地配置
    //var WEBURL = "http://localhost:8082/API/";    //张瑞广本地配置
    //var WEBURL = "http://localhost:8082/LuBaoAPI/";    //余思杰本地配置
    //var WEBURL = "http://localhost:8088/ARAPI/";    //余思杰本地配置(安瑞)
    //var WEBURL = "http://10.1.4.155/API/";   //江丰客户NEW
WebTM/views/WMSɨÂëÄ£¿é/ÆäËûÈë¿â/Kf_OtherInBill_PDA.html
@@ -428,7 +428,8 @@
                                icon: 0, time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示", btn: ['确认']
                            }, function () { parent.location.href = "../../../views/index_Mobile.html"; });
                        }
                    }
                    },
                    complete: function (XHR, TS) { XHR = null }//回收资源
                });
                layer.closeAll("loading");
            }
@@ -439,12 +440,22 @@
                console.log("playSound");
                var audio = document.getElementById("cs");
                audio.play();
                audio.onended = function () {
                    // å½“音频播报完成时,调用 pause å’Œè®¾ç½® currentTime ä¸º 0 ä»¥åœæ­¢æ’­æŠ¥å¹¶é‡ç½®
                    audio.pause();
                    audio.currentTime = 0;
                };
            }
            //成功提示音
            function playSound_OK() {
                console.log("playSound_OK");
                var audio = document.getElementById("cs2");
                audio.play();
                audio.onended = function () {
                    // å½“音频播报完成时,调用 pause å’Œè®¾ç½® currentTime ä¸º 0 ä»¥åœæ­¢æ’­æŠ¥å¹¶é‡ç½®
                    audio.pause();
                    audio.currentTime = 0;
                };
            }
            //#region åˆå§‹åŒ–界面
@@ -532,7 +543,8 @@
                            form.render('select');
                        }
                        layer.closeAll("loading");
                    }
                    },
                    complete: function (XHR, TS) { XHR = null }//回收资源
                })
            }
            //初始化表格
@@ -544,6 +556,9 @@
                    , height: 'full-60'
                    , cellMinWidth: 90
                    , limit: 50
                    , done: function () {
                        layer.closeAll("loading");
                    }
                };
            }
@@ -595,7 +610,8 @@
                        else {
                            layer.msg(d.Message, { icon: 0, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });
                        }
                    }
                    },
                    complete: function (XHR, TS) { XHR = null }//回收资源
                });
                HSourceFlag = false;
            }
@@ -648,7 +664,8 @@
                        $("#HSupID").val(d.data[0].HCusID);
                        $("#HSupName").val(d.data[0].HSupName);
                        $("#HDate").val(Pub_Format(new Date(), "yyyy-MM-dd"));
                    }
                    },
                    complete: function (XHR, TS) { XHR = null }//回收资源
                })
            }
@@ -719,7 +736,8 @@
                                });
                            }
                            layer.closeAll("loading");
                        }
                        },
                        complete: function (XHR, TS) { XHR = null }//回收资源
                    });
                }
            });
@@ -799,7 +817,8 @@
                                });
                            }
                            layer.closeAll("loading");
                        }
                        },
                        complete: function (XHR, TS) { XHR = null }//回收资源
                    });
                }
            });
@@ -872,7 +891,8 @@
                                });
                            }
                            layer.closeAll("loading");
                        }
                        },
                        complete: function (XHR, TS) { XHR = null }//回收资源
                    });
                }
            });
@@ -941,7 +961,8 @@
                                });
                            }
                            layer.closeAll("loading");
                        }
                        },
                        complete: function (XHR, TS) { XHR = null }//回收资源
                    });
                }
            });
@@ -1010,7 +1031,8 @@
                                });
                            }
                            layer.closeAll("loading");
                        }
                        },
                        complete: function (XHR, TS) { XHR = null }//回收资源
                    });
                }
            });
@@ -1079,7 +1101,8 @@
                                });
                            }
                            layer.closeAll("loading");
                        }
                        },
                        complete: function (XHR, TS) { XHR = null }//回收资源
                    });
                }
            });
@@ -1169,6 +1192,7 @@
                                    layer.msg(data.Message, { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });
                                }
                            },
                            complete: function (XHR, TS) { XHR = null },//回收资源
                            error: function (err) {
                                layer.msg("错误:" + err, { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });
                            }
@@ -1245,6 +1269,7 @@
                                        layer.msg(data.Message, { icon: 2, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });
                                    }
                                },
                                complete: function (XHR, TS) { XHR = null },//回收资源
                                error: function (err) {
                                    layer.msg('错误' + err, { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨提示" });
                                }
@@ -1342,7 +1367,8 @@
                                $("#HSourceBillNo").focus();
                            });
                        }
                    }
                    },
                    complete: function (XHR, TS) { XHR = null }//回收资源
                });
                layer.closeAll("loading");
            }
@@ -1426,6 +1452,7 @@
                                    });
                                }
                            },
                            complete: function (XHR, TS) { XHR = null },//回收资源
                            error: function (err) {
                                playSound();
                                layer.msg('错误' + err, {
@@ -1591,6 +1618,7 @@
                                });
                            }
                        },
                        complete: function (XHR, TS) { XHR = null },//回收资源
                        error: function (err) {
                            playSound();
                            layer.msg("错误!" + err, {
@@ -1707,7 +1735,8 @@
                            $("#HWHName_B").val("");
                            $("#HSPName_B").val("");
                        }
                    }
                    },
                    complete: function (XHR, TS) { XHR = null }//回收资源
                });
            }
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: "温馨提示" });
WebTM/views/video/success.wav
Binary files differ
WebTM/views/ÖÊÁ¿¹ÜÀí/¹¤Ðò¼ìÑéµ¥/MES_ProcessCheckBill_PDA.html
@@ -537,7 +537,7 @@
                $("#HMakeDate").val(Format(new Date(), "yyyy-MM-dd"));
                //初始表格数据
                rowdata = [{
                    "HQCCheckItemID": "", "检验项目": "", "HInspectInstruMentID": 0, "检验仪器": "", "HQCStd": "", "HUnit": "", "HQCNote": "", "HAnalysisMethod": "", "HResult": false,
                    "HQCCheckItemID": 0, "检验项目": "", "HInspectInstruMentID": 0, "检验仪器": "", "HQCStd": "", "HUnit": "", "HQCNote": "", "HAnalysisMethod": "", "HResult": false,
                    "HMax": "", "HMin": "", "HAvg": "", "HRemark": "", "HKeyInspect": false, "HStatus": 0, 
                }];
                option = {
@@ -665,7 +665,7 @@
                                        "HUnitName": data.单位,
                                        "HProcName": data.工序,
                                        "HProcID": data.HProcID,
                                        "HQCSchemeID": data.检验方案ID,
                                        "HQCSchemeID": data.检验方案ID == null ? 0 : data.检验方案ID,
                                        "HQCSchemeName": data.检验方案名称,
                                        "HMainSourceInterID": data.hmainid,
                                        "HMainSourceEntryID": data.hsubid,
@@ -697,7 +697,7 @@
                                        "HUnitName": data.计量单位,
                                        "HProcName": data.当前工序,
                                        "HProcID": data.HProcID,
                                        "HQCSchemeID": data.检验方案ID,
                                        "HQCSchemeID": data.检验方案ID == null ? 0 : data.检验方案ID,
                                        "HQCSchemeName": data.检验方案名称,
                                        "HMainSourceInterID": data.hmainid,
                                        "HMainSourceEntryID": 0,
@@ -727,7 +727,7 @@
                                        "HUnitName": data.计量单位,
                                        "HProcName": data.当前工序,
                                        "HProcID": data.HProcID,
                                        "HQCSchemeID": data.检验方案ID,
                                        "HQCSchemeID": data.检验方案ID == null ? 0 : data.检验方案ID,
                                        "HQCSchemeName": data.检验方案名称,
                                        "HMainSourceInterID": data.hmainid,
                                        "HMainSourceEntryID": data.hsubid,
WebTM/views/³µ¼ä¹ÜÀí/¹¤ÐòÁ÷ת/MES_ColorRecordBill_PDA.html
@@ -538,7 +538,7 @@
            $("#HMakeDate").val(Format(new Date(), "yyyy-MM-dd"));
            //初始表格数据
            rowdata = [{
                "HQCCheckItemID": "", "检验项目": "", "HInspectInstruMentID": 0, "检验仪器": "", "HQCStd": "", "HUnit": "", "HQCNote": "", "HAnalysisMethod": "", "HResult": false,
                "HQCCheckItemID": 0, "检验项目": "", "HInspectInstruMentID": 0, "检验仪器": "", "HQCStd": "", "HUnit": "", "HQCNote": "", "HAnalysisMethod": "", "HResult": false,
                "HMax": "", "HMin": "", "HAvg": "", "HRemark": "", "HKeyInspect": false, "HStatus": 0,
            }];
            option = {
@@ -666,7 +666,7 @@
                                    "HUnitName": data.单位,
                                    "HProcName": data.工序,
                                    "HProcID": data.HProcID,
                                    "HQCSchemeID": data.检验方案ID,
                                    "HQCSchemeID": data.检验方案ID == null ? 0 : data.检验方案ID,
                                    "HQCSchemeName": data.检验方案名称,
                                    "HMainSourceInterID": data.hmainid,
                                    "HMainSourceEntryID": data.hsubid,
@@ -698,7 +698,7 @@
                                    "HUnitName": data.计量单位,
                                    "HProcName": data.当前工序,
                                    "HProcID": data.HProcID,
                                    "HQCSchemeID": data.检验方案ID,
                                    "HQCSchemeID": data.检验方案ID == null ? 0 : data.检验方案ID,
                                    "HQCSchemeName": data.检验方案名称,
                                    "HMainSourceInterID": data.hmainid,
                                    "HMainSourceEntryID": 0,
@@ -727,7 +727,7 @@
                                    "HUnitName": data.计量单位,
                                    "HProcName": data.当前工序,
                                    "HProcID": data.HProcID,
                                    "HQCSchemeID": data.检验方案ID,
                                    "HQCSchemeID": data.检验方案ID == null ? 0 : data.检验方案ID,
                                    "HQCSchemeName": data.检验方案名称,
                                    "HMainSourceInterID": data.hmainid,
                                    "HMainSourceEntryID": data.hsubid,