|
|
@ -511,19 +511,15 @@ |
|
|
|
} |
|
|
|
}); |
|
|
|
$.ajax({ |
|
|
|
url: ctx + 'system/user/list', |
|
|
|
type: 'post', |
|
|
|
data:{ |
|
|
|
userName: '业务' |
|
|
|
}, |
|
|
|
url: ctx + 'system/salesOrder/getBinessMembers', |
|
|
|
type: 'get', |
|
|
|
success: function (res) { |
|
|
|
if (res.rows.length > 0) { |
|
|
|
var usertData = res.rows; |
|
|
|
for (let i in usertData) { |
|
|
|
$("#businessMembers_add").append( |
|
|
|
$("#select[name='businessMembers']").append( |
|
|
|
"<option value='" + usertData[i].userName + "'>" + usertData[i].userName + "</option>"); |
|
|
|
} |
|
|
|
$("#businessMembers_add").val(userName).trigger("change"); |
|
|
|
} else { |
|
|
|
$.modal.msgError(res.msg); |
|
|
|
} |
|
|
|