1
huanghongfeng
2025-03-07 f1f29f5329102870476653fa6c6ca42b80226078
ÏîÄ¿´úÂë/WMS/WIDESEA_WMSClient/src/views/stock/dt_CheckMessage.vue
@@ -48,8 +48,8 @@
  <div style="width: 40%; position: fixed; left: 40%; bottom: 2%">
    <!-- è¾“入框,绑定 barocde,清除时触发 clearmessage -->
    <el-input id="inputId" ref="inputId" placeholder="托盘到位后,请点击后使用扫码枪扫取" v-model="barocde" clearable focus="true"
      @input="handleInput" style="width: 80%;height: 80px;font-size: 28px;">
    <el-input id="inputId" ref="inputId" placeholder="托盘到位后,请扫描检修" v-model="barocde" clearable focus="true"
      @input="handleInput" style="width: 50%;height: 80px;font-size: 28px;">
    </el-input>
    <!-- æ¸…空按钮,点击时清空 barocde å†…容并触发焦点 -->
    <el-button type="primary" @click="clearBarcode"
@@ -57,8 +57,8 @@
      æ¸…空托盘码
    </el-button>
    <el-button type="primary" @click="clearBarcode"
      style="font-size: 30px;margin-left: 20px; padding: 12px 24px; height: 100px;" v-on:click="startRepair()">
    <el-button type="success"
      style="font-size: 30px;margin-left: 20px; padding: 12px 24px; height: 100px;" v-on:click="queryDa2()">
      æœªæ£€å›žåº“
    </el-button>
  </div>
@@ -152,6 +152,22 @@
            console.error(err);  // æ•获错误
          });
    },
    queryDa2(){
      this.http
        .get("/api/Dt_Repair/UpdateBarcoendwj?barocde=" + this.barocde)
          .then((res) => {
            if (res.status) {
              this.$message({ message: "未检回库成功!", type: "success" });
              this.handleInput();
            } else {
              this.$message.error("未检回库失败!");
            }
          })
          .catch((err) => {
            console.error(err);  // æ•获错误
          });
    },
    startRepair(){
      this.http
          .get("/api/Dt_Repair/UpdateBarcode?barocde=" + this.barocde)