schangxiang@126.com
2025-09-17 c0e20b1b0f1298cdc0af0037d60e74d51e364501
LA24030_LuLiPackageLine_Pda/pages/artificial/artificial.vue
@@ -93,6 +93,13 @@
                  </text>
                </u-col>
              </u-row>
           <u-row>
             <u-col span="12">
               <text class="color_80 padding_left25rpx">
                 <text class="color_80"> 次序:{{ item.shelf }} </text>
               </text>
             </u-col>
           </u-row>
              <u-row>
                <u-col span="12">
                  <text class="color_80 padding_left25rpx">
@@ -129,13 +136,13 @@
                  </text>
                </u-col>
              </u-row>
              <u-row>
                <u-col span="12">
                  <text class="color_80 padding_left25rpx">
                    <text class="color_80"> 次序:{{ item.shelf }} </text>
                  </text>
                </u-col>
              </u-row>
            <u-row>
                        <u-col span="12">
                          <text class="color_80 padding_left25rpx">
                            标记:{{ getUpiFlagEnumName(item.upiFlag) }}
                          </text>
                        </u-col>
                      </u-row>
              <u-row>
                <u-col span="12">
                  <text class="color_80 padding_left25rpx">
@@ -301,7 +308,7 @@
import ButtonModal from "../../components/buttonModal.vue";
import ModalCode from "../../components/ModalCode.vue";
import {
  getBhbMaterialList,
  querySingleUpiByUpi,
  getenumDataList,
} from "../../api/putIn/artificial.js";
export default {
@@ -336,6 +343,7 @@
      kwbhAllowed: false,
      enumList: [],
      areaCodeEnum: [],
     upiFlagEnum: [],
    };
  },
  components: {
@@ -353,6 +361,11 @@
    }).then((res) => {
      this.areaCodeEnum = res.result || [];
    });
      getenumDataList({
        EnumName: "UpiFlagEnum",
      }).then((res) => {
        this.upiFlagEnum = res.result || [];
      });
  },
  onLoad() {
    this.operator = JSON.parse(uni.getStorageSync("userInfo")).name;
@@ -368,6 +381,10 @@
      const name = this.areaCodeEnum.find((item) => item.value === value);
      return name ? name.name : "";
    },
     getUpiFlagEnumName(value) {
        const name = this.upiFlagEnum.find((item) => item.value === value);
        return name ? name.name : "";
      },
    // 如果打开一个的时候,不需要关闭其他,则无需实现本方法
    open(index) {
      // 先将正在被操作的swipeAction标记为打开状态,否则由于props的特性限制,
@@ -391,7 +408,7 @@
      this.singlist = [];
    },
    //获取容器的信息
    //获取
    getContainerData(param) {
      if (!this.warehouse.upi) {
        uni.showToast({
@@ -401,7 +418,7 @@
        });
        return;
      }
      getBhbMaterialList({
      querySingleUpiByUpi({
        packageCode: this.warehouse.packageCode,
        upi: this.warehouse.upi,
      }).then((res) => {