1.产品绑定提示样式调整
2.其他入库优化(已更新)
3.核对送检提示样式调整
4.内箱核对提示样式调整
已修改8个文件
269 ■■■■ 文件已修改
H5/Cpbd.aspx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Cpdbsj.aspx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Js/Cpbd.js 32 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Js/Cpbdsj.js 192 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Js/Nxhd.js 32 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Js/Qtrk.js 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Nxhd.aspx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Qtrk.aspx 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
H5/Cpbd.aspx
@@ -155,5 +155,5 @@
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server">
    <script src="Js/Cpbd.js?<%=1211122 %>"></script>
    <script src="Js/Cpbd.js?<%=1211123 %>"></script>
</asp:Content>
H5/Cpdbsj.aspx
@@ -266,5 +266,5 @@
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server">
    <script src="Js/Cpbdsj.js?<%=1212111421525 %>"></script>
    <script src="Js/Cpbdsj.js?<%=1212111421526 %>"></script>
</asp:Content>
H5/Js/Cpbd.js
@@ -39,7 +39,13 @@
                        that.$refs.LsBar.focus();
                    }
                    else {
                        that.$toast.fail(json.message);
                        //that.$toast.fail(json.message);
                        that.$dialog.alert({
                            message: json.message,
                            theme: 'round-button',
                        }).then(() => {
                            // on close
                        });
                        that.$playSound('error');
                        that.$refs.ZsBar.focus();
                        that.ZsBar = "";
@@ -50,7 +56,13 @@
                })
                .catch(function (error) {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    //that.$toast.fail("网络错误,请重试!");
                    that.$dialog.alert({
                        message: "网络错误,请重试!",
                        theme: 'round-button',
                    }).then(() => {
                        // on close
                    });
                    that.$playSound('error');
                    that.$refs.ZsBar.focus();
                    that.ZsBar = "";
@@ -88,7 +100,13 @@
                        that.LsBar = null;
                    }
                    else {
                        that.$toast.fail(json.message);
                        //that.$toast.fail(json.message);
                        that.$dialog.alert({
                            message: json.message,
                            theme: 'round-button',
                        }).then(() => {
                            // on close
                        });
                        that.$playSound('error');
                        that.$refs.ZsBar.focus();
                        that.ZsBar = null;
@@ -99,7 +117,13 @@
                })
                .catch(function (error) {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    //that.$toast.fail("网络错误,请重试!");
                    that.$dialog.alert({
                        message: "网络错误,请重试!",
                        theme: 'round-button',
                    }).then(() => {
                        // on close
                    });
                    that.$playSound('error');
                    that.$refs.ZsBar.focus();
                    that.ZsBar = null;
H5/Js/Cpbdsj.js
@@ -94,7 +94,13 @@
                    }
                    else {
                        that.$playSound('error');
                        that.$toast.fail(json.message);
                        //that.$toast.fail(json.message);
                        that.$dialog.alert({
                            message: json.message,
                            theme: 'round-button',
                        }).then(() => {
                            // on close
                        });
                        that.$refs.KbBar.focus();
                        that.KbBar = "";
                    }
@@ -103,7 +109,13 @@
                .catch(function (error) {
                    that.isLoading = false;
                    that.$playSound('error');
                    that.$toast.fail("网络错误,请重试!");
                    //that.$toast.fail("网络错误,请重试!");
                    that.$dialog.alert({
                        message: "网络错误,请重试!",
                        theme: 'round-button',
                    }).then(() => {
                        // on close
                    });
                    that.$refs.KbBar.focus();
                    that.KbBar = "";
                });
@@ -129,7 +141,13 @@
            // 检查是否超过装箱数
            if (that.XbarInfo.length >= that.Xvalue) {
                that.$playSound('error');
                that.$toast.fail(`已达到装箱数限制(${that.Xvalue})`);
                //that.$toast.fail(`已达到装箱数限制(${that.Xvalue})`);
                that.$dialog.alert({
                    message: `已达到装箱数限制(${that.Xvalue})`,
                    theme: 'round-button',
                }).then(() => {
                    // on close
                });
                that.XBar = "";
                return;
            }
@@ -139,7 +157,13 @@
            // 检查是否超过装箱数
            if (that.Xvalue > Dvalue) {
                that.$playSound('error');
                that.$toast.fail(`装箱数(${that.Xvalue}) 不能大于 卡板待装数(${Dvalue})`);
                //that.$toast.fail(`装箱数(${that.Xvalue}) 不能大于 卡板待装数(${Dvalue})`);
                that.$dialog.alert({
                    message: `装箱数(${that.Xvalue}) 不能大于 卡板待装数(${Dvalue})`,
                    theme: 'round-button',
                }).then(() => {
                    // on close
                });
                that.XBar = "";
                return;
            }
@@ -148,7 +172,13 @@
            const isExist = that.XbarInfo.some(item => item.iteM_BARCODE === that.XBar);
            if (isExist) {
                that.$playSound('error');
                that.$toast.fail("该箱条码已存在,请勿重复扫描");
                //that.$toast.fail("该箱条码已存在,请勿重复扫描");
                that.$dialog.alert({
                    message: "该箱条码已存在,请勿重复扫描",
                    theme: 'round-button',
                }).then(() => {
                    // on close
                });
                that.XBar = "";
                return;
            }
@@ -177,7 +207,13 @@
                    else {
                        that.$playSound('error');
                        that.XBar = "";
                        that.$toast.fail(json.message);
                        //that.$toast.fail(json.message);
                        that.$dialog.alert({
                            message: json.message,
                            theme: 'round-button',
                        }).then(() => {
                            // on close
                        });
                    }
                    that.isLoading = false;
                })
