| | |
| | | this.boxModel = true; |
| | | }, |
| | | async linkData(row, column) { |
| | | this.boxOptions.title = this.table.cnName + '(ç¼è¾)'; |
| | | this.boxOptions.title = this.table.cnName + '(æ¥ç)'; |
| | | //ç¹å»tableåå
æ ¼å¿«æ·é¾æ¥æ¾ç¤ºç¼è¾æ°æ® |
| | | this.currentAction = this.const.EDIT; |
| | | this.currentRow = row; |
| | |
| | | this.resetDetailTable(row); |
| | | this.setEditForm(row); |
| | | this.setContinueAdd(false); |
| | | this.boxButtons.forEach((btn) => { |
| | | if (btn.name == 'ä¿ å') { |
| | | btn.hidden = true; |
| | | //æè
设置åªè¯» |
| | | //btn.readonly=true; |
| | | } |
| | | }); |
| | | //设置è¿ç¨æ¥è¯¢è¡¨åçé»è®¤key/value |
| | | this.getRemoteFormDefaultKeyValue(); |
| | | //ç¹å»ç¼è¾æé®å¼¹åºæ¡åï¼å¯ä»¥å¨æ¤å¤åé»è¾ï¼å¦ï¼ä»åå°è·åæ°æ® |
| | |
| | | httpClient.Timeout = new TimeSpan(0, 0, 60); |
| | | if (serviceAddress.Contains("cimforce/AtomJsonService")) |
| | | { |
| | | httpClient.Timeout = new TimeSpan(0, 0, 30); |
| | | int timeout = AppSettings.Get("ErpRequestTime").ObjToInt(); |
| | | httpClient.Timeout = new TimeSpan(0, 0, timeout); |
| | | } |
| | | if (headers != null) |
| | | { |
| | |
| | | { |
| | | Dt_Warehouse warehouse = _basicRepository.WarehouseRepository.QueryFirst(x => x.WarehouseCode == WarehouseEnum.HA101.ToString()); |
| | | //æªååºåºåå· |
| | | string shipmentOrder = boxInfoModel.ShipmentOrder.Substring(0, boxInfoModel.ShipmentOrder.IndexOf("-")); |
| | | string shipmentOrder = boxInfoModel.ShipmentOrder; |
| | | //夿MESä¼ å
¥çåºåºåå·æ¯å¦åå¨ |
| | | Dt_ProOutOrder proOutOrder = _outboundRepository.ProOutOrderRepository.Db.Queryable<Dt_ProOutOrder>().Where(x => x.ProOutOrderNo == shipmentOrder).Includes(x => x.Details).First(); |
| | | if (proOutOrder == null) |
| | |
| | | FeedBackWCSTaskCompleted(taskNum); |
| | | _unitOfWorkManage.BeginTran(); |
| | | |
| | | if (task.TaskType == TaskTypeEnum.Outbound.ObjToInt() || task.TaskType == TaskTypeEnum.OutQuality.ObjToInt() || task.TaskType == TaskTypeEnum.OutAllocate.ObjToInt() || task.TaskType == TaskTypeEnum.MesHandPickOutbound.ObjToInt() || task.TaskType == TaskTypeEnum.MesHandOutbound.ObjToInt()) |
| | | if (task.TaskType == TaskTypeEnum.Outbound.ObjToInt() || task.TaskType == TaskTypeEnum.OutQuality.ObjToInt() || task.TaskType == TaskTypeEnum.OutAllocate.ObjToInt() || task.TaskType == TaskTypeEnum.MesHandPickOutbound.ObjToInt() || task.TaskType == TaskTypeEnum.MesHandOutbound.ObjToInt() || task.TaskType == TaskTypeEnum.OutSale.ObjToInt()) |
| | | { |
| | | //å¤çåºåºè¯¦æ
以ååºåç¶æ |
| | | if (outboundOrderDetails.Count > 0) |
| | |
| | | "LogAopEnable": false, |
| | | "PrintSql": true, //æå°SQLè¯å¥ |
| | | "ApiName": "WIDESEA", |
| | | "ErpRequestTime": 45, |
| | | "ExpMinutes": 120, |
| | | "QuartzJobAutoStart": true, |
| | | "PDAVersion": "4", |