| | |
| | | orderStatus: "", |
| | | warehouseId: "", |
| | | supplierId: "", |
| | | createType: "", |
| | | isTestMaterials: "", |
| | | operator: "", |
| | | }); |
| | | const editFormOptions = ref([ |
| | | [ |
| | | { |
| | | title: "åæ®ç±»å", |
| | | required: true, |
| | | field: "orderType", |
| | | type: "select", |
| | | dataKey: "inOrderType", |
| | | data: [], |
| | | }, |
| | | { |
| | | field: "inboundOrderNo", |
| | | title: "åæ®ç¼å·", |
| | | type: "string", |
| | | readonly: true, |
| | | }, |
| | | { |
| | | title: "䏿¸¸åæ®ç¼å·", |
| | |
| | | type: "textarea", |
| | | }, |
| | | ], |
| | | [ |
| | | { |
| | | title: "ä¸å¡ç±»å", |
| | | field: "businessType", |
| | | type: "select", |
| | | dataKey: "businessType", |
| | | data: [], |
| | | require: true, |
| | | }, |
| | | { |
| | | title: "æ¯å¦åæ¹", |
| | | field: "isBatch", |
| | | type: "select", |
| | | dataKey: "enable", |
| | | data: [], |
| | | require: true, |
| | | }, |
| | | { |
| | | title: "ååº", |
| | | field: "factoryArea", |
| | | type: "string", |
| | | }, |
| | | ] |
| | | ]); |
| | | const searchFormFields = ref({ |
| | | inboundOrderNo: "", |
| | |
| | | type: "string", |
| | | width: 150, |
| | | align: "left", |
| | | bind: { key: "materielInfo", data: [] }, |
| | | edit: { type: "" }, |
| | | required: true, |
| | | }, |
| | | { |
| | | field: "batchNo", |
| | |
| | | type: "decimal", |
| | | width: 90, |
| | | align: "left", |
| | | required: true, |
| | | edit: { type: "" }, |
| | | }, |
| | | { |
| | | field: "orderQuantity", |
| | |
| | | required: true, |
| | | }, |
| | | { |
| | | field: "barcodeQty", |
| | | title: "æ¡ç æ°é", |
| | | type: "decimal", |
| | | width: 90, |
| | | align: "left", |
| | | edit: { type: "number" }, |
| | | required: true, |
| | | }, |
| | | { |
| | | field: "barcodeUnit", |
| | | title: "æ¡ç åä½", |
| | | type: "string", |
| | | width: 90, |
| | | align: "left", |
| | | edit: { type: "" }, |
| | | required: true, |
| | | }, |
| | | { |
| | | field: "receiptQuantity", |
| | | title: "ç»çæ°é", |
| | | type: "int", |
| | |
| | | { |
| | | return content.Error($"è¯¥åæ®ä¸ºè¯äº§ç©æï¼éè¦å
¥åºå°è¯äº§ä»ï¼è¯·éæ°æ ¹æ®ååºéæ©è¯äº§ä»åºè¿è¡ç»çå
¥åº"); |
| | | } |
| | | if (inboundOrder.IsTestMaterials == 0 && (palletDto.WarehouseType == "1076" || palletDto.WarehouseType == "5057")) |
| | | { |
| | | return content.Error($"è¯¥åæ®ä¸ºéè¯äº§ç©æï¼ä¸è½å
¥å°è¯äº§ä»ï¼è¯·éæ°æ ¹æ®ä»åºè¿è¡ç»çå
¥åº"); |
| | | } |
| | | if (!_locationInfoService.QueryLocationCount(Convert.ToInt32(palletDto.locationType))) |
| | | { |
| | | return content.Error($"该åºåº{palletDto.locationType}ä¸åå¨ç©ºé²åºä½"); |
| | |
| | | using SqlSugar; |
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.ComponentModel; |
| | | using System.Linq; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | |
| | | /// <summary> |
| | | /// 订åæç»ç¶æ |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "订åæç»ç¶æ")] |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "订åæç»ç¶æ", DefaultValue = "0")] |
| | | public int OrderDetailStatus { get; set; } |
| | | |
| | | /// <summary> |
| | |
| | | /// <summary> |
| | | /// æ¶è´§åæç»è¡å· |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "æ¶è´§åæç»è¡å·")] |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "æ¶è´§åæç»è¡å·", DefaultValue = "0")] |
| | | public int RowNo { get; set; } |
| | | |
| | | /// <summary> |
| | | /// è¡å· |
| | | /// é»è®¤å¼: |
| | | ///</summary> |
| | | [SugarColumn(ColumnName = "lineNo", ColumnDescription = "è¡å·")] |
| | | [SugarColumn(ColumnName = "lineNo", ColumnDescription = "è¡å·", DefaultValue = "0")] |
| | | public string? lineNo { get; set; } |
| | | |
| | | /// <summary> |
| | |
| | | /// ä»åº |
| | | /// é»è®¤å¼: |
| | | ///</summary> |
| | | [SugarColumn(ColumnName = "warehouseCode", ColumnDescription = "ä»åº")] |
| | | [SugarColumn(ColumnName = "warehouseCode", ColumnDescription = "ä»åº", DefaultValue = "")] |
| | | public string? WarehouseCode { get; set; } |
| | | |
| | | /// <summary> |
| | |
| | | /// å¤ç®±æ¡ç |
| | | /// é»è®¤å¼: |
| | | ///</summary> |
| | | [SugarColumn(ColumnName = "outBoxbarcodes", ColumnDescription = "å¤ç®±æ¡ç ")] |
| | | [SugarColumn(ColumnName = "outBoxbarcodes", ColumnDescription = "å¤ç®±æ¡ç ", DefaultValue = "")] |
| | | public string? OutBoxbarcodes { get; set; } |
| | | |
| | | /// <summary> |
| | |
| | | /// <summary> |
| | | /// èæåºå
¥åºæ°é |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = true, ColumnDescription = "èæåºå
¥åºæ°é")] |
| | | public decimal NoStockOutQty { get; set; } |
| | | |
| | | /// <summary> |