From f0088fd96c74f68ba912593710dd9271bcee581d Mon Sep 17 00:00:00 2001 From: schangxiang@126.com <schangxiang@126.com> Date: 周一, 23 12月 2024 10:12:32 +0800 Subject: [PATCH] NG处理,pda上增加一键 清理 板件队列(从 269 到bz01的队列数据) --- LA24030_LuLiPackageLine_Pda/pages/takeMaterial/orderpiece/exceptionHandle.vue | 28 ++++++++++++++++++++++++++++ 1 files changed, 28 insertions(+), 0 deletions(-) diff --git a/LA24030_LuLiPackageLine_Pda/pages/takeMaterial/orderpiece/exceptionHandle.vue b/LA24030_LuLiPackageLine_Pda/pages/takeMaterial/orderpiece/exceptionHandle.vue index 8eb98f2..b95c484 100644 --- a/LA24030_LuLiPackageLine_Pda/pages/takeMaterial/orderpiece/exceptionHandle.vue +++ b/LA24030_LuLiPackageLine_Pda/pages/takeMaterial/orderpiece/exceptionHandle.vue @@ -44,6 +44,12 @@ <button class=" bg-grey" @click="do_PartClear">269浣嶇疆娓呴櫎鎵爜淇℃伅</button> </u-form-item> </u-col> + <u-col span="12"> + + <u-form-item label="" class="uFormItem"> + <button class=" bg-grey" @click="do_OneKeyClearUpiQueue">涓�閿竻闄�269浣嶇疆鍒癇Z01鐨勬澘浠堕槦鍒�</button> + </u-form-item> + </u-col> </u-row> </u-form> </div> @@ -56,6 +62,7 @@ import { WmsOperationTaskSetNG, PartClear, + OneKeyClearUpiQueue, querySingleUpiByUpi, getenumDataList, } from "@/api/putIn/artificial.js"; @@ -177,6 +184,27 @@ this.detailshow = true; }, + do_OneKeyClearUpiQueue() { + const params = { + }; + uni.showModal({ + title: "涓�閿竻闄�269浣嶇疆鍒癇Z01鐨勬澘浠堕槦鍒�", + content: "鏄惁纭 涓�閿竻闄�269浣嶇疆鍒癇Z01鐨勬澘浠堕槦鍒楋紵", + showCancel: true, + cancelColor: "#333333", + success: (res) => { + if (res.confirm) { + OneKeyClearUpiQueue(params).then((res) => { + this.rescode = 200; + this.$refs.resmodal.show = true; + this.resmessage = "涓�閿竻闄�269浣嶇疆鍒癇Z01鐨勬澘浠堕槦鍒楁垚鍔�"; + }); + } else if (res.cancel) { + } + }, + }); + + }, //纭 do_PartClear() { const params = { -- Gitblit v1.9.3