| | |
| | | } |
| | | |
| | | |
| | | /* //getDaa001 |
| | | [HttpPost("getDaa001")] |
| | | public ResponseResult getDaa001([FromBody] JObject data) |
| | | { |
| | | var lineNo = data["lineNo"].ToString(); |
| | | try |
| | | { |
| | | dynamic resultInfos = new ExpandoObject(); |
| | | var tbBillList = |
| | | new RKJService().GetDaa001s(lineNo); |
| | | resultInfos.tbBillList = tbBillList; |
| | | return new ResponseResult |
| | | { |
| | | status = 0, |
| | | message = "OK", |
| | | data = resultInfos |
| | | }; |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | return ResponseResult.ResponseError(ex); |
| | | } |
| | | } |
| | | */ |
| | | /* //getDaa001 |
| | | [HttpPost("getDaa001")] |
| | | public ResponseResult getDaa001([FromBody] JObject data) |
| | | { |
| | | var lineNo = data["lineNo"].ToString(); |
| | | try |
| | | { |
| | | dynamic resultInfos = new ExpandoObject(); |
| | | var tbBillList = |
| | | new RKJService().GetDaa001s(lineNo); |
| | | resultInfos.tbBillList = tbBillList; |
| | | return new ResponseResult |
| | | { |
| | | status = 0, |
| | | message = "OK", |
| | | data = resultInfos |
| | | }; |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | return ResponseResult.ResponseError(ex); |
| | | } |
| | | } |
| | | */ |
| | | [HttpPost("setJYItem")] |
| | | public ResponseResult setJYItem([FromBody] JObject data) |
| | | { |
| | | var itemId = Convert.ToDecimal(data["itemId"].ToString()); |
| | | var itemId = Convert.ToDecimal(data["itemId"].ToString()); |
| | | var quantity = Convert.ToDecimal(data["quantity"].ToString()); |
| | | try |
| | | { |
| | |
| | | try |
| | | { |
| | | dynamic resultInfos = new ExpandoObject(); |
| | | var tbBillList = new RKJService().getPage(queryObj); |
| | | var tbBillList = new RKJService().getPage(queryObj); |
| | | resultInfos.tbBillList = tbBillList; |
| | | return new ResponseResult |
| | | { |
| | |
| | | return ResponseResult.ResponseError(ex); |
| | | } |
| | | } |
| | | |
| | | [HttpPost("getSearchPage")] |
| | | public ResponseResult getSearchPage([FromBody] XJPageResult queryObj) |
| | | { |
| | |
| | | { |
| | | status = 0, |
| | | message = "OK", |
| | | data = tbBillList // 这里直接把 PageResult<QsItemOqcReq> 放进去,里面包含 tbBillList |
| | | data = tbBillList // 这里直接把 PageResult<QsItemOqcReq> 放进去,里面包含 tbBillList |
| | | }; |
| | | } |
| | | catch (Exception ex) |
| | |
| | | return ResponseResult.ResponseError(ex); |
| | | } |
| | | } |
| | | |
| | | [HttpPost("RKJQaSubmit")] |
| | | public ResponseResult RKJQaSubmit([FromBody] QsItem item) |
| | | { |
| | |
| | | return ResponseResult.ResponseError(ex); |
| | | } |
| | | } |
| | | |
| | | |
| | | } |