loulijun2021
2022-07-14 bd3410da8a13682ec0bc888539dc35209a2196ba
src/views/zzmx/chda.vue
@@ -60,8 +60,8 @@
                :popper-append-to-body="false"
                style="width: 200px"
                placeholder="请选择"
                @focus="getWareHouseSelect"
              >
                <!--                @focus="getWareHouseSelect"-->
                <el-option
                  v-for="item in storehouseArr"
                  :key="item.code"
@@ -244,10 +244,10 @@
            :popper-append-to-body="false"
            style="width: 200px"
            placeholder="请选择"
            @focus="getWareHouseSelect2"
          >
            <!--            @focus="getWareHouseSelect2"-->
            <el-option
              v-for="item in storehouseArr2"
              v-for="item in storehouseArr"
              :key="item.code"
              :label="item.name"
              :value="item.code"
@@ -644,7 +644,7 @@
  created() {
    this.getInventoryFileSelect()
    this.getStockTypeSelect()
    // this.getWareHouseSelect()
    this.getWareHouseSelect()
  },
  mounted() {
    window.addEventListener('resize', this.getHeight)
@@ -664,10 +664,10 @@
      const { data: res } = await WareHouseSelect()
      this.storehouseArr = res
    },
    async getWareHouseSelect2() {
      const { data: res } = await WareHouseSelect()
      this.storehouseArr2 = res
    },
    // async getWareHouseSelect2() {
    //   const { data: res } = await WareHouseSelect()
    //   this.storehouseArr2 = res
    // },
    async getuomSelect() {
      const { data: res } = await UomSelect()
      this.uomArr = res