提交 ed4d1dca 编写于 作者: Skyeye云's avatar Skyeye云

BUG0015 会员信息,禁用会员和车辆,仍可以购买套餐

上级 f22238df
......@@ -179,8 +179,12 @@ layui.config({
$("body").on("click", ".chooseMemberBtn", function(e){
sysMemberUtil.openSysMemberChoosePage(function (memberMation){
$("#memberId").val(memberMation.contacts);
// 获取会员拥有的车辆信息
AjaxPostUtil.request({url: shopBasePath + "memberCar001", params: {memberId: memberMation.id}, type: 'json', method: "POST", callback: function(json){
var params = {
memberId: memberMation.id,
enabled: 1
};
// 获取会员拥有的车辆信息(已启用)
AjaxPostUtil.request({url: shopBasePath + "memberCar001", params: params, type: 'json', method: "POST", callback: function(json){
if(json.returnCode == 0){
$.each(json.rows, function (i, item){
item.name = item.modelType + "(" + item.plate + ")";
......
......@@ -54,8 +54,12 @@ layui.config({
tools: ['count', 'copy', 'reset']
});
// 获取会员拥有的车辆信息
AjaxPostUtil.request({url: shopBasePath + "memberCar001", params: {memberId: memberMation.id}, type: 'json', method: "POST", callback: function(json){
var params = {
memberId: memberMation.id,
enabled: 1
};
// 获取会员拥有的车辆信息(已启用)
AjaxPostUtil.request({url: shopBasePath + "memberCar001", params: params, type: 'json', method: "POST", callback: function(json){
if(json.returnCode == 0){
$.each(json.rows, function (i, item){
item.name = item.modelType + "(" + item.plate + ")";
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册