Commit fd3388de authored by 季圣华's avatar 季圣华
Browse files

给销售出库增加销售人员

parent efe8811d
...@@ -100,7 +100,7 @@ public class PersonController { ...@@ -100,7 +100,7 @@ public class PersonController {
* @param request * @param request
* @return * @return
*/ */
@PostMapping(value = "/getPersonByNumType") @GetMapping(value = "/getPersonByNumType")
public JSONArray getPersonByNumType(@RequestParam("type") String typeNum, public JSONArray getPersonByNumType(@RequestParam("type") String typeNum,
HttpServletRequest request)throws Exception { HttpServletRequest request)throws Exception {
JSONArray dataArray = new JSONArray(); JSONArray dataArray = new JSONArray();
...@@ -117,8 +117,8 @@ public class PersonController { ...@@ -117,8 +117,8 @@ public class PersonController {
if (null != personList) { if (null != personList) {
for (Person person : personList) { for (Person person : personList) {
JSONObject item = new JSONObject(); JSONObject item = new JSONObject();
item.put("id", person.getId()); item.put("value", person.getId().toString());
item.put("name", person.getName()); item.put("text", person.getName());
dataArray.add(item); dataArray.add(item);
} }
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment