| | |
| | | return ResponseResult.ResponseError(ex); |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 送货单签收并生成到货单 |
| | | /// </summary> |
| | | /// <param name="id"></param> |
| | | /// <returns></returns> |
| | | [HttpPost("SignDelivery")] |
| | | public async Task<ResponseResult> SignDelivery(string id) |
| | | { |
| | | try |
| | | { |
| | | |
| | | //string[] msg = new LljService().SaveSysSubmit(sysSubmit); |
| | | string[] msg= await new LljService().SignDelivery(id); |
| | | return new ResponseResult |
| | | { |
| | | status = int.Parse(msg[0]), |
| | | message = msg[1], |
| | | data = msg[1] |
| | | }; |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | return ResponseResult.ResponseError(ex); |
| | | } |
| | | } |
| | | } |