From f56ee2a5f95b4128b8232bdee6411fe8f1e6341e Mon Sep 17 00:00:00 2001 From: zuozhengqing <a13193816592@163.com> Date: 星期四, 14 十二月 2023 20:36:56 +0800 Subject: [PATCH] 采购管理修改id大小写 --- src/views/purchaseManage/purchase/index.vue | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/views/purchaseManage/purchase/index.vue b/src/views/purchaseManage/purchase/index.vue index 7d7cfd5..1ec027d 100644 --- a/src/views/purchaseManage/purchase/index.vue +++ b/src/views/purchaseManage/purchase/index.vue @@ -256,11 +256,14 @@ this.editConfig.detailEnter=false this.editConfig.isDisabled=false this.tableLoading = true - getPurchaseInfo({ id: row.ID }).then((res) => { + getPurchaseInfo({ id: row.id }).then((res) => { if (res.code == 200) { this.tableLoading = false this.editConfig.visible = true this.editConfig.title = "缂栬緫" + res.data.productList.map((item,index)=>{ + item.productIndex=index + }) this.editConfig.infomation = { productList: res.data.productList, supplierName: res.data.purchase.supplier.name, @@ -352,7 +355,7 @@ this.editConfig.detailEnter=true this.editConfig.isDisabled=true this.tableLoading = true - getPurchaseInfo({ id: row.ID }).then((res) => { + getPurchaseInfo({ id: row.id }).then((res) => { if (res.code == 200) { this.tableLoading = false this.editConfig.visible = true -- Gitblit v1.8.0