schangxiang@126.com
2024-12-23 f0088fd96c74f68ba912593710dd9271bcee581d
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位置到BZ01的板件队列</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位置到BZ01的板件队列",
        content: "是否确认 一键清除269位置到BZ01的板件队列?",
        showCancel: true,
        cancelColor: "#333333",
        success: (res) => {
          if (res.confirm) {
            OneKeyClearUpiQueue(params).then((res) => {
              this.rescode = 200;
              this.$refs.resmodal.show = true;
              this.resmessage = "一键清除269位置到BZ01的板件队列成功";
            });
          } else if (res.cancel) {
          }
        },
      });
    },
    //确认
    do_PartClear() {
      const params = {