| | |
| | | using SqlSugar; |
| | | using Magicodes.ExporterAndImporter.Core; |
| | | using SqlSugar; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | |
| | | namespace WIDESEA_Model.Models |
| | | { |
| | | [SugarTable("Dt_DeliveryOrderDetail_Hty", "åºåºæç»åå²è¡¨")] |
| | | public class Dt_DeliveryOrderDetail_Hty : BaseEntity |
| | | public class Dt_DeliveryOrderDetail_Hty : Dt_DeliveryOrderDetail, IBaseHistoryEntity |
| | | { |
| | | [SugarColumn(ColumnName = "HistoryId", IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "åå²è®°å½ä¸»é®")] |
| | | public int HistoryId { get; set; } |
| | | |
| | | [SugarColumn(ColumnName = "Id", ColumnDescription = "å主é®")] |
| | | public int Id { get; set; } |
| | | |
| | | [SugarColumn(ColumnName = "DeliveryOrderId", IsNullable = true, ColumnDescription = "å
³èå
¥åºåID")] |
| | | public int DeliveryOrderId { get; set; } |
| | | |
| | | [SugarColumn(ColumnName = "Reservoirarea", IsNullable = true, Length = 50, ColumnDescription = "åºåº")] |
| | | public string Reservoirarea { get; set; } |
| | | |
| | | [SugarColumn(ColumnName = "Goods_no", IsNullable = true, Length = 50, ColumnDescription = "è¯åç¼ç ")] |
| | | public string Goods_no { get; set; } |
| | | |
| | | |
| | | [SugarColumn(ColumnName = "Order_qty", IsNullable = true, ColumnDescription = "åºåºéè´§æ¶ä¸ºè´æ°")] |
| | | public decimal Order_qty { get; set; } |
| | | |
| | | |
| | | [SugarColumn(ColumnName = "Order_Outqty", IsNullable = true, ColumnDescription = "åºåºå®ææ°é")] |
| | | public decimal Order_Outqty { get; set; } |
| | | |
| | | [SugarColumn(ColumnName = "Batch_num", IsNullable = true, Length = 50, ColumnDescription = "æ¹å·")] |
| | | public string Batch_num { get; set; } |
| | | |
| | | [SugarColumn(ColumnName = "Exp_date", IsNullable = true, Length = 8, ColumnDescription = "æ ¡æ(yyyymmmdd)")] |
| | | public string Exp_date { get; set; } |
| | | /// <summary> |
| | | /// 订å详æ
ç¶æ æ°å»ºï¼å¼å§ï¼å·²å®æ |
| | | /// åºæ¿å·+ç¶æ+ï¼æ°å»ºï¼ï¼å¤ææ¯å¦ä¸åç»wcs |
| | | /// 详æ
å¼å§ï¼å¼å§ï¼ |
| | | /// 详æ
宿ï¼å·²å®æï¼ç§»å
¥åå²è¡¨å é¤ä¿¡æ¯ï¼ |
| | | /// åè¡¨ä¸»é® |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "OotDetailStatus", IsNullable = true, Length = 50, ColumnDescription = "ç¶æ")] |
| | | public string OotDetailStatus { get; set; } |
| | | [ImporterHeader(Name = "å表主é®")] |
| | | [ExporterHeader(DisplayName = "å表主é®")] |
| | | [SugarColumn(IsNullable = false, DefaultValue = "0", ColumnDescription = "å表主é®")] |
| | | public int SourceId { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æä½ç±»å |
| | | /// </summary> |
| | | [ImporterHeader(Name = "æä½ç±»å")] |
| | | [ExporterHeader(DisplayName = "æä½ç±»å")] |
| | | [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "æä½ç±»å")] |
| | | public string OperateType { get; set; } |
| | | |
| | | [SugarColumn(ColumnName = "Status", IsNullable = true, ColumnDescription = "䏿¸¸ç¶æï¼åæ¥ç¶æï¼0æªåæ¥ï¼1已忥ï¼åæ¥åç»wcsï¼")] |
| | | public int Status { get; set; } |
| | | |
| | | // 导èªå±æ§ï¼ä¸ä¸ªæç»å¯¹åºä¸ä¸ªè¯åä¿¡æ¯ |
| | | // ä¿®æ£å¯¼èªå±æ§ï¼ä½¿ç¨ Goods_no å
³è MaterielCode |
| | | [Navigate(NavigateType.OneToOne, nameof(Goods_no), nameof(Dt_MaterielInfo.MaterielCode))] |
| | | public Dt_MaterielInfo MedicineGoods { get; set; } |
| | | |
| | | //æ¯å¦éè¦ä¸é¢çåæ®µ |
| | | //skuåç§° productName |
| | | //skuè§æ ¼ ProductSpecifications |
| | | //æ°é quantity |
| | | //çäºæç» StocktakingDetails |
| | | /// <summary> |
| | | /// ç§»å
¥å岿¶é´ |
| | | /// </summary> |
| | | [ImporterHeader(Name = "ç§»å
¥å岿¶é´")] |
| | | [ExporterHeader(DisplayName = "ç§»å
¥å岿¶é´")] |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "ç§»å
¥å岿¶é´")] |
| | | public DateTime InsertTime { get; set; } |
| | | |
| | | } |
| | | } |
| | |
| | | using SqlSugar; |
| | | using Magicodes.ExporterAndImporter.Core; |
| | | using SqlSugar; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Linq; |
| | |
| | | namespace WIDESEA_Model.Models |
| | | { |
| | | [SugarTable("Dt_DeliveryOrder_Hty", "åºåºååå²è¡¨")] |
| | | public class Dt_DeliveryOrder_Hty : BaseEntity |
| | | public class Dt_DeliveryOrder_Hty : Dt_DeliveryOrder, IBaseHistoryEntity |
| | | { |
| | | [SugarColumn(ColumnName = "HistoryId", IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "åå²è®°å½ä¸»é®")] |
| | | public int HistoryId { get; set; } |
| | | |
| | | [SugarColumn(ColumnName = "Id", ColumnDescription = "å主é®")] |
| | | public int Id { get; set; } |
| | | [SugarColumn(ColumnName = "Out_no", IsNullable = true, Length = 50, ColumnDescription = "åºåºåå·")] |
| | | public string Out_no { get; set; } |
| | | |
| | | [SugarColumn(ColumnName = "Out_type", IsNullable = true, Length = 3, ColumnDescription = "åºåºåç±»å")] |
| | | public string Out_type { get; set; } |
| | | |
| | | [SugarColumn(ColumnName = "Client_no", IsNullable = true, Length = 50, ColumnDescription = "客æ·ä»£ç ")] |
| | | public string Client_no { get; set; } |
| | | |
| | | |
| | | [SugarColumn(ColumnName = "Client_name", IsNullable = true, Length = 50, ColumnDescription = "客æ·åç§°")] |
| | | public string Client_name { get; set; } |
| | | |
| | | |
| | | //åºæ¿å· |
| | | [SugarColumn(ColumnName = "Warehouse_no", IsNullable = true, ColumnDescription = "åºæ¿å·")] |
| | | public string Warehouse_no { get; set; } |
| | | |
| | | |
| | | |
| | | |
| | | [SugarColumn(ColumnName = "Account_time", IsNullable = true, ColumnDescription = "åºåºè®°è´¦æ¶é´")] |
| | | public DateTime? Account_time { get; set; } |
| | | [Navigate(NavigateType.OneToMany, nameof(Dt_DeliveryOrderDetail_Hty.DeliveryOrderId))] |
| | | public new List<Dt_DeliveryOrderDetail_Hty> Details { get; set; } |
| | | /// <summary> |
| | | /// åè¡¨ä¸»é® |
| | | /// </summary> |
| | | [ImporterHeader(Name = "å表主é®")] |
| | | [ExporterHeader(DisplayName = "å表主é®")] |
| | | [SugarColumn(IsNullable = false, DefaultValue = "0", ColumnDescription = "å表主é®")] |
| | | public int SourceId { get; set; } |
| | | |
| | | /// <summary> |
| | | /// è¡¨å¤´ç¶æï¼æ°å»ºï¼å¼å§ï¼å·²å®æ //详æ
表å
¨é¨ç¶æä¸ºå
¨é¨ï¼å¨å°ç¶ææ¹æå®æåæä¼ä¸ä¼ ç»ä¸æ¸¸ç³»ç» |
| | | /// æä½ç±»å |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "OutStatus", IsNullable = true, ColumnDescription = "ç¶æ")] |
| | | public string OutStatus { get; set; } |
| | | [ImporterHeader(Name = "æä½ç±»å")] |
| | | [ExporterHeader(DisplayName = "æä½ç±»å")] |
| | | [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "æä½ç±»å")] |
| | | public string OperateType { get; set; } |
| | | |
| | | //æ¯å¦éè¦ä¸é¢çåæ®µ |
| | | //ä¼å
级 priority |
| | | //æ¯å¦åæ¶ Is_cancel |
| | | |
| | | //ä¼å
级 priority |
| | | //[SugarColumn(ColumnName = "Priority", IsNullable = true, ColumnDescription = "ä¼å
级")] |
| | | //public int Priority { get; set; } |
| | | |
| | | ////æ¯å¦åæ¶ Iscancel |
| | | //[SugarColumn(ColumnName = "Iscancel", IsNullable = true, ColumnDescription = "æ¯å¦åæ¶")] |
| | | //public int Iscancel { get; set; } |
| | | [Navigate(NavigateType.OneToMany, nameof(Dt_DeliveryOrderDetail.DeliveryOrderId))] |
| | | public List<Dt_DeliveryOrderDetail> Details { get; set; } |
| | | /// <summary> |
| | | /// ç§»å
¥å岿¶é´ |
| | | /// </summary> |
| | | [ImporterHeader(Name = "ç§»å
¥å岿¶é´")] |
| | | [ExporterHeader(DisplayName = "ç§»å
¥å岿¶é´")] |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "ç§»å
¥å岿¶é´")] |
| | | public DateTime InsertTime { get; set; } |
| | | } |
| | | } |
| | |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using WIDESEA_Core; |
| | | using WIDESEA_Core.BaseRepository; |
| | | using WIDESEA_Core.BaseServices; |
| | | using WIDESEA_ISquareCabinServices; |
| | |
| | | public CabinOrderHtyServices(IRepository<Dt_CabinOrder_Hty> BaseDal) : base(BaseDal) |
| | | { |
| | | } |
| | | public override object GetDetailPage(PageDataOptions pageData) |
| | | { |
| | | var a = BaseDal.QueryFirst(x => x.Id == Convert.ToInt32(pageData.Value)); |
| | | pageData.Value = a.SourceId; |
| | | return base.GetDetailPage(pageData); |
| | | } |
| | | } |
| | | } |
| | |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using WIDESEA_Core; |
| | | using WIDESEA_Core.BaseRepository; |
| | | using WIDESEA_Core.BaseServices; |
| | | using WIDESEA_ISquareCabinServices; |
| | |
| | | public DeliveryOrderHtyServices(IRepository<Dt_DeliveryOrder_Hty> BaseDal) : base(BaseDal) |
| | | { |
| | | } |
| | | public override object GetDetailPage(PageDataOptions pageData) |
| | | { |
| | | var a = BaseDal.QueryFirst(x => x.Id == Convert.ToInt32(pageData.Value)); |
| | | pageData.Value = a.SourceId; |
| | | return base.GetDetailPage(pageData); |
| | | } |
| | | } |
| | | } |
| | |
| | | export default defineComponent({ |
| | | setup() { |
| | | const table = ref({ |
| | | key: 'historyId', |
| | | key: 'id', |
| | | footer: "Foots", |
| | | cnName: 'åå²å
¥åºåæç»', |
| | | name: 'dtCabinOrderDetailHty', |
| | | url: "/DtCabinOrderDetailHty/", |
| | | sortName: "historyId" |
| | | sortName: "id" |
| | | }); |
| | | const editFormFields = ref({}); |
| | | const editFormOptions = ref([]); |
| | |
| | | ]); |
| | | const columns = ref([ |
| | | { |
| | | field: 'historyId', |
| | | field: 'id', |
| | | title: 'åå²è®°å½ä¸»é®', |
| | | type: 'int', |
| | | width: 120, |
| | |
| | | align: 'left' |
| | | }, |
| | | { |
| | | field: 'id', |
| | | field: 'sourceId', |
| | | title: 'å主é®', |
| | | type: 'int', |
| | | width: 100, |
| | |
| | | sort: true |
| | | } |
| | | ], |
| | | sortName: "orderId", |
| | | key: "orderId" |
| | | sortName: "sourceId", |
| | | key: "sourceId" |
| | | }); |
| | | return { |
| | | table, |
| | |
| | | export default defineComponent({ |
| | | setup() { |
| | | const table = ref({ |
| | | key: 'historyId', |
| | | key: 'id', |
| | | footer: "Foots", |
| | | cnName: 'åå²å
¥åºå', |
| | | name: 'CabinOrderHty', |
| | | url: "/CabinOrderHty/", |
| | | sortName: "historyId" |
| | | sortName: "id" |
| | | }); |
| | | const editFormFields = ref({}); |
| | | const editFormOptions = ref([]); |
| | |
| | | ]); |
| | | const columns = ref([ |
| | | { |
| | | field: 'historyId', |
| | | field: 'id', |
| | | title: 'åå²è®°å½ä¸»é®', |
| | | type: 'int', |
| | | width: 120, |
| | |
| | | align: 'left' |
| | | }, |
| | | { |
| | | field: 'id', |
| | | field: 'sourceId', |
| | | title: 'å主é®', |
| | | type: 'int', |
| | | width: 100, |
| | |
| | | url: "/CabinOrderDetailHty/", |
| | | columns: [ |
| | | { |
| | | field: 'historyId', |
| | | field: 'id', |
| | | title: 'åå²è®°å½ä¸»é®', |
| | | type: 'int', |
| | | width: 120, |
| | |
| | | align: 'left' |
| | | }, |
| | | { |
| | | field: 'id', |
| | | field: 'sourceId', |
| | | title: 'å主é®', |
| | | type: 'int', |
| | | width: 100, |
| | |
| | | sort: true |
| | | } |
| | | ], |
| | | sortName: "historyId", |
| | | key: "historyId" |
| | | sortName: "id", |
| | | key: "id" |
| | | }); |
| | | return { |
| | | table, |