代码管理/NEWCode/WIDESEAWCS_PDA/pages/叫料/正极叫料.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
代码管理/NEWCode/WIDESEAWCS_PDA/pages/叫料/负极叫料.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
代码管理/NEWCode/WIDESEAWCS_PDA/pages/叫料/输送线回流.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
代码管理/NEWCode/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/TaskCZService.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
代码管理/NEWCode/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob/CommonConveyorLineJob.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
´úÂë¹ÜÀí/NEWCode/WIDESEAWCS_PDA/pages/½ÐÁÏ/Õý¼«½ÐÁÏ.vue
@@ -179,12 +179,12 @@ this.$refs.popup.close(); // this.submit(); } else { this.$t.message.toast(res.msg); this.$t.message.toast(res.message); } }); // this.submit(); } else { this.$t.message.toast(res.msg); this.$t.message.toast(res.message); } }).catch((err) => { this.$t.message.toast(err.message); ´úÂë¹ÜÀí/NEWCode/WIDESEAWCS_PDA/pages/½ÐÁÏ/¸º¼«½ÐÁÏ.vue
@@ -199,12 +199,12 @@ this.$refs.popup.close(); // this.submit(); } else { this.$t.message.toast(res.msg); this.$t.message.toast(res.message); } }); // this.submit(); } else { this.$t.message.toast(res.msg); this.$t.message.toast(res.message); } }).catch((err) => { this.$t.message.toast(err.message); ´úÂë¹ÜÀí/NEWCode/WIDESEAWCS_PDA/pages/½ÐÁÏ/ÊäËÍÏß»ØÁ÷.vue
@@ -3,17 +3,25 @@ <uni-segmented-control :current="current" :values="items" @clickItem="onClickItem"> </uni-segmented-control> <view class="content"> <view v-if="current === 0" class="headerstyle"> <view v-if="current === 0" class="headerstyle"> <view class="itemstyle"> <uni-forms label-width="120"> <uni-forms-item label="èµ·ç¹å°å"> <!-- <uni-easyinput type="text" :focus="!addressFocus" v-model="sourceAddress" placeholder="请æ«çèµ·ç¹å°å" ref='midInput' @input="inputChangebarcode" /> --> <uni-data-select v-model="value" :localdata="rangs"></uni-data-select> <uni-data-select v-model="value" :localdata="rangs"></uni-data-select> </uni-forms-item> <uni-forms-item label="ç»ç¹å°å"> <uni-easyinput type="text" :focus="!addressFocus" v-model="targetAddress" placeholder="è¯·æ«æç»ç¹å°å" ref='midInput' @input="inputChangebarcode" /> </uni-forms-item> <uni-forms-item label="ç¬¬ä¸æçæ¡ç "> <uni-easyinput type="text" :focus="!addressFocus" v-model="pallcode" placeholder="è¯·æ«ææçæ¡ç " ref='midInput' @input="inputChangebarcode" /> </uni-forms-item> <uni-forms-item label="ç¬¬äºæçæ¡ç "> <uni-easyinput type="text" :focus="!addressFocus" v-model="pallcode1" placeholder="è¯·æ«ææçæ¡ç " ref='midInput' @input="inputChangebarcode" /> </uni-forms-item> <uni-forms-item> <button @click="inbound" type="primary" size="default" @@ -31,7 +39,7 @@ const innerAudioContext = uni.createInnerAudioContext(); export default { data() { return { return { items: ['è¾é线æ¬è¿'], current: 0, matTotal: [], @@ -46,6 +54,9 @@ addressFocus: false, targetAddress: "", sourceAddress: "", pallcode: "", pallcode1: "", Exception: "", address: "", check: true, value: "", @@ -124,27 +135,48 @@ }) }, inbound() { // æåè¾å ¥æ¡çå¼ const sourceAddress = this.value; const targetAddress = this.targetAddress; // æåå·¥åç¼å· const pallcode =this.pallcode; // æååå· const pallcode1 = this.pallcode1; if (sourceAddress == "") { this.$t.message.toast('è¯·éæ©èµ·ç¹ä½ç½®'); return; } if (targetAddress == "") { this.$t.message.toast('请æ«çç»ç¹ä½ç½®'); return; } if (pallcode == "") { this.$t.message.toast('è¯·æ«æç¬¬ä¸æçæ¡ç '); return; } if (pallcode1 == "") { this.$t.message.toast('è¯·æ«æç¬¬äºæçæ¡ç '); return; } var postData = { MainData: { "sourceAddress": this.value, "targetAddress": this.targetAddress, "Exception": this.pallcode + "," + this.pallcode1 } } // console.log(Exception); this.$u.post('/api/PDA/EmptyTask', postData).then(res => { if (res.code == 200) { uni.$showMsg("任塿·»å æå"); this.sourceAddress = ""; this.targetAddress = ""; setTimeout(() => { // this.materialtype = false; }, 200); } else { this.$refs.uToast.show({ title: res.message, type: "error" }) } this.$t.message.closeLoading(); console.log(postData); if (res.code == 200) { this.$t.message.toast('å¼å«æå'); this.$refs.popup.close(); // this.submit(); } else { this.$t.message.toast(res.message); } }).catch(err => { this.$refs.uToast.show({ title: err.message, ´úÂë¹ÜÀí/NEWCode/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/TaskCZService.cs
@@ -88,7 +88,7 @@ WebResponseContent response = new WebResponseContent(); try { var czTask = BaseDal.QueryFirst(x => x.TaskTaskID == dto.TaskId); var czTask = BaseDal.QueryFirst(x => x.TaskTaskID == dto.TaskId && x.TaskStatus == TaskInStatusEnum.InNew.ToString()); if (czTask == null) { response.Error("ä»»å¡ä¸åå¨ï¼"); @@ -162,7 +162,7 @@ { string Saddress = saveModel.MainData["sourceAddress"].ToString(); string Taddress = saveModel.MainData["targetAddress"].ToString(); string Exception = saveModel.MainData["Exception"].ToString(); Dt_Task task = _taskRepository.QueryFirst(x => x.SourceAddress == Saddress && x.TaskState == (int)TaskInStatusEnum.InPending && x.TargetAddress == "WaitBind"); if (task == null) { @@ -170,6 +170,7 @@ return Task.FromResult(webResponseContent); } task.TargetAddress = Taddress; task.ExceptionMessage = Exception; task.TaskState = (int)TaskInStatusEnum.InNew; var isTrue = _taskRepository.UpdateData(task); if (isTrue) ´úÂë¹ÜÀí/NEWCode/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob/CommonConveyorLineJob.cs
@@ -66,8 +66,8 @@ // å®ä¹çº¿ä½å®çå ¥åºè¯·æ±çå°ååä»»å¡ç±»å var requests = new Dictionary<string, string> { { "DB1002.1093.0", "ZJXL-WLX002" }, { "DB1002.1493.0", "FJXL-WLX002" } { "DB1002.693.0", "ZJXL-WLX002" }, { "DB1002.1093.0", "FJXL-WLX002" } }; // å®ä¹çº¿ä½ç©ºçåæµè¯·æ±çå°ååä»»å¡ç±»å @@ -121,7 +121,7 @@ } // æ¥è¯¢ä»»å¡ç±»å对åºçczTask DtCZTask czTask = _taskCZRepository.QueryFirst(x => x.TaskType == taskType); DtCZTask czTask = _taskCZRepository.QueryFirst(x => x.TaskType == taskType && x.TaskStatus == TaskInStatusEnum.InFinish.ToString()); if (czTask == null) { ConsoleHelper.WriteInfoLine($"{nameof(CommonConveyorLineJob)}: {taskType}{requestType},{taskType}ä»»å¡ä¸åå¨ï¼ç¨åéè¯......");