zuozhengqing
2024-03-30 a1eb3642627b7534da64891c49a4139b1fda957d
src/views/purchaseManage/purchase/index.vue
@@ -607,9 +607,9 @@
    tableRowClick(row) {
      this.selectRow = row
      if (this.TabsIndex == 0) {
        getPurchaseInfo({ id: row.id }).then((res) => {
        getOperationInfo({ id: row.id }).then((res) => {
          if (res.code == 200) {
            this.productTableList.tableInfomation = res.data.productList
            this.productTableList.tableInfomation = res.data.productInfos
          } else {
            this.$message.error(res.msg ? res.msg + "," : "" + "获取信息失败!")
          }
@@ -637,7 +637,7 @@
      ) {
        getOperationInfo({ id: row.id }).then((res) => {
          if (res.code == 200) {
            this.productTableList.tableInfomation = res.data
            this.productTableList.tableInfomation = res.data.inWarehouseInfos
          } else {
            this.$message.error(res.msg ? res.msg + "," : "" + "获取信息失败!")
          }
@@ -751,7 +751,11 @@
      ) {
        getOperationInfo({ id: row.id }).then((res) => {
          if (res.code == 200) {
            this.productTableList.tableInfomation = res.data
            if(this.TabsIndex == 0){
              this.productTableList.tableInfomation = res.data.productInfos
            }else if(this.TabsIndex == 2){
              this.productTableList.tableInfomation = res.data.inWarehouseInfos
            }
          } else {
            this.$message.error(res.msg ? res.msg + "," : "" + "获取信息失败!")
          }