haoxuan
2023-10-23 b82019ffead8666dd2167c81b97f18d390b0cba5
概述的位置仓库 ,源位置,仓库位置 接口调整为查询对应仓库的位置
3个文件已修改
10 ■■■■■ 已修改文件
src/views/overview/AddOverviewDialog.vue 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/overview/OverviewListView.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/overview/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/overview/AddOverviewDialog.vue
@@ -144,7 +144,7 @@
                    style="width: 90%"
                    :disabled="!showFooter"
                  >
                    <el-option v-for="item in toLocationOptions" :key="item.id" :label="item.name" :value="item.id">
                    <el-option v-for="item in toLocationOptions" :key="item.id" :label="item.jointName" :value="item.id">
                    </el-option>
                  </el-select>
                </el-form-item>
@@ -158,7 +158,7 @@
                    style="width: 90%"
                    :disabled="!showFooter"
                  >
                    <el-option v-for="item in toLocationOptions" :key="item.id" :label="item.name" :value="item.id">
                    <el-option v-for="item in toLocationOptions" :key="item.id" :label="item.jointName" :value="item.id">
                    </el-option>
                  </el-select>
                </el-form-item>
@@ -374,6 +374,7 @@
    async getLocationList() {
      await getLocationList({
        keyWord: "",
        jointName:this.editConfig.code,
        page: 0,
        pageSize: 0
      }).then((res) => {
src/views/overview/OverviewListView.vue
@@ -264,10 +264,11 @@
    },
    // 新建
    addBtnClick() {
      this.editConfig.visible = true
      this.editConfig.title = "新建"
      this.editConfig.operationTypeId = this.$route.params.id
      this.editConfig.code=this.$route.params.code
      this.editConfig.infomation = {}
      this.editConfig.visible = true
    },
    // 状态
    getStatus(val) {
src/views/overview/index.vue
@@ -90,7 +90,7 @@
      console.log(item)
      this.$router.push({
        name: "overviewList",
        params: { name: item.name, workType: item.baseOperationType, id: item.id, status: status }
        params: { name: item.name, workType: item.baseOperationType, id: item.id, status: status,code:item.warehouse.code }
      })
    },
    async getData() {