From b39bf36c1c380285582b7daffb5dd656aa1e1389 Mon Sep 17 00:00:00 2001 From: zuozhengqing <a13193816592@163.com> Date: 星期一, 06 十一月 2023 17:20:04 +0800 Subject: [PATCH] 退出动态跳转登录页 --- src/views/sales/quotation/AddQuotationDialog.vue | 9 ++------- 1 files changed, 2 insertions(+), 7 deletions(-) diff --git a/src/views/sales/quotation/AddQuotationDialog.vue b/src/views/sales/quotation/AddQuotationDialog.vue index b1b446e..f09c5f7 100644 --- a/src/views/sales/quotation/AddQuotationDialog.vue +++ b/src/views/sales/quotation/AddQuotationDialog.vue @@ -370,7 +370,7 @@ dialogWidth: "50%", editConfig: this.editCommonConfig, rules: { - number: [{ required: true, validator: this.validateCheckCode, trigger: "blur" }], + number: [{ required: true, validator: this.validateCheckCode, trigger: ["blur","change"] }], quotationName: [{ required: true, message: "璇疯緭鍏�", trigger: "blur" }], quotation_status_id: [{ required: true, message: "璇烽�夋嫨", trigger: "change" }], sale_chance_name: [{ required: true, validator: this.checkChance, trigger: "change" }], @@ -425,9 +425,6 @@ this.formInfo() } }, - "editConfig.infomation.codeStandID"() { - this.formInfo() - } }, methods: { formInfo() { @@ -458,7 +455,6 @@ // 淇濆瓨 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) { @@ -522,7 +518,6 @@ validity_date: data.validity_date || "", products: this.tableData, codeStandID: data.ID, - codeRule: this.codeRule, client_id: this.clientId || 0 } return params @@ -678,7 +673,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