@@ -185,7 +221,13 @@
                    that.isLoading = false;
                    that.XBar = "";
                    that.$playSound('error');
                    that.$toast.fail("网络错误,请重试!");
                    //that.$toast.fail("网络错误,请重试!");
                    that.$dialog.alert({
                        message: "网络错误,请重试!",
                        theme: 'round-button',
                    }).then(() => {
                        // on close
                    });
                });
        },
        productBinding() {
@@ -224,7 +266,13 @@
                    }
                    else {
                        that.$playSound('error');
                        that.$toast.fail(json.message);
                        //that.$toast.fail(json.message);
                        that.$dialog.alert({
                            message: json.message,
                            theme: 'round-button',
                        }).then(() => {
                            // on close
                        });
                        that.$refs.ZsBar.focus();
                        that.ZsBar = null;
                        that.ZsBar = null;
@@ -235,7 +283,13 @@
                .catch(function (error) {
                    that.isLoading = false;
                    that.$playSound('error');
                    that.$toast.fail("网络错误,请重试!");
                    //that.$toast.fail("网络错误,请重试!");
                    that.$dialog.alert({
                        message: "网络错误,请重试!",
                        theme: 'round-button',
                    }).then(() => {
                        // on close
                    });
                    that.$refs.ZsBar.focus();
                    that.ZsBar = null;
                    that.ZsBar = null;
@@ -281,19 +335,37 @@
                            }
                            else {
                                that.$playSound('error');
                                that.$toast.fail(json.message);
                                //that.$toast.fail(json.message);
                                that.$dialog.alert({
                                    message: json.message,
                                    theme: 'round-button',
                                }).then(() => {
                                    // on close
                                });
                            }
                            that.isLoading = false;
                        })
                        .catch(function (error) {
                            that.isLoading = false;
                            that.$playSound('error');
                            that.$toast.fail("网络错误,请重试!");
                            //that.$toast.fail("网络错误,请重试!");
                            that.$dialog.alert({
                                message: "网络错误,请重试!",
                                theme: 'round-button',
                            }).then(() => {
                                // on close
                            });
                        });
                }
            } else {
                that.$playSound('error');
                that.$toast.fail("未找到匹配的箱条码");
                //that.$toast.fail("未找到匹配的箱条码");
                that.$dialog.alert({
                    message: "未找到匹配的箱条码",
                    theme: 'round-button',
                }).then(() => {
                    // on close
                });
            }
            
            that.LsBar = ""; // 清空输入框
