yangfeng
2024-01-03 22d81fd4a1a2d9e5d56cd496971893437ef84599
Merge branch 'wn' of http://192.168.5.5:10010/r/web/crm-web into dev
1个文件已修改
18 ■■■■■ 已修改文件
src/views/sales/salesDetails/index.vue 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/sales/salesDetails/index.vue
@@ -477,14 +477,16 @@
      if (this.TabsIndex == 0||row.status==1) {
        this.productTableList.tableInfomation = row.products || []
      } else {
        this.loading = true
        await getProductInventoryInfo(row.number).then((res) => {
          this.productTableList.tableInfomation = res.data?.length > 0 ? res.data : []
          this.loading = false
        }).catch(() => {
          this.productTableList.tableInfomation = []
          this.loading = false
        })
        if(row.number){
          this.loading = true
          await getProductInventoryInfo(row.number).then((res) => {
            this.productTableList.tableInfomation = res.data?.length > 0 ? res.data : []
            this.loading = false
          }).catch(() => {
            this.productTableList.tableInfomation = []
            this.loading = false
          })
        }
      }
    },
    // 获取制造信息