中扬CRM客户关系管理系统
#
whycq
2023-09-09 34f99d106551b51bf2af3bbd40c64624a3af25eb
src/main/webapp/static/js/plan/plan.js
@@ -303,6 +303,7 @@
                                    method: 'GET',
                                    success: function (res0) {
                                        let planType = res0.data.planType;
                                        console.log(planType.html)
                                        if (res0.code === 200) {
                                            admin.open({
                                                type: 1,
@@ -326,6 +327,7 @@
                                                    });
                                                    layDateRender();
                                                    form.on('submit(editSubmit)', function (data) {
                                                        console.log(data)
                                                        data.field.planType = planType.id;
                                                        data.field.orderId = orderSel.getValue()[0] ? orderSel.getValue()[0].value : null;
                                                        data.field.cstmrId = cstmrSel.getValue()[0] ? cstmrSel.getValue()[0].value : null;
@@ -861,7 +863,7 @@
                        if (res.code === 200) {
                            cb(res.data)
                        } else {
                            cb([]);
                            cb([]);Query/auth
                            layer.msg(res.msg, {icon: 2});
                        }
                    }
@@ -914,7 +916,6 @@
            method: 'POST',
            success: function (res) {
                if (res.code === 200) {
                    console.log(planNeedXmlSelData)
                    planNeedXmlSel.update({
                        initValue: planNeedXmlSelData,
                        data: res.data