@@ -331,7 +403,13 @@
                        that.getKbBarInfo();
                    } else {
                        that.$playSound('error');
                        that.$toast.fail(json.message);
                        //that.$toast.fail(json.message);
                        that.$dialog.alert({
                            message: json.message,
                            theme: 'round-button',
                        }).then(() => {
                            // on close
                        });
                        that.XbarInfo = [];
                        that.XBar = "";
                        that.LsBar = "";
@@ -342,7 +420,13 @@
                .catch(function (error) {
                    that.isLoading = false;
                    that.$playSound('error');
                    that.$toast.fail("绑定失败,请重试!");
                    //that.$toast.fail("绑定失败,请重试!");
                    that.$dialog.alert({
                        message: "网络错误,请重试!",
                        theme: 'round-button',
                    }).then(() => {
                        // on close
                    });
                });
        },
        handleSubmit() {
@@ -364,7 +448,13 @@
            
            if (oldqty !== ySum) {
                that.$playSound('error');
                that.$toast.fail(`装板未完成,待装数:${oldqty - ySum}`);
                //that.$toast.fail(`装板未完成,待装数:${oldqty - ySum}`);
                that.$dialog.alert({
                    message: `装板未完成,待装数:${oldqty - ySum}`,
                    theme: 'round-button',
                }).then(() => {
                    // on close
                });
                return;
            }
    
@@ -385,14 +475,26 @@
                        that.$refs.KbBar.focus();
                    } else {
                        that.$playSound('error');
                        that.$toast.fail(json.message);
                        //that.$toast.fail(json.message);
                        that.$dialog.alert({
                            message: json.message,
                            theme: 'round-button',
                        }).then(() => {
                            // on close
                        });
                    }
                    that.isLoading = false;
                })
                .catch(function (error) {
                    that.isLoading = false;
                    that.$playSound('error');
                    that.$toast.fail("提交失败,请重试!");
                    //that.$toast.fail("提交失败,请重试!");
                    that.$dialog.alert({
                        message: "网络错误,请重试!",
                        theme: 'round-button',
                    }).then(() => {
                        // on close
                    });
                    that.$refs.KbBar.focus();
                });
        },
@@ -440,14 +542,26 @@
                        }
                    }
                    else {
                        that.$toast.fail(json.message);
                        //that.$toast.fail(json.message);
                        that.$dialog.alert({
                            message: json.message,
                            theme: 'round-button',
                        }).then(() => {
                            // on close
                        });
                        that.$playSound('error');
                    }
                    that.isLoading = false;
                })
                .catch(function (error) {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    //that.$toast.fail("网络错误,请重试!");
                    that.$dialog.alert({
                        message: "网络错误,请重试!",
                        theme: 'round-button',
                    }).then(() => {
                        // on close
                    });
                    that.$playSound('error');
                    console.log(error);
                });
@@ -490,7 +604,13 @@
            
            if (oldqty !== ySum) {
                that.$playSound('error');
                that.$toast.fail(`装板未完成,待装数:${oldqty - ySum}`);
                //that.$toast.fail(`装板未完成,待装数:${oldqty - ySum}`);
                that.$dialog.alert({
                    message: `装板未完成,待装数:${oldqty - ySum}`,
                    theme: 'round-button',
                }).then(() => {
                    // on close
                });
                return;
            }
    
@@ -507,14 +627,26 @@
                        that.$notify({ type: 'success', message: json.message });
                    } else {
                        that.$playSound('error');
                        that.$toast.fail(json.message);
                        //that.$toast.fail(json.message);
                        that.$dialog.alert({
                            message: json.message,
                            theme: 'round-button',
                        }).then(() => {
                            // on close
                        });
                    }
                    that.isLoading = false;
                })
                .catch(function (error) {
                    that.isLoading = false;
                    that.$playSound('error');
                    that.$toast.fail("AGV送检失败,请重试!");
                    //that.$toast.fail("AGV送检失败,请重试!");
                    that.$dialog.alert({
                        message: "AGV送检失败,请重试!",
                        theme: 'round-button',
                    }).then(() => {
                        // on close
                    });
                    that.$refs.KbBar.focus();
                });
        },
