| | |
| | | if (this.selection.length === 0) { |
| | | return this.$message.error("è¯·éæ©åæ®æç»"); |
| | | } |
| | | this.getLineInfoData(); |
| | | this.dialogFormVisible=true; |
| | | }, |
| | | open(row) { |
| | |
| | | } |
| | | }); |
| | | }, |
| | | getLineInfoData() { |
| | | var param = ["lineInfo"]; |
| | | this.http |
| | | .post("api/Sys_Dictionary/GetVueDictionary", param, "æ¥è¯¢ä¸") |
| | | .then((x) => { |
| | | if (x.length > 0) { |
| | | this.formRules1[0][0].data = x[0].data; |
| | | } |
| | | }); |
| | | }, |
| | | closeCustomModel() { |
| | | this.formFields1.LineCode=""; |
| | | this.formFields1.Grade="0"; |
| | |
| | | }; |
| | | checkResults.Add(checkResult); |
| | | } |
| | | if (warehouse!=null && (warehouse.WarehouseCode == WarehouseEnum.HA152.ToString() || warehouse.WarehouseCode == WarehouseEnum.HA58.ToString())) |
| | | { |
| | | |
| | | } |
| | | ERPCheckModel model = new ERPCheckModel() |
| | | { |
| | | Code = checkOrder.CheckOrderNo, |
| | |
| | | Way = 1, |
| | | Details = checkResults |
| | | }; |
| | | if (warehouse!=null && (warehouse.WarehouseCode == WarehouseEnum.HA152.ToString() || warehouse.WarehouseCode == WarehouseEnum.HA58.ToString())) |
| | | { |
| | | model.QtyInspected = "1"; |
| | | model.QtyQualified = "1"; |
| | | } |
| | | |
| | | |
| | | string response = _invokeERPService.InvokeCheckOrderApi(model); |
| | | ErpRequestContent requestContent = response.DeserializeObject<ErpRequestContent>(); |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | using SqlSugar; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using WIDESEA_Core.DB.Models; |
| | | |
| | | namespace WIDESEA_Model.Models |
| | | { |
| | | /// <summary> |
| | | /// æååºåºçº¿ä½é
ç½® |
| | | /// </summary> |
| | | [SugarTable(nameof(Dt_ProLineInfo), "æååºåºçº¿ä½é
ç½®")] |
| | | public class Dt_ProLineInfo : BaseEntity |
| | | { |
| | | /// <summary> |
| | | /// ä¸»é® |
| | | /// </summary> |
| | | [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主é®")] |
| | | public int Id { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 线ä½åç§° |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "线ä½åç§°")] |
| | | public string LineName { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 线ä½ç¼å· |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "线ä½ç¼å·")] |
| | | public string LineCode { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 线ä½å¯ç¨ç¶æ |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = true, Length = 200, ColumnDescription = "线ä½å¯ç¨ç¶æ")] |
| | | public int LineStatus { get; set; } |
| | | } |
| | | } |
| | |
| | | { |
| | | x.ProOutDetailStatus = StockStatusEmun.æå使ååº.ObjToInt(); |
| | | }); |
| | | proStockInfo.WarehouseId = locationInfo.WarehouseId; |
| | | Dt_Task newTask = new Dt_Task() |
| | | { |
| | | CurrentAddress = startPoint, |