中扬CRM客户关系管理系统
#
luxiaotao1123
2022-11-21 9144349b875db3e4cf5fac5591624eb703e26178
src/main/webapp/static/js/plan/plan.js
@@ -252,6 +252,16 @@
                                                        data.field.cstmrId = cstmrSel.getValue()[0] ? cstmrSel.getValue()[0].value : null;
                                                        data.field.userId = userSel.getValue()[0] ? userSel.getValue()[0].value : null;
                                                        data.field.planNeed = planNeedSel.getValue()[0] ? planNeedSel.getValue()[0].value : null;
                                                        if (!data.field.orderId) {
                                                            layer.msg("跟踪项目不能为空", {icon: 2});
                                                            top.requireTip($('#orderXmlSel'));
                                                            return false;
                                                        }
                                                        if (!data.field.cstmrId) {
                                                            layer.msg("客户名称不能为空", {icon: 2});
                                                            top.requireTip($('#cstmrXmlSel'));
                                                            return false;
                                                        }
                                                        var loadIndex = layer.load(2);
                                                        $.ajax({
                                                            url: baseUrl+"/plan/add/auth",