@@ -547,14 +679,26 @@
                        that.$notify({ type: 'success', message: json.message });
                    } else {
                        that.$playSound('error');
                        that.$toast.fail(json.message);
                        //that.$toast.fail(json.message);
                        that.$dialog.alert({
                            message: json.message,
                            theme: 'round-button',
                        }).then(() => {
                            // on close
                        });
                    }
                    that.isLoading = false;
                })
                .catch(function (error) {
                    that.isLoading = false;
                    that.$playSound('error');
                    that.$toast.fail("AGV呼叫失败,请重试!");
                    //that.$toast.fail("AGV呼叫失败,请重试!");
                    that.$dialog.alert({
                        message: "AGV呼叫失败,请重试!",
                        theme: 'round-button',
                    }).then(() => {
                        // on close
                    });
                    that.$refs.KbBar.focus();
                });
        }
H5/Js/Nxhd.js
@@ -44,7 +44,13 @@
                        that.$refs.LsBar.focus();
                    }
                    else {
                        that.$toast.fail(json.message);
                        //that.$toast.fail(json.message);
                        that.$dialog.alert({
                            message: json.message,
                            theme: 'round-button',
                        }).then(() => {
                            // on close
                        });
                        that.$playSound('error');
                        that.$refs.ZsBar.focus();
                        that.ZsBar = "";
@@ -55,7 +61,13 @@
                })
                .catch(function (error) {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    //that.$toast.fail("网络错误,请重试!");
                    that.$dialog.alert({
                        message: "网络错误,请重试!",
                        theme: 'round-button',
                    }).then(() => {
                        // on close
                    });
                    that.$playSound('error');
                    that.$refs.ZsBar.focus();
                    that.ZsBar = "";
@@ -98,7 +110,13 @@
                        that.LsBar = null;
                    }
                    else {
                        that.$toast.fail(json.message);
                        //that.$toast.fail(json.message);
                        that.$dialog.alert({
                            message: json.message,
                            theme: 'round-button',
                        }).then(() => {
                            // on close
                        });
                        that.$playSound('error');
                        that.$refs.ZsBar.focus();
                        that.ZsBar = null;
@@ -109,7 +127,13 @@
                })
                .catch(function (error) {
                    that.isLoading = false;
                    that.$toast.fail("网络错误,请重试!");
                    //that.$toast.fail("网络错误,请重试!");
                    that.$dialog.alert({
                        message: "网络错误,请重试!",
                        theme: 'round-button',
                    }).then(() => {
                        // on close
                    });
                    that.$playSound('error');
                    that.$refs.ZsBar.focus();
                    that.ZsBar = null;
H5/Js/Qtrk.js
@@ -86,6 +86,9 @@
                        that.ItemDetail = json.data.tbBillList;
                        that.$refs.sectionCode.focus();
                        //that.sectionCode = null;
                        if (that.sectionCode) {
                            that.$refs.barcode.focus();
                        }
                    }
                    else {
                        that.$toast.fail(json.message);
@@ -206,7 +209,7 @@
                        that.$notify({ type: 'success', message: '扫描成功' });
                        that.$playSound('success');
                        that.GetMesItemBlDetailByBillNo();
                        that.$refs.barcode.focus();
                        //that.$refs.barcode.focus();
                    }
                    else {
                        that.$toast.fail(json.message);
H5/Nxhd.aspx
@@ -155,5 +155,5 @@
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server">
    <script src="Js/Nxhd.js?<%=1111 %>"></script>
    <script src="Js/Nxhd.js?<%=1112 %>"></script>
</asp:Content>
H5/Qtrk.aspx
@@ -158,5 +158,5 @@
  <%--<comback ></comback>--%>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder4" Runat="Server">
 <script src="Js/Qtrk.js?<%=1240003 %>"></script>
 <script src="Js/Qtrk.js?<%=1240004 %>"></script>
</asp:Content>