zss
2023-12-11 c880739ec4cd5ede33b31eb98ad5f7628ea288e5
src/views/warehouse/pallettransports/ifslocation-form.vue
@@ -142,13 +142,13 @@
  methods: {
    formatLocType(val){
      let list = this.locTypeOption
      console.log(val,list)
      list.forEach(ele=>{
        console.log(Number(ele.value) == Number(val));
        if(Number(ele.value) == Number(val)){
          return ele.label
        }
      let index = list.findIndex(ele=>{
        return ele.value == val
      })
      if(index!=null){
        return list[index].label
      }
      return null
    },
    // 查询ifs库位列表
    queryLocation() {
@@ -179,7 +179,6 @@
        if (response.data.code === 0) {
          this.locTypeOption = response.data.data
        }
        console.log(response);
      })
    },
    // 单行选中
@@ -204,7 +203,6 @@
    saveSelectRow() {
      this.isSubmit = true
      const transportsMaterials = []
      console.log(`output->this.transportsList`,this.transportsList)
      this.transportsList.forEach((item) => {
        transportsMaterials.push({
          id: item.id,