yangfeng
2023-12-19 dabc570f5623cd45b58b2b65569ec4145709446e
销售明细单点击销售明细单下面产品信息不更新的问题修改
1个文件已修改
7 ■■■■■ 已修改文件
src/views/sales/salesDetails/index.vue 7 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/sales/salesDetails/index.vue
@@ -424,13 +424,12 @@
    },
    // 获取产品/库存信息
    async getProductInventoryInfo(row) {
      console.log(row.status, "状态", row)
      if (row.status === 1) {
        this.productTableList.tableInfomation = row.products
        this.productTableList.tableInfomation = row.products || []
      } else {
        await getProductInventoryInfo(row.number).then((res) => {
          console.log(res)
          this.productTableList.tableInfomation = res.data
          this.productTableList.tableInfomation = res.data?.length > 0 ? res.data : []
        })
      }
    },
@@ -438,7 +437,7 @@
    async getProductOrderInfo(number) {
      await getProductOrderInfo(number).then((res) => {
        console.log(res)
        this.productTableList.tableInfomation = res.data
        this.productTableList.tableInfomation = res.data?.length > 0 ? res.data : []
      })
    },
    // 搜索