| | |
| | | { label: "规格", prop: "specifications" }, |
| | | { label: "型号", prop: "modelNumber" }, |
| | | { label: "采购数量", prop: "amount" }, |
| | | { label: "已发货数量", prop: "sendAmount" }, |
| | | { label: "已收货数量", prop: "sendAmount" }, |
| | | { label: "已入库数量", prop: "overAmount" }, |
| | | { label: "单位", prop: "unit" }, |
| | | { label: "采购单价", prop: "purchasePrice", price: true }, |
| | |
| | | "规格", |
| | | "型号", |
| | | "采购数量", |
| | | "已发货数量", |
| | | "已收货数量", |
| | | "已入库数量", |
| | | "单位", |
| | | "采购单价", |
| | |
| | | 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 + "," : "" + "获取信息失败!") |
| | | } |
| | |
| | | ) { |
| | | 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 + "," : "" + "获取信息失败!") |
| | | } |
| | |
| | | ) { |
| | | 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 + "," : "" + "获取信息失败!") |
| | | } |