From 48adbb5e7759f33efb0a97c8baf22aaebba7987a Mon Sep 17 00:00:00 2001 From: yangfeng <wanwan926_4@163.com> Date: 星期三, 25 十月 2023 17:30:58 +0800 Subject: [PATCH] 销售明细单、销售退货单选择产品逻辑修改及新增字段 --- src/views/sales/quotation/AddQuotationDialog.vue | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/views/sales/quotation/AddQuotationDialog.vue b/src/views/sales/quotation/AddQuotationDialog.vue index 871458c..41af941 100644 --- a/src/views/sales/quotation/AddQuotationDialog.vue +++ b/src/views/sales/quotation/AddQuotationDialog.vue @@ -362,7 +362,7 @@ member_id: [{ required: true, message: "璇烽�夋嫨璐熻矗浜�", trigger: "change" }] }, memberOptions: [], - quotationStatusOptions: [{ id: 1, name: "涓嶇煡閬�" }], // 鎶ヤ环鍗曠姸鎬� + quotationStatusOptions: [], // 鎶ヤ环鍗曠姸鎬� currencyOptions: [{ id: 1, name: "浜烘皯甯�" }], // 甯佺 approvalWorkflowOptions: [], // 瀹℃壒娴佺▼ productTableList: {}, @@ -443,6 +443,7 @@ // 淇濆瓨 saveClick(formName) { this.$refs[formName].validate((valid) => { + this.validateFormNumber() if (valid) { for (let i = 0; i < this.tableData.length; i++) { if (this.tableData[i].name.length === 0) { @@ -507,7 +508,7 @@ products: this.tableData, codeStandID: data.ID, codeRule: this.codeRule, - client_id: this.clientId || 0, + client_id: this.clientId || 0 } return params }, @@ -662,7 +663,7 @@ this.tableData = data this.productTableList.tableData = this.tableData }, - // 璁㈠崟缂栫爜鍗曠嫭鏍¢獙 + // 閿�鍞満浼氬崟鐙牎楠� checkChance(rule, value, callback) { if (this.editConfig.infomation.sale_chance_name && this.editConfig.infomation.sale_chance_name.length > 0) { callback() -- Gitblit v1.8.0