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/sales/salesReturn/index.vue | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/views/sales/salesReturn/index.vue b/src/views/sales/salesReturn/index.vue index a9e77b7..5b363eb 100644 --- a/src/views/sales/salesReturn/index.vue +++ b/src/views/sales/salesReturn/index.vue @@ -141,7 +141,8 @@ { label: "閿�鍞礋璐d汉", prop: "member_name" } // { label: "淇敼鏃堕棿", prop: "modifyTime", isTime: true, min: 130 } ], - showCol: ["閿�鍞��璐у崟缂栧彿", "瀹㈡埛鍚嶇О", "閫�璐ф棩鏈�", "鐘舵��", "閫�鍏ヤ粨搴�", "搴旈��娆�", "宸查��娆�", "閿�鍞礋璐d汉"] + showCol: ["閿�鍞��璐у崟缂栧彿", "瀹㈡埛鍚嶇О", "閫�璐ф棩鏈�", "鐘舵��", "閫�鍏ヤ粨搴�", "搴旈��娆�", "宸查��娆�", "閿�鍞礋璐d汉"], + products: [] } }, created() { @@ -190,7 +191,7 @@ let params = {} if (this.addConfig.id) { params = { - sourceID: this.addConfig.id, + sourceId: this.addConfig.id, sourceType: 1, page: this.pagerOptions.currPage, pageSize: this.pagerOptions.pageSize @@ -243,14 +244,14 @@ addBtnClick() { this.editConfig.visible = true this.editConfig.title = "鏂板缓" - this.editConfig.infomation = { currency: "浜烘皯甯�" } + this.editConfig.infomation = { currency: "浜烘皯甯�", salesDetailNumber: "", client_name: "" } }, // 缂栬緫 handleClick(row) { console.log(row) this.editConfig.visible = true this.editConfig.title = "缂栬緫" - this.editConfig.infomation = { ...row, currency: "浜烘皯甯�" } + this.editConfig.infomation = { ...row, currency: "浜烘皯甯�", salesDetailNumber: row.source.number } }, // 鍒犻櫎 delClick(rowID) { -- Gitblit v1.8.0