From 0712b49e5538589dac4859ca8cebf196caa954ab Mon Sep 17 00:00:00 2001 From: zuozhengqing <a13193816592@163.com> Date: 星期二, 21 十一月 2023 11:28:09 +0800 Subject: [PATCH] fix:供应商管理添加产品,产品列表展示修改及采购管理bug修改 --- src/views/purchaseManage/purchase/index.vue | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/views/purchaseManage/purchase/index.vue b/src/views/purchaseManage/purchase/index.vue index 7fda0cf..aab8d10 100644 --- a/src/views/purchaseManage/purchase/index.vue +++ b/src/views/purchaseManage/purchase/index.vue @@ -32,19 +32,19 @@ </el-table-column> <el-table-column label="鎿嶄綔" width="220" fixed="right"> <template slot-scope="scope"> - <el-button type="text" size="small" @click="btnConfirm(scope.row)" style="margin-right: 5px" + <el-button v-if="scope.row.status===1" type="text" size="small" @click="btnConfirm(scope.row)" style="margin-right: 5px" >纭</el-button > - <el-button type="text" size="small" @click="btnEdit(scope.row)" style="margin-right: 5px" + <el-button v-if="scope.row.status===1" type="text" size="small" @click="btnEdit(scope.row)" style="margin-right: 5px" >缂栬緫</el-button > <el-button type="text" size="small" @click="btnLook(scope.row)" style="margin-right: 5px" >鏌ョ湅</el-button > - <el-button type="text" size="small" @click="btnCancel(scope.row)" style="margin-right: 5px" + <el-button v-if="scope.row.status===1" type="text" size="small" @click="btnCancel(scope.row)" style="margin-right: 5px" >鍙栨秷</el-button > - <el-button type="text" size="small" @click="btnDelete(scope.row)" style="margin-right: 5px" + <el-button v-if="scope.row.status===1" type="text" size="small" @click="btnDelete(scope.row)" style="margin-right: 5px" >鍒犻櫎</el-button > <!-- <el-button v-if="scope.row.status< 4" @click="submitClick(scope.row)" type="text" size="small">鎻愪氦</el-button> --> @@ -101,16 +101,16 @@ } }, tableColumn: [ + { label: "鍗曟嵁绫诲瀷", prop: "orderType", min: 130 }, { label: "閲囪喘鍗曞彿", prop: "number", min: 150, isCommonClick: true ,default:true}, { label: "閲囪喘鍗曞悕绉�", prop: "name", min: 130, isCommonClick: true }, - { label: "鍗曟嵁绫诲瀷", prop: "orderType", min: 130 }, { label: "渚涘簲鍟嗗悕绉�", prop: "supplierName", min: 130 }, { label: "閲囪喘鏁伴噺", prop: "quantity", min: 130 }, { label: "鏀惰揣浠撳簱", prop: "warehouse", min: 130 }, { label: "缁忓姙浜�", prop: "handledBy", min: 130 }, { label: "鍒跺崟浜�", prop: "creator", min: 130 } ], - showCol: ['閲囪喘鍗曞彿', '閲囪喘鍗曞悕绉�', '鍗曟嵁绫诲瀷', '渚涘簲鍟嗗悕绉�', '閲囪喘鏁伴噺', '鏀惰揣浠撳簱'] + showCol: ['閲囪喘鍗曞彿', '閲囪喘鍗曞悕绉�', '鍗曟嵁绫诲瀷', '渚涘簲鍟嗗悕绉�', '閲囪喘鏁伴噺', '鏀惰揣浠撳簱','缁忓姙浜�','鍒跺崟浜�'] } }, created() { @@ -336,10 +336,10 @@ }, // 璇︽儏 selCommonClick(row) { - console.log(row) this.tableLoading = true getPurchaseInfo({ id: row.ID }).then((res) => { if (res.code == 200) { + console.log(res,"浜у搧璇︽儏") this.tableLoading = false this.commonDetail.visible = true this.commonDetail.infomation = { -- Gitblit v1.8.0