| | |
| | | "name" : "fC.WMS-PDA", |
| | | "appid" : "__UNI__F08B99B", |
| | | "description" : "", |
| | | "versionName" : "9", |
| | | "versionCode" : 9, |
| | | "versionName" : "10", |
| | | "versionCode" : 10, |
| | | "transformPx" : false, |
| | | /* 5+Appç¹æç¸å
³ */ |
| | | "app-plus" : { |
| | |
| | | pageNo: 1, |
| | | scrollTop: 0, |
| | | warehouseId: "", |
| | | isLoaded:false |
| | | ischeck:false |
| | | } |
| | | }, |
| | | onLoad(res) { |
| | |
| | | onReachBottom() { |
| | | this.pageNo += 1; |
| | | this.getData(); |
| | | this.isLoaded=true; |
| | | this.ischeck=true; |
| | | }, |
| | | onShow() { |
| | | if (this.isLoaded) { |
| | | this.ischeck = uni.getStorageSync('ischeck'); |
| | | if (this.ischeck) { |
| | | uni.removeStorageSync('ischeck'); |
| | | this.pageNo = 1; |
| | | this.allReceivingOrders = []; |
| | | // ä»å
¶ä»é¡µé¢è¿åæ¶å·æ° |
| | | this.getData(); |
| | | } |
| | |
| | | if (this.checkTask) { |
| | | uni.removeStorageSync('checkTask'); |
| | | this.pageNo = 1; |
| | | this.allReceivingOrders = []; |
| | | // ä»å
¶ä»é¡µé¢è¿åæ¶å·æ° |
| | | this.getData(); |
| | | } |
| | |
| | | isCheck: true, |
| | | }, |
| | | } |
| | | if (this.pageNo == 1) this.allReceivingOrders = []; |
| | | // if (this.pageNo == 1) this.allReceivingOrders = []; |
| | | this.$u.post('/api/DeliveryOrder/GetCheckOutTasks', postData).then(( |
| | | res) => { |
| | | if (res.status) { |
| | |
| | | //this.allReceivingOrders = []; |
| | | this.loadVisible = true; |
| | | if (this.allReceivingOrders.length < 1) { |
| | | uni.showModal({ |
| | | title: 'æç¤º', |
| | | content: 'çç¹å·²å®æï¼æ¯å¦è¿åé¦é¡µï¼', |
| | | success: (res) => { |
| | | uni.getStorageSync('isLoaded',true) |
| | | if (res.confirm) { |
| | | // ç¨æ·ç¹å»ç¡®å® |
| | | // uni.showModal({ |
| | | // title: 'æç¤º', |
| | | // content: 'çç¹å·²å®æï¼æ¯å¦è¿åé¦é¡µï¼', |
| | | // success: (res) => { |
| | | uni.getStorageSync('ischeck',true) |
| | | // if (res.confirm) { |
| | | // // ç¨æ·ç¹å»ç¡®å® |
| | | setTimeout(() => { |
| | | uni.navigateBack({ |
| | | delta: 1 |
| | | }); |
| | | }, 500); |
| | | } else { |
| | | // ç¨æ·ç¹å»åæ¶ï¼å¯ä»¥åçå¨å½åé¡µé¢ |
| | | // æè
æ§è¡å
¶ä»æä½ |
| | | } |
| | | } |
| | | }); |
| | | // } else { |
| | | // // ç¨æ·ç¹å»åæ¶ï¼å¯ä»¥åçå¨å½åé¡µé¢ |
| | | // // æè
æ§è¡å
¶ä»æä½ |
| | | // } |
| | | // } |
| | | // }); |
| | | } |
| | | } |
| | | } |
| | |
| | | //this.allReceivingOrders = []; |
| | | this.loadVisible = true; |
| | | if (this.allReceivingOrders.length < 1) { |
| | | uni.showModal({ |
| | | title: 'æç¤º', |
| | | content: 'å
¥åºå·²å®æï¼æ¯å¦è¿åå
¥åºåï¼', |
| | | success: (res) => { |
| | | if (res.confirm) { |
| | | // uni.showModal({ |
| | | // title: 'æç¤º', |
| | | // content: 'å
¥åºå·²å®æï¼æ¯å¦è¿åå
¥åºåï¼', |
| | | // success: (res) => { |
| | | // if (res.confirm) { |
| | | uni.setStorageSync('isLoaded', true); |
| | | // ç¨æ·ç¹å»ç¡®å® |
| | | // // ç¨æ·ç¹å»ç¡®å® |
| | | setTimeout(() => { |
| | | uni.navigateBack({ |
| | | delta:1 |
| | | }); |
| | | }, 500); |
| | | } else { |
| | | // ç¨æ·ç¹å»åæ¶ï¼å¯ä»¥åçå¨å½åé¡µé¢ |
| | | // æè
æ§è¡å
¶ä»æä½ |
| | | } |
| | | } |
| | | }); |
| | | // } else { |
| | | // // ç¨æ·ç¹å»åæ¶ï¼å¯ä»¥åçå¨å½åé¡µé¢ |
| | | // // æè
æ§è¡å
¶ä»æä½ |
| | | // } |
| | | // } |
| | | // }); |
| | | } |
| | | } |
| | | } |
| | |
| | | this.isout = uni.getStorageSync('isout'); |
| | | if (this.isout) { |
| | | uni.removeStorageSync('isout'); |
| | | this.pageNo = 1; |
| | | this.allReceivingOrders = []; |
| | | // ä»å
¶ä»é¡µé¢è¿åæ¶å·æ° |
| | | this.getData(); |
| | | } |
| | |
| | | if (this.outTask) { |
| | | uni.removeStorageSync('outTask'); |
| | | this.pageNo = 1; |
| | | this.allReceivingOrders = []; |
| | | // ä»å
¶ä»é¡µé¢è¿åæ¶å·æ° |
| | | this.getData(); |
| | | } |
| | |
| | | isCheck: false, |
| | | }, |
| | | } |
| | | if (this.pageNo == 1) this.allReceivingOrders = []; |
| | | // if (this.pageNo == 1) this.allReceivingOrders = []; |
| | | this.$u.post('/api/DeliveryOrder/GetCheckOutTasks', postData).then(( |
| | | res) => { |
| | | if (res.status) { |
| | |
| | | this.status = 'noMore'; |
| | | //this.allReceivingOrders = []; |
| | | this.loadVisible = true; |
| | | if (this.allReceivingOrders.length < 1) { |
| | | uni.showModal({ |
| | | title: 'æç¤º', |
| | | content: 'åºåºå·²å®æï¼æ¯å¦è¿åé¦é¡µï¼', |
| | | success: (res) => { |
| | | if (res.confirm) { |
| | | uni.getStorageSync('isLoaded',true) |
| | | // ç¨æ·ç¹å»ç¡®å® |
| | | // if (this.allReceivingOrders.length < 1) { |
| | | // uni.showModal({ |
| | | // title: 'æç¤º', |
| | | // content: 'åºåºå·²å®æï¼æ¯å¦è¿åé¦é¡µï¼', |
| | | // success: (res) => { |
| | | // if (res.confirm) { |
| | | uni.getStorageSync('isout',true) |
| | | // // ç¨æ·ç¹å»ç¡®å® |
| | | setTimeout(() => { |
| | | uni.navigateBack({ |
| | | delta: 1 |
| | | }); |
| | | }, 500); |
| | | } else { |
| | | // ç¨æ·ç¹å»åæ¶ï¼å¯ä»¥åçå¨å½åé¡µé¢ |
| | | // æè
æ§è¡å
¶ä»æä½ |
| | | } |
| | | } |
| | | }); |
| | | } |
| | | // } else { |
| | | // // ç¨æ·ç¹å»åæ¶ï¼å¯ä»¥åçå¨å½åé¡µé¢ |
| | | // // æè
æ§è¡å
¶ä»æä½ |
| | | // } |
| | | // } |
| | | // }); |
| | | // } |
| | | } |
| | | } |
| | | }) |
| | |
| | | Modifier = "System" |
| | | }; |
| | | addList.Add(dto); |
| | | if (cool.Alarm != "æ£å¸¸") |
| | | if (item.alarm != "æ£å¸¸") |
| | | { |
| | | _messageInfoService.AddMessageInfo(MessageGroupByEnum.EquipmentAlarm, $"å·æ{item.alarm}", item.message, MessageStatusEnum.Undisposed); |
| | | } |
| | |
| | | Creater = "System" |
| | | }; |
| | | BaseDal.AddData(newRecord); |
| | | if(robot.status== "error") |
| | | if (robot.status == "error") |
| | | { |
| | | _messageInfoService.AddMessageInfo(MessageGroupByEnum.EquipmentAlarm, robot.robotName,$"{ robot.robotName}åçé误", MessageStatusEnum.Emergency); |
| | | _messageInfoService.AddMessageInfo(MessageGroupByEnum.EquipmentAlarm, "å°è½¦åç§°:" + robot.robotName, $"å°è½¦ç¼å·ã{robot.robotCode}ãåçé误", MessageStatusEnum.Emergency); |
| | | } |
| | | } |
| | | else |
| | |
| | | BaseDal.UpdateData(existingRecord); |
| | | if (robot.status == "error") |
| | | { |
| | | _messageInfoService.AddMessageInfo(MessageGroupByEnum.EquipmentAlarm, robot.robotName, $"{robot.robotName}åçé误", MessageStatusEnum.Emergency); |
| | | _messageInfoService.AddMessageInfo(MessageGroupByEnum.EquipmentAlarm, "å°è½¦åç§°:" + robot.robotName, $"å°è½¦ç¼å·ã{robot.robotCode}ãåçé误", MessageStatusEnum.Emergency); |
| | | } |
| | | } |
| | | saveCount++; |
| | |
| | | BaseDal.AddData(newRecord); |
| | | if (sorter.status == "error") |
| | | { |
| | | _messageInfoService.AddMessageInfo(MessageGroupByEnum.EquipmentAlarm, sorter.sorterName, $"{sorter.sorterName}åçé误", MessageStatusEnum.Emergency); |
| | | _messageInfoService.AddMessageInfo(MessageGroupByEnum.EquipmentAlarm, "忣å°åç§°:" + sorter.sorterName, $"ç¼å·ã{sorter.sorterCode}ãåçé误", MessageStatusEnum.Emergency); |
| | | } |
| | | } |
| | | else |
| | |
| | | BaseDal.UpdateData(existingRecord); |
| | | if (sorter.status == "error") |
| | | { |
| | | _messageInfoService.AddMessageInfo(MessageGroupByEnum.EquipmentAlarm, sorter.sorterName, $"{sorter.sorterName}åçé误", MessageStatusEnum.Emergency); |
| | | _messageInfoService.AddMessageInfo(MessageGroupByEnum.EquipmentAlarm, "忣å°åç§°:" + sorter.sorterName, $"ç¼å·ã{sorter.sorterCode}ãåçé误", MessageStatusEnum.Emergency); |
| | | } |
| | | } |
| | | saveCount++; |
| | |
| | | /// å建è
|
| | | /// </summary> |
| | | [ImporterHeader(Name = "å建è
")] |
| | | [ExporterHeader(DisplayName = "å建è
")] |
| | | [ExporterHeader(DisplayName = "å建è
", IsIgnore = true)] |
| | | [SugarColumn(IsNullable = false, Length = 50, IsOnlyIgnoreUpdate = true, ColumnDescription = "å建è
")] |
| | | public string Creater { get; set; } |
| | | |
| | |
| | | /// å建æ¶é´ |
| | | /// </summary> |
| | | [ImporterHeader(Name = "å建æ¶é´")] |
| | | [ExporterHeader(DisplayName = "å建æ¶é´")] |
| | | [ExporterHeader(DisplayName = "å建æ¶é´", IsIgnore = true)] |
| | | [SugarColumn(IsNullable = false, IsOnlyIgnoreUpdate = true, ColumnDescription = "å建æ¶é´")] |
| | | public DateTime CreateDate { get; set; } = DateTime.Now; |
| | | |
| | |
| | | /// æ´æ°è
|
| | | /// </summary> |
| | | [ImporterHeader(Name = "ä¿®æ¹äºº")] |
| | | [ExporterHeader(DisplayName = "ä¿®æ¹äºº")] |
| | | [ExporterHeader(DisplayName = "ä¿®æ¹äºº", IsIgnore = true)] |
| | | [SugarColumn(IsNullable = true, Length = 50, IsOnlyIgnoreInsert = true, ColumnDescription = "ä¿®æ¹äºº")] |
| | | public string Modifier { get; set; } |
| | | |
| | |
| | | /// ä¿®æ¹æ¥æ |
| | | /// </summary> |
| | | [ImporterHeader(Name = "ä¿®æ¹æ¥æ")] |
| | | [ExporterHeader(DisplayName = "ä¿®æ¹æ¥æ")] |
| | | [ExporterHeader(DisplayName = "ä¿®æ¹æ¥æ", IsIgnore = true)] |
| | | [SugarColumn(IsNullable = true, IsOnlyIgnoreInsert = true, ColumnDescription = "ä¿®æ¹æ¥æ")] |
| | | public DateTime? ModifyDate { get; set; } |
| | | |
| | |
| | | /// ä¸»é® |
| | | /// </summary> |
| | | [ImporterHeader(Name = "主é®")] |
| | | [ExporterHeader(DisplayName = "主é®")] |
| | | [ExporterHeader(DisplayName = "主é®", IsIgnore = true)] |
| | | [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主é®")] |
| | | public int Id { get; set; } |
| | | |
| | |
| | | /// æçç¼å· |
| | | /// </summary> |
| | | [ImporterHeader(Name = "æçç¼å·")] |
| | | [ExporterHeader(DisplayName = "æçç¼å·")] |
| | | [ExporterHeader(DisplayName = "æçç¼å·", IsIgnore = true)] |
| | | [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "æçç¼å·")] |
| | | public string PalletCode { get; set; } |
| | | |
| | |
| | | /// åºæ¿ç¼å· |
| | | /// </summary> |
| | | [ImporterHeader(Name = "åºæ¿ç¼å·")] |
| | | [ExporterHeader(DisplayName = "åºæ¿ç¼å·")] |
| | | [ExporterHeader(DisplayName = "åºæ¿ç¼å·", IsIgnore = true)] |
| | | [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "åºæ¿ç¼å·")] |
| | | public string WarehouseCode { get; set; } |
| | | |
| | | /// <summary> |
| | | /// è´§ä½ç¼å· //è¦æ¯æ¯ç«åºçå°±æ¯è¦==âç«åºâ å¹³åºçå°±æ¯æç¼ç ç |
| | | /// </summary> |
| | | /// </summary> |
| | | [ImporterHeader(Name = "è´§ä½ç¼å·")] |
| | | [ExporterHeader(DisplayName = "è´§ä½ç¼å·")] |
| | | [SugarColumn(IsNullable = true, Length = 20, ColumnDescription = "è´§ä½ç¼å·")] |
| | |
| | | /// åºåç¶æ |
| | | /// </summary> |
| | | [ImporterHeader(Name = "åºåç¶æ")] |
| | | [ExporterHeader(DisplayName = "åºåç¶æ")] |
| | | [ExporterHeader(DisplayName = "åºåç¶æ", IsIgnore = true)] |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "åºåç¶æ")] |
| | | public int StockStatus { get; set; } |
| | | |
| | |
| | | /// å®é
æ»åºåæ° |
| | | /// </summary> |
| | | [ImporterHeader(Name = "å®é
åºåæ°")] |
| | | [ExporterHeader(DisplayName = "å®é
åºåæ°")] |
| | | [ExporterHeader(DisplayName = "åºåæ°")] |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "å®é
åºåæ°")] |
| | | public decimal StockQuantity { get; set; } |
| | | |
| | |
| | | /// å¾
åºåºæ° æ´ä¸ªåºåºåå ç¨ç |
| | | /// </summary> |
| | | [ImporterHeader(Name = "å¾
åºåºæ°")] |
| | | [ExporterHeader(DisplayName = "å¾
åºåºæ°")] |
| | | [ExporterHeader(DisplayName = "å¾
åºåºæ°", IsIgnore = true)] |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "åºåºæ°", DefaultValue = "0")] |
| | | public decimal OutboundQuantity { get; set; } |
| | | |
| | |
| | | /// <summary> |
| | | /// å¯ç¨åºåæ°é =å®é
åºåæ°-å¾
åºåºæ°é |
| | | /// </summary> |
| | | [ImporterHeader(Name = "å¯ç¨åºåæ°é")] |
| | | [ExporterHeader(DisplayName = "å¯ç¨åºåæ°é", IsIgnore = true)] |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "å¯ç¨åºåæ°é", DefaultValue = "0")] |
| | | public decimal AvailableQuantity { get; set; } |
| | | |
| | | /// <summary> |
| | | /// æ¥è¦ä¿¡æ¯ |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = true,Length =255, ColumnDescription = "æ¥è¦ä¿¡æ¯")] |
| | | [ImporterHeader(Name = "æ¥è¦ä¿¡æ¯")] |
| | | [ExporterHeader(DisplayName = "æ¥è¦ä¿¡æ¯", IsIgnore = true)] |
| | | [SugarColumn(IsNullable = true, Length = 255, ColumnDescription = "æ¥è¦ä¿¡æ¯")] |
| | | public string AlarmInformation { get; set; } |
| | | |
| | | |
| | |
| | | /// çç¹æ°ï¼çç¹åå®é
æ°é |
| | | /// </summary> |
| | | [ImporterHeader(Name = "çç¹æ°")] |
| | | [ExporterHeader(DisplayName = "çç¹æ°")] |
| | | [ExporterHeader(DisplayName = "çç¹æ°", IsIgnore = true)] |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "çç¹æ°", DefaultValue = "0")] |
| | | public decimal SupplyQuantity { get; set; } |
| | | |
| | |
| | | /// å
¥åºæ¶é´ |
| | | /// </summary> |
| | | [ImporterHeader(Name = "å
¥åºæ¶é´")] |
| | | [ExporterHeader(DisplayName = "å
¥åºæ¶é´")] |
| | | [ExporterHeader(DisplayName = "å
¥åºæ¶é´", IsIgnore = true)] |
| | | [SugarColumn(IsNullable = true, ColumnDescription = "å
¥åºæ¶é´")] |
| | | public DateTime? InDate { get; set; } |
| | | |
| | |
| | | /// çäº§æ¥æ |
| | | /// </summary> |
| | | [ImporterHeader(Name = "çäº§æ¥æ")] |
| | | [ExporterHeader(DisplayName = "çäº§æ¥æ")] |
| | | [ExporterHeader(DisplayName = "çäº§æ¥æ", IsIgnore = true)] |
| | | [SugarColumn(IsNullable = true, ColumnDescription = "çäº§æ¥æ")] |
| | | public string ProductionDate { get; set; } |
| | | |
| | |
| | | /// ä¿è´¨æ |
| | | /// </summary> |
| | | [ImporterHeader(Name = "ä¿è´¨æ")] |
| | | [ExporterHeader(DisplayName = "ä¿è´¨æ")] |
| | | [ExporterHeader(DisplayName = "ä¿è´¨æ", IsIgnore = true)] |
| | | [SugarColumn(IsNullable = false, ColumnDescription = "ä¿è´¨æ")] |
| | | public int ShelfLife { get; set; } |
| | | |
| | |
| | | /// 夿³¨ |
| | | /// </summary> |
| | | [ImporterHeader(Name = "夿³¨")] |
| | | [ExporterHeader(DisplayName = "夿³¨")] |
| | | [ExporterHeader(DisplayName = "åºæ¿")] |
| | | [SugarColumn(IsNullable = true, ColumnDescription = "夿³¨")] |
| | | public string Remark { get; set; } |
| | | } |
| | |
| | | /// ä»»å¡ä¿¡æ¯ |
| | | /// </summary> |
| | | [SugarTable(nameof(Dt_SupplyTask), "çç¹ä»»å¡ä¿¡æ¯"), SugarIndex("unique_task_taskNum", nameof(TaskNum), OrderByType.Asc, true)] |
| | | public class Dt_SupplyTask : BaseEntity |
| | | public class Dt_SupplyTask : BaseEntity |
| | | |
| | | { |
| | | /// <summary> |
| | |
| | | /// ä»»å¡ä¸åæ¶é´ |
| | | /// </summary> |
| | | [ImporterHeader(Name = "ä»»å¡ä¸åæ¶é´")] |
| | | [ExporterHeader(DisplayName = "å建æ¶é´")] |
| | | [ExporterHeader(DisplayName = "ä»»å¡ä¸åæ¶é´", IsIgnore = true)] |
| | | [SugarColumn(IsNullable = true, ColumnDescription = "ä»»å¡ä¸åæ¶é´")] |
| | | public DateTime? Dispatchertime { get; set; } |
| | | |
| | |
| | | /// 夿³¨ |
| | | /// </summary> |
| | | [ImporterHeader(Name = "夿³¨")] |
| | | [ExporterHeader(DisplayName = "夿³¨")] |
| | | [ExporterHeader(DisplayName = "ç±»å")] |
| | | [SugarColumn(IsNullable = true, Length = 255, ColumnDescription = "夿³¨")] |
| | | public string Remark { get; set; } |
| | | } |
| | |
| | | [SugarTable(nameof(Dt_SupplyTask_Hty), "ä»»å¡ä¿¡æ¯åå²")] |
| | | public class Dt_SupplyTask_Hty : Dt_SupplyTask, IBaseHistoryEntity |
| | | { |
| | | [ImporterHeader(Name = "ä»»å¡å·")] |
| | | [ExporterHeader(DisplayName = "ä»»å¡å·", IsIgnore = true)] |
| | | public new int TaskNum { get; set; } |
| | | /// <summary> |
| | | /// åè¡¨ä¸»é® |
| | |
| | | /// æä½ç±»å |
| | | /// </summary> |
| | | [ImporterHeader(Name = "æä½ç±»å")] |
| | | [ExporterHeader(DisplayName = "æä½ç±»å")] |
| | | [ExporterHeader(DisplayName = "æä½ç±»å", IsIgnore = true)] |
| | | [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "æä½ç±»å")] |
| | | public string OperateType { get; set; } |
| | | |
| | |
| | | if (response == null || response.resultCode != "0" || requestData == null) |
| | | { |
| | | // è°ç¨å¼å¸¸æ¥å£ |
| | | SendErrorToUpstream(1, "", response.resultMsg ?? "䏿¸¸æ¥å£è¿å失败", ""); |
| | | //SendErrorToUpstream(1, "", response.resultMsg ?? "䏿¸¸æ¥å£è¿å失败", ""); |
| | | return responseContent.Error(response.resultMsg ?? "䏿¸¸æ¥å£è¿å失败"); |
| | | } |
| | | |
| | |
| | | { |
| | | _unitOfWorkManage.RollbackTran(); |
| | | _messageInfoService.AddMessageInfo(messageGroupBy, name, ex.Message, messageStatus); |
| | | SendErrorToUpstream(1, "", ex.Message, ""); |
| | | //SendErrorToUpstream(1, "", ex.Message, ""); |
| | | //return responseContent.Error("åæ¥å¤±è´¥: " + ex.Message); |
| | | } |
| | | }; |
| | |
| | | catch (Exception ex) |
| | | { |
| | | // å
¨å±å¼å¸¸æ¶ï¼ä¹æ¨éå¼å¸¸ç»ä¸æ¸¸ |
| | | SendErrorToUpstream(1, "", ex.Message, ""); |
| | | //SendErrorToUpstream(1, "", ex.Message, ""); |
| | | return responseContent.Error("åæ¥å¤±è´¥: " + ex.Message); |
| | | } |
| | | } |
| | |
| | | |
| | | if (response.resultCode != "0") |
| | | { |
| | | SendErrorToUpstream(3, "", response.resultMsg ?? "䏿¸¸æ¥å£è¿å失败", ""); |
| | | //SendErrorToUpstream(3, "", response.resultMsg ?? "䏿¸¸æ¥å£è¿å失败", ""); |
| | | return responseContent.Error(response.resultMsg ?? "䏿¸¸æ¥å£è¿å失败"); |
| | | } |
| | | |
| | |
| | | { |
| | | _unitOfWorkManage.RollbackTran(); |
| | | _messageInfoService.AddMessageInfo(messageGroupBy, name, ex.Message, messageStatus); |
| | | SendErrorToUpstream(3, "", ex.Message, ""); |
| | | //SendErrorToUpstream(3, "", ex.Message, ""); |
| | | //return responseContent.Error("åæ¥å¤±è´¥: " + ex.Message); |
| | | } |
| | | } |
| | |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | SendErrorToUpstream(3, "", ex.Message, ""); |
| | | //SendErrorToUpstream(3, "", ex.Message, ""); |
| | | return responseContent.Error("åæ¥å¤±è´¥: " + ex.Message); |
| | | } |
| | | } |
| | |
| | | } |
| | | else |
| | | { |
| | | SendErrorToUpstream(3, order.Order_no, resp?.msg ?? "WCS æ¨é失败", ""); |
| | | //SendErrorToUpstream(3, order.Order_no, resp?.msg ?? "WCS æ¨é失败", ""); |
| | | Console.WriteLine($"订å {order.Order_no} æ¨é失败ï¼{resp?.msg}"); |
| | | return new WebResponseContent { Status = false, Message = "è®¢åæ¨é失败" }; |
| | | } |
| | |
| | | } |
| | | else |
| | | { |
| | | SendErrorToUpstream(3, order.Out_no, resp?.msg ?? "WCS æ¨é失败", ""); |
| | | //SendErrorToUpstream(3, order.Out_no, resp?.msg ?? "WCS æ¨é失败", ""); |
| | | Console.WriteLine($"订å {order.Out_no} æ¨é失败ï¼{resp?.msg}"); |
| | | } |
| | | //å é¤å
¨é¨ç¶ä¸ºå·²å®æçæç»å表头ï¼ç§»å
¥åå²è¡¨ |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | SendErrorToUpstream(3, order.Out_no, ex.Message, ""); |
| | | //SendErrorToUpstream(3, order.Out_no, ex.Message, ""); |
| | | Console.WriteLine($"订å {order.Out_no} æ¨éå¼å¸¸ï¼{ex.Message}"); |
| | | } |
| | | } |
| | |
| | | foreach (var inorder in inorders) |
| | | { |
| | | var Orders = _cabinOrderServices.Db.Queryable<Dt_CabinOrder>().Where(x => x.Order_no == inorder).Includes(x => x.Details).ToList(); |
| | | |
| | | |
| | | if (!Orders.Where(x => x.OdrderStatus != "已宿").Any()) |
| | | { |
| | | if (Orders.FirstOrDefault().Order_type == InOrderTypeEnum.Allocat.ObjToInt().ToString()) |
| | |
| | | } |
| | | else |
| | | { |
| | | string mess = "䏿¥ERPæ ååº"; |
| | | if (response != null) mess = response.resultMsg; |
| | | _messageInfoService.AddMessageInfo(MessageGroupByEnum.InOrderAlarm, $"å
¥åºåå·ã{inorder}ã宿䏿¥ERP失败", mess); |
| | | //_unitOfWorkManage.RollbackTran(); |
| | | SendErrorToUpstream(2, "", $"䏿¸¸æ¥å£è¿å失败: {response.resultMsg}", inorder); |
| | | //SendErrorToUpstream(2, "", $"䏿¸¸æ¥å£è¿å失败: {response.resultMsg}", inorder); |
| | | continue; |
| | | } |
| | | } |
| | | |
| | | |
| | | } |
| | | } |
| | | #endregion |
| | |
| | | }; |
| | | var result = HttpHelper.Post(url, requestDate.ToJsonString()); |
| | | var response = JsonConvert.DeserializeObject<UpstreamOrderResponse>(result); |
| | | if (response.resultCode == "0") |
| | | if (response != null && response.resultCode == "0") |
| | | { |
| | | foreach (var item in Orders) |
| | | { |
| | |
| | | } |
| | | else |
| | | { |
| | | string mess = "䏿¥ERPæ ååº"; |
| | | if (response != null) mess = response.resultMsg; |
| | | _messageInfoService.AddMessageInfo(MessageGroupByEnum.OutOrderAlarm, $"åºåºåå·ã{outorder}ã宿䏿¥ERP失败", mess); |
| | | //_unitOfWorkManage.RollbackTran(); |
| | | SendErrorToUpstream(4, "", $"䏿¸¸æ¥å£è¿å失败: {response.resultMsg}", outorder); |
| | | //SendErrorToUpstream(4, "", $"䏿¸¸æ¥å£è¿å失败: {response.resultMsg}", outorder); |
| | | continue; |
| | | } |
| | | } |
| | |
| | | Creater = App.User.UserName, |
| | | CreateDate = DateTime.Now, |
| | | }; |
| | | switch (inventoryInfo.WarehouseCode) |
| | | { |
| | | case "001": |
| | | inventoryInfo.Remark = "æºè½ç«åº"; |
| | | break; |
| | | case "002": |
| | | inventoryInfo.Remark = "大件åº"; |
| | | break; |
| | | case "003": |
| | | inventoryInfo.Remark = "麻精åº"; |
| | | break; |
| | | case "010": |
| | | inventoryInfo.Remark = "å·å»åº"; |
| | | break; |
| | | } |
| | | _inventoryInfoService.AddData(inventoryInfo); |
| | | } |
| | | #endregion |
| | |
| | | if (response.resultCode!="0") |
| | | { |
| | | // è°ç¨å¼å¸¸æ¥å£ |
| | | SendErrorToUpstream(7, "", response.resultMsg ?? "䏿¸¸æ¥å£è¿å失败", ""); |
| | | //SendErrorToUpstream(7, "", response.resultMsg ?? "䏿¸¸æ¥å£è¿å失败", ""); |
| | | return responseContent.Error(response.resultMsg ?? "䏿¸¸æ¥å£è¿å失败"); |
| | | } |
| | | if (response.data == null || !response.data.Any()) |
| | |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | SendErrorToUpstream(7, "", ex.Message, ""); |
| | | //SendErrorToUpstream(7, "", ex.Message, ""); |
| | | return responseContent.Error(ex.Message); |
| | | } |
| | | } |
| | |
| | | BaseDal.Db.InsertNav(entityOrderLK).Include(x => x.Details).ExecuteCommand(); |
| | | #endregion |
| | | } |
| | | webResponseContent.OK(); |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | |
| | | |
| | | if (response.resultCode != "0") |
| | | { |
| | | SendErrorToUpstream(8, "", response.resultMsg ?? "䏿¸¸æ¥å£è¿å失败", ""); |
| | | //SendErrorToUpstream(8, "", response.resultMsg ?? "䏿¸¸æ¥å£è¿å失败", ""); |
| | | return responseContent.Error(response.resultMsg ?? "䏿¸¸æ¥å£è¿å失败"); |
| | | } |
| | | |
| | |
| | | catch (Exception ex) |
| | | { |
| | | Db.Ado.RollbackTran(); |
| | | SendErrorToUpstream(8, "", ex.Message, ""); |
| | | //SendErrorToUpstream(8, "", ex.Message, ""); |
| | | return responseContent.Error("åæ¥å¤±è´¥: " + ex.Message); |
| | | } |
| | | } |
| | |
| | | ProductionDate = detail.finishDate.ToString("yyyy-MM-dd"), |
| | | ShelfLife = 0, |
| | | ValidityPeriod = cabinOrderDetail.Exp_date, |
| | | Remark = "WCSåä¼ å建" |
| | | Remark = "æºè½ç«åº" |
| | | }; |
| | | BaseDal.Db.Insertable(inventoryInfo).ExecuteCommand(); |
| | | } |
| | |
| | | } |
| | | public IRepository<Dt_MedicineGoods> Repository => BaseDal; |
| | | |
| | | static string SearchDate = ""; |
| | | static string SearchDate = "2025-10-1 20:45:16"; |
| | | |
| | | /// <summary> |
| | | /// è·åè¯ååºç¡ä¿¡æ¯åæ¥æ¥å£ |
| | |
| | | |
| | | //if (string.IsNullOrEmpty(SearchDate)) SearchDate = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"); |
| | | //请æ±åæ° |
| | | var requestData = new |
| | | { |
| | | searchDate = "2009-01-10 20:45:16" // æ£ç¡®çæ ¼å¼ |
| | | }; |
| | | //if (string.IsNullOrEmpty(SearchDate)) |
| | | //{ |
| | | // // é»è®¤æ¥è¯¢è¿å»24å°æ¶çæ°æ® |
| | | // SearchDate = DateTime.Now.AddDays(-1).ToString("yyyy-MM-dd HH:mm:ss"); |
| | | //} |
| | | // 请æ±åæ° |
| | | //var requestData = new |
| | | //{ |
| | | // searchDate = SearchDate |
| | | // searchDate = "2009-01-10 20:45:16" // æ£ç¡®çæ ¼å¼ |
| | | //}; |
| | | //SearchDate = DateTime.Now.AddDays(-1).ToString("yyyy-MM-dd HH:mm:ss"); |
| | | if (string.IsNullOrEmpty(SearchDate)) |
| | | { |
| | | // é»è®¤æ¥è¯¢è¿å»24å°æ¶çæ°æ® |
| | | SearchDate = DateTime.Now.AddDays(-1).ToString("yyyy-MM-dd HH:mm:ss"); |
| | | } |
| | | // 请æ±åæ° |
| | | var requestData = new |
| | | { |
| | | searchDate = SearchDate |
| | | }; |
| | | SearchDate = DateTime.Now.AddDays(-1).ToString("yyyy-MM-dd HH:mm:ss"); |
| | | // åèµ·è¯·æ± |
| | | var result = HttpHelper.Post(url, requestData.ToJsonString()); |
| | | |
| | |
| | | if (response.resultCode != "0") |
| | | { |
| | | // è°ç¨å¼å¸¸æ¥å£ |
| | | SendErrorToUpstream(5, "", response.resultMsg ?? "䏿¸¸æ¥å£è¿å失败", ""); |
| | | //SendErrorToUpstream(5, "", response.resultMsg ?? "䏿¸¸æ¥å£è¿å失败", ""); |
| | | return responseContent.Error(response.resultMsg ?? "䏿¸¸æ¥å£è¿å失败"); |
| | | } |
| | | if (response.data == null || !response.data.Any()) |
| | |
| | | |
| | | catch (Exception ex) |
| | | { |
| | | SendErrorToUpstream(5, "", ex.Message, ""); |
| | | //SendErrorToUpstream(5, "", ex.Message, ""); |
| | | return responseContent.Error(ex.Message); |
| | | } |
| | | } |
| | |
| | | } |
| | | else |
| | | { |
| | | SendErrorToUpstream(5, medicineDTO.materialCode, resp?.msg ?? "WCSè¯åä¿¡æ¯åæ¥å¤±è´¥", ""); |
| | | |
| | | return new WebResponseContent { Status = false, Message = "è®¢åæ¨é失败" }; |
| | | //SendErrorToUpstream(5, medicineDTO.materialCode, resp?.msg ?? "WCSè¯åä¿¡æ¯åæ¥å¤±è´¥", ""); |
| | | //return new WebResponseContent { Status = false, Message = "è®¢åæ¨é失败" }; |
| | | continue; |
| | | } |
| | | |
| | | } |
| | |
| | | if (response.resultCode!="0") |
| | | { |
| | | //è°ç¨å¼å¸¸æ¥å£ |
| | | SendErrorToUpstream(6, "", response.resultMsg ?? "䏿¸¸æ¥å£è¿å失败", ""); |
| | | //SendErrorToUpstream(6, "", response.resultMsg ?? "䏿¸¸æ¥å£è¿å失败", ""); |
| | | return responseContent.Error(response.resultMsg ?? "䏿¸¸æ¥å£è¿å失败"); |
| | | } |
| | | if (response.data == null || !response.data.Any()) |
| | |
| | | catch (Exception ex) |
| | | { |
| | | |
| | | SendErrorToUpstream(6, "", ex.Message, ""); |
| | | //SendErrorToUpstream(6, "", ex.Message, ""); |
| | | return responseContent.Error("åæ¥å¤±è´¥: " + ex.Message); |
| | | } |
| | | } |
| | |
| | | foreach (var item in dt_InventoryInfos) |
| | | { |
| | | if (materielInfo.Business_qty >= materielInfo.MinQty) break; |
| | | item.StockStatus = StockStatusEmun.åºåºéå®.ObjToInt(); |
| | | //item.StockStatus = StockStatusEmun.åºåºéå®.ObjToInt(); |
| | | while (item.StockQuantity > item.OutboundQuantity && materielInfo.Business_qty < materielInfo.MinQty) |
| | | { |
| | | Qty += materielInfo.BoxQty; |
| | |
| | | _inventoryInfoService = inventoryInfoService; |
| | | } |
| | | //æ¯é1ç§æ§è¡ä¸æ¬¡ |
| | | [Invoke(Begin = "2025-09-01", Interval = 1000 * 5, IsEnabled = true, SkipWhileExecuting = true)] |
| | | [Invoke(Begin = "2025-09-01", Interval = 1000 * 60, IsEnabled = true, SkipWhileExecuting = true)] |
| | | public void Run() |
| | | { |
| | | //å·åº |
| | |
| | | _medicineGoodsServices = medicineGoodsServices; |
| | | } |
| | | //æ¯é1ç§æ§è¡ä¸æ¬¡ |
| | | [Invoke(Begin = "2025-09-01", Interval = 1000 * 60, IsEnabled = false, SkipWhileExecuting = true)] |
| | | [Invoke(Begin = "2025-09-01", Interval = 1000 * 30, IsEnabled = true, SkipWhileExecuting = true)] |
| | | public void Run() |
| | | { |
| | | _medicineGoodsServices.GetMedicineGoodsInfom(); |
| | |
| | | _business = business; |
| | | } |
| | | //æ¯é1ç§æ§è¡ä¸æ¬¡ |
| | | [Invoke(Begin = "2025-09-01", Interval = 1000 * 10, IsEnabled =false,SkipWhileExecuting = true)] |
| | | [Invoke(Begin = "2025-09-01", Interval = 1000 * 30, IsEnabled =true,SkipWhileExecuting = true)] |
| | | public void Run() |
| | | { |
| | | //_business.GetUpstreamOrder(); |
| | | //_business.EdiIn(); |
| | | _business.GetUpstreamOrder(); |
| | | _business.EdiIn(); |
| | | _business.CompleteAllOrders(); |
| | | } |
| | | } |
| | |
| | | _business = business; |
| | | } |
| | | //æ¯é1ç§æ§è¡ä¸æ¬¡ |
| | | [Invoke(Begin = "2025-09-01", Interval = 1000 * 10, IsEnabled = false, SkipWhileExecuting = true)] |
| | | [Invoke(Begin = "2025-09-01", Interval = 1000 * 30, IsEnabled = true, SkipWhileExecuting = true)] |
| | | public void Run() |
| | | { |
| | | //è·å䏿¸¸åºåºåæ°æ® |
| | |
| | | //"ConnectionString": "Data Source=10.30.4.92;Initial Catalog=WMS_TC;User ID=sa;Password=duo123456;Integrated Security=False;Connect Timeout=30;Encrypt=False;TrustServerCertificate=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", |
| | | //æ§WMSæ°æ®åºè¿æ¥ |
| | | "ConnectionString": "Data Source=.;Initial Catalog=WIDESEA_WMSDBF_Z22;User ID=sa;Password=123456;Integrated Security=False;Connect Timeout=30;Encrypt=False;TrustServerCertificate=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", |
| | | //"ConnectionString": "Data Source=.;Initial Catalog=WIDESEA_WMSDBF_Z22;User ID=sa;Password=48PYX_h7KS@f;Integrated Security=False;Connect Timeout=30;Encrypt=False;TrustServerCertificate=False;ApplicationIntent=ReadWrite;MultiSubnetFailover=False", |
| | | //è·¨å |
| | | "Cors": { |
| | | "PolicyName": "CorsIpAccess", //çç¥åç§° |
| | |
| | | "ApiName": "WIDESEA", |
| | | "ExpMinutes": 120, |
| | | "DBSeedEnable": false, //æ¯å¦å¯ç¨æ°æ®åºç§åæ°æ®ï¼å建表 |
| | | "PDAVersion": "8", |
| | | "PDAVersion": "10", |
| | | "WebSocketPort": 9296 |
| | | } |
| | |
| | | type: "int", |
| | | span: 8 |
| | | }, |
| | | { |
| | | field: "layer", |
| | | title: "è´§ä½å±", |
| | | type: "int", |
| | | span: 8 |
| | | } |
| | | |
| | | ], |
| | | [ |
| | | { |
| | |
| | | type: "int", |
| | | span: 12 |
| | | }, |
| | | { |
| | | field: "locationType", |
| | | title: "è´§ä½ç±»å", |
| | | type: "select", |
| | | span: 12, |
| | | data: [], |
| | | dataKey: "locationTypeEnum", |
| | | // { |
| | | // field: "locationType", |
| | | // title: "è´§ä½ç±»å", |
| | | // type: "select", |
| | | // span: 12, |
| | | // data: [], |
| | | // dataKey: "locationTypeEnum", |
| | | // } |
| | | { |
| | | field: "layer", |
| | | title: "è´§ä½å±", |
| | | type: "int", |
| | | span: 8 |
| | | } |
| | | ], |
| | | [ |
| | |
| | | data: [], |
| | | } |
| | | ], |
| | | [ |
| | | { |
| | | field: "remark", |
| | | title: "夿³¨", |
| | | type: "string", |
| | | span: 24 |
| | | } |
| | | ] |
| | | // [ |
| | | // { |
| | | // field: "remark", |
| | | // title: "夿³¨", |
| | | // type: "string", |
| | | // span: 24 |
| | | // } |
| | | // ] |
| | | ]); |
| | | const searchFormFields = ref({ |
| | | // warehouseId: "", |
| | |
| | | ], |
| | | [ |
| | | { title: "å··éç¼å·", field: "roadwayNo", type: "like" }, |
| | | { title: "è´§ä½ç±»å", field: "locationType", type: "select", dataKey: "locationTypeEnum", data: [] }, |
| | | // { title: "è´§ä½ç±»å", field: "locationType", type: "select", dataKey: "locationTypeEnum", data: [] }, |
| | | { title: "è´§ä½ç¶æ", field: "locationStatus", type: "select", dataKey: "locationStatusEnum",data: []}, |
| | | |
| | | { title: "ç¦ç¨ç¶æ", field: "enableStatus", type: "select", data: [], dataKey:"status" }, |
| | | ], |
| | | [ |
| | | |
| | | { title: "ç¦ç¨ç¶æ", field: "enableStatus", type: "select", data: [], dataKey:"status" }, |
| | | { title: "è¡", field: "row", type: "int" }, |
| | | { title: "å", field: "column", type: "int" }, |
| | | { title: "å±", field: "layer", type: "int" } |
| | |
| | | width: 100, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "locationType", |
| | | title: "è´§ä½ç±»å", |
| | | type: "select", |
| | | width: 120, |
| | | align: "left", |
| | | data: [], |
| | | bind: { key: "locationTypeEnum", data: [] } |
| | | }, |
| | | // { |
| | | // field: "locationType", |
| | | // title: "è´§ä½ç±»å", |
| | | // type: "select", |
| | | // width: 120, |
| | | // align: "left", |
| | | // data: [], |
| | | // bind: { key: "locationTypeEnum", data: [] } |
| | | // }, |
| | | { |
| | | field: "locationStatus", |
| | | title: "è´§ä½ç¶æ", |
| | |
| | | data: [], |
| | | bind: { key: "status", data: [] }, |
| | | }, |
| | | { |
| | | field: "remark", |
| | | title: "夿³¨", |
| | | type: "string", |
| | | width: 150, |
| | | align: "left", |
| | | }, |
| | | // { |
| | | // field: "remark", |
| | | // title: "夿³¨", |
| | | // type: "string", |
| | | // width: 150, |
| | | // align: "left", |
| | | // }, |
| | | { |
| | | field: "creater", |
| | | title: "å建人", |
| | |
| | | const editFormOptions = ref([ |
| | | // 第ä¸è¡ï¼å
³é®ä¿¡æ¯ |
| | | [ |
| | | { |
| | | title: "ç©æç¼å·", |
| | | field: "materielCode", |
| | | type: "string", |
| | | span: 12, |
| | | required: true, |
| | | }, |
| | | // { |
| | | // title: "ç©æç¼å·", |
| | | // field: "materielCode", |
| | | // type: "string", |
| | | // span: 12, |
| | | // required: true, |
| | | // }, |
| | | { |
| | | title: "ç©æåç§°", |
| | | field: "materielName", |
| | |
| | | width: 120, |
| | | align: "left", |
| | | bind: { key: "warehouseNuber", data: [] }, |
| | | edit:{type:'select',dataKey:'warehouseNuber',data:[]}, |
| | | edit:{type:""} |
| | | // edit:{type:'select',dataKey:'warehouseNuber',data:[]}, |
| | | // edit:{type:""} |
| | | }, |
| | | { |
| | | field: "goods_no", |
| | |
| | | width: 150, |
| | | align: "left", |
| | | required: true, |
| | | edit:{type:""}, |
| | | // edit:{type:""}, |
| | | bind: { key: "MaterielNames", data: [] }, |
| | | }, |
| | | { |
| | |
| | | align: "left", |
| | | bind: { key: "medicineGoods", data: [] }, |
| | | required: true, |
| | | edit:{type:""} |
| | | // edit:{type:""} |
| | | |
| | | }, |
| | | { |
| | |
| | | width: 120, |
| | | align: "left", |
| | | required: true, |
| | | edit:{type:"number"} |
| | | // edit:{type:"number"} |
| | | |
| | | }, |
| | | { |
| | |
| | | type: "decimal", |
| | | width: 120, |
| | | align: "left", |
| | | edit:{type:"number"} |
| | | // edit:{type:"number"} |
| | | |
| | | }, |
| | | { |
| | |
| | | width: 120, |
| | | align: "left", |
| | | required: true, |
| | | edit:{type:""} |
| | | // edit:{type:""} |
| | | |
| | | }, |
| | | { |
| | |
| | | type: "string", |
| | | width: 120, |
| | | align: "left", |
| | | edit:{type:""} |
| | | // edit:{type:""} |
| | | |
| | | }, |
| | | { |
| | |
| | | width: 120, |
| | | align: "left", |
| | | // bind: { key: "orderDetailStatus", data: [] }, |
| | | edit:{type:""} |
| | | // edit:{type:""} |
| | | |
| | | }, |
| | | { |
| | |
| | | width: 120, |
| | | align: "left", |
| | | bind: { key: "syncStatus", data: [] }, |
| | | edit:{type:'select',dataKey:'syncStatus',data:[]} |
| | | // edit:{type:'select',dataKey:'syncStatus',data:[]} |
| | | }, |
| | | { |
| | | field: "creater", |
| | |
| | | width: 120, |
| | | align: 'left', |
| | | bind: { key: "warehouseNuber", data: [] }, |
| | | edit:{type:""} |
| | | // edit:{type:""} |
| | | |
| | | }, |
| | | { |
| | |
| | | width: 150, |
| | | align: "left", |
| | | required: true, |
| | | edit:{type:""}, |
| | | // edit:{type:""}, |
| | | bind: { key: "MaterielNames", data: [] }, |
| | | }, |
| | | { |
| | |
| | | require: true, |
| | | align: 'left', |
| | | bind: { key: "medicineGoods", data: [] }, |
| | | edit:{type:""} |
| | | // edit:{type:""} |
| | | }, |
| | | { |
| | | field: 'order_qty', |
| | |
| | | width: 100, |
| | | require: true, |
| | | align: 'left', |
| | | edit:{type:"number"} |
| | | // edit:{type:"number"} |
| | | }, |
| | | { |
| | | field: 'order_Outqty', |
| | |
| | | width: 100, |
| | | require: true, |
| | | align: 'left', |
| | | edit:{type:"number"} |
| | | // edit:{type:"number"} |
| | | }, |
| | | { |
| | | field: 'batch_num', |
| | |
| | | width: 120, |
| | | require: true, |
| | | align: 'left', |
| | | edit:{type:""} |
| | | // edit:{type:""} |
| | | }, |
| | | { |
| | | field: 'exp_date', |
| | |
| | | type: 'string', |
| | | width: 120, |
| | | align: 'left', |
| | | edit:{type:""} |
| | | // edit:{type:""} |
| | | }, |
| | | { |
| | | field: 'ootDetailStatus', |
| | |
| | | type: 'string', |
| | | width: 120, |
| | | align: 'left', |
| | | edit:{type:""} |
| | | // edit:{type:""} |
| | | }, |
| | | { |
| | | field: 'status', |
| | |
| | | width: 120, |
| | | align: 'left', |
| | | bind: { key: "syncStatus", data: [] }, |
| | | edit:{type:'select',dataKey:'syncStatus',data:[]} |
| | | // edit:{type:'select',dataKey:'syncStatus',data:[]} |
| | | }, |
| | | { |
| | | field: 'creater', |
| | |
| | | field: "palletCode", |
| | | title: "æçç¼å·", |
| | | type: "string", |
| | | hidden: true, |
| | | width: 90, |
| | | align: "left", |
| | | }, |
| | |
| | | field: "productionDate", |
| | | title: "çäº§æ¥æ", |
| | | type: "date", |
| | | hidden: true, |
| | | width: 120, |
| | | align: "left", |
| | | }, |
| | | { |
| | | field: "shelfLife", |
| | | title: "ä¿è´¨æå¤©æ°", |
| | | hidden: true, |
| | | type: "number", |
| | | width: 120, |
| | | align: "left", |
| | |
| | | field: "alarmInformation", |
| | | title: "æ¥è¦ä¿¡æ¯", |
| | | type: "string", |
| | | hidden: true, |
| | | width: 120, |
| | | align: "left", |
| | | }, |
| | |
| | | field: "taskNum", |
| | | title: "ä»»å¡å·", |
| | | type: "int", |
| | | hidden: true, |
| | | width: 120, |
| | | align: "left", |
| | | }, |
| | |
| | | title: "æçç¼å·", |
| | | type: "string", |
| | | width: 120, |
| | | hidden: true, |
| | | align: "left", |
| | | }, |
| | | { |
| | |
| | | field: "dispatchertime", |
| | | title: "ä»»å¡ä¸åæ¶é´", |
| | | type: "datetime", |
| | | hidden: true, |
| | | width: 160, |
| | | align: "left", |
| | | }, |
| | |
| | | title: "å建人", |
| | | type: "string", |
| | | width: 90, |
| | | hidden: true, |
| | | align: "left", |
| | | }, |
| | | { |
| | |
| | | title: "å建æ¶é´", |
| | | type: "datetime", |
| | | width: 160, |
| | | hidden: true, |
| | | align: "left", |
| | | }, |
| | | { |