From c58678b4bed3394da8cc90cd6e2c580da4741dde Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期二, 17 十月 2023 20:22:45 +0800 Subject: [PATCH] 联系人编号去掉 --- src/views/sales/quotation/AddQuotationDialog.vue | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/views/sales/quotation/AddQuotationDialog.vue b/src/views/sales/quotation/AddQuotationDialog.vue index deb0a8d..3909be1 100644 --- a/src/views/sales/quotation/AddQuotationDialog.vue +++ b/src/views/sales/quotation/AddQuotationDialog.vue @@ -356,12 +356,13 @@ editConfig: this.editCommonConfig, rules: { number: [{ required: true, message: "璇疯緭鍏�", trigger: "blur" }], + quotationName: [{ required: true, message: "璇疯緭鍏�", trigger: "blur" }], quotation_status_id: [{ required: true, message: "璇烽�夋嫨", trigger: "change" }], - sale_chance_name: [{ required: true, validator: this.checkChance, trigger: "blur" }], + sale_chance_name: [{ required: true, validator: this.checkChance, trigger: "change" }], member_id: [{ required: true, message: "璇烽�夋嫨璐熻矗浜�", trigger: "change" }] }, memberOptions: [], - quotationStatusOptions: [{ id: 1, name: "涓嶇煡閬�" }], // 鎶ヤ环鍗曠姸鎬� + quotationStatusOptions: [], // 鎶ヤ环鍗曠姸鎬� currencyOptions: [{ id: 1, name: "浜烘皯甯�" }], // 甯佺 approvalWorkflowOptions: [], // 瀹℃壒娴佺▼ productTableList: {}, @@ -442,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) { @@ -505,7 +507,8 @@ validity_date: data.validity_date || "", products: this.tableData, codeStandID: data.ID, - codeRule: this.codeRule + codeRule: this.codeRule, + client_id: this.clientId || 0 } return params }, -- Gitblit v1.8.0