From db2b422bb8d0fef2d95f364db88ded1f2074784a Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期一, 08 一月 2024 16:37:35 +0800 Subject: [PATCH] 报价单 新建编辑操作的时候 成本单价调用接口之前的校验修改,不填写不校验,填写了校验大于0的2位小数 --- src/views/backgroundConfig/rolePermssion/index.vue | 28 ++++------------------------ 1 files changed, 4 insertions(+), 24 deletions(-) diff --git a/src/views/backgroundConfig/rolePermssion/index.vue b/src/views/backgroundConfig/rolePermssion/index.vue index 53c2e70..9f965a6 100644 --- a/src/views/backgroundConfig/rolePermssion/index.vue +++ b/src/views/backgroundConfig/rolePermssion/index.vue @@ -56,13 +56,13 @@ tableInfomation: [ { number: "1", - owner: "鎬荤粡鐞�", + authorityName: "鎬荤粡鐞�", notes: "" } ], tableColumn: [ { label: "#", prop: "number", width: 80 }, - { label: "鏉冮檺鍚嶇О", prop: "owner", width: 160 }, + { label: "鏉冮檺鍚嶇О", prop: "authorityName", width: 160 }, { label: "澶囨敞", prop: "notes" } ] } @@ -76,34 +76,14 @@ addBtnClick() { this.editConfig.visible = true this.editConfig.title = "鏂板缓" - this.editConfig.infomation = { - customName: "", - documentNumber: "ZDYBD01-3", - owner: "", - contractStatus: "", - salesQuotation: "", - approvalWorkflow: "", - approvalSteps: "", - approvalPerson: "", - approvalOpinion: "" - } + this.editConfig.infomation = {} }, // 缂栬緫 handleClick(row) { console.log(row) this.editConfig.visible = true this.editConfig.title = "缂栬緫" - this.editConfig.infomation = { - customName: "", - documentNumber: "TKD20230521-12", - owner: "", - contractStatus: "", - salesQuotation: "", - approvalWorkflow: "", - approvalSteps: "", - approvalPerson: "", - approvalOpinion: "" - } + this.editConfig.infomation = { ...row } } } } -- Gitblit v1.8.0