pda
liuying
2024-12-11 9d1e44b4d1458822a8bc20a71efc231ead070cbc
pda
已修改3个文件
56 ■■■■ 文件已修改
LA24030_LuLiPackageLine_Pda/pages/artificial/artificial.vue 17 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
LA24030_LuLiPackageLine_Pda/pages/takeMaterial/orderpiece/orderpiece.vue 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
LA24030_LuLiPackageLine_Pda/pages/untie/untie.vue 25 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
LA24030_LuLiPackageLine_Pda/pages/artificial/artificial.vue
@@ -73,7 +73,6 @@
              :class="item.checked ? 'bg_item' : ''"
              class="fontSize32rpx width margin_auto background_fff padding10 relative box_sizing transition"
            >
              <!-- 部件名称 upi、材料、尺寸,位置、板件状态 -->
              <u-row>
                <u-col span="12" class="flex align-center">
                  <!-- <u-checkbox v-model="item.checked" size="50rpx"></u-checkbox> -->
@@ -104,7 +103,7 @@
              <u-row>
                <u-col span="12">
                  <text class="color_80 padding_left25rpx">
                    位置:{{ item.areacode }}
                    位置:{{ getAreaCodeEnumName(item.areaCode) }}
                  </text>
                </u-col>
              </u-row>
@@ -336,6 +335,7 @@
      gridable: true,
      kwbhAllowed: false,
      enumList: [],
      areaCodeEnum: [],
    };
  },
  components: {
@@ -348,6 +348,11 @@
    }).then((res) => {
      this.enumList = res.result || [];
    });
    getenumDataList({
      EnumName: "AreaCodeEnum",
    }).then((res) => {
      this.areaCodeEnum = res.result || [];
    });
  },
  onLoad() {
    this.operator = JSON.parse(uni.getStorageSync("userInfo")).name;
@@ -357,6 +362,10 @@
  methods: {
    getEnumName(value) {
      const name = this.enumList.find((item) => item.value === value);
      return name ? name.name : "";
    },
    getAreaCodeEnumName(value) {
      const name = this.areaCodeEnum.find((item) => item.value === value);
      return name ? name.name : "";
    },
    // 如果打开一个的时候,不需要关闭其他,则无需实现本方法
@@ -401,10 +410,12 @@
          uni.showToast({
            title: "数据不存在",
            icon: "none",
            duration: 2000,
            duration: 5000,
          });
         this.singlist = [];
          return;
        }
        this.singlist = res.result;
      });
    },
LA24030_LuLiPackageLine_Pda/pages/takeMaterial/orderpiece/orderpiece.vue
@@ -103,7 +103,7 @@
              <u-row>
                <u-col span="12">
                  <text class="color_80 padding_left25rpx">
                    位置:{{ item.areacode }}
                    位置:{{ getAreaCodeEnumName(item.areaCode) }}
                  </text>
                </u-col>
              </u-row>
@@ -339,6 +339,7 @@
      gridable: true,
      kwbhAllowed: false,
      enumList: [],
      areaCodeEnum: [],
    };
  },
  components: {
@@ -351,6 +352,11 @@
    }).then((res) => {
      this.enumList = res.result || [];
    });
    getenumDataList({
      EnumName: "AreaCodeEnum",
    }).then((res) => {
      this.areaCodeEnum = res.result || [];
    });
  },
  onLoad() {
    this.operator = JSON.parse(uni.getStorageSync("userInfo")).name;
@@ -359,6 +365,10 @@
  methods: {
    getEnumName(value) {
      const name = this.enumList.find((item) => item.value === value);
      return name ? name.name : "";
    },
    getAreaCodeEnumName(value) {
      const name = this.areaCodeEnum.find((item) => item.value === value);
      return name ? name.name : "";
    },
    //获取的信息
@@ -379,7 +389,7 @@
          uni.showToast({
            title: "数据不存在",
            icon: "none",
            duration: 2000,
            duration: 5000,
          });
          this.singlist = [];
          return;
LA24030_LuLiPackageLine_Pda/pages/untie/untie.vue
@@ -53,6 +53,7 @@
        </u-col>
      </u-row> -->
    </u-form>
    <!-- 列表 -->
    <view class="margin_top10rpx">
      <u-swipe-action
@@ -73,7 +74,6 @@
              :class="item.checked ? 'bg_item' : ''"
              class="fontSize32rpx width margin_auto background_fff padding10 relative box_sizing transition"
            >
              <!-- 部件名称 upi、材料、尺寸,位置、板件状态 -->
              <u-row>
                <u-col span="12" class="flex align-center">
                  <!-- <u-checkbox v-model="item.checked" size="50rpx"></u-checkbox> -->
@@ -104,7 +104,7 @@
              <u-row>
                <u-col span="12">
                  <text class="color_80 padding_left25rpx">
                    位置:{{ item.areacode }}
                    位置:{{ getAreaCodeEnumName(item.areaCode) }}
                  </text>
                </u-col>
              </u-row>
@@ -345,6 +345,7 @@
      gridable: true,
      kwbhAllowed: false,
      enumList: [],
      areaCodeEnum: [],
    };
  },
  components: {
@@ -357,17 +358,26 @@
    }).then((res) => {
      this.enumList = res.result || [];
    });
    getenumDataList({
      EnumName: "AreaCodeEnum",
    }).then((res) => {
      this.areaCodeEnum = res.result || [];
    });
  },
  onLoad() {
    this.operator = JSON.parse(uni.getStorageSync("userInfo")).name;
  },
  mounted() {
  },
  mounted() {},
  methods: {
    getEnumName(value) {
      const name = this.enumList.find((item) => item.value === value);
      return name ? name.name : "";
    },
    getAreaCodeEnumName(value) {
      const name = this.areaCodeEnum.find((item) => item.value === value);
      return name? name.name : "";
    },
    // 如果打开一个的时候,不需要关闭其他,则无需实现本方法
@@ -406,14 +416,14 @@
        return;
      }
      getBhbMaterialList({
        upi: this.warehouse.upi
        upi: this.warehouse.upi,
      }).then((res) => {
        const result = res.result;
        if (Array.isArray(result) && result.length == 0) {
          uni.showToast({
            title: "没有查到数据",
            icon: "none",
            duration: 2000,
            duration: 5000,
          });
          this.singlist = [];
          return;
@@ -430,7 +440,6 @@
      this.warehouse.upi = "";
    },
  },
};
</script>
<style lang="scss">