yyb
2025-10-21 4299dc4a3f0a0ac25ee9ea28eeda3bd94a40abfc
pages/wareHouse/moveWareHouse/index.vue
@@ -45,7 +45,7 @@
            :index="index"
          >
            <view class="content-header">
              <view class="content-header-title">{{ index + 1 }}</view>
              <view class="content-header-title">{{ hasScanSnList.length - index }}</view>
            </view>
            <view class="content-body">
              <view class="row-list">
@@ -191,14 +191,14 @@
        let codeInfo = JSON.parse(data.code);
        // 扫描报工单二维码
        // 判断扫描的是库位码还是流转码
        if (codeInfo.LN) {
        if (codeInfo.CT) {
          that.saveForm(codeInfo);
        } else {
          if (!that.registerInfo.toLocationNo) {
            that.$u.toast("请先扫描库位");
            return; 
          }
          that.hasScanSnList = [];
          // that.hasScanSnList = [];
          that.codeInfoId = codeInfo.id;
          that.saveModalForm(codeInfo);
          //   that.getHandelList();
@@ -236,7 +236,7 @@
        })
        .then((res) => {
          console.log("移库记录", res);
          this.hasScanSnList.push(res.data);
          this.hasScanSnList.unshift(res.data);
          console.log("移库记录", this.hasScanSnList);
          this.$u.toast("移库成功");
        });
@@ -251,7 +251,7 @@
    saveModalForm(val) {
      this.$u.api.shiftingParking
        .selPartInfoPDA({
          outBatchNo: val.outBatchNo,
          outBatchNo: val.BN,
        })
        .then((res) => {
          this.detailedList = res.data;