1
haoxuan
2024-04-16 94828761ee608b951d132cf41f77c6863ec33f64
1
2个文件已修改
19 ■■■■■ 已修改文件
src/views/overview/OverviewListView.vue 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/overview/index.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/overview/OverviewListView.vue
@@ -109,7 +109,7 @@
        title: "新建",
        infomation: {}
      },
      workType: this.$route.params.workType,
      workType: this.$route.query.workType,
      keyword: "",
      params: {},
      displayEdit: false,
@@ -120,7 +120,7 @@
      numberLabel: "单号",
      TabsIndex: "0",
      productTableList: {},
      showBottomCol: ["产品编号", "产品名称", "产品规格", "产品型号", "计量单位", "调出位置", "调入位置", "数量","主管","会计","保管员",],
      showBottomCol: ["产品编号", "产品名称", "产品规格", "产品型号", "计量单位", "调出位置", "调入位置", "数量","主管","会计","保管员",'辅助数量','辅助单位'],
      tableBottomColumn: [],
      selectRow: {},
      productColumn: [
@@ -128,8 +128,10 @@
        { label: "产品名称", prop: "productName" },
        { label: "产品规格", prop: "specs" },
        { label: "产品型号", prop: "model" },
        { label: "数量", prop: "amount" },
        { label: "计量单位", prop: "unit" },
        { label: "数量", prop: "amount" }
        { label: "辅助数量", prop: "unit" },
        { label: "辅助单位", prop: "amount" }
      ],
      allotProductColumn: [
        { label: "产品编号", prop: "id", default: true },
@@ -139,7 +141,9 @@
        { label: "计量单位", prop: "unit" },
        { label: "调出位置", prop: "location" },
        { label: "调入位置", prop: "toLocation" },
        { label: "数量", prop: "amount" }
        { label: "数量", prop: "amount" },
        { label: "辅助数量", prop: "unit" },
        { label: "辅助单位", prop: "amount" }
      ]
    }
  },
@@ -151,7 +155,8 @@
    if (paramsData) {
      params = JSON.parse(sessionStorage.getItem("paramsData"))
    } else {
      params = this.$route.params
      params = this.$route.query
      params.id=Number(params.id)
      sessionStorage.setItem("paramsData", JSON.stringify(params))
    }
    this.params = params
@@ -318,7 +323,7 @@
    async getData() {
      await getOperation({
        number: this.keyword,
        operationTypeId: this.$route.params.id ? this.$route.params.id : this.params.id,
        operationTypeId: this.$route.query.id ? Number(this.$route.query.id) : this.params.id,
        page: this.pagerOptions.currPage,
        pageSize: this.pagerOptions.pageSize,
        status: this.params.status
src/views/overview/index.vue
@@ -95,7 +95,7 @@
      console.log(item)
      this.$router.push({
        name: "overviewList",
        params: { name: item.name, workType: item.baseOperationType, id: item.id, status: status,code:item.warehouse.code }
        query: { name: item.name, workType: item.baseOperationType, id: item.id, status: status,code:item.warehouse.code }
      })
    },
    async getData() {