Merge branch 'wn' of http://192.168.5.5:10010/r/web/crm-web into dev
| | |
| | | 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 |
| | | }) |
| | | } |
| | | } |
| | | }, |
| | | // 获取制造信